zenkaon
October 3rd, 2008, 07:32 AM
Hello,
Currently I have a 3G GSM usb modem which works fine under ubuntu. I can connect using either nm-applet 0.7 or wvdial. No problems there. This is my internet connection (Not going to be getting "regular" broadband until mid 2009 - don't ask, it's a long story that boils down to BT are arseholes)
I also have a wireless router (running OpenWRT 7.09) which would normally connect my PC, laptops and NAS drive to the internet.
Currently I can be either:
1.) Online via 3G with no access to my NAS drive or PCs
2.) Access my internal LAN, PCs and NAS drive, but not internet
Clearly I would like to be able to do both at the same time, internet sharing would be a nice bonus as well, but not essential.
I believe this comes down to a problem with subnets and getting the configuration correction in /etc/resolv.conf but I don't know enough networking to figure it out.
My 3G connection will give me an IP on a ppp device and put it's nameservers into /etc/resolv.conf. My router will also give me an IP via dhcp on eth0/1 and put it's nameservers into /etc/resolv.conf. What I need to know is how to get them to coexist.
Can anybody help me out?
Currently I have a 3G GSM usb modem which works fine under ubuntu. I can connect using either nm-applet 0.7 or wvdial. No problems there. This is my internet connection (Not going to be getting "regular" broadband until mid 2009 - don't ask, it's a long story that boils down to BT are arseholes)
I also have a wireless router (running OpenWRT 7.09) which would normally connect my PC, laptops and NAS drive to the internet.
Currently I can be either:
1.) Online via 3G with no access to my NAS drive or PCs
2.) Access my internal LAN, PCs and NAS drive, but not internet
Clearly I would like to be able to do both at the same time, internet sharing would be a nice bonus as well, but not essential.
I believe this comes down to a problem with subnets and getting the configuration correction in /etc/resolv.conf but I don't know enough networking to figure it out.
My 3G connection will give me an IP on a ppp device and put it's nameservers into /etc/resolv.conf. My router will also give me an IP via dhcp on eth0/1 and put it's nameservers into /etc/resolv.conf. What I need to know is how to get them to coexist.
Can anybody help me out?