OpenWrt Forum Archive

Topic: Bad Internet, way to help?

The content of this topic has been archived on 29 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I have DSL. 'Nuff said?

I don't have what you would call consistent internet, as in occaisionally it drops for a few seconds (and don't even think about internet during lightning storms sad ) My problem is that as soon as my internet drops, even for a second, my router needs a reboot to get back on. This has been especially a hassle this summer, because, for some reason, the internet is VERY unstable.

What I'm looking for is a way to reboot the router automatically when the internet drops (i.e. pings come out unresolved or, say, 10 pings in a row are unanswered). Better yet, I would like a way to not need to reboot.

I'm using kamikaze 7.06 on a WRT54Gv1.1 with pppoe over my wireless connection.

tia,
poly-p man

I've seen some weird stability issues with DSL and pppoe.  This is probably beyond the scope of this forum but you should check to see if your DSL modem is set up in bridge mode with DHCP disabled.  The connection becomes unstable if both your DSL modem and router are both performing DHCP functions.  If it's not in bridge mode with DHCP disabled, check with your provider on how to configure it that way.

What is happening is that the modem is a {wireless,} router in itself, and it is giving DHCP (to the clients plugged directly into it).

Here (in terrible art) is my setup:

[modem]-----192.168.2.90(about)-----192.168.2.91(about)
     \                                           (wired)
     /
     \ (wifi)
     /
[Openwrt (loses its lan IP)]-----192.168.1.227---192.168.1.147
   |                                     (wired)
   |(wired)
   |
   |
[NETGEAR]^V^V^V192.168.0.2, etc.
                 (wifi)

I don't know if that helps, but still.

Here is 'uci show'
dhcp.cfg1=dhcp
dhcp.cfg1.interface=lan
dhcp.cfg1.start=100
dhcp.cfg1.limit=150
dhcp.cfg1.leasetime=12h
dhcp.cfg2=dhcp
dhcp.cfg2.interface=wan
dhcp.cfg2.ignore=1
dropbear.cfg1=dropbear
dropbear.cfg1.TYPE=dropbear
dropbear.cfg1.PasswordAuth=on
dropbear.cfg1.Port=22
network.eth0=switch
network.eth0.vlan0=1 2 3 4 5*
network.eth0.vlan1=0 5
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.type=bridge
network.lan.ifname=eth0.0
network.lan.proto=static
network.lan.ipaddr=192.168.1.1
network.lan.netmask=255.255.255.0
network.web=interface
network.web.ifname=wl0
network.web.proto=pppoe
network.web.username=[myusername]
network.web.password=[mypassword]
network.wan=interface
network.wan.ifname=eth0.1
network.wan.proto=dhcp
system.cfg1=system
system.cfg1.TYPE=system
system.cfg1.hostname=OpenWrt
wireless.wl0=wifi-device
wireless.wl0.type=broadcom
wireless.wl0.channel=6
wireless.wl0.disabled=0
wireless.cfg2=wifi-iface
wireless.cfg2.TYPE=wifi-iface
wireless.cfg2.device=wl0
wireless.cfg2.network=web
wireless.cfg2.mode=sta
wireless.cfg2.ssid=05B408566200
wireless.cfg2.hidden=0
wireless.cfg2.encryption=none


hihyhm,
poly-p man

The discussion might have continued from here.