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 09-30-2005, 12:19 PM   #1
grayFalcon
Member
 
Registered: Jan 2003
Distribution: Debian
Posts: 69

Rep: Reputation: 15
Linux/winME no ping?


Hello everybody!

I have a big problem here: I just got a new PC and I wanted to configure it to do what my old one did: Work as an internet gateway for a winME PC. I've got 2 network cards in my Linux box, one goes to the DSL modem, the other one to a switch and then to the winME box. This worked perfectly in my old Linux box (debian), but on the new one, with a fresh Mepis install, I can neither ping my winME box from the Linux box, nor the other way round. Funny thing: If I switch on my old Linux box and connect it to the switch too, I can ping both Linux boxes from winME and winME from the old Linux box - not from the new one though.

Any idea which settings may be different on the new box than I had them on the old one? I'm starting to run out of ideas

Thanks a lot in advance,
-Wojtek
 
Old 09-30-2005, 12:30 PM   #2
okmyx
Member
 
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464

Rep: Reputation: 31
Is your firewall configured to accept pings? (try disabling it and see if it makes a difference)

Are your networks settings on both boxes exactly the same? (subnet masks the same)

Last edited by okmyx; 09-30-2005 at 12:32 PM.
 
Old 09-30-2005, 12:41 PM   #3
grayFalcon
Member
 
Registered: Jan 2003
Distribution: Debian
Posts: 69

Original Poster
Rep: Reputation: 15
I'm using firestarter and I have allowed all I can allow for the IP of the winME box. I also have internet connection sharing set to the device that's connected to the winME box. The subnet masks are exactly the same on all computers.

The funny thing is, even if it was a firewall, I should still be able to ping the winME box from Linux, shouldn't I? I was able to do so from the old Linux... and I'm able to ping anything on the internet, just not the winME box on the intranet
 
Old 09-30-2005, 02:32 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Is your ME box configured to acquire an IP address via DHCP? If so, then is your new linux box running dhcpd and is it configured correctly? Your probably getting an IP address from the old box which is why you can ping successfully when it is connected.

It also sounds like you have a routing problem on the new box. You can not ping the the ME box even when the old box is connected because it's default might be using the other network interface. Are you able to access the internet?
 
Old 09-30-2005, 02:45 PM   #5
grayFalcon
Member
 
Registered: Jan 2003
Distribution: Debian
Posts: 69

Original Poster
Rep: Reputation: 15
Unfortunately, it can't be DHCP: My old Linux box was 192.168.10.1, winME 192.168.10.2. I set the new Linux box to 192.168.10.1, that didn't work. When I switched my old box back on (so that all three computers were connected), I kept the new boxes' IP as 10.1, winME stayed 10.2, and I switched the old box to 10.5 - an IP I hadn't ever used before. Still, it worked. When I switched off the old box and rebooted the other two computers, the connection stopped working.

I can access the internet from both Linux boxes perfectly well (eth0 is for internet, eth1 is 192.168.10.1).

I'm really running out of ideas here Especially that now, without changing any configurations on my old box or on the winME computer, I have stopped being able to ping the winME box from the old Linux. I still can ping the old Linux from winME though, and Internet sharing over the old box works.

Wait, I have a theory. Too many computers connected to each other produce malvolent artificial intelligence and they're planning on overthrowing me. Have to correct this.
 
Old 09-30-2005, 07:29 PM   #6
grayFalcon
Member
 
Registered: Jan 2003
Distribution: Debian
Posts: 69

Original Poster
Rep: Reputation: 15
Ok, after a lot of trying around, I have managed to solve (well, kinda...) the problem.

It works if I have only eth1 configured to 192.168.10.1 at startup, and then do the following:
ifconfig eth1 down
ifconfig eth0 up
pon dsl-provider
ifconfig eth1 up
firestarter &

This is the only order in which it works, if I mix up any of the steps, then I either won't get the winME box to see the Linux box, or I won't be able to ping anything on the internet. This has a very black magic feeling to it, so I'll investigate further once I have time. It's really not the satisfying kind of solution :/

I'll pop back in to post what the real reason behind all of this was once I figure it out.

Thanks to all of your help and your time!
 
  


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
WinME ---> Linux spank Linux - Newbie 1 10-08-2003 01:18 PM
Ping from Debian to WinME (vice versa) failed :( Elijah Linux - Networking 6 08-24-2003 12:40 AM
Newto Linux How to multiBoot Win2kPro/Adv. Server/WinMe/XP/Linux ? sappertec Linux - Newbie 7 04-08-2002 12:09 PM
Newto Linux How to multiBoot Win2kPro/Adv. Server/WinMe/XP/Linux sappertec Linux - General 1 11-14-2001 01:19 PM
Linux <-> WinME networking problem vermin Linux - Networking 5 08-17-2001 11:08 AM

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

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