LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-10-2002, 04:36 AM   #1
iaypaa
LQ Newbie
 
Registered: Oct 2002
Distribution: Suse 8.1
Posts: 6

Rep: Reputation: 0
Sharing Internet Connection with Win Me


Hi,

Could anyone let me know - or point me in the right direction - of how to let my Linux (Suse 8.1) box share the internet connection I already have on a Win Me machine. The Win Me machine already shares it find with another Me machine, but I have no idea how to get Linux to share with it too....

Any help greatly appreciated

Cheers

Paul
 
Old 10-10-2002, 09:48 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
hook up the network cable.

run this command

dhcpcd


that should do it.
 
Old 10-11-2002, 08:55 AM   #3
iaypaa
LQ Newbie
 
Registered: Oct 2002
Distribution: Suse 8.1
Posts: 6

Original Poster
Rep: Reputation: 0
dhcpcd already running

Tried typing "dhcpcd", but it reports that it is already running.

Any other ideas? I wondered if there were some kind of group that users have to be a member of to access the internet, or if there's a firewall that gets in the way? But, if any of those things - or anything else - how do i go about rememdying it?

TIA

Paul
 
Old 10-11-2002, 11:42 AM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
if it's running try ifconfig and see if you have an ip address

if you do then look at route -n and see if you have the right default gateway

then check /etc/resolv.conf and see if the nameservers are there

if so you are connected
 
Old 10-11-2002, 01:04 PM   #5
davebarnes
LQ Newbie
 
Registered: Dec 2000
Location: Derbys, UK
Distribution: RedHat, Slackware
Posts: 29

Rep: Reputation: 15
Hi

If you're running ME on the machine thats doing the Internet sharing, I'd guess its IP (for the LAN interface) is 192.168.0.1, and you don't *have* to use DHCP.

AFAIK all you need to do is set your linux machines IP to something like 192.168.0.2 with the same netmask your ME machine has. Then set your default gateway and DNS to point at 192.168.0.1

If you have a firewall running on your linux box, that might possiblt get in the way, but probly not would eb my guess.

If your ME box isn't using 192.168.0.1, you can find it using IPCONFIG from the command line, in which case just pick a similar (unused) address and change the gateway and DNS to match

It worked for me
 
Old 10-11-2002, 02:07 PM   #6
iaypaa
LQ Newbie
 
Registered: Oct 2002
Distribution: Suse 8.1
Posts: 6

Original Poster
Rep: Reputation: 0
still no luck :(

ok - i've tried all of the above, but still no luck

i've now noticed that when running dhcp is assigning the correct ip address - e.g. 192.168.0.2 to linux when me is runnig 192.168.0.1.....i've also noticed however that i can't ping either machine from the other which i thought i should be able to....

i looked at the conf file as mentioned in one of the suggestions above and that had "search mshome.net" and "nameserver 192.168.0.1" which looked ok to me....

i'm very confused now and linux my computer is very lonely not being connected to the net!

would be very grateful for anymore advice! i'm sure its something really silly!

thanks

paul
 
Old 10-11-2002, 06:01 PM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
what about route -n
 
Old 10-13-2002, 09:10 AM   #8
davebarnes
LQ Newbie
 
Registered: Dec 2000
Location: Derbys, UK
Distribution: RedHat, Slackware
Posts: 29

Rep: Reputation: 15
If your ME machine has 192.168.0.1 / 255.255.255.0 and your Linux machine has 192.168.0.2 / 255.255.255.0 then they should deffinately be able to ping each other.

It sounds like its some sort of hardware problem (dodgy cable or hub, or maybe a card that seems to work but doesn't)

Post your routing table to be sure
 
Old 10-13-2002, 04:52 PM   #9
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
And don't just presume that if a) the cable works and b) the card is detected that all is well and it's a software thing! I had an old ISA NIC that detected fine, and I was using a new cable that was fine, yet I still couldn't get my networking sorted. It turned out that the connections on the NIC that went to the RJ45 socket were knackered, so although the card worked fine, nothing could go either in or out! Just thought I'd throw that in, too.
 
  


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
Help sharing broadband connection between a Linux PC & a Win-Xp PC? ejames_nyc Linux - Newbie 8 10-01-2005 12:04 AM
internet sharing, linux client, win server... huzzzo Linux - Networking 3 08-21-2005 02:30 PM
Sharing internet between WIN XP and REDHAT Travis Huey Linux - Newbie 10 02-14-2005 01:11 AM
internet sharing from slack 10.0 -> win xp zobra Linux - Networking 4 11-20-2004 12:17 AM
Newbie- Redhat 9.0 sharing internet with 2 WIN XPpro Julian_Thong Linux - Networking 7 08-17-2004 06:20 AM

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

All times are GMT -5. The time now is 02:34 PM.

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