LinuxQuestions.org
Review your favorite Linux distribution.
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 02-08-2004, 03:08 PM   #1
tvreeland
LQ Newbie
 
Registered: Dec 2001
Location: Massachusetts
Distribution: Mandrake 9.2
Posts: 15

Rep: Reputation: 0
Another Newbie with network ping touble


First, let me apologize in advance for asking this YET again! Seems like it's a popular problem but nothing I've seen has resolved it for me.

I've just installed Mandrake 8.0 onto my machine (it's now triple-booting XP, 98 and Mandrake) -- Let's call it box #1.

I also have an XP machine that's running Internet Connection Sharing. I've got DirecWay Satelite internet (2-way) that uses a USB modem. Thus this machine has only 1 network card for the LAN. Let's call this box #2. It's at 192.168.0.1 and is named LORI. It's running under Windows Domain: MSHOME.

When box #1 is running WinXP or Win98 it can ping box #2 and box #2 can ping box #1. No problems with http, ftp, etc.

When box #1 is running linux I get nothing when trying to hit Box #2. I can ping 127.0.0.1, localhost, 192.168.0.225 (the IP for box #1) and linux (the name of box #1). However, I can't ping box #2 by IP or name. And box #2 can't ping box #1.

I've tried a variety of things and nothing has worked. To save time and questions, here's dumps of box #1 settings:


IFCONFIG -A:
Code:
eth0      Link encap:Ethernet  HWaddr 00:08:A1:00:5A:19  
          inet addr:192.168.0.225  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:18 Base address:0xe800 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:20 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1400 (1.3 Kb)  TX bytes:1400 (1.3 Kb)
ROUTE -N:
Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0
RESOLV.CONF:
Code:
# search home.com
# search localdomain
# search mshome.net
search mshome.net 

# nameserver 192.168.0.2
nameserver 192.168.0.1


# ppp temp entry
HOSTS:
Code:
127.0.0.1	localhost.localdomain	localhost
192.168.0.225	linux.mshome.net	linux
192.168.0.1	lori.mshome.net	lori
MII-TOOL -V:
Code:
eth0: no autonegotiation, 10baseT-HD, link ok
  product info: vendor 00:60:6e, model 4 rev 0
  basic mode:   autonegotiation enabled
  basic status: autonegotiation complete, link ok
  capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  advertising:  100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  link partner: 10baseT-HD
IPTABLES -L:
Code:
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
Thanks in advance for any help!

Last edited by tvreeland; 02-08-2004 at 03:10 PM.
 
Old 02-08-2004, 03:34 PM   #2
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
Quote:
Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0
What stands out to me is the Metric 0 in the last line. Should be 1

0 means that 192.168.0.1 can be reached in 0 hops...

Last edited by bnice; 02-08-2004 at 03:35 PM.
 
Old 02-09-2004, 05:28 AM   #3
tvreeland
LQ Newbie
 
Registered: Dec 2001
Location: Massachusetts
Distribution: Mandrake 9.2
Posts: 15

Original Poster
Rep: Reputation: 0
Yah....

Do you think that Mandrake is autodetecting the network card incorrectly? I tried checking the Mandrake site for hardware info and couldn't find the card in their database : CNet PRO200WL PCI card...

Anybody have any other ideas?
 
Old 02-09-2004, 08:59 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Your using 198.162.0.255 which is the broadcast IP address. Try changing to something else.

From ifconfig and mii-tool it looks like your ethernet card is configured and working.
 
Old 02-09-2004, 02:54 PM   #5
tvreeland
LQ Newbie
 
Registered: Dec 2001
Location: Massachusetts
Distribution: Mandrake 9.2
Posts: 15

Original Poster
Rep: Reputation: 0
Actually...I'm using 192.168.0.225 not 255 for the IP address

I've been looking at stuff regarding other folks having trouble with CNet PRO200WL network adapter. Two things that I've seen mentioned...

1) Compiling new drivers. This I've never done before but I just downloaded them. So I guess I'll reboot into Linux now and give it a try...

2) Disabling ACPI. I understand how it works in XP but don't have a clue in Linux!? I thought I saw something about needing to re-compile the whole kernel and re-install Linux. But then I saw something else about just disabling it at the boot prompt: acip=off. What is that all about and how could I give it a try?

Some help please!?!
 
Old 02-09-2004, 03:03 PM   #6
coalquay404
LQ Newbie
 
Registered: Oct 2003
Distribution: SuSE
Posts: 22

Rep: Reputation: 15
If you're using Mandrake, you've probably got LILO set up as your bootloader. As root, edit /etc/lilo.conf and locate the line with append="some stuff". You need to insert acpi=off in between the quotes. Reboot into this kernel and your acpi will be turned off. Check that out first and see if it helps.
 
Old 02-09-2004, 04:25 PM   #7
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
at the command prompt type:
Code:
 

     /sbin/route add default gw 192.168.0.1 metric 1
then try to ping again
 
Old 02-10-2004, 06:20 AM   #8
tvreeland
LQ Newbie
 
Registered: Dec 2001
Location: Massachusetts
Distribution: Mandrake 9.2
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks for the input coalquay and bnice. I've tried what both of you recommended with no success.

I tried the route command to add the metric (after removing the old one with 0) and nothing happened. I tried it with the autodetected drivers and the new ones I compiled.

I also tried adding the acpi=off into lilo.conf. I just left a space after the existing stuff inside the append="{stuff}" to make it look like append="{stuff} acpi=off". Is that correct or do I put commas or semicolons or something else as a seperator. If the space is correct, then that too has failed!

I'm not sure what else to do.....
 
Old 02-10-2004, 01:21 PM   #9
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
append= looks good, whitespace is ok as long as the whole string is quoted,
e.g.

append="mem=96M hd=576,64,32 console=ttyS1,9600"


just for gits & shiggles:

post the output from:

Code:
cat /proc/interrupts

even on a quiet network there should be something in rx & tx sections of the output from ifconfig...

makes me wonder if it's a hardware / interrupt issue

here's my ifconfig for comparison:

root@Elvis:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:07:E9:94:B5:0F
inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3928 errors:0 dropped:0 overruns:0 frame:0
TX packets:4328 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2408969 (2.2 Mb) TX bytes:787878 (769.4 Kb)
Interrupt:11 Base address:0x7000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)

Last edited by bnice; 02-10-2004 at 01:24 PM.
 
Old 02-11-2004, 05:55 AM   #10
tvreeland
LQ Newbie
 
Registered: Dec 2001
Location: Massachusetts
Distribution: Mandrake 9.2
Posts: 15

Original Poster
Rep: Reputation: 0
Now this is interesting...

/PROC/INTERRUPTS:

Code:
           CPU0       
  0:      20863    IO-APIC-edge  timer
  1:        162    IO-APIC-edge  keyboard
  2:          0          XT-PIC  cascade
 14:       4326    IO-APIC-edge  ide0
 15:          4    IO-APIC-edge  ide1
 16:          0   IO-APIC-level  cs46xx
 18:         23   IO-APIC-level  usb-uhci, eth0
 19:        164   IO-APIC-level  usb-uhci
NMI:          0 
LOC:      20809 
ERR:          0
MIS:          0
So...it that a conflict on IRQ 18?? And how could I fix it if that's the case?
 
Old 02-11-2004, 02:27 PM   #11
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
Quote:
So...it that a conflict on IRQ 18?? And how could I fix it if that's the case?
it *shouldn't* be a problem to share an interrupt but...

I had an onboard audio device sharing an interrupt with a usb mouse, and the sound never worked until I plugged the mouse into a ps/2 adapter and removed usb support

Do you have USB devices installed?

You may also try setting irq 18 to isa / legacy in your BIOS, or assigning a specific (hopefully unused) IRQ to the slot your card is in....
 
Old 02-11-2004, 04:49 PM   #12
tvreeland
LQ Newbie
 
Registered: Dec 2001
Location: Massachusetts
Distribution: Mandrake 9.2
Posts: 15

Original Poster
Rep: Reputation: 0
I'm just totally at wits end with this.....SOOOOOO.....

I'm trying a different network card...see if that does anything....didn't really want to switch....but we'll see!
 
Old 02-11-2004, 06:12 PM   #13
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Try adding noapic option to your bootloader.
 
Old 02-11-2004, 07:21 PM   #14
tvreeland
LQ Newbie
 
Registered: Dec 2001
Location: Massachusetts
Distribution: Mandrake 9.2
Posts: 15

Original Poster
Rep: Reputation: 0
All better.....

Swapped out my CNet NIC for a Linksys and everything's working fine...

Don't know what's up with the other one....maybe a newer version of Mandrake might support it but at this point I'm happy!!

Thanks for trying to help folks!!!
 
  


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
can ping network computer, cannot ping google.com (help needed) ben_build#2.1.0 Linux - Wireless Networking 23 11-07-2010 12:55 PM
Touble mounting smbfs cmfarley19 Ubuntu 8 12-14-2005 07:43 PM
I'm in BIG Touble...... salmanal MEPIS 12 08-21-2005 02:42 PM
Can ping network but can't ping any internet ip when I hard set the ip Streme Linux - Wireless Networking 4 04-13-2004 09:18 AM
xscreensaver touble gbj Linux - Software 4 11-24-2003 01:10 AM

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

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