LinuxQuestions.org
Help answer threads with 0 replies.
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-05-2004, 05:08 AM   #1
CodeCrush
LQ Newbie
 
Registered: Mar 2004
Distribution: Debian
Posts: 10

Rep: Reputation: 0
no ping results (no net) on old laptop


System:
IBM ThinkPad 560X
Debian GNU Linux testing
Kernel(s): 2.4.18-bf2.4 or custom built 2.6.6
NIC: 3com Megahertz 589E

What I've done is described below. The problem is that network isn't working. When I ping my server or even the firewall/gateway, I get no ping results from "ping". I have to hit Ctrl-C and then it will say "... 100% packet loss".

I'm using the same card, with the same settings (far as I know) in my other
laptop (Sony SR17k) with no problems at all. I have also used the card in
the IBM laptop in my home network.

I've made an interfaces file for setting up the card with my office network:
Code:
auto lo
iface lo inet loopback
iface eth0 inet static
address 10.0.2.6
netmask 255.255.254.0
network 10.0.2.0
broadcast 10.0.3.255
gateway 10.0.2.1
I run:
ifdown eth0
ifup -i /etc/network/interfaces_cc eth0

cardctl ident sees the card just fine.
lsmod lists:
Code:
3c589_cs 8736 1
ds 6624 2 [3c589_cs]
i82365 22384 2 
pcmcia_core 41376 0 [3c589_cs ds i82365]
typing "route" with no argument shows 1 line and then hangs (have to Ctrl-C), not sure if that's a problem?
route -n gives:
Code:
10.0.2.0 0.0.0.0 255.255.254.0 U 0 0 0 eth0
0.0.0.0 10.0.2.1 0.0.0.0 UG 0 0 0 eth0
ifconfig -a
Code:
eth0
Link encap: Ethernet ....
inet addr: 10.0.2.6 Bcast: 10.0.3.255 Mask: 255.255.254.0
RX packets: 0
TX packets: 9
collisions:0 txqueuelen: 100

lo
inet addr: 127.0.0.1 Mask 255.0.0.0
...
RX packets: 50
TX packets: 50
I left out some of it cause I can't copy-paste for natural reasons ;)

I've also tried adding different IP's to the resolv.conf, but that shouldn't have anything to do with this IMO.
I've also added my hostname to both /etc/hostname and /etc/hosts though I'm not sure how these affect things.

Please anyone :) I'm later gonna setup a wlan NIC on this laptop, but first
I want to be sure networking is working :)
 
Old 08-09-2004, 04:15 AM   #2
CodeCrush
LQ Newbie
 
Registered: Mar 2004
Distribution: Debian
Posts: 10

Original Poster
Rep: Reputation: 0
anyone?
I'd like to hear it if this "looks" good too. Like if you're as boggled as I am.
 
Old 08-09-2004, 04:31 AM   #3
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
Have you (if you can) try pinging the laptop from another system - perhaps the server or firewall. You have not mentioned whether the server / firewall have been configured not to respond to ping requests.
 
Old 08-09-2004, 04:38 AM   #4
CodeCrush
LQ Newbie
 
Registered: Mar 2004
Distribution: Debian
Posts: 10

Original Poster
Rep: Reputation: 0
hi and thanks for the reply

in case of outside pings, the firewall will respond to any ping requests aimed at the server. Inside pings they should both respond to. I have tried pinging it from the server to no avail.

NEW INFO:
today when I connected my other laptop (Sony) which has previously worked without a hitch, it too is unable to ping anything. And I haven't changed anything in the configuration on that one, which worked last Thursday.

I'm thinking it might not be a configuration problem now, but rather a cable, card or HUB problem. The light on the PCMCIA card comes on, but the HUB doesn't light on that port.

what do you think?
 
Old 08-09-2004, 04:43 AM   #5
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
Exactly what you are thinking ... could be a bad cable OR a faulty hub port. Try another port before changing the cable.
 
Old 08-09-2004, 04:54 AM   #6
CodeCrush
LQ Newbie
 
Registered: Mar 2004
Distribution: Debian
Posts: 10

Original Poster
Rep: Reputation: 0
Tried another port, same result.
Tried a diff cable and connected the laptop (sony) directly to the hub in the server room. Light on hub comes on (10MBit) and laptop can ping server, firewall, internet..
without even bringing the card down and up again.

I haven't tried with my IBM yet, but I guess this settles it. Must be the cable. :/
(which is annoying cause it's like 30 meters of cable stretched from my office to the server room)

Thanks for the feedback ppuru!
 
Old 08-09-2004, 06:04 AM   #7
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
Quote:
Tried another port, same result.
Is this hub a 10/100 hub or a dedicated 100 hub. Just wondering because of
Quote:
Light on hub comes on (10MBit)

Last edited by ppuru; 08-09-2004 at 06:05 AM.
 
Old 08-09-2004, 06:05 AM   #8
CodeCrush
LQ Newbie
 
Registered: Mar 2004
Distribution: Debian
Posts: 10

Original Poster
Rep: Reputation: 0
it's a 10/100
 
  


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
Perl Net Ping jholl Programming 0 12-07-2004 10:22 AM
Gentoo - unable to ping net Adony Linux - Distributions 2 10-16-2004 12:18 PM
can ping internal but cant connect to the net marty2004 Linux - Newbie 7 07-17-2004 01:07 PM
Which Distro for best results for my old Laptop? corster Linux - Laptop and Netbook 4 04-12-2004 07:29 PM
Cant ping Linux from W2K on same net skriv Linux - Newbie 2 06-13-2002 10:06 AM

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

All times are GMT -5. The time now is 03:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration