LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 07-03-2003, 06:24 PM   #1
Volcom
Member
 
Registered: May 2003
Distribution: Slackware 9.0
Posts: 43

Rep: Reputation: 15
Unhappy Windows Xp, Slackware Internet Connection Sharing.


K i have both of my computers connected, the windows xp connects to the internet, and my slack computer connects through it. Im not exactly sure how to set up ICS for either computer, could some one please help me out? Thanks alot in advance.
 
Old 07-03-2003, 09:06 PM   #2
o0k|ey
LQ Newbie
 
Registered: Jul 2003
Location: Holland
Distribution: Slackware
Posts: 10

Rep: Reputation: 0
maybe you should install and configure Samba
 
Old 07-03-2003, 10:27 PM   #3
angelrod
Member
 
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
You don't need samba for ICS, what you need if you want to set your linux box as a gateway is "firestarter"

http://www.linuxquestions.org/questi...002/01/4/12614
 
Old 07-04-2003, 12:00 PM   #4
Volcom
Member
 
Registered: May 2003
Distribution: Slackware 9.0
Posts: 43

Original Poster
Rep: Reputation: 15
so what about configuring windows?
Heres how its set up:

Internet > Windows Xp Box << (Linux box connects to windows with a cable)

i still have no idea if im doing this right. Ive been searching the net for answers, and i found a document that said i needed two ethernet cards, an ethernet cable, and an internet connection. I installed my second ethernet card, and connected both computers. Now that might be wrong, but if it isnt i still dont know how to configure windows. Or Linux.

Last edited by Volcom; 07-04-2003 at 12:03 PM.
 
Old 07-04-2003, 01:29 PM   #5
angelrod
Member
 
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
ok, if you already have your xp box connectes to the internet and it has 2 ethernet cards, do the following:

One ethernet is connected to your cable modem.
The second ethernet is connected by crossover to the linux box.

If this is right just right click on "network places"-"properties", then you have the different connections you're using. Identify the one that's connected to the cable modem and right click on it, select properties and go the "advanced" tab. Select "allow other user's connect to the internet throgh this PC's internet connection" (or something like that ). Now the last step is to select the "local network", that would be the second ethernet card that is connectes to the linux box. Click on accept and that's it.

Hope it helps
 
Old 07-04-2003, 05:04 PM   #6
Volcom
Member
 
Registered: May 2003
Distribution: Slackware 9.0
Posts: 43

Original Poster
Rep: Reputation: 15
k wheres "local network" located? and how do i configure slackware?
 
Old 07-04-2003, 05:23 PM   #7
angelrod
Member
 
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
I don't have a xp box right here, but "select local network" (or sonsething like that) is at the same windows where you selected to "allow other user to connect.... bla, bla....." . It is a scroll menu that allow you to select what is the interface connected to your linux box.

Note that it is going to be there if and only if you already have both NICs installed.

When you enable internet sharing with xp that will turn your computer also on a DHCP server, so it's going to take the ip 192.168.0.1.

So, to configure your linux box just open a shell and type 'netconfig -d ethX' , where X is the number of your linux NIC (if you only have one NIC it is going to be "eth0")
 
Old 07-04-2003, 05:40 PM   #8
Volcom
Member
 
Registered: May 2003
Distribution: Slackware 9.0
Posts: 43

Original Poster
Rep: Reputation: 15
k i havent configured both of my NICs, i think only one is configured.... how exactly would i do this? i dont want to screw up... but ill work on it till then.
 
Old 07-04-2003, 05:51 PM   #9
angelrod
Member
 
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
When you go to "device manager" at windoze, how many adapters do you see at "network adapters"?. If you see both NIC's there then it's ok.

You don't have to do anything besides what I told you before.

Just before you enable the internet sharing, be sure that both NIC's have te option "obtain IP automatically" (that's inside each NIC properties)
 
Old 07-04-2003, 05:57 PM   #10
Volcom
Member
 
Registered: May 2003
Distribution: Slackware 9.0
Posts: 43

Original Poster
Rep: Reputation: 15
ok i know for a fact one of the NIC's arent installed... ive been trying to detect the hardware, but with no avail. Exactly how do i install it? from there i think i got it.
 
Old 07-04-2003, 06:06 PM   #11
angelrod
Member
 
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
If it's already inside of the computer then windoze must tell you that it found new hardware. If it's not working, try to change your NIC to another available PCI slot
 
Old 07-04-2003, 06:28 PM   #12
Synth218
Member
 
Registered: May 2003
Location: U S of A
Distribution: Slack 12.1
Posts: 83

Rep: Reputation: 15
I got a similar problem only somewhat backwards alright im connecting 2 computers using a parrellel(printer) port connection not to sure if this is going to work or not but in theory it shoud lol anyway if i do get them connected and set up my question is, is it possible for me to get the other computer online my online connection is connected ot my slack computer and the computer i wil be connecting by parrelel would be a windows 98 so do u think it would work if so how??? if not how do i set it up so i can send data between the 2 computers thanx in advance
Synth
 
Old 07-04-2003, 06:52 PM   #13
angelrod
Member
 
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
Definitly the internet sharing wont work, because it uses IPs and a parallel port can't use an IP.

It would be better to get some UTP cable and make a crossover... that way is going to be easier and faster to share files and you're going to be able to share you internet too
 
Old 07-04-2003, 07:09 PM   #14
Synth218
Member
 
Registered: May 2003
Location: U S of A
Distribution: Slack 12.1
Posts: 83

Rep: Reputation: 15
idont got a utp how bout a serial conection?
 
Old 07-04-2003, 07:18 PM   #15
angelrod
Member
 
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
The only way to share internet is via ethernet
 
  


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
Internet connection sharing between 2 slackware machines Random`Zero Linux - Networking 6 01-04-2005 12:22 AM
sharing internet connection with windows xp melinda_sayang General 11 12-10-2004 10:51 PM
Sharing internet connection with windows Kontrau Linux - Networking 2 05-02-2004 08:10 PM
Internet Connection Sharing with a Windows PC Chryzmo Linux - Networking 22 09-26-2003 01:10 PM
Windows internet connection sharing Config Linux - Networking 3 02-22-2002 01:17 AM


All times are GMT -5. The time now is 05:14 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration