LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 07-08-2004, 08:19 PM   #16
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46

Quote:
My Windows XP has a cable going into my Linux Machine and it gets internet fine. My Linux machine has the Cable modem hooked up to it.
Your network is setup up like this, correct ?
Cable Modem -> Linux -> WindowsXP

Because, according to the output of ifconfig, you only have one Ethernet card in your Linux PC.
Are you using a Hub that connects both PCs to the cable modem ?

Please re-exeplain your home network setup.
 
Old 07-08-2004, 08:32 PM   #17
zarathaz
Member
 
Registered: Jul 2004
Posts: 48

Original Poster
Rep: Reputation: 15
I think i'm using a hub that connects both pc's to the cable modem.

I turned the modem off, everything off, then turned in on and let it establish a connection before I turned my linux machine on. Should I post my new ifconfig?
 
Old 07-08-2004, 11:15 PM   #18
jarib
Member
 
Registered: Jun 2003
Location: British Columbia
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
Quote:
Originally posted by zarathaz
I think i'm using a hub that connects both pc's to the cable modem.

I turned the modem off, everything off, then turned in on and let it establish a connection before I turned my linux machine on. Should I post my new ifconfig?
Go ahead and post the new ifconfig
 
Old 07-09-2004, 09:52 AM   #19
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Quote:
I think i'm using a hub that connects both pc's to the cable modem.
This setup will not work.
Why? Because your ISP is most likely providing you with only one IP via DHCP.
So only one PC can be connected to the internet at a time.

There are two ways to setup a home network.
1. Get a router. The router will act as a gateway, firewall and DHCP server for your two PCs.

2. Setup Linux as the default gateway. For this setup, you will need two network cards.
Then simply follow the steps from the thread (guide) you posted early. (hey, it's my thread )
http://www.linuxquestions.org/questi...threadid=82005

The advantage here is that Linux acts as the gateway and firewall.
There have been some security flaws with some Home Routers recently, so it may be preferable to use Linux... and we all love Linux.
 
Old 07-09-2004, 11:11 AM   #20
zarathaz
Member
 
Registered: Jul 2004
Posts: 48

Original Poster
Rep: Reputation: 15
Okay, so I'll buy a router..

Does anyone know a good cheap one for linking a Linux and a PC? Or will any router that I can find on ebay/best buy work?
 
Old 07-09-2004, 11:27 AM   #21
hcgernhardt
LQ Newbie
 
Registered: Apr 2004
Distribution: Slackware
Posts: 29

Rep: Reputation: 15
Linksys is a good brand. I had no problems running both my machines from the (<$50) Linksys router/firewall out-of-the-box. Make sure you're using the ethernet port on the cable modem, and then just hook the two machines into the router. Administrative tasks are simple and usually handled through a web interface (usually at http://192.168.1.1). Firewalls/routers with 802.11b (WiFi) capability are usually about $20 more, but you need a WiFi card/interface for each PC on the WiFi network.

Vielen Glueck,

Henry
 
  


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
cable modem mike99 Linux - Hardware 4 08-17-2005 11:21 AM
printer cable > modem cable? C++freak Linux - Hardware 1 06-21-2003 01:53 PM
Cable Modem Painmaster Linux - Newbie 2 03-18-2002 12:44 PM
cable modem dsflash Linux - Newbie 1 11-20-2001 12:58 AM
cable modem dsflash Linux - Networking 11 10-24-2001 09:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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