Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-09-2004, 08:26 PM   #1
LQ Newbie
Registered: Jul 2003
Location: NZ
Distribution: Ubuntu
Posts: 22

Rep: Reputation: 15
xp-box to share internet connection with linux-box

I have read through a number of L.Q posts so I am fairly sure that what I want to do is possible but I would like some confirmation.

I have 2 computers.

Computer1 is a new one with xp and connects to the internet with an external modem.

Computer 2 is an old one (133mhz) with debian linux on it.

I wish to set up the xp machine as a server and share its internet connection with the old linux one.

From what I can gather (from reading L.Q posts) I should be able to
just get an ethernet card for each computer and hook them together
with a cross-over cable. Then enable internet-sharing on the xp computer.

Is this correct?

Any thoughts, as always, would be much obliged. : )

Old 07-09-2004, 10:53 PM   #2
LQ Newbie
Registered: Jul 2003
Location: NZ
Distribution: Ubuntu
Posts: 22

Original Poster
Rep: Reputation: 15
I forgot to mention I am running zone alarm
firewall on the xp machine. I dont know if this
is an issue.
Old 07-10-2004, 04:39 PM   #3
LQ Newbie
Registered: Jul 2003
Location: NZ
Distribution: Ubuntu
Posts: 22

Original Poster
Rep: Reputation: 15
I'll just keep replying to this until someone else does.
Old 07-10-2004, 10:59 PM   #4
LQ Newbie
Registered: Jul 2003
Location: NZ
Distribution: Ubuntu
Posts: 22

Original Poster
Rep: Reputation: 15
I'll just keep posting replies to this untill someone responds
Old 07-10-2004, 11:54 PM   #5
Registered: Jul 2004
Distribution: Gentoo
Posts: 101

Rep: Reputation: 15
By far the easiest thing to do would be to buy a router, if you have a bit of spare cash lying around.
Old 07-11-2004, 12:09 AM   #6
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
Yes, that is what you do; however, ZoneAlarm could be an issue. You could just use XP's built in firewall and cust ZoneAlarm out of the picture (that's what I'd recommend) or yuo can ensure that ZoneAlarm is only watching the Modem conneciton and not your LAN (see ZoneAlarm documentaion for how to do that).

You will also either need to set your Debian box to get its IP address via DHCP, or assing it a static address as follows:

IP address:
Default GW:


That should get you out to the internet.

One additional thing, you should not go in and post replies to your own thread to bump it to the top. You should edit your post and then it will automatically get bumped. I almost did not read this thread since it already had replies. I almost assumed you had someone already helping you.



Last edited by charon79m; 07-11-2004 at 12:12 AM.
Old 09-28-2006, 09:08 AM   #7
Registered: Dec 2004
Posts: 83

Rep: Reputation: 15
I have the same problem

Hi people,

I want to do the same, and i have the the same problem.

Machine #1 = Windows XP. Dial Up Connection. Ethernet Card connected to my switch.

Machine #2 = Ubuntu Linux. No conextion. Ethernet Card connected to my switch.

Ip #1 =
Mask #1 =

Ip #2 =
Mask #2 =

If the dial-up is disable on my Windows Xp i do on linux: smb:// and i can see my shared files on my XP machine. But, if i connect to the internet using the dialup, the ethernet of the machine #1 seem to goes away. if i do smb:// from linux, NOTHING.

Is there something i am missing ?


Edit #1
Forgot that i have never seen the internet connection from the linux box. :/

Last edited by javb; 09-28-2006 at 09:16 AM.
Old 09-28-2006, 11:05 PM   #8
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503

Rep: Reputation: 30
Uninstall Zone Alarm.

I used to love the ZA, but i have seen it mess with ALOT of otherwise working setups. If you are willing to pay for a ZA liscence, instead invest in a hardware router. Trust me, its worth the 40 bux at walmart, or 20 bux at a local shop with a used one laying around.

ZA in theory should work great, but it tends to block local traffic even when you tell it not to, somtimes intermittently.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Share Windows modem connection with Linux box? Toronto Linux - Networking 3 09-18-2005 01:13 AM
Windows XP box losing connection to Linux box after 30 sec. NeoZeus Linux - Networking 3 07-21-2005 12:02 AM
How to Share the internet connection from XP BOX to RH8? seow_ming Linux - Networking 7 12-18-2004 02:24 AM
Connecting Linux box to Internet through Windowx XP box over LAN pcd007 Linux - Networking 1 03-14-2004 09:02 AM
can't see internet connection from linux box Peacedog Linux - Networking 15 11-01-2003 09:09 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration