problems with internet connection sharing via a usb modem
On my network I have always used windows xp to share my internet connection to 3 other pc's. But I now wish to switch the "internet server" to linux (opensuse 10.2).
I have managed to setup my modem (alcatel speedtouch 330 usb modem) to connect to the internet, which was fairly painless.
However... I cannot seem to share this connection to any of my other machines on my network. I have sieved through forums and tutorials for well over a week now and haven't had much luck.
I have tried various commands to attempt masquerading but nothing gives.
eth0 Link encap:Ethernet HWaddr 00:13:A9:09: D9:B9
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::213:a9ff:fe09:d9b9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:70966 errors:0 dropped:0 overruns:0 frame:0
TX packets:115104 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:4975908 (4.7 Mb) TX bytes:84069967 (80.1 Mb)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:222 errors:0 dropped:0 overruns:0 frame:0
TX packets:222 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:15434 (15.0 Kb) TX bytes:15434 (15.0 Kb)
ppp0 Link encap:Point-to-Point Protocol
inet addr:**.**.**.*** P-t-P:22.214.171.124 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:7151 errors:0 dropped:0 overruns:0 frame:0
TX packets:5006 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:8339268 (7.9 Mb) TX bytes:540082 (527.4 Kb)
if anyone can please help me that would be great.
Thanks in advance
To "share" a connection you have to do two things:
Thanks for the quick reply, I'll try this as soon as I can.
At current the other machines are configured manually to connect through a windows xp machine. For example:
is this still sufficient for connecting through the linux box once its setup?
Edit: Maybe I was too hasty. You will need to provide them with addresses for one or more DNS servers it you want them to be able to find anything on the Internet. (Maybe you have already done this and you just neglected to list it.) It might be in a different tab or dialog box from IP/subnet/gateway.
Yeah sorry I do have the DNS also set to: 192.168.0.1
well what does and doesn't work? i'd not be suprised if was actually just dns... you've not mentioned if your main box has a dns server running on it. try pinging google.com by ip address not by dns name for example.
|All times are GMT -5. The time now is 01:50 PM.|