OpenWRT: No internet access from clients but the router

I run OpenWRT 8.09rc1 on an ASUS WL-500gp. After adding some advanced rules to the firewall in luci I recognized some problems on my clients with the internet access. The connection to the router via ssh and http was no problem. The router was able to connect to the internet. Seems like some routing problems. I changed nothing huge expect some small firewall rules which should not affect this. I was not able to fix this by stop/restart the firewall. After trying several hours and searching the net for some information I found this thread.

The clients could access the internet again after running this:

echo "0" > /proc/sys/net/ipv4/tcp_window_scaling

It seems like there are some problems with the firewall script. The script changes some settings on startup and does not revert them when stopping. I turned of that firewall script to use my own now for these things.

Btw. I was able to search the net from my client by adding a dynamic tunnel to my ssh connection with the router and adding a socks proxy to my browser.

Filed under: WL-500gp

Asus WL-500g Premium + OpenWRT: Not booting, Failsave possible

I have a Asus WL-500gp with installed OpenWRT since some days. Today I made some modifications to the system and rebooted the router. The router did not came up after reboot. I could not expect any change which could damage the system.

The good news: I could access the failsafe mode as described in the OpenWRT Wiki).

Once I mounted the jffs2 filesystem with the mount_root command some “bus error” messages came up. The message occured on nearly every command I executed.

The binaries in /rom/bin /rom/sbin were executable all the time – they helped me out at some research. For example /rob/bin/df showd me that the disk was not 100% filled.

After some research at google, openwrt forum and openwrt issue tracker I found the solution with the comments in the ticket #607.

Now I can remember: I looked for some upgrades with ipkg upgrade before rebooting the router.

Seems like the problem is caused by a file which was being upgraded and broke … I found a busybox binary in /rom/jffs/bin. Just deleted that file and rebooted the system. Now it works …

Filed under: WL-500gp