Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No network after emerge?
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
Supermule
Guru
Guru


Joined: 05 Mar 2003
Posts: 510
Location: /denmark/fyn

PostPosted: Tue Mar 25, 2003 1:50 pm    Post subject: No network after emerge? Reply with quote

Hi,

I just ran an "emerge -u world" .. Everything seemed fine, but upon reboot I cannot use my network?

Code:
modprobe eepro100

says
Code:
cannot locate module

If I search for the module is show up as:
Code:
/usr/src/linux-2.4.20-gentoo-r1/drivers/net/eepro100.o


net-setup is not present on my PC anymore?

What gives?

/Supermule[/code]
Back to top
View user's profile Send private message
eGore911
Apprentice
Apprentice


Joined: 11 Mar 2003
Posts: 290

PostPosted: Tue Mar 25, 2003 1:56 pm    Post subject: Reply with quote

you modules should AFAIK be in /lib/modules/%YOURKERNEL%/kernel/drivers/net

look for your modules there
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Tue Mar 25, 2003 1:58 pm    Post subject: Reply with quote

The system does not use modules in the /usr/src/linux directory. Those are only for the linux source. It looks in /lib/modules/blah/blah. Try this:

Code:
find /lib/modules -name "eepro100*"


I'm assuming it won't find it. So you need to do the following:

Code:
cd /usr/src/linux
cp .config ~/
make mrproper
cp ~/.config .
make menuconfig  (make sure you have eepro100 checked as M)
make dep clean
make modules modules_install


Note that you don't have to make a new bzImage or copy it over if you didn't change any kernel stuff. If you are only specifying new modules then this is all you need. Also if you use ALSA then you'll need to re-emerge alsa-driver after modules_install.

After modules_install you should be able to modprobe your eepro100 and get rocking.
Back to top
View user's profile Send private message
Supermule
Guru
Guru


Joined: 05 Mar 2003
Posts: 510
Location: /denmark/fyn

PostPosted: Tue Mar 25, 2003 1:58 pm    Post subject: Reply with quote

eGore911 wrote:
you modules should AFAIK be in /lib/modules/%YOURKERNEL%/kernel/drivers/net

look for your modules there


Yes..my point also :)

But why the <beep> did emerge delete these files? They arent there...And what I did was: "emerge -u world", "etc-update" and then rebooted...after that the files are gone...

:(

/Supermule
Back to top
View user's profile Send private message
Supermule
Guru
Guru


Joined: 05 Mar 2003
Posts: 510
Location: /denmark/fyn

PostPosted: Tue Mar 25, 2003 2:03 pm    Post subject: Reply with quote

rizzo wrote:
The system does not use modules in the /usr/src/linux directory. Those are only for the linux source. It looks in /lib/modules/blah/blah. Try this:

Code:
find /lib/modules -name "eepro100*"


I'm assuming it won't find it. So you need to do the following:

Code:
cd /usr/src/linux
cp .config ~/
make mrproper
cp ~/.config .
make menuconfig  (make sure you have eepro100 checked as M)
make dep clean
make modules modules_install


Note that you don't have to make a new bzImage or copy it over if you didn't change any kernel stuff. If you are only specifying new modules then this is all you need. Also if you use ALSA then you'll need to re-emerge alsa-driver after modules_install.

After modules_install you should be able to modprobe your eepro100 and get rocking.


It didnt find the module :)
But just a question...I just entered menuconfig and my eepro100 is checked as "*" - which could explain why the modules arent there true?

But then It should be in kernel and I should be able to setup my network with "net-setup". But "net-setup" is no longer present on my system...

I cant image what went so terrible wrong for "emerge" here...but thers clearly a flaw somewhere. Can I get hold of "net-setup" from my CD?

/Supermule
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Tue Mar 25, 2003 2:06 pm    Post subject: Reply with quote

I believe net-setup was only in use for the livecd setup. The gentoo isntall directions instruct you to edit your /etc/conf.d/net file to specify your network settings. That is what you need to do.

Yes your eepro driver is compiled in as kernel and so it wouldn't show up in the modules directory. You should be fine this way.
Back to top
View user's profile Send private message
Supermule
Guru
Guru


Joined: 05 Mar 2003
Posts: 510
Location: /denmark/fyn

PostPosted: Tue Mar 25, 2003 2:57 pm    Post subject: Reply with quote

Hi,

Well, what can I say....embarassing is probably the best description.

My Gentoo PC is located a couple of hubs and switches from my firewall/Dhcpserver, and during spring-cleaning this morning, I must have hit the cabel with my vacuum-cleaner :(

Re-attaching the cabel ment a great deal :) - Everything is rocking again now...

But thanks for all the fast replys, I really appriciate it!

regards,
Supermule
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