On Fri, Apr 17, 2009 at 10:27 AM, Kenneth Gonsalves <[email protected]> wrote: > hi, > > I use my laptop with whatever LAN connection is available. At home I have a > bsnl broadband modem with several ethernet ports - I plug in the ethernet > cable to my laptop - laptop is set to get IP and other info from DHCP, and it > works out of the box. In the office LAN, this was working out of the box > previously. Now ethernet gets detected, but there is no default route - I have > to manually add the default route to the gateway. Any idea why this should > happen?
Yes its painful, i tried the tip from http://kutuma.blogspot.com/2007/11/changing-default-gateway-using-network.html , it worked in my case $cat /etc/network/if-up.d/gwconfig #!/bin/sh if [ "$IFACE" = "wlan0" ]; then route delete default gw route add default gw 192.168.1.1 fi -Satya http://www.linkedin.com/in/satyaakam > -- > regards > kg > http://lawgon.livejournal.com > _______________________________________________ > To unsubscribe, email [email protected] with > "unsubscribe <password> <address>" > in the subject or body of the message. > http://www.ae.iitm.ac.in/mailman/listinfo/ilugc > _______________________________________________ To unsubscribe, email [email protected] with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
