Internet sharing

Jeroen Coumans jeroen at linuxfromscratch.org
Thu Sep 11 07:23:47 PDT 2003


Old-timers may remember I asked about this a couple of years ago, 
allthough I used Windows for the Internet connection...
Well, I've finally managed to get my ADSL connection working with the 
speedbundle-1.0.tar.gz and the linux-2.6.0-test5 speedtch module (yes I 
have the USB Alcatel 330). It requires the modem's firmware to be 
downloaded to the modem and a patched pppd. Connection is made via ATM 
and seems very reliable now that it's up for about a day.

Anyway, I've copied & pasted the "Masquerading router" script from BLFS 
for some basic firewalling and to allow the networked Windows laptop to 
connect via my machine. But I can't get it to work...!

#ip route show
195.190.243.125 dev ppp0  proto kernel  scope link  src 80.126.152.177
192.168.0.0/24 dev eth0  proto kernel  scope link  src 192.168.0.2
default via 195.190.243.125 dev ppp0

The windows XP box has a static IP at 192.168.0.3, default gateway + DNS 
server point to 192.168.0.2 (the LFS box). But when it tries to access 
the internet, it just says "blah could not be found".

Can anybody help me?

-- 
Jeroen Coumans (jeroen at linuxfromscratch.org)
FAQ and Website Maintainer
{faq,website}@linuxfromscratch.org




More information about the blfs-support mailing list