LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Installing network card.... (https://www.linuxquestions.org/questions/linux-networking-3/installing-network-card-576310/)

Dextech1 08-11-2007 03:12 AM

Installing network card....
 
Hello there i have slackware 12 installed, i login as root but i cant make network work due to the fact that i cant install network card... so here is what i try:

lspci

so i get the network name which is AMD 79c970 Pcnet32 [LANCE]

and then i try...

ifconfig pcnet32 up
no such device...


i tried with lance as module name eth0,2 i tried everything... each time i get no such device... i even reinstalled slackware however, if i put the network adapter which i have on my linux PC it "recognizez" here(i have xp) HP Ethernet with REMOTE POWER or something like that... and i tried also ifconfig with hp and hp-plus and still get no such device...

kool_kid 08-11-2007 05:36 AM

u shd get a driver cd along with ur nic card trying installing ther drivers from that cd dont forget to read "howto" in that cd to install driver

acid_kewpie 08-11-2007 09:02 AM

driver CD's are required for nic's under linux about 0.001% of the time... lucky as normally they aren't on the CD. please be careful with the advice you offer.

as for the problem... you're running the commands wrong. the pcnet32 driver is loaded via "modprobe pcnet32" for a one time load, not sure how to permanently load it under slack to be honest.

Dextech1 08-11-2007 10:55 AM

Wow it worked :p thx!

Now another problem thou... to start it on boot the commands above should do the job however... i get something like "write error: there is no space left on device"
but if i put the wrong module name it does create the file and loads it on boot...

echo "/sbin/modprobe pcnet32" > /etc/rc.d/rc.netdevice
chmod 755 /etc/rc.d/rc.netdevice

acid_kewpie 08-11-2007 12:05 PM

should be a seperate thread really, but what does the disk space look like? can you edit the file to use the right driver by hand in vi or such like?


All times are GMT -5. The time now is 06:40 PM.