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 03-13-2004, 03:33 PM   #1
Aman9090
Member
 
Registered: Sep 2002
Location: Connecticut, USA
Distribution: Gentoo 2004.0
Posts: 174

Rep: Reputation: 30
via-rhine issues with gentoo


Just installed gentoo for the 4th time and I am having troubles bringing up my network card. This is my 4th install of it, and I did everything exactly the same, so I don't know what is different about this.

I currently have compiled my kernel so that my network drivers (via-rhine) are loaded through modules so I added a line that said 'via-rhine' and saved/exited.

It loads the module successfully but then says when trying to bring eth0 up:

Code:
Failed to bring eth0 up
ERROR: Problem starting needed services. "netmount" was not started
 
Old 03-13-2004, 08:14 PM   #2
Aman9090
Member
 
Registered: Sep 2002
Location: Connecticut, USA
Distribution: Gentoo 2004.0
Posts: 174

Original Poster
Rep: Reputation: 30
bump
 
Old 03-14-2004, 12:11 AM   #3
Aman9090
Member
 
Registered: Sep 2002
Location: Connecticut, USA
Distribution: Gentoo 2004.0
Posts: 174

Original Poster
Rep: Reputation: 30
I have just found out that my via-rhine device was actually clasified under eth1 but I fixed it (took out my pci card that was making it eth0) and confirmed this with dmesg | less.

However, this still does not help the problem. eth0 still can't come up and even if i dhcpcd it manually it doesn't work.

Let me just remind everyone that dhcpcd has always worked in the past. My ISP has a dhcp server.

Thanks again - I'd appreciate a quick reply
 
Old 03-14-2004, 10:56 AM   #4
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Has the module mii also loaded?
You mentioned you had done exactly the same install but also you had done a custom kernel... (?)
and there wasn't a problem with the 2nd net card earlier?
For initial installs, stay with genkernel all and play with menuconfig later...

Remove the module with modprobe -r via-rhine
Then lsmod and see if any other net modules are loaded
Look in /lib/modules/2.4.xxx/kernel/drivers/net/ for names
Remove any other net modules..

Then insert the module with modprobe via-rhine
and do dmesg.
The last lines will display what it has found.

Once your adapter is found, you can ifconfig eth0 up & ifconfig and see if it gets listed.
If it's listed, do /etc/init.d/net.eth0 restart
Make sure /etc/conf.d/net lists iface_eth0="dhcp"

Last edited by peter_robb; 03-14-2004 at 11:01 AM.
 
Old 11-08-2004, 12:35 PM   #5
zerget
LQ Newbie
 
Registered: Nov 2004
Posts: 4

Rep: Reputation: 0
Heres what I did to get mine to work

It would work for a while, then when I did an emerge sync - my ethernet card would take a dump. I could ping (ie ping -c 3 yahoo.com) and it would work fine, but when I went to yahoo.com it didnt work.

do this:
Stop your ethernet card:
Code:
/etc/init.d/net.eth0 stop
INStall MODule mii - this is a dependancy required by the via-rhine module
Code:
insmod mii
(this should load fine - if it doesnt its probably already loaded check lsmod)
INStall MODule via-rhine (driver for network card - try via-rhine.o if it doesnt work)
Code:
insmod via-rhine
(you may need to update yoiur drivers!!)
Start your ethernet card up again:
Code:
/etc/init.d/net.eth0 start
and possibly you might need
Code:
dhcpcd eth0
to get your IP address.

then just check ifconfig to make sure your stuff is up...

if all goes well (you can get on the internet)

do this:
update your module configuration (so it will start them when you reboot)
Code:
modules-update
and just to make sure, edit /etc/modules.autoload.d/kernel* (2.4 or 2.6 check uname -r to see what version you have):
something like
Code:
vi /etc/modules.autoload.d/kernel-2.4
add this at the end of it

Code:
mii
Code:
via-rhine
IN THAT ORDER and if your pc complains again try using mii.o or via-rhine.o
GOOD LUCK

Last edited by zerget; 11-08-2004 at 12:40 PM.
 
Old 11-08-2004, 12:41 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
zerget, while responses like yors aer useful, you do realise that this was asked over 6 months ago?
 
Old 11-08-2004, 10:15 PM   #7
zerget
LQ Newbie
 
Registered: Nov 2004
Posts: 4

Rep: Reputation: 0
I had this same problem 2 times after I reinstalled Gentoo. I would have really appreciated it if someone had left me a great tutorial - but no, I had to figure the shit out myself (and it was pretty challanging)
 
  


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
Gentoo freshinstall issues Bjorne Linux - Distributions 3 04-15-2005 01:21 AM
Emerge Issues with Gentoo forbuto Linux - Software 1 02-22-2005 03:05 AM
gentoo file manager install issues (not Gentoo) windeath Fedora 2 03-01-2004 07:17 PM
Gentoo issues zigmund555 Linux - Distributions 2 02-21-2004 09:05 AM
Gentoo issues rommel Linux - Distributions 0 04-19-2002 08:36 AM

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

All times are GMT -5. The time now is 04:55 AM.

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
Open Source Consulting | Domain Registration