Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Network Problems
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Marwin
n00b
n00b


Joined: 27 Oct 2002
Posts: 58

PostPosted: Tue Nov 05, 2002 5:22 pm    Post subject: Re: Lost my net, lost my mind Reply with quote

klieber wrote:
SaintNickNorth wrote:
Ifconfig shows UP and RUNNING, I think Route is correct.


  • Can you ping localhost
  • Can you ping your own IP address?
  • Can you ping your default gateway IP address?


--kurt


I can do nr 1,2 but not ping my gateway(192.168.0.1)
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Nov 05, 2002 7:44 pm    Post subject: Reply with quote

Is the cable plugged in? Does switching cables help?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Tue Nov 05, 2002 7:49 pm    Post subject: Re: Lost my net, lost my mind Reply with quote

Marwin wrote:
I can do nr 1,2 but not ping my gateway(192.168.0.1)

OK, two thoughts. One, you have a messed up netmask and/or routing table. Two, some routers (Cisco being one of them) have problems when '0' is used as one of the octets in your IP address. (I remember hearing that that violated some RFC, but don't quote me on that -- it's been a while)

If you can, try re-jiggering your network to get rid of the "0" in the third octet.

However, chances are the routing table and/or netmask are the problem. (again, compare the output of ifconfig and route -n when booted to the CD vs. the HDD to see what the diff is)

Also, as rac suggested, check the cables -- make sure they're not loose, you're not accidentally using a crossover cable, etc.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
phong
Bodhisattva
Bodhisattva


Joined: 16 Jul 2002
Posts: 778
Location: Michigan - 15 & Ryan

PostPosted: Tue Nov 05, 2002 8:45 pm    Post subject: Reply with quote

It's also a good idea to try a different hub or at least different ports on the hub. I was having a helluva time debugging a network problem at home - then I tried just moving the network cables to different ports on the hub. Turns out that my prehistoric (but free!) 24-port 100-BaseT-only hub was finally dying one port at a time. 'Twas rather embarrasing since it took me hours to figure out.
_________________
"An empty head is not really empty; it is stuffed with rubbish. Hence the difficulty of forcing anything into an empty head."
-- Eric Hoffer
Back to top
View user's profile Send private message
timbo
Apprentice
Apprentice


Joined: 29 Jul 2002
Posts: 231
Location: New Zealand

PostPosted: Fri Nov 08, 2002 11:21 pm    Post subject: Reply with quote

I've struck this problem too.

I used tomsrtbt to set up a Gentoo server and even after the first boot ifconfig says all's ok but I can't ping anything outside it ie the other machine at the end of the cable.

Tim
8)
Back to top
View user's profile Send private message
timbo
Apprentice
Apprentice


Joined: 29 Jul 2002
Posts: 231
Location: New Zealand

PostPosted: Sat Nov 09, 2002 6:05 am    Post subject: Reply with quote

Well I've spend all afternoon going over this and the only difference i can see between booting with tomsrtbt is that the 3com card is on irq10 and io 0x300 and when i boot with gentoo it's on irq5 and 0x220.

Using gkrellm on this box I can see the pings from both machines but neither respond to them.

Regards
Tim
8)
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sat Nov 09, 2002 6:17 am    Post subject: Reply with quote

timbo wrote:
Well I've spend all afternoon going over this and the only difference i can see between booting with tomsrtbt is that the 3com card is on irq10 and io 0x300 and when i boot with gentoo it's on irq5 and 0x220.

Perhaps Stuck on 10BT (especially Bloody Bastard's postings) will help you. Other things to try include compiling the driver as a module and trying to pass arguments to it on the command line, and shifting slots with it.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
timbo
Apprentice
Apprentice


Joined: 29 Jul 2002
Posts: 231
Location: New Zealand

PostPosted: Sat Nov 09, 2002 8:48 am    Post subject: Reply with quote

I've recompiled the kernel BUT........

I can load and unload the module and with say;

insmod 3c506 irq=10
ifconfig eth0 192.18.0.3 up

And it does the same thing ping send packets but nothing returns from either machine, if I reboot with tomsrtbt alls well after reassigning the ip number and setting the gw.

Any more sugestions....

Regards
Tim
8)
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Sat Nov 09, 2002 1:59 pm    Post subject: Reply with quote

Can't you set also the io ?

Have you tried rac's suggestion? Maybe it is just the case of some misconfiguration in your network adapter.

Another possibility is to play with BIOS (sometimes it helps, sometimes it does not)

timbo wrote:
I've recompiled the kernel BUT........

I can load and unload the module and with say;

insmod 3c506 irq=10
ifconfig eth0 192.18.0.3 up

And it does the same thing ping send packets but nothing returns from either machine, if I reboot with tomsrtbt alls well after reassigning the ip number and setting the gw.

Any more sugestions....

Regards
Tim
8)
Back to top
View user's profile Send private message
timbo
Apprentice
Apprentice


Joined: 29 Jul 2002
Posts: 231
Location: New Zealand

PostPosted: Sat Nov 09, 2002 7:00 pm    Post subject: Reply with quote

Bloody Bastard

Reading some of the networking howtos etc they'v said that if your "unlucky" enought to have an isa nic you'll be in a world of pain....... man do i believe them.

the 3c509 driver will not allow you to change the io even though they give you a line that you can pass to the kernel with lilo.

Really odd thing is that the car works with tomsrtbt and the only difference is the io and the driver, which is my next port of call. I've recompiled my kernel with modules instead of it in the kernel.

Regards
Tim
8)
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Sat Nov 09, 2002 7:51 pm    Post subject: Reply with quote

But have you tried the utilities that 3com distributes? They are quite handy...

timbo wrote:
Bloody Bastard

Reading some of the networking howtos etc they'v said that if your "unlucky" enought to have an isa nic you'll be in a world of pain....... man do i believe them.

the 3c509 driver will not allow you to change the io even though they give you a line that you can pass to the kernel with lilo.

Really odd thing is that the car works with tomsrtbt and the only difference is the io and the driver, which is my next port of call. I've recompiled my kernel with modules instead of it in the kernel.

Regards
Tim
8)
Back to top
View user's profile Send private message
timbo
Apprentice
Apprentice


Joined: 29 Jul 2002
Posts: 231
Location: New Zealand

PostPosted: Sat Nov 09, 2002 8:55 pm    Post subject: Reply with quote

Bloody Bastard

Doing that as we speak... really looks like it's the io port.......

Regards
Tim
8)
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Sat Nov 09, 2002 10:11 pm    Post subject: Reply with quote

If you cannot make it work with those tools, you can also try changing values in your BIOS for that ISA. Sometimes weird things happens when PnP is being used. Maybe some reservation of that address for your NIC could help.

Good luck.

timbo wrote:
Bloody Bastard

Doing that as we speak... really looks like it's the io port.......

Regards
Tim
8)
Back to top
View user's profile Send private message
timbo
Apprentice
Apprentice


Joined: 29 Jul 2002
Posts: 231
Location: New Zealand

PostPosted: Mon Nov 11, 2002 2:41 am    Post subject: Reply with quote

Well well well....... three holes in the ground........

I was just about ready to give up, when. I had tried the 3com util’s and set the card to irq10 and io220 that I knew Gentoo was using when the card was in PnP mode but it still would not ping.

So I pulled out the modem and sound cards which I have not got to configure services for yet and low and behold away we go as simple as that.

Thanks everyone for your help much appreciated.......

Regards
Tim
8)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum