LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-02-2007, 05:41 AM   #1
uncle-c
Member
 
Registered: Oct 2006
Location: The Ether
Distribution: Lubuntu 14.04 LTS, Kali
Posts: 297

Rep: Reputation: 30
Live CD Linux Box to connect to Internet via XP machine ?


Hi there. I've been scouring the net and trying to get a rough idea of how this is going to work. I can't really find a decent howto / tutorial on the net so I am going to document everything I to do and put it up somewhere.
Here is the situation.
I have reluctantly volunteered to "house / pet sit" for some friends who have to take a break. They have an XP (SP2) setup ,Broadband ADSL modem and ISP AOL ( dynamic IP). Personally I do a lot of work on Linux and my box at work is also a Linux. They have a spare machine in their study on which I can run any linux live CD ( I intend to use either knoppix or slax ).
I want this spare machine, running the live linux CD to use the XP internet connection as I would like to remotely display windows etc from my work machine and use a unix/linux environment in general. I don't want to install too much software on their machine ( if any). but I fear I may need to install some proxy software of some description. The spare machine will have it's own NIC and I will be using a crossover cable to connect the two machines together.

Code:
Internet
        ||
        ||
        ADSL MODEM-------XPSP2---Crossover Cable
                                      |
                                      |
                                      |
                                    Linux Box (LiveCD)



What I need help on is the actual configuration on both my Windows and Linux box as I am mostly ignorant of this form of simple networking ( although I have been using Linux / unix for many years so am not daunted by command line). This whole project will also give me a simple start on networks etc from which to expand.
The XP machine has a firewall (Zone Alarm) in place and I was wondering what other security measures would I need to take on the linux box ie. closing ports. The linux box will be used for remote login (telnet), ftp, and general surfing of the net. Don't intend to use chat etc..
As I previously said I am going to document all I do so it can be used as a tutorial for other newbies.
Thanks again.

Uncle-C

Uncle.
 
Old 03-02-2007, 07:59 AM   #2
Vincent_Vega
Member
 
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825

Rep: Reputation: 31
Do you need to use a crossover cable for some reason or could you use a switch instead? I have never used a crossover cable so I don't know the ins and outs of that method.
 
Old 03-02-2007, 08:13 AM   #3
uncle-c
Member
 
Registered: Oct 2006
Location: The Ether
Distribution: Lubuntu 14.04 LTS, Kali
Posts: 297

Original Poster
Rep: Reputation: 30
I haven't got a switch so I have to use the cable method. I've done some reading over lunch and if I were to use the x-over cable method would I need 2 NICs in the Internet Connected XP (the gateway) PC or could I get away with just one in each machine ?
 
Old 03-02-2007, 08:17 AM   #4
Vincent_Vega
Member
 
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825

Rep: Reputation: 31
You will definitely need two NICs regardless. In order for the Windows machine to let other computers access the internet through it, you need one NIC with your internet connection and every other computer coming in on a separate network, set up to route through to the internet.
 
Old 03-02-2007, 09:26 AM   #5
uncle-c
Member
 
Registered: Oct 2006
Location: The Ether
Distribution: Lubuntu 14.04 LTS, Kali
Posts: 297

Original Poster
Rep: Reputation: 30
Thanks VV. I am only going to connect one other machine to the net connected XP. So far I know I have to configure the XP machine for Internet Sharing - no problems. But with regards to the Linux box I read that I only had to set DHCP as client, set the client Gateway to that of the host (XP machine) and that my Linux would be net connected ? Surely it cannot be that simple ? Do I not have to fiddle about with any other conf files ?

Last edited by uncle-c; 03-02-2007 at 09:34 AM.
 
Old 03-02-2007, 09:31 AM   #6
Vincent_Vega
Member
 
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825

Rep: Reputation: 31
If your XP is going to assign an IP address then set the Linux to DHCP. But it's probably easier to just manually create a private network for the two. Then you will need to set your DNS to the internet NIC address and the gateway to the XP IP address on the private network. It's really not that hard at all and using the Internet Connection Sharing will simplify it a lot as opposed to configuring those few options yourself.
 
  


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
Can't connect to Linux box from one windows machine keimdf Linux - Networking 1 01-04-2007 09:10 PM
How can I connect a linux box to a WIN. XP (pro) machine directly? magesing Linux - Networking 3 08-16-2006 07:16 PM
Is there a gui that can be installed on an XP machine to connect to a Samba box? pdickie General 3 09-08-2005 06:41 AM
How to join live presentations on Internet with Linux box satimis Linux - Software 0 06-07-2005 07:06 AM
XP Box won't connect to internet thru RH9 Box (firewall/dhcpd), it can only ping fire Rhapsodic Linux - Networking 4 07-10-2004 03:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:32 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration