Hi,
I have an issue with mine OpenWrt Barrier Breaker 14.07.
Occurs that everytime I restart router, it creates a default route to wrong path.
It can be removed by issue "route del -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.200.1".
I have altready tried to setup a script in order to remove it, but script does not delete route during boot, just when I manualy start it via lucy, or cli (e.g. "/etc/init.d/rotas start").
Does anyone know how to resolve that?
root@OpenWrt:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.200.1 0.0.0.0 UG 0 0 0 br-wlan
default 192.168.0.1 0.0.0.0 UG 1 0 0 br-lan
192.168.0.0 * 255.255.255.0 U 0 0 0 br-lan
192.168.200.0 * 255.255.255.0 U 0 0 0 br-wlan
START=45
start() {
echo Fix routes
route del -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.200.1
route -n
}
boot() {
route del -net 0.0.0.0 netmask 0.0.0.0 gw 192.169.200.1
}
Script was added into system startup ("/etc/init.d/rotas enable")
(Last edited by zetto33 on 11 Apr 2015, 14:28)