LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 10-21-2003, 03:05 AM   #1
Sean Murphy
LQ Newbie
 
Registered: Oct 2003
Location: Fort Lauderdale FL
Distribution: Mandrake 9.2
Posts: 15

Rep: Reputation: 0
Mandrake 9.2 - DSL - Win XP - ICS - Can I make it work?


I tried to read around on this, but I can't find my exact scenario, or it was over my head. If possible, I would like to get a really laymans description for the following:

I'm using Linux for the first time on a spare machine that was donated. I'm a current programming student taking my first Unix class and I thought this might complement my education. My Linux experience is under 24 hours at this point. I have WinXP on my main machine, and Mandrake 9.2 on this one. I have a DSL modem that allows a USB or Ethernet connection. I got LInux online using the NIC connection, but it doesn't seem to be able to connect when I try the USB cable. Both machines have a NIC card and I would like them to share the connection.

My questions are as follows:

(01) Can they share this connection without buying anything else?

(02) If yes, should I have the XP machine as the one connected to the modem and then connect the Linux machine to the XP machine? I have a second RJ45 "Patch Cable" Is that adequate?

(03) If also yes, could someone please give me "plain english" instructions on how that might be done, or direct me to instructions that weren't created by IT guys for IT guys.

I'm real excited about LInux and real eager to dive in. I've had a few snags, but not enough to chase me off, I really want this to work.

Thank you very much in advance,
Sean
 
Old 10-21-2003, 03:32 AM   #2
ashjam10
Member
 
Registered: Sep 2003
Location: UK
Distribution: Mandrake 10.0
Posts: 121

Rep: Reputation: 15
Actually, I have a similar setup at home. My main machine runs XP Pro (simply because my partner uses it) and the machine I use is actually on an XP/Red Hat dual boot (or was, but that's a different story, Mandrake is downloading right now)

So, yes I can tell you exactly how to get this working (so long as you know how to change network settings in Mandrake as I've not used it yet) with XP sharing the internet connection.

Firstly you'll need a crossed ethernet cable, they're not expensive but if you really can't go out an buy one and the spare cable you've got is a straight through then you can find out how to rewire the cable by doing a search on google I imagine.

Don't use the networking wizard on XP, more often than not it fails to setup ICS correctly. Go to network connections and double click on your internet connection. Select Properties : Advanced and check the share internet connection box. Click OK.

Next double click on the network connection (the one that goes to your Linux box) and select properties. Double click on "Internet Protocol (TCP/IP)" and check the "Use the following IP address"

Enter the following details:

IP Address: 192.168.0.1
Subnet Mask: 255.255.255.0

You don't need to specify Default Gateway or DNS for this one.

XP will now be sharing the connection and all you have to do is tell the Linux box how to use it. The device should be eth0, and you need to allocate the following settings for it:

IP Address: 192.168.0.2
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.0.1
Primary DNS: 192.168.0.1

As I said, I don't know how to edit these settings under Mandrake as I've not used it yet, but AFAIK you should be able to do it from the Mandrake control centre.

Hope this helps
 
Old 10-21-2003, 04:01 AM   #3
Sean Murphy
LQ Newbie
 
Registered: Oct 2003
Location: Fort Lauderdale FL
Distribution: Mandrake 9.2
Posts: 15

Original Poster
Rep: Reputation: 0
Thumbs up

Wow, you really make that look easy. I think I'll just go get a cable. I don't want to rig this one. Besides I have had about 18 hours straight trying to "cozy up" to linux. I think I'll give it a break for the night, or should I say morning it's 5am now.

I cut and pasted your info and e-mailed it to my XP machine, I will give it a shot when I'm not so punchy, I mainly wanted to see if it was something that could be done without scary work on an OS I just met last night.

Worse comes to worse, both machines are right next to each other for the moment, I have been unhooking and rehooking them back and forth while I've been tinkering. I can only type at one keyboard at a time anyway.

I'm eager to go through your steps, I really appreciate your time.

Sean
 
Old 10-21-2003, 04:23 AM   #4
ashjam10
Member
 
Registered: Sep 2003
Location: UK
Distribution: Mandrake 10.0
Posts: 121

Rep: Reputation: 15
Best of luck and it really is that easy. Mandrake can probably detect the internet settings for you but I thought if I told you how to do it manually then it would definitely work.

It won't take you long, but if you do run into problems the first thing to do it check you don't have a firewall causing trouble
 
Old 10-21-2003, 04:23 AM   #5
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Just remember to set up the XP firewall correctly!!

By default it leaves UPnP and port 445 open to the outside world.
 
  


Reply



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
How do you make a dual boot Mandrake 10/Win XP system? silentwhispers Mandriva 4 11-09-2004 04:59 PM
Linux FTP behind Win ICS esvfi Linux - Networking 3 04-15-2004 09:38 AM
ICS sharing with win xp as host simao20 Linux - Networking 6 04-03-2004 05:16 PM
ICS with Mandrake 8.2 and Win NT BorgKing Linux - Networking 0 06-19-2002 08:48 PM
Linksys DSL router + Mandrake Linux + Win ME tucker02 Linux - Networking 0 01-20-2002 03:46 PM

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

All times are GMT -5. The time now is 02:49 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