Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-09-2004, 09:26 PM
|
#1
|
LQ Newbie
Registered: Jul 2003
Location: NZ
Distribution: Ubuntu
Posts: 22
Rep:
|
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.
|
|
|
07-09-2004, 11:53 PM
|
#2
|
LQ Newbie
Registered: Jul 2003
Location: NZ
Distribution: Ubuntu
Posts: 22
Original Poster
Rep:
|
I forgot to mention I am running zone alarm
firewall on the xp machine. I dont know if this
is an issue.
|
|
|
07-10-2004, 05:39 PM
|
#3
|
LQ Newbie
Registered: Jul 2003
Location: NZ
Distribution: Ubuntu
Posts: 22
Original Poster
Rep:
|
I'll just keep replying to this until someone else does.
|
|
|
07-10-2004, 11:59 PM
|
#4
|
LQ Newbie
Registered: Jul 2003
Location: NZ
Distribution: Ubuntu
Posts: 22
Original Poster
Rep:
|
I'll just keep posting replies to this untill someone responds
|
|
|
07-11-2004, 12:54 AM
|
#5
|
Member
Registered: Jul 2004
Distribution: Gentoo
Posts: 101
Rep:
|
By far the easiest thing to do would be to buy a router, if you have a bit of spare cash lying around.
|
|
|
07-11-2004, 01:09 AM
|
#6
|
Member
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297
Rep:
|
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.
|
|
|
09-28-2006, 10:08 AM
|
#7
|
Member
Registered: Dec 2004
Posts: 83
Rep:
|
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.
|
|
|
09-29-2006, 12:05 AM
|
#8
|
Member
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 01:50 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|