LinuxQuestions.org
Visit Jeremy's Blog.
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 07-19-2003, 08:15 AM   #1
Valeria
LQ Newbie
 
Registered: Jul 2003
Location: Sweden
Distribution: Mandrake 9.0
Posts: 2

Rep: Reputation: 0
How do I share the Internet connection?


Greetings!
I'm a newbie therefore detailed answers are most appreciated
I have two laptops. One is running Mandrake 9.0 the other WinXP (which eventually will be substituted by Gentoo). I also posses a 4 ports hub/switch.
I would like to set up a network to share my Internet connection (LAN cable modem with a dynamic IP) in the following way:
when the machine no1is on-line the other can establish a connection too and the other way around.
I couldn't so far get my WinXP machine to automatically obtain the IP address (when the cable is plugged directly into the integrated MacPhyter PCI Adapter network card), no packages can be received, I do not know where the problem might lie...the other laptop (PCM CIA card) works fine.
Thank you in advance.
//Valeria
 
Old 07-19-2003, 08:43 AM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
I don't understand how your network is setup.

Are the two laptops connected to the hub,
and the hub connected to the cable mode.

If so, then this will not work.
Your cable modem only has one IP, so only one system can be connected to it.

Does one of your laptops have two network cards ?
 
Old 07-19-2003, 09:55 AM   #3
Valeria
LQ Newbie
 
Registered: Jul 2003
Location: Sweden
Distribution: Mandrake 9.0
Posts: 2

Original Poster
Rep: Reputation: 0
that's exactly as you said. No, each of them has only 1 card but i could buy an additional PCM-CIA card if it helps
Now, why can't i get the IP when only my Win machine trying to get on-line?
 
Old 07-19-2003, 10:45 AM   #4
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
You could try to connect your WinXP laptop directly to the cable modem in order to see if it can obtain the IP dynamically.

If you plan on only using one laptop at a time, you can consider not using the hub at all.
 
Old 07-19-2003, 11:28 AM   #5
MooktaKiNG
Member
 
Registered: Feb 2003
Location: London, UK
Distribution: Gentoo/Debian
Posts: 39

Rep: Reputation: 15
you will need a dedicated router. Just get a small PC, doesn't have to be fast or anything. and setup www.smoothwall.net on it. Then you'll get everything (router, firewall etc etc).
 
  


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
Share Internet Connection sam_casperson Linux - Networking 3 02-03-2005 06:07 PM
Help! Cannot share my Internet connection... Domiriel Linux - Networking 2 11-25-2003 01:27 PM
how to share internet connection digihall7 Linux - Networking 5 10-22-2003 11:53 PM
how to share internet connection digihall7 Linux - Networking 2 09-23-2003 03:42 PM
HOW to share Internet connection zaldyd Linux - Newbie 1 07-25-2003 12:42 AM

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

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