PDA

View Full Version : Internet sharing?



morfar
09-08-2004, 07:27 PM
I've read the sticky theard about Internet Sharing but I don't understand.

I'm using Knoppix3.6, witch have Internet access, through my 1st network card.
Then I have a WinXP machine connected to my 2nd network card.

How do I make it so the XP machine can surf through Knoppix3.6??
I am new to Linux so explain in extreme detail plz :)

btw I cant even ping the XP machine (with all firewalls disabled)

shah
09-09-2004, 02:44 AM
The easiest way... okay? You not using router, right?

If running knoppix from cd:
1) Run network card configuration, don't choose dhcp. Set your ip ..etc.
2) Set your internet connection and connect.
3) Run knoppix terminal server...just hit <enter> on every question asked.

If running knoppix from HDD:
1) You can use above procedure.
2) You can apt-get (install) guidedog or firestarter.

a) Guidedog:
i) Tick on enable routing, enable IP masquerade,FTP,IRC.
ii) If your other pc has an IP, set an IP range in No-masquerade Addresses section. Ex: 192.168.0.0/24 if the pc ip is 192.168.0.x
iii) Hit apply, and your done.

b) Firestarter ***choose this if you want to share connection with firewall in one package.
i) You the wizard to set your connection sharing and firewall.
:D

user unknown
09-09-2004, 02:53 AM
If you talk german, this brief introduction might help:
http://www.linuxeinsteiger.info/anleitungen/netz/netz11.php
It tells you how to setup linux as router.

(Perhaps guidedog and/ or firestarter do nearly the same thing behind the scene.)

I guess you need at least

route add default gw LINUX_IP
, translated to Win-syntax, called from the win-machine.

I used the tutorial in a slightly different way - two linux-machines, one network-card each, a switch, and the dsl-stuff, and it works perfectly.