LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-23-2003, 11:16 PM   #1
Elijah
Member
 
Registered: Feb 2003
Location: Philippines
Distribution: Debian, Mandrake, Redhat
Posts: 90

Rep: Reputation: 15
Ping from Debian to WinME (vice versa) failed :(


Ok, I've little networking knowledge and this whole thing is confusing me. My Ethernet card is a Davicom compiled in the kernel, Ifconfig outputs lo only so I have to do "ifconfig eth0 192.168.0.1 netmask 255.255.255.0" to bring eth0 up.

The IP of WinME is 192.168.0.2, subnet of 255.255.255.0 and a gateway of 192.168.0.1. (My debian box has the internet connection).

My problem is whenever I try to ping my WinME, it fails and so does WinME to my linux box.
 
Old 08-23-2003, 11:18 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Is your Firewall (iptables) allowing pings through?
 
Old 08-23-2003, 11:24 PM   #3
Elijah
Member
 
Registered: Feb 2003
Location: Philippines
Distribution: Debian, Mandrake, Redhat
Posts: 90

Original Poster
Rep: Reputation: 15
Thanks for the quick reply, er, I'm using firestarter for my firewall ... whenever my dialup connection connects, I start firestarter.

On the firestarter rules I set my trusted hosts to 192.168.0.2 ( my WinME) ... but even if it's turned off, I still can't ping
 
Old 08-23-2003, 11:31 PM   #4
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
So you've set your Linux box up as a router to the windows box, To share your modem connection.

Hmmm is multicast setup and everything?

Edit:

Ignore me about the Multicast I was thinking of something else. Sorry.

HAve you set the Linux machine to route packets to the WinME machine?

Last edited by leonscape; 08-23-2003 at 11:36 PM.
 
Old 08-23-2003, 11:47 PM   #5
Elijah
Member
 
Registered: Feb 2003
Location: Philippines
Distribution: Debian, Mandrake, Redhat
Posts: 90

Original Poster
Rep: Reputation: 15
ip multicasting seems to be compiled on my kernel ( I just checked) but I don't think it's configured yet ... do I need it? from google it looks like it's for audio/video/phone-tools conferencing or something ... all I needed right now is for my pinging to work, I'll try to figure out internet sharing right after that's done.

edit: route packets? I don't think I did, how is that done?

Last edited by Elijah; 08-23-2003 at 11:49 PM.
 
Old 08-23-2003, 11:56 PM   #6
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
You won't be able to ping without first setting up your network properly.

Routing packets is what you do when you share the internet. When the WInME machine request a page from the web, it sends it request to the Linux Machine, this machine then forwards the request on, when it comes back the Linux machine will know its for the WinME machine because of IP address etc, and will route the packets back to the WInME machine.

Try Looking through some how-to's on Networks an Internet Sharing, start here:

http://www.tldp.org/HOWTO/Config-HOWTO/x352.html

or

http://www.tldp.org/HOWTO/Linux-Mode...ing/index.html

This should get you going.
 
Old 08-24-2003, 12:40 AM   #7
Elijah
Member
 
Registered: Feb 2003
Location: Philippines
Distribution: Debian, Mandrake, Redhat
Posts: 90

Original Poster
Rep: Reputation: 15
Thanks for the links, I've already done some of the steps mentioned there... it seems that I've missed out on the 'routing' part. But this time I'm getting some messages from the ping, rather than the last ping I made which made no real-time messages, it simply points out it sent this no. of packets w/ 100% packet loss..

Code:
Valhalla:/home/elijah# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
tc37.tri-isys.c *               255.255.255.255 UH    0      0        0 ppp0
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
default         tc37.tri-isys.c 0.0.0.0         UG    0      0        0 ppp0
Valhalla:/home/elijah# ping 192.168.0.2
PING 192.168.0.2 (192.168.0.2): 56 data bytes
ping: sendto: Operation not permitted
ping: wrote 192.168.0.2 64 chars, ret=-1
ping: sendto: Operation not permitted
ping: wrote 192.168.0.2 64 chars, ret=-1
ping: sendto: Operation not permitted
ping: wrote 192.168.0.2 64 chars, ret=-1
ping: sendto: Operation not permitted
ping: wrote 192.168.0.2 64 chars, ret=-1

--- 192.168.0.2 ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss
it looks like whenever i bring eth0 up it automatically creates a route .. now I have 2 of the same route rule.... I deleted one and it still won't ping.


doing a
Code:
route add default gw 192.168.0.1
seems to loose my connection, my browsers won't resolve until I deleted the route.


still no luck


edit: I'd like to add that when I dual boot to xp > winME, it network works fine...
also my firestarter firewall is turned off right now...

Last edited by Elijah; 08-24-2003 at 12:42 AM.
 
  


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
m1 can ping m2, but not vice versa cmacklin Linux - Networking 4 10-31-2004 08:01 PM
Switching from KDE to Gnome and vice-versa sduffy89 Linux - General 2 08-25-2004 11:52 AM
Samba problems with seeing windows98 (and vice versa) snufferz Linux - Networking 5 04-04-2004 04:42 PM
KDE under Gnome, or vice-versa Pres General 7 02-01-2004 10:18 AM
Share Windows HD with MD & vice-versa lyllo Linux - Hardware 2 02-02-2003 06:03 AM

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

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