![]() |
2008-01-31
, 11:28
|
Posts: 79 |
Thanked: 21 times |
Joined on Sep 2007
|
#2
|
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 172.18.0.1 172.18.0.1 255.255.255.255 UGH 0 0 0 wlan0 172.18.0.0 * 255.255.0.0 U 0 0 0 wlan0 default 172.18.10.5 0.0.0.0 UG 0 0 0 tun0 default 172.18.0.1 0.0.0.0 UG 0 0 0 wlan0
![]() |
2008-01-31
, 12:57
|
Posts: 5 |
Thanked: 2 times |
Joined on Nov 2007
|
#3
|
![]() |
2008-01-31
, 12:58
|
Posts: 3,841 |
Thanked: 1,079 times |
Joined on Nov 2006
|
#4
|
![]() |
2008-01-31
, 15:25
|
Posts: 79 |
Thanked: 21 times |
Joined on Sep 2007
|
#5
|
![]() |
2008-01-31
, 17:04
|
Posts: 5 |
Thanked: 2 times |
Joined on Nov 2007
|
#6
|
The Following User Says Thank You to mcfab For This Useful Post: | ||
![]() |
2008-01-31
, 22:28
|
Posts: 79 |
Thanked: 21 times |
Joined on Sep 2007
|
#7
|
route $route_syntax_del default "$DEFAULTGW" route add default $route_syntax_gw "$INTERNAL_IP4_ADDRESS"
route $route_syntax_del default $route_syntax_gw "$DEFAULTGW" route add default $route_syntax_gw "$INTERNAL_IP4_ADDRESS"
The Following 2 Users Say Thank You to tvogel For This Useful Post: | ||
![]() |
2008-02-01
, 09:05
|
Posts: 5 |
Thanked: 2 times |
Joined on Nov 2007
|
#8
|
![]() |
2008-02-01
, 09:33
|
Posts: 5 |
Thanked: 2 times |
Joined on Nov 2007
|
#9
|
It's the fault of the DHCP-client. Everytime the Lease-Time is over (which might happen in the interval ofjust a few minutes) a DHCP-Renew ist done. The tablet's DHCP-client is somehow broken, because it always sets the default route supplied by the DHCP-Server, even if there is a different default route active . I have not found a "clean" solution for that problem, yet. I personally edited /etc/udhcpc/udhcpc.script so that it doesn't do anything on RENEWs, just on BOUNDs.
The Following User Says Thank You to mcfab For This Useful Post: | ||
![]() |
2008-02-01
, 11:52
|
Posts: 3,841 |
Thanked: 1,079 times |
Joined on Nov 2006
|
#10
|
I'm using vpnc (a client for Cisco/VPN routers) through a WiFi connection at my job (N800+OS2008) .
The problem: in order to work VPNC needs to replace the default gateway (wlan0 interface) by its own gateway (tun0 interface), but it seems that the tablet's connection manager automatically restore the wlan0 gateway if I delete it.
Reproducing the bug into a "normal" wifi session:
1: make a wifi connection
2: open a web browser an make sure internet access is ok.
3: open xterm and type (as root) : "route del default"
this command removes the gateway (type "route" to check it) .
4: now retry internet surfing and check that internet is no more reachable.
5: try to access to some web sites during 1-2 minutes and suddenly: it works again!
6: finally return to xterm and type "route" : the gateway has been restored !
So how to say to the tablet: "please DO NOT touch the gateway!" :-E
Any ideas ?
Thanks a lot!
-- Fab