LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Gentoo refuses to connect to internet (https://www.linuxquestions.org/questions/linux-networking-3/gentoo-refuses-to-connect-to-internet-310491/)

adamb10 04-06-2005 04:53 PM

Gentoo refuses to connect to internet
 
Heres the deal:

Got Gentoo installed
Won't connect to web

tried net-setup eth0
ifconfig eth0(returns device not found)
tried dhcpcd
tried modprobe 8139too


Weird thing though is linux detects my built in ethernet card when I search for it in PCI:

Via Technologies VT6102 [Rhine-II]

Why the hell it won't it connect? Been searching in the Gentoo manual, provides no solution, linuxbook has no solution.

Andrew Benton 04-06-2005 05:46 PM

Just because the kernel detects the hardware, it doesn't mean that you've built the kernel with the driver to support it. http://www.faqs.org/docs/ethernet/Et...O-1.html#ss1.3

syg00 04-06-2005 05:48 PM

Have you tried searching forums.gentoo.org ??.
That's a pretty common chip. What did the modprobe return. Did you emerge dhcpd (or similar) ???.

adamb10 04-06-2005 05:52 PM

Quote:

Originally posted by syg00
Have you tried searching forums.gentoo.org ??.
That's a pretty common chip. What did the modprobe return. Did you emerge dhcpd (or similar) ???.

modprobe did nothing. I did emerge it I think. Sometimes it does stuff, sometimes it doesn't.

BTW the card is a realtek.

comprookie2000 04-06-2005 08:23 PM

Do a
Code:

emerge search dhcpcd
to see if its installed;
Code:

dhcpcd eth0
If network is unreachable post
Code:

ifconfig eth0
thats all assuming your card is at eth0.

Phorem 04-07-2005 09:51 AM

You might need the via-rhine module installed rather than the 8139too. Then try everything comprookie2000 said.

Edit** I should be a little more specific,

root#> nano -w /etc/conf.d/net

edit that for either a DSL connection, static IP or dhcp - as per the gentoo handbook

root#> modprobe via-rhine (configure that in you kernel .config)


root#> dmesg | grep eth

hopefully an eth device is there - should be


root#> ifconfig eth0 up


You can add it to the default run services too.

root#> rc-update add eth0.net default

so it starts when booted.


Should work now. :-)


All times are GMT -5. The time now is 04:09 PM.