LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 12-18-2001, 03:46 PM   #1
14mg NICOTINE
LQ Newbie
 
Registered: Dec 2001
Location: London UK
Distribution: Mandrake 7.1
Posts: 4

Rep: Reputation: 0
Talking How do I modify start up to load modules and dhcpd


I have managed to solve the problem of getting my FA311 Netgear ethernet card and dhcpcd to work with mandrake.

Before I ask my question I would like to help newbies like myself.......

To get your NIC card Netgear FA311, especially those blueyonder chappies from the the uk, working on a linux system i have found this solution( a week of f***ing booting between windows and linux!!!)

You must have dhcpcd on your hard drive if not you have to find it on you cd and install the package. To install type the following.....(all one line)

rpm -ivh /mnt/cdrom/Mandrake/RPMS/dhcpcd-1.3.18pl5-2mdk.i586.rpm

The pathname and file name will probably be different just substitute yours. But it'll be roughly the same

you also need to get some drivers this comes from www.sycld.com you need to download netdrivers-3.0.1.rpm.src. Download this to a floppy disk. Because of Windows the filename gets altered. You need to make a note of the filename before you download and once downloaded rename(using the mv command) it to the original name....
for example...
cd /mnt/floppy/
mv netdrivers-3_0_1_rpm.src netdrivers-3.0.1.rpm.src

now follow this
mkdir /usr/share/spec-helper/
touch /usr/share/spec-helper/spec-helper
chmod +x /usr/share/spec-helper/spec-helper

you then need to install netdrivers-3.0.1.rpm.src from the floppy using....(for example)
rpm -ivh /mnt/floppy/netdrivers-3.0.1.rpm.src
then...
cd /usr/src/RPM/SPEC/
rpm -ba netdrivers.spec

All is done. You can initialize your modules by following the steps below(You will probably need to change your kernel path (the 2.2.15-4mdk bit))

Now for my question......!!

to initialize my card I have to manually type

insmod /usr/tmp/netdrivers-3.0-root/lib/modules/2.2.15-4mdk/net/pci-scan.o
insmod /usr/tmp/netdrivers-3.0-root/lib/modules/2.2.15-4mdk/net/natsemi.o
dhcpcd

then i can connect thru my NIC and cable to Netscape.

How can i get this done thru boot up????????
 
Old 12-18-2001, 03:56 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
I know with mandrake there are about half a dozen ways your 'supposed' to do it, but really that's just a big fat lie. I hate Linuxconf. Here's one that's cheap and dirty:

Edit /etc/rc.d/rc.local and add those three lines from
Quote:
insmod /usr/tmp/netdrivers-3.0-root/lib/modules/2.2.15-4mdk/net/pci-scan.o
insmod /usr/tmp/netdrivers-3.0-root/lib/modules/2.2.15-4mdk/net/natsemi.o
dhcpcd
Although really, you should copy the drivers to /lib/modules/2.2.15-mdk/net, then all it will take is:

/sbin/insmod pci-scan
/sbin/insmod natsemi
/sbin/dhcpcd

Regardless of this being quick and dirty, its always best to refer to commands run by scripts with their full path. (no, you don't need the .o's when your insmodding from the default kernel module directory... it'll confuse insmod)

Remember that if your machine is not hooked up to its network for some reason like bluesky has gone bonkers, or your cat pulled the cat-5 out of the NIC, then it will seem like your machine has hung on its last stage of boot when really its spending (I think exactly 90 seconds, maybe 120), a while trying to find that dhcp server. Give it a minute, make coffee, plug in the cat-5, flush the cat, or just kick back and wait for it to time out.

Cheers,

Finegan

Last edited by finegan; 12-18-2001 at 04:07 PM.
 
Old 12-18-2001, 04:21 PM   #3
14mg NICOTINE
LQ Newbie
 
Registered: Dec 2001
Location: London UK
Distribution: Mandrake 7.1
Posts: 4

Original Poster
Rep: Reputation: 0
Cheers Finegan,

I will transfer files like you said, have added lines to rc.local.. boots up lovely.

Was so happy that i connected didn't even think of trying to make things simple!!!!

thanks
 
  


Reply



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
modprobe: FATAL: Could not load /lib/modules/.../modules.dep Ankardo Debian 9 02-01-2011 05:09 PM
Unable to start Apache "Cannot load /etc/httpd/modules/libphp4.so" dagalicous Linux - Software 1 03-10-2005 01:43 AM
How to load modules at start up? ludwig W Linux - General 11 07-24-2004 10:51 AM
Slack+kernel2.6.4 modules don't load ? how to start integrated kernel driver? elfenoir Slackware - Installation 1 03-23-2004 03:07 AM
Need to modify - modules.conf lowlifeboy Debian 3 02-22-2004 02:52 PM

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

All times are GMT -5. The time now is 01:18 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