LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-08-2003, 06:06 PM   #1
atheist
Member
 
Registered: Sep 2003
Location: Iceland
Distribution: Debian Lenny - Kernel 2.6.22.8
Posts: 331

Rep: Reputation: 30
Question Internet Connection Sharing through Windows 2000 Pro


I'm really new to Linux. Installed it a few days ago for a friendlier programming environment. I setup Redhat Linux 9.0. Now the problem is that it doesn't seem to support my dsl modem. I currently have a computer running on Windows 2000 Pro for the rest of the family to use. Now what I did is I moved my dsl modem there and shared the connection from there. I was wondering if I could route the connection from there to my Redhat Linux 9.0 system. Any help would be greatly appreciated and since I don't really know my way around Linux yet, detailed instructions would be REALLY helpful. Thanks...
 
Old 09-08-2003, 08:14 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
If I understand correctly, you want to connect your Linux PC to your win2000 PC (the win2000 is connected to your DSL modem).

You can use RedHat's GUI tool.
In the menu, go to System Settings and click on Network.
or at the terminal, type: redhat-config-network

On the win2000 PC, don't forget to set up Internet Connection Sharing.

Quote:
Now the problem is that it doesn't seem to support my dsl modem.
It should. In the RedHat GUI tool, click add and select xDSL Connection.
 
Old 09-08-2003, 08:45 PM   #3
atheist
Member
 
Registered: Sep 2003
Location: Iceland
Distribution: Debian Lenny - Kernel 2.6.22.8
Posts: 331

Original Poster
Rep: Reputation: 30
Thanks for the help, I shall try this out tomorrow since I need to get some sleep ASAP. Now I was just wondering. Redhat doesn't have drivers for my modem and the modem only comes with Windows compatible drivers. Now it's an ASUS modem and their lame support doesn't help either, since I can't find any new drivers on their site. Oh, and Redhat doesn't even seem to find my modem. Where can I add new hardware, in such a manner as device manager in Windows? Now when I create an xDSL connection, Redhat asks me for the ethernet card I would like to use. Is that the norm? Do I in fact don't need find my modem, just have it there and use the ethernet card... I haven't gotten any sleep in a long time now, so my head hurts and I really can't think straigth. I will reply again tomorrow and of course further input is well appreciated.
 
Old 09-08-2003, 09:13 PM   #4
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Quote:
Now when I create an xDSL connection, Redhat asks me for the ethernet card I would like to use. Is that the norm? Do I in fact don't need find my modem, just have it there and use the ethernet card...
That is correct, you only need to configured your Ethernet card. That's it.


Now, that being said, if your Linux PC has two network cards, you can set it up to share the internet connection.
Take a look at these links.
http://www.linuxquestions.org/questi...threadid=82005
http://www.linuxquestions.org/questi...threadid=80256
 
Old 09-09-2003, 05:19 AM   #5
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30
Hi

If your modem stays on your w2k box then all u need is put in a set of ip address and NIC on ther linux box. Use the cmd that the Mathieu mentioned above.

About your modem got RH web site to see if you modem is supported or not:http://hardware.redhat.com/hcl/

If not then try finding out what model modem u have then download the drivers for linux if it has one. U will find that it will either come in a rpm format ot tar ball. If so then u have to install via the terminal. With a rpm format use the cmd rpm, if it is a tarball then u have to uncompress the file and compile it.

Try first checking RH network

cheers
 
Old 09-10-2003, 04:44 AM   #6
gh0ul
LQ Newbie
 
Registered: Sep 2003
Location: Charleston, SC
Distribution: RedHat8.1
Posts: 13

Rep: Reputation: 0
"Friendlier programming enviro"?? Yeah.... once you know what you're doing, maybe! It is certainly a b@#!% with only a weeks Linux knowledge. It's like learning how to walk.... all over again.

Last edited by gh0ul; 09-10-2003 at 04:47 AM.
 
Old 09-11-2003, 04:10 PM   #7
JohnGalt00
LQ Newbie
 
Registered: Aug 2003
Location: Dallas
Distribution: Fedora,Gentoo
Posts: 24

Rep: Reputation: 15
I don't know about red hat and DSL, but to use ICS, turn it on on the win2k box. Get the the win2k box's ip address, by typing ipconfig at a command line. It should have two addresses, a 192.168.x.x address for your internal network, and another address assigned to you by the isp. In the network config tool in redhat (start menu->system tools or settings->network) set your default gateway to the ip address of the win2k box.
 
Old 10-18-2003, 08:25 PM   #8
gdiersing
LQ Newbie
 
Registered: Oct 2003
Location: Indianapolis, IN
Distribution: SuSE 9.0 and Mandrake 9.2
Posts: 9

Rep: Reputation: 0
ICS with linux and windows

Not sure if this will help, but here is my tale -

Old Config - used both 2k and XP's (I tended to rebuild often) ICS to share connection to linux (redhat) client and an XP laptop (via a LinkSys WAP). Please note, by default when you setup ICS it IPs your internal card to 192.168.0.1. The other clients should be set to DHCP and both the XP laptop and RedHat clients connected fine. If you need to manually setup, give them an 192.168.0.x (mask 255.255.255.0) IP and point DNS and gateway at 192.168.0.1. It will help if all clients are in the same workgroup if you need to share files or printers.

New Config - am using linux as ICS box. I loaded Mandrake 9.1 and in the Mandrake Control Center under Network there is a wizard which made it rather easy. Using Samba to share printer and file shares (via SWAT) is also a snap.

Why did I change? My ISP (cable provider) required the Windows box to run a service and app to connect. Not sure if it was that app or the 2k/XP ICS, but my connection out to the internet would drop and I'd need to disable ICS and re-enable it. Since then (making the change to Mandrake) my connection is rock solid stable and all the clients (now behind the linux box) are experiencing a considerable increase in browsing speeds.
 
  


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
sharing internet connection with windows xp melinda_sayang General 11 12-10-2004 09:51 PM
how to share a internet connection with fedora core and windows 2000 jxzk007 Linux - Networking 1 11-29-2004 08:04 PM
Internet Sharing: Redhat9 and Windows XP Pro Cloud78 Linux - Networking 16 08-05-2004 03:23 AM
How do I enable internet connection sharing under suse 8.2 pro? bruno buys Linux - Networking 1 11-10-2003 11:48 AM
Sharing an internet connection with a Linux client through a 2000 server gateway thuan Linux - Networking 1 08-02-2001 01:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:39 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
Open Source Consulting | Domain Registration