折腾了下DD-WRT去广告 - Leo's Utopia
折腾了下DD-WRT去广告
十一长假怕各种堵,且缺钱,没有出去玩。
无聊在家折腾了一下路由器DD-WRT固件的去广告。
简单介绍一下:路由器型号是TL-WRT841ND V7,两年前购于京东,老早就刷了DD-WRT固件。
这种DD-WRT固件去广告的教程,网上一搜一大堆,出处我就不引用了。具体操作一共两步:
1. 添加获取Chinalist广告列表的脚本为启动命令。
路由器菜单:管理-〉命令
#!/bin/sh logger WAN up script executing if test -s /tmp/dnsmasq.ads then rm /tmp/dnsmasq.ads fi logger Downloading China Lazy List wget -O - http://adblock-chinalist.googlecode.com/svn/trunk/adblock-lazy.txt | grep ^\|\|[^\*]*\^$ | sed -e 's:||:address\=\/:' -e 's:\^:/127\.0\.0\.1:' > /tmp/dnsmasq.ads grep conf-file /tmp/dnsmasq.conf || echo -e "\nconf-file=/tmp/dnsmasq.ads" >> /tmp/dnsmasq.conf logger Restarting dnsmasq killall dnsmasq dnsmasq --conf-file=/tmp/dnsmasq.conf
2. 给路由器增加定时自动更新列表的命令。
路由器命令:管理-〉管理-〉CRON
* 1 * * * root /tmp/.rc_startup
备注:网上很多地方的教程中有个由于浏览器自动断行导致的小坑,启动指令的wget那行(第9行)命令和之后的grep命令应该是放在同一行的。我一开始直接抄过来的命令,结果导致路由器把所有的网址都给屏蔽了。
看来,这网上的东西还是得留个心眼的!
Wed, 18 Dec 2013 17:09:27 +0800
hi,按照这个方法走路由器屏蔽了广告后,火狐会出现不少弹筐,提示输入用户名和密码,如我访问163网站,代码中屏蔽了img1.126.net , 不知道这个是什么原因,如何解决。 谢谢。
ie似乎弹筐较少。
见图
http://xfire.sinaapp.com/5ddae285916903f3ddc03b701e7ebc6d.png
Fri, 17 Jul 2015 14:50:41 +0800
好样的 ,,,,,,,,,,
Mon, 21 Nov 2022 19:42:59 +0800
If you're looking to improve your home network and want to take things to the next level, consider tossing DD-WRT onto your router. DD-WRT is a powerful open-source firmware that can improve your router's performance and add a variety of features. One of the best features of DD-WRT is that it can be used to create a VPN server, allowing you to securely access your home network from anywhere in the world. restaurant pos system dubai DD-WRT is also great for increasing the range of your wireless network and for improving speeds.
Sat, 26 Nov 2022 19:58:13 +0800
Through this post, you will get a brief idea of how to advertise the router DD-WRT firmware discussed here. Actually, I am home real estate Circle Pines not really aware of this topic and just go through it, when I visit this link. Good to see the program shared here and I am looking for more updates on that.
Thu, 01 Dec 2022 23:51:47 +0800
If you're looking to increase your home Wi-Fi signal, you may want to consider tossing DD-WRT onto your router. DD-WRT is home real estate Sarasota a firmware that can be installed on many routers that allows for increased functionality and better performance. One of the great features of DD-WRT is that it can be used to create a Wi-Fi repeater, which can help extend your home Wi-Fi signal.
Fri, 27 Jan 2023 13:37:00 +0800
If you are looking for an easy to use router with all the advanced features, then the DD-WRT firmware is worth considering. With just a couple of steps, it can easily block all kinds of advertisements, so that you can enjoy smooth web browsing without interruption. Not only that, but it also offers you a wide range of features such as dual-core processor, and high performance wireless networking. All these features cheap real diamond rings online make the DD-WRT firmware an ideal choice for those who are looking for a hassle-free router experience.
Fri, 12 Jan 2024 17:56:09 +0800
JNANABHUMI AP offers the most recent information on education. The primary idea or goal of this website has been to offer comprehensive resources with information on any subject that can be accessed online. To make sure that every reader finds out what they should know about the subject they are interested in and jnanabhumiap.in links to our content.Jnanabhumi AP is a startup founded by enthusiastic bloggers and webmasters who are driven to produce interesting, factual, and well-written content. We are similar to an online community where you can find a variety of resources, information, and topics about newsworthy events or daily occurrences.
Mon, 09 Dec 2024 22:02:06 +0800
This particular is usually apparently essential and moreover outstanding truth along with for sure fair-minded and moreover admittedly useful My business is looking to find in advance designed for this specific useful stuffs
Mon, 09 Dec 2024 22:09:03 +0800
Hello ! I am a student writing a report on the subject of your post.Your article is an article with all the content and topics. I've ever wanted . Thanks to this, it will be of great help to the report I am preparing now.Thanks for your hard work. And if you have time, please visit my site as well. is one very interesting post. like the way you write and I will bookmark your blog to my favorites. Strong blog. I acquired various nice information
Mon, 09 Dec 2024 22:10:09 +0800
One form of service offered is the latest online slot link. This trusted online slot site also always has jackpot slots. Therefore, there is no need to hesitate any longer if you want to play the best and most trusted online slots that are easiest to win in Indonesia. I really like it, and I look forward to hearing from you next. Thank you for the information about today's most popular news this year. For more detailed information, please visit our website for further information
Mon, 09 Dec 2024 22:11:06 +0800
It’s fantastic. This is one of the top websites with a lot of useful information. This is an excellent piece, and I appreciate this website; keep up the fantastic work. Quite informative blog on how to bring an end to the issues. I like your creative blog and look forward to more insightful posts. I definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work. Very good message. I stumbled across your blog and wanted to say that I really enjoyed reading your articles. Anyway, I will subscribe to your feed and hope you post again soon
Mon, 09 Dec 2024 22:11:59 +0800
Good to become visiting your weblog again, it has been months for me. Nicely this article that i've been waited for so long. I will need this post to total my assignment in the college, and it has exact same topic together with your write-up. Thanks, good share
Mon, 09 Dec 2024 22:12:15 +0800
Those pieces of junk actually said, in the Angel Raich case, that even if your only alternatives are to use icinal cannabis you are not a person, because obviously people have the right to use the best medicine available to treat a serious or very serious medical problem.
Mon, 09 Dec 2024 22:13:07 +0800
This particular is usually apparently essential and moreover outstanding truth along with for sure fair-minded and moreover admittedly useful My business is looking to find in advance designed for this specific useful stuffs
Mon, 09 Dec 2024 22:13:42 +0800
M3M Mansion is strategically located in Sector 65, Gurgaon, providing residents with excellent connectivity to major landmarks and business hubs. The proximity to Golf Course Extension Road ensures seamless access to NH-8, Sohna Road, and other important arterial roads. The area is well-served by public transportation, making commuting a breeze for the residents. M3M Mansion Gurgaon stands out with its contemporary architecture and exquisite design. The project boasts spacious and well-ventilated apartments that are thoughtfully crafted to offer a perfect blend of aesthetics and functionality.
Mon, 09 Dec 2024 22:14:03 +0800
This is really exciting, You’re a tremendously trained article author. I’ve joined with your feed and also anticipate enjoying the awesome write-ups. Incidentally, I’ve got shared the blog throughout our social networking sites.
Mon, 09 Dec 2024 22:14:29 +0800
I think this is one of the most significant information for me. And i’m glad reading your article. But should remark on some general things, The web site style is perfect, the articles is really great : D. Good job, cheers
Mon, 09 Dec 2024 22:14:56 +0800
The reasoning behind this drill had nothing to do with pot growers. They could have been ComicCon nerds holding a rare green isotope. The point of this drill was HOW the fed and sister agencies deal with an attack on one of our more sensitive targets: the dam. While I'm certain that quite a few of you may be happy not to have to enjoy the 'evils' of electricity or fresh water; I would like to see the dam in continued operation.
Mon, 09 Dec 2024 22:15:06 +0800
This is really exciting, You’re a tremendously trained article author. I’ve joined with your feed and also anticipate enjoying the awesome write-ups. Incidentally, I’ve got shared the blog throughout our social networking sites.
Mon, 09 Dec 2024 22:16:14 +0800
Our own wales can easily compilation of calculated forums those thickness analysts could be the similar to some of the shell planking along with more significant damage so that they project after dark planking
Mon, 09 Dec 2024 22:16:38 +0800
This is a really great blog your have here but I had some questions about advertising on your site. So if you could reply to this post with a contact email, that would be great.
Mon, 09 Dec 2024 22:19:05 +0800
Thanks for taking th. i have been reading your posts regularly. I need to say that you are doing a fantastic job. Please keep up the great work
Mon, 09 Dec 2024 22:20:28 +0800
Packaging Papa provide quality printing & packaging services all over the globe and specially for USA, producing an extensive range of printed and handwritten materials, from special literature to promotional materials for the most recognized brands you can try our
Mon, 09 Dec 2024 22:20:32 +0800
IceCream Screen Recorder Crack is one of the high-quality software on this planet with the reason of assisting the consumer in taking pictures of the som
Mon, 09 Dec 2024 22:20:51 +0800
Hello! I just now wish to provide a huge thumbs up for the great information you could have here during this post. We are coming back to your website for further soon
Mon, 09 Dec 2024 22:21:51 +0800
i find issues i hated very satisfactory post with quite a few our assets. Thanks for percentage. I revel in this put up
Mon, 09 Dec 2024 22:22:04 +0800
Have you ever considered adding more videos to your blog posts to keep the readers more entertained? I mean I just read through the entire article of yours and it was quite good but since I’m more of a visual learner,I found that to be more helpful well let me know how it turns out.
Mon, 09 Dec 2024 22:22:26 +0800
Can I play free casino games on a phone or tablet? Yes, you can. Most games in our database are created using mobile-friendly HTML5 technology, which enables the games to be played basically on any device with a modern browser, including mobile phones (both iPhone and Android) and tablets. If you want to make sure that you are browsing just mobile-friendly games, use the ‘Mobile Devices Supported’ filter in the Casino Guru free games section. Do I have to download something to be able to play? No, you don’t have to download anything. All games in our database are browser-based and don’t require any download or installation. That said, some older games require Flash player, so you might have to install it if you want to play some of these games and don’t have Flash installed on your computer yet.
Mon, 09 Dec 2024 22:22:30 +0800
Wow that was odd. I jhout saying that once you order for our Capstone Project Writing Services your entire academic writing challenges shall be no more.
Thu, 02 Jan 2025 20:27:29 +0800
Can I play free casino games on a phone or tablet? Yes, you can. Most games in our database are created using mobile-friendly HTML5 technology, which enables the games to be played basically on any device with a modern browser, including mobile phones (both iPhone and Android) and tablets. If you want to make sure that you are browsing just mobile-friendly games, use the ‘Mobile Devices Supported’ filter in the Casino Guru free games section. Do I have to download something to be able to play? No, you don’t have to download anything. All games in our database are browser-based and don’t require any download or installation. That said, some older games require Flash player, so you might have to install it if you want to play some of these games and don’t have Flash installed on your computer yet.
Thu, 16 Jan 2025 17:33:48 +0800
Start being true conservatives? You mean everyone should be an ignorant, uneducated bible-beater getting all information from talk radio? Support for the paranoid, anti-government movement that is the libertarian/tea bagger agenda is an act of shear stupidity. I really wish you would wake up to the fact that you don't represent the views of sensible americans. All your movement will ever accomplish is to make life better for the ruling wealthy and the corporations through which they profit (while the masses suffer). Please keep those f***ed up views off this site and down in that sh*thole known as Texas where they belong. Believe it or not, you can speak out against the drug war without insulting educated progressives with your silly beliefs.