LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-09-2004, 09:26 PM   #1
CrazyHorse
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. : )

thanks.
 
Old 07-09-2004, 11:53 PM   #2
CrazyHorse
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, 05:39 PM   #3
CrazyHorse
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, 11:59 PM   #4
CrazyHorse
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-11-2004, 12:54 AM   #5
p-static
Member
 
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, 01:09 AM   #6
charon79m
Member
 
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: 192.168.1.2
Netmask: 255.255.255.0
Default GW: 192.168.1.1

DNS: 192.168.1.1


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.

Cheers,

MrKnisely

Last edited by charon79m; 07-11-2004 at 01:12 AM.
 
Old 09-28-2006, 10:08 AM   #7
javb
Member
 
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 = 10.0.0.10
Mask #1 = 255.255.255.0

Ip #2 = 10.0.0.100
Mask #2 = 255.255.255.0

If the dial-up is disable on my Windows Xp i do on linux: smb://10.0.0.10 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://10.0.0.10 from linux, NOTHING.

Is there something i am missing ?

Help!!

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

Last edited by javb; 09-28-2006 at 10:16 AM.
 
Old 09-29-2006, 12:05 AM   #8
Kahless
Member
 
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.
 
  


Reply


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 02:13 AM
Windows XP box losing connection to Linux box after 30 sec. NeoZeus Linux - Networking 3 07-21-2005 01:02 AM
How to Share the internet connection from XP BOX to RH8? seow_ming Linux - Networking 7 12-18-2004 03:24 AM
Connecting Linux box to Internet through Windowx XP box over LAN pcd007 Linux - Networking 1 03-14-2004 10:02 AM
can't see internet connection from linux box Peacedog Linux - Networking 15 11-01-2003 10:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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