Tag Info

Hot answers tagged

12

According to Flush dnsmasq dns cache: dnsmasq is a lightweight DNS, TFTP and DHCP server. It is intended to provide coupled DNS and DHCP service to a LAN. Dnsmasq accepts DNS queries and either answers them from a small, local, cache or forwards them to a real, recursive, DNS server. This software is also installed many cheap routers to cache dns queries. ...


5

Since there are no init scripts on DD-WRT, I guess this would be the easiest way to restart dnsmasq: Kill dnsmasq: root@ddwrt6:~# killall dnsmasq Start dnsmasq: root@ddwrt6:~# dnsmasq --conf-file=/tmp/dnsmasq.conf


4

I did this exact thing this morning. First, double check that the lease isn't allocated. Go to the Status page and then the LAN page on DD-WRT. Check the lease in the list of DHCP clients. If it's allocated, click the trash can. I also have my lease set to 5 minutes. If I left it for a whole day, which is the default, I found that if the signal got ...


4

No. For so many reasons. One obvious one: 802.11 = 2.4, 3.6, or 5 GHz X band = 8-12 GHz K band = 18-27 GHz Ka band = 26.5 - 40 GHz Layman's explanation of the above: The router cannot "tune" to the needed frequencies. (Then there's the DSSS vs burst detection, etc, etc, etc...)


4

Don't change the daemon to run as root. Change the permissions on the folder where your daemon has to write so that it is allowed to do so. Assuming it's running as user transmission, run something like this as root: chown transmission /mnt/data/torrents/downloads chmod u+rw /mnt/data/torrents/downloads


3

iptables -I INPUT -i ppp0 --dport 21 -j DROP is syntactically wrong (it lacks of protocol specification), therefore we can assume it just silently fails. This one is correct: iptables -I INPUT -i ppp0 --dport 21 -j DROP -p tcp so give it a try instead.


3

I don't think you can do this. The "/" filesystem in DD-WRT is Squashfs, although that's not easy to find out. That means that during a build of DD-WRT, a whole filesystem image gets set up, and then compressed in some manner, which renders it immutable. That way, the root filesystem fits in a router's small amount of flash. A few config files are on ...


3

I did some more Googling and found found this post http://forum.pinguyos.com/Thread-Ubuntu-Intel-Wireless-Driver-Crashes-DD-WRT It does seem to fix my issue. echo "options iwlagn 11n_disable=1" | sudo tee /etc/modprobe.d/iwlagn.conf sudo modprobe -rf iwlagn sudo modprobe -v iwlagn sudo service network-manager restart I do still have my router set to BG ...


2

killall -1 dnsmasq Send HUP signal to tell it flush the cache an reread its configuration, thus starting over with a clean slate.


2

Well, unfortunately I haven't found a simple way to do this otherwise I would give you some examples; however, the tc command will do what you need. Tc is a traffic shaping utility that is built into the Linux kernel. Be prepared, it isn't for the faint of heart. I recommend doing a good bit of reading about the queuing disciplines before starting. At the ...


2

There are many *WRT distribution variants, and different devices are set up in different ways, so I'm not sure whether this applies to your configuration, but it probably does. The basic *WRT configuration has a read-only root filesystem, so it cannot save customizations in the filesystem. Instead, the startup loads various (variant-dependent) settings from ...


2

You can't do this in a sane way for Google search queries. Why? Google is using HTTPS (SSL) everywhere now. All traffic between the endpoints (browser & Google server) is encrypted and checked for integrity. The only way to read (let alone modify) encrypted traffic is changing it at or beyond on one of the endpoints. Suggestions in the direction of ...


2

You cannot change permissions on this mount: /dev/sda3 on /tmp/mnt type vfat rw,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1) Notice the type is VFAT. You can only change permissions using chmod on EXT type permissions, or ones that actually support it. You can either reformat it as EXT4, mkfs.ext4, or using something like Samba to ...


2

I wonder if you're experiencing an issue with passive mode and these sites. As I understand it the ftp site makes a connection back to you, perhaps dd-wrt's firewall is blocking these back connections to your ftp client upon connecting? If you run the command netstat -an on your dd-wrt box you'll likely see TCP connections waiting.


1

Looking in /tmp/.ipt /tmp/.rc_firewall gives exactly what I was looking for: the iptables rules as they would normally be in a file like /etc/sysconfig/iptables. I had earlier found this: dd if=/dev/mem | strings | grep -i iptables ...and fortunately, it works on the pared-down DD-WRT filesystem. It didn't give precisely what I was looking for, but ...


1

You can use ! -s or -d to exclude some IP/Network From man iptables [!] -s, --source address[/mask][,...] Source specification. Address can be either a network name, a hostname, a network IP address (with /mask), or a plain IP address. Hostnames will be resolved once only, before the rule is submitted to the kernel. Please note ...


1

This is an old topic, but someone might still find my solution useful: update your firmare. DD-WRT provides updated versions and the last one I could find here http://dd-wrt.com/site/support/other-downloads?path=others%2Feko%2FBrainSlayer-V24-preSP2%2F works. I can finally use FTP.


1

Perhaps I'm answering too late, but I have found a way to do what you want. Instead of adding the URL you wish to block in the "URL" category, add it to the "Keyword" category. This works fine for me.


1

I'd like to point towards OpenWRT. While I don't know which hardware item would be best suited for your case, many of the not-too-low-spec'ed devices are supported by OpenWRT. They've got a B.A.T.M.A.N. wiki page and I suspect batman-adv and batctl are prebuilt (i.e. installable via opkg install batman-adv). The open-mesh.org people also give instructions ...


1

Are you sure it is doing nothing? If you are changing the IP, when the appliance changes the IP, the URL you have entered is no longer valid, and active AJAX connections will fail calling the same IP. After you make the change, wait about 30 sec, then punch in the IP you assigned into the address bar and reload.


1

You can use the tc command to accomplish this. If you'd like to rate-limit a single host, there's a quick guide here: Rate limiting a single host or netmask If you'd like a more comprehensive setup (for example, to guarantee prioritized traffic to VoIP), DD-WRT's supports setting up QoS rules directly via its user interface. Look here: Quality Of Service ...


1

Until you determine, what type and size of Flash ROM is used in the device, you should not risk flashing it with anything other than dedicated firmware. Atheros chipsets are very common across a wide range of wireless devices and the sole fact of using a particular chip does not guarantee that the entire device will work correctly with your firmware. The ...


1

I've always used: killall -1 dnsmasq which has worked fine for me. I'm running some of the newer versions of DD-WRT and stopservice dnsmasq startservice dnsmasq also seemed to work without error or needing sudo...


1

DD-WRT and OpenWRT are your two best bets for the D-600. They can do most o fwhat Tomato can do, so unless you need something specific to Tomato, this router should be fine.



Only top voted, non community-wiki answers of a minimum length are eligible