View previous topic :: View next topic |
Author |
Message |
Detraw Tux's lil' helper
Joined: 21 May 2003 Posts: 84 Location: Sweden
|
Posted: Wed May 21, 2003 9:00 am Post subject: can't ping out to the network |
|
|
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 |
|
|
LimeFrog Apprentice
Joined: 31 Mar 2003 Posts: 187 Location: Skövde, Sweden
|
Posted: Wed May 21, 2003 9:55 am Post subject: |
|
|
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 |
|
|
Detraw Tux's lil' helper
Joined: 21 May 2003 Posts: 84 Location: Sweden
|
Posted: Wed May 21, 2003 10:05 am Post subject: |
|
|
yes I have done that _________________ damn this Linux world is big |
|
Back to top |
|
|
Useful Idiot Guru
Joined: 30 Aug 2002 Posts: 329 Location: Finland
|
Posted: Wed May 21, 2003 10:42 am Post subject: |
|
|
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 |
|
|
Detraw Tux's lil' helper
Joined: 21 May 2003 Posts: 84 Location: Sweden
|
Posted: Wed May 21, 2003 10:58 am Post subject: |
|
|
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 |
|
|
Useful Idiot Guru
Joined: 30 Aug 2002 Posts: 329 Location: Finland
|
Posted: Wed May 21, 2003 11:09 am Post subject: |
|
|
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 |
|
|
Qubax Guru
Joined: 19 Jul 2002 Posts: 451 Location: Tirol, Austria
|
Posted: Wed May 21, 2003 12:59 pm Post subject: |
|
|
what is exactly the problem?
you cannot make this: Code: | ping othercomp.local.net | or you cannot
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 |
|
|
Detraw Tux's lil' helper
Joined: 21 May 2003 Posts: 84 Location: Sweden
|
Posted: Wed May 21, 2003 5:22 pm Post subject: |
|
|
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 |
|
|
Detraw Tux's lil' helper
Joined: 21 May 2003 Posts: 84 Location: Sweden
|
Posted: Wed May 21, 2003 7:28 pm Post subject: |
|
|
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 |
|
|
guero61 l33t
Joined: 14 Oct 2002 Posts: 811 Location: Behind you
|
|
Back to top |
|
|
Detraw Tux's lil' helper
Joined: 21 May 2003 Posts: 84 Location: Sweden
|
Posted: Wed May 21, 2003 8:43 pm Post subject: |
|
|
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 |
|
|
Detraw Tux's lil' helper
Joined: 21 May 2003 Posts: 84 Location: Sweden
|
Posted: Wed May 21, 2003 9:42 pm Post subject: |
|
|
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 |
|
|
guero61 l33t
Joined: 14 Oct 2002 Posts: 811 Location: Behind you
|
Posted: Wed May 21, 2003 10:42 pm Post subject: |
|
|
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 |
|
|
Detraw Tux's lil' helper
Joined: 21 May 2003 Posts: 84 Location: Sweden
|
Posted: Thu May 22, 2003 2:03 pm Post subject: |
|
|
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 |
|
|
uxbod Guru
Joined: 30 Dec 2002 Posts: 474 Location: UK
|
Posted: Thu May 22, 2003 3:05 pm Post subject: |
|
|
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 |
|
|
Detraw Tux's lil' helper
Joined: 21 May 2003 Posts: 84 Location: Sweden
|
Posted: Thu May 22, 2003 3:09 pm Post subject: |
|
|
"ping timed out"
(I used the HWaddr address from ifconfig) _________________ damn this Linux world is big |
|
Back to top |
|
|
Detraw Tux's lil' helper
Joined: 21 May 2003 Posts: 84 Location: Sweden
|
Posted: Thu May 22, 2003 4:46 pm Post subject: |
|
|
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 |
|
|
guero61 l33t
Joined: 14 Oct 2002 Posts: 811 Location: Behind you
|
Posted: Thu May 22, 2003 5:04 pm Post subject: |
|
|
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 |
|
|
uxbod Guru
Joined: 30 Dec 2002 Posts: 474 Location: UK
|
Posted: Thu May 22, 2003 5:13 pm Post subject: |
|
|
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 |
|
|
Detraw Tux's lil' helper
Joined: 21 May 2003 Posts: 84 Location: Sweden
|
Posted: Thu May 22, 2003 5:19 pm Post subject: |
|
|
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 |
|
|
uxbod Guru
Joined: 30 Dec 2002 Posts: 474 Location: UK
|
Posted: Thu May 22, 2003 5:24 pm Post subject: |
|
|
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 |
|
|
Detraw Tux's lil' helper
Joined: 21 May 2003 Posts: 84 Location: Sweden
|
Posted: Thu May 22, 2003 5:27 pm Post subject: |
|
|
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 |
|
|
uxbod Guru
Joined: 30 Dec 2002 Posts: 474 Location: UK
|
Posted: Thu May 22, 2003 5:38 pm Post subject: |
|
|
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 |
|
|
Detraw Tux's lil' helper
Joined: 21 May 2003 Posts: 84 Location: Sweden
|
Posted: Thu May 22, 2003 5:48 pm Post subject: |
|
|
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 |
|
|
|