Search Members Help

» Welcome Guest
[ Log In :: Register ]

Page 1 of 212>>

[ Track This Topic :: Email This Topic :: Print this topic ]

reply to topic new topic new poll
Topic: eth0 won't load...< Next Oldest | Next Newest >
 Post Number: 1
Spydir Search for posts by this member.
proof that humans suck (www.netsyndrome.net)
Avatar



Group: Members
Posts: 1089
Joined: Apr. 2001
PostIcon Posted on: Jun. 19 2001,18:29  Skip to the next post in this topic. Ignore posts   QUOTE

ok, I got X working (read: install slack-7.1, pkgtool all packages EXCEPT X related from slack-current cd), but I've built 3 different kernels with my NIC's driver as a module, and it won't work. I can modprobe the module, but during bootup depmod just won't load it.

any idea on how to modprobe the driver (command would be "modprobe tulip") and link it to my card?

------------------
Net Syndrome - http://www.netsyndrome.net/
Spydir Web - http://www.netsyndrome.net/spydirweb/

Offline
Top of Page Profile Contact Info WEB 
 Post Number: 2
incubus Search for posts by this member.
mack daddy
Avatar



Group: Admins
Posts: 1316
Joined: May 2000
PostIcon Posted on: Jun. 19 2001,19:36 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

Oi fink it's insmod tulip.o

theres loads of stuff at www.scyld.com
more specifically to you:
http://www.scyld.com/expert/modules.html

HTH

------------------
-- incubus
As I chase the leaves like the words I never find ...

Offline
Top of Page Profile Contact Info WEB 
 Post Number: 3
RenegadeSnark Search for posts by this member.
Old School
Avatar



Group: Members
Posts: 534
Joined: May 2000
PostIcon Posted on: Jun. 20 2001,02:31 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

use your fav text editor (pico or vi) on /etc/conf.modules or modules.conf (name varies with distro)

put

alias eth0 tulip.o

it might be just tulip i cant remember

save file, reboot. it should load!

Offline
Top of Page Profile Contact Info 
 Post Number: 4
damien_s_lucifer Search for posts by this member.
Emperor of Detnet
Avatar



Group: Members
Posts: 33
Joined: Jan. 1970
PostIcon Posted on: Jun. 20 2001,03:13 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

Spydir, you didn't tell us what kind of NIC you have. Shame! Shame!

Anyway, the best thing to do is just build the driver into the kernel instead of a module. Then you don't have to worry about using modprobe; the card will be detected and installed during kernel initialization. Modules are useful for some devices that aren't always needed or connected, but when was the last time you didn't need your NIC?

If you MUST make it as a module, make sure you're building your kernel properly. Follow these steps (I'm assuming you unpacked the kernel source in /usr/src/linux):

code:

cd /usr/src/linux
make mrproper # clean up any stale .o files
make menuconfig # menu-based configuration utility - VERY nice
make dep # make dependencies
make bzImage # build the kernel image
make modules # build modules
su # become superuser (can't install modules if you're not)
make modules_install # install modules
cp /vmlinuz /vmlinuz.old # save old kernel image just in case
cp /usr/src/linux/arch/i386/boot/bzImage /vmlinuz # install new kernel
lilo # inform LILO of the new image
shutdown -r now # reboot

This message has been edited by damien_s_lucifer on June 20, 2001 at 10:15 PM

Offline
Top of Page Profile Contact Info WEB 
 Post Number: 5
Spydir Search for posts by this member.
proof that humans suck (www.netsyndrome.net)
Avatar



Group: Members
Posts: 1089
Joined: Apr. 2001
PostIcon Posted on: Jun. 20 2001,13:35 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

building the driver in doesn't help because when I used to do that, the moment I connected eth0 to any IP for my LAN ppp0 would die, defeating the purpose of eth0 even being there. and I pretty much said what kind of NIC it is, one that requires the tulip driver, when I said "requires command "modprobe tulip"" or whatever it was (to... lazy to... scrollllll.....)

anyways... yeah, I fixed it. Thanks I'm an idiot. I'd load the module right, I just forgot to do the ifconfig for it :/

------------------
Net Syndrome - http://www.netsyndrome.net/
Spydir Web - http://www.netsyndrome.net/spydirweb/

Offline
Top of Page Profile Contact Info WEB 
 Post Number: 6
CatKnight Search for posts by this member.
Jedi Republican
Avatar



Group: Members
Posts: 3807
Joined: Dec. 2000
PostIcon Posted on: Jun. 20 2001,14:40 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

quote:
use your fav text editor (pico or vi)

*laugh* be a weenie and use emacs or nedit (my fav)

Offline
Top of Page Profile Contact Info WEB 
 Post Number: 7
Spydir Search for posts by this member.
proof that humans suck (www.netsyndrome.net)
Avatar



Group: Members
Posts: 1089
Joined: Apr. 2001
PostIcon Posted on: Jun. 20 2001,20:40 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

vim for me, thank you...

oh yeah, emacs sucks. Sorry, it's just the truth.

------------------
Net Syndrome - http://www.netsyndrome.net/
Spydir Web - http://www.netsyndrome.net/spydirweb/

Offline
Top of Page Profile Contact Info WEB 
 Post Number: 8
RenegadeSnark Search for posts by this member.
Old School
Avatar



Group: Members
Posts: 534
Joined: May 2000
PostIcon Posted on: Jun. 21 2001,05:42 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

I used to use emacs but it totally BLOWS now!!!
Offline
Top of Page Profile Contact Info 
 Post Number: 9
Unexplained Search for posts by this member.
FNG
Avatar



Group: Members
Posts: 50
Joined: Apr. 2001
PostIcon Posted on: Jun. 25 2001,07:23 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

Editorwar!!

I like MC (Midnight Commander). Very nice syntaxhighlighting.
For the easier jobs, I like ae (Anthony's Editor).

Offline
Top of Page Profile Contact Info WEB 
 Post Number: 10
KL1NK Search for posts by this member.
the guy behind the guy
Avatar



Group: Members
Posts: 161
Joined: Jan. 2001
PostIcon Posted on: Jun. 25 2001,08:06 Skip to the previous post in this topic.  Ignore posts   QUOTE

I like emacs.
Offline
Top of Page Profile Contact Info WEB 
15 replies since Jun. 19 2001,18:29 < Next Oldest | Next Newest >

[ Track This Topic :: Email This Topic :: Print this topic ]


Page 1 of 212>>
reply to topic new topic new poll

» Quick Reply eth0 won't load...
iB Code Buttons
You are posting as:

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code