Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't ping out to the network
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Detraw
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 84
Location: Sweden

PostPosted: Wed May 21, 2003 9:00 am    Post subject: can't ping out to the network Reply with quote

Hi, I have a problem: I have just installed gentoo for the first time, but after the first robbot I had some trouble with eth0, all of them are fixed now except that I can't ping out to the network (I can only ping localhost)

I have editied /etc/conf.d/net and with ipconfig but I still can't ping out

Pls help me, and take is slowly, cause I'm new to this
_________________
damn this Linux world is big :)
Back to top
View user's profile Send private message
LimeFrog
Apprentice
Apprentice


Joined: 31 Mar 2003
Posts: 187
Location: Skövde, Sweden

PostPosted: Wed May 21, 2003 9:55 am    Post subject: Reply with quote

And you have eth0 activated? :)
Code:
rc-update add net.eth0 default

_________________
I don't believe in God, but I'm afraid of him!
Back to top
View user's profile Send private message
Detraw
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 84
Location: Sweden

PostPosted: Wed May 21, 2003 10:05 am    Post subject: Reply with quote

yes I have done that
_________________
damn this Linux world is big :)
Back to top
View user's profile Send private message
Useful Idiot
Guru
Guru


Joined: 30 Aug 2002
Posts: 329
Location: Finland

PostPosted: Wed May 21, 2003 10:42 am    Post subject: Reply with quote

By any chance, do you happen to have baselayout 1.8.6.8?

In that case, downgrade to version 1.8.6.7 as 1.8.6.8 seems to have some problems, including that it can't start eth0.
Code:
# emerge /usr/portage/sys-apps/baselayout/baselayout-1.8.6.7.ebuild


(You probably need to boot from installation CD and chroot into your Gentoo enverioment.)
_________________
[size=9]We are all in the gutter, but some of us are looking at the stars.
Back to top
View user's profile Send private message
Detraw
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 84
Location: Sweden

PostPosted: Wed May 21, 2003 10:58 am    Post subject: Reply with quote

well burring startup it says that eth0 is up and running, and so do ifconfig. Should I still do the emerge?
_________________
damn this Linux world is big :)
Back to top
View user's profile Send private message
Useful Idiot
Guru
Guru


Joined: 30 Aug 2002
Posts: 329
Location: Finland

PostPosted: Wed May 21, 2003 11:09 am    Post subject: Reply with quote

Well, it sounds like you haven't got that baselayout, since it doesn't even start eth0. So, you probably don't have to do the emerge. Just to make sure what version you are running do emerge -s baselayout.

Are you sure that you've got all the settings right and haven't forgot anything? (proxy etc.)
_________________
[size=9]We are all in the gutter, but some of us are looking at the stars.
Back to top
View user's profile Send private message
Qubax
Guru
Guru


Joined: 19 Jul 2002
Posts: 451
Location: Tirol, Austria

PostPosted: Wed May 21, 2003 12:59 pm    Post subject: Reply with quote

what is exactly the problem?
you cannot make this:
Code:
ping othercomp.local.net
or you cannot
Code:
ping *.*.*.* [ip]

what do you have in your /etc/resolv.conf?
if you want to ping by name - do you have the other host in your /etc/hosts file?
Back to top
View user's profile Send private message
Detraw
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 84
Location: Sweden

PostPosted: Wed May 21, 2003 5:22 pm    Post subject: Reply with quote

I can't ping *.*.*.* but I can ping 194.236.70.109 (local address)

EDIT2: and I have baselayout 1.8.5.9 (not 1.8.6.7)
_________________
damn this Linux world is big :)


Last edited by Detraw on Wed May 21, 2003 7:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
Detraw
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 84
Location: Sweden

PostPosted: Wed May 21, 2003 7:28 pm    Post subject: Reply with quote

now I changed the networkcard, and recompiles the kernel with the NIC driver in (not a module) but still the same problem... Can anyone help me?

EDIT: in my /etc/resolv.conf I have:
nameserver 212.181.54.2
nameserver 212.181.54.3
_________________
damn this Linux world is big :)
Back to top
View user's profile Send private message
guero61
l33t
l33t


Joined: 14 Oct 2002
Posts: 811
Location: Behind you

PostPosted: Wed May 21, 2003 7:45 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic.php?p=293394#293394
Back to top
View user's profile Send private message
Detraw
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 84
Location: Sweden

PostPosted: Wed May 21, 2003 8:43 pm    Post subject: Reply with quote

guero61 wrote:
https://forums.gentoo.org/viewtopic.php?p=293394#293394


I'm passing noapic to the kernel by typing: linux noapic after lilo has started. when linux has started I login as root and try to ping, but still the same prob.

I also looked in "Processor type and features" but I couldn't find anything with APIC.. what do you think I should do?

EDIT: I found the option and unmarked it, I'm recompiling and the we'll see if it works
_________________
damn this Linux world is big :)
Back to top
View user's profile Send private message
Detraw
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 84
Location: Sweden

PostPosted: Wed May 21, 2003 9:42 pm    Post subject: Reply with quote

I removed the option from my kernel and recompiled mounted /boot and copied my new bzImage. But after reboot I still can't ping

Pls help me!
_________________
damn this Linux world is big :)
Back to top
View user's profile Send private message
guero61
l33t
l33t


Joined: 14 Oct 2002
Posts: 811
Location: Behind you

PostPosted: Wed May 21, 2003 10:42 pm    Post subject: Reply with quote

Did you try adding "pci=noacpi" to the krenel as well?

I'll tell you right off -- I hate LILO, but I'll try. Under the line in /etc/lilo.conf where you specify the kernel, you need to add the following line:
Code:

append="noapic pci=noacpi"


If my 3-year lack of LILO experience serves me correctly, that is the proper syntax. You'll need to do the traditional lilo stuff once you add that line, of course.
Back to top
View user's profile Send private message
Detraw
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 84
Location: Sweden

PostPosted: Thu May 22, 2003 2:03 pm    Post subject: Reply with quote

nope it didn't work, after reboot I still got the same problem (and I didn't forget to do /sbin/lilo)

if it helps I can't even ping my gentoo machine from my windows machine
_________________
damn this Linux world is big :)
Back to top
View user's profile Send private message
uxbod
Guru
Guru


Joined: 30 Dec 2002
Posts: 474
Location: UK

PostPosted: Thu May 22, 2003 3:05 pm    Post subject: Reply with quote

Okay. If your windows machine is on the same network then you can do the following :

1. On your Gentoo box run ifconfig and get the MAC address
2. On your windows machine 'arp -s ???.???.???.??? ##-##-##-##-##-## '
???.???.???.??? should be the IP of your Gentoo Box
##-##-##-##-##-## should be the MAC address of your Gentoo box

Now you can test connectivity by pushing packets to the NIC via the MAC address.

ping ???.???.???.???

See what results you get from this.
Back to top
View user's profile Send private message
Detraw
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 84
Location: Sweden

PostPosted: Thu May 22, 2003 3:09 pm    Post subject: Reply with quote

"ping timed out"

(I used the HWaddr address from ifconfig)
_________________
damn this Linux world is big :)
Back to top
View user's profile Send private message
Detraw
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 84
Location: Sweden

PostPosted: Thu May 22, 2003 4:46 pm    Post subject: Reply with quote

uxbod or guero61 do u have any suggestion of what the hell I should do?
cause I realy need internet on my gentoo box, I have had this problem since I installed Gentoo for 2 days ago :(
_________________
damn this Linux world is big :)
Back to top
View user's profile Send private message
guero61
l33t
l33t


Joined: 14 Oct 2002
Posts: 811
Location: Behind you

PostPosted: Thu May 22, 2003 5:04 pm    Post subject: Reply with quote

Cogitating, but I also have my finals this week -- it's my last semester and I don't want to screw anything up!
Back to top
View user's profile Send private message
uxbod
Guru
Guru


Joined: 30 Dec 2002
Posts: 474
Location: UK

PostPosted: Thu May 22, 2003 5:13 pm    Post subject: Reply with quote

Okay ... Did you build you Gentoo box from a LiveCD? Is so, what happens if you boot it using the CD ... Does it pick up the network card? are you then able to ping anything? On the actual NIC do you have a LINK light?
Back to top
View user's profile Send private message
Detraw
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 84
Location: Sweden

PostPosted: Thu May 22, 2003 5:19 pm    Post subject: Reply with quote

ok guero61, thx anyway

well I have a LINK light and it's on

Hmm strange a few days ago when I installed Gentoo it worked fine, but if I boot from my LiveCD now it doesn't (and I'm making all the right settings)
_________________
damn this Linux world is big :)
Back to top
View user's profile Send private message
uxbod
Guru
Guru


Joined: 30 Dec 2002
Posts: 474
Location: UK

PostPosted: Thu May 22, 2003 5:24 pm    Post subject: Reply with quote

From a command prompt on your Gentoo box can you run :

dmesg | grep eth

pls. Also, it may be worth reseating the network card if its not built into the M/B.
Back to top
View user's profile Send private message
Detraw
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 84
Location: Sweden

PostPosted: Thu May 22, 2003 5:27 pm    Post subject: Reply with quote

damn! I change my network card to an old one, an noname and then it worked when I booted from the LiveCD. Is there some know issue then the 3c59x?????
_________________
damn this Linux world is big :)
Back to top
View user's profile Send private message
uxbod
Guru
Guru


Joined: 30 Dec 2002
Posts: 474
Location: UK

PostPosted: Thu May 22, 2003 5:38 pm    Post subject: Reply with quote

Would be useful what the dmesg showed also you can do :

grep -i ethernet < /proc/pci

Post that up because it maybe that it is being reported back as something else from the card. I have seen other references to problems with the card on here :

https://forums.gentoo.org/viewtopic.php?t=5096&highlight=3c59
Back to top
View user's profile Send private message
Detraw
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 84
Location: Sweden

PostPosted: Thu May 22, 2003 5:48 pm    Post subject: Reply with quote

grep -i ethernet < /proc/pci shows this:
Code:
Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev100).

_________________
damn this Linux world is big :)
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
Page 1 of 1

 
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