pappo
June 22nd, 2008, 05:44 PM
I live in a rural area and I bought an Alltel USB wireless device for my home and got rid of my Wildblue Satellite service. Alltel device works great and is much faster, but I have a problem losing my default gw address.
My network has three PC's (one XP Pro and two Linux) connected via a D-Link wireless router. I put the Alltel device on my XP box and did ICS (Internet connection sharing). When doing that I used my XP local lan connection to connect to my router and ICS made its address 192.168.0.1. Now I had to change the D-link router IP to 192.168.0.2 so it would not conflict.
The problem is that my Ubuntu box is connected via DHCP wireless and everytime the DHCP connection is made the router tells it that its gateway is 192.168.0.2 and that breaks the path. When I look at /etc/resolv.conf, it has reset whatever I put in there, back to 192.168.0.2, and when I look at "route -n" I see that I am back to 192.168.0.2 as my default gw.
The fix is easy, but manual. I have to go in and run "sudo route add default gw 192.168.0.1" and it is back working until the next time DHCP connects.
The Ubuntu is my wife's machine and she is not command line savvy so I wanted to know how to make the default gw 192.168.0.1 permanent.
Thanks.
My network has three PC's (one XP Pro and two Linux) connected via a D-Link wireless router. I put the Alltel device on my XP box and did ICS (Internet connection sharing). When doing that I used my XP local lan connection to connect to my router and ICS made its address 192.168.0.1. Now I had to change the D-link router IP to 192.168.0.2 so it would not conflict.
The problem is that my Ubuntu box is connected via DHCP wireless and everytime the DHCP connection is made the router tells it that its gateway is 192.168.0.2 and that breaks the path. When I look at /etc/resolv.conf, it has reset whatever I put in there, back to 192.168.0.2, and when I look at "route -n" I see that I am back to 192.168.0.2 as my default gw.
The fix is easy, but manual. I have to go in and run "sudo route add default gw 192.168.0.1" and it is back working until the next time DHCP connects.
The Ubuntu is my wife's machine and she is not command line savvy so I wanted to know how to make the default gw 192.168.0.1 permanent.
Thanks.