LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Network Card Problems (https://www.linuxquestions.org/questions/linux-networking-3/network-card-problems-165680/)

nick_krym 04-03-2004 07:16 AM

Network Card Problems
 
Sorry for this newbie question, but here goes:
I installed Slackware, but when I finish netconfig it cant find my network card, and tells me to go to /etc/rc.d/rc.modules.
Now wehat exactly do I do there?

Thanks. Nick.

motub 04-03-2004 07:49 AM

Open it as root in a text editor, look for the line that controls your NIC driver (you do know the module name, right?) and remove the # (comment) mark from in front of that line to manually load it at startup.

Hope this helps.

nick_krym 04-03-2004 08:11 AM

Thanks, so basically remove the # infront of the correct one, and then restart the PC?

Thanks, Nick

nick_krym 04-03-2004 01:05 PM

<bump>

Peacedog 04-03-2004 01:40 PM

Quote:

Thanks, so basically remove the # infront of the correct one, and then restart the PC?
yes remove the #. it is used to comment the line so the information is there, but not recognized. once you uncomment, or remove the # symbol, then the code is recognized. commenting in code is a good way to explain what bits of code are and what they do. in the case of the /etc/rc.d/rc.modules file it is helpful in that the file w/all the code is there, so you don't have to write it all from scratch. just uncomment the lines neccesary. hope that clears it up for you.
good luck.

nick_krym 04-03-2004 01:43 PM

ok, i did that, and i restarted my PC, still doesnt work, any other suggestions?

Peacedog 04-03-2004 01:52 PM

what card do you have? are you sure you uncommented the correct module? did you save the changes? did you edit as root? sorry, but , i have to ask.

nick_krym 04-03-2004 02:24 PM

I have a RealTek. yes, yes, yes.

Peacedog 04-03-2004 02:39 PM

post the output of

/sbin/lspci -v

lsmod

Peacedog 04-03-2004 04:27 PM

i had another thought, there are actually 2 lines commented for each module, one is the module name, the other is the modprobe command, looks similar to this

# RealTek 8129/8139 (not 8019/8029!) support:
#/sbin/modprobe 8139too

you have to uncomment both lines, so it looks like thjis

RealTek 8129/8139 (not 8019/8029!) support:
/sbin/modprobe 8139too

just checking, i had assumed earlier that you had infact uncommented them both.
good luck.

nick_krym 04-03-2004 04:44 PM

/sbin/lspci -v tells me that i have a SiS900 (i was wrong about the RealTek), but it is not even included in the rc.modules file. what should i do now? look up drivers for it?

Peacedog 04-03-2004 06:17 PM

had a look at the hcl based on your info and found this

http://www.linuxquestions.org/hcl/sh...hp?product=521

if you've identified it correctly, it seems to be supported. i could be of more assistance if you could post the output i've asked for. w/out that, i'm guessing and looking into the info you've provided.
good luck.

nick_krym 04-04-2004 04:01 AM

ok, this is exactly what /sbin/lspci -v tells me about my ethernet controller:

Quote:

Ethernet Controller: Silicon Integrated Systems [SiS] SiS900 10/100 Ethernet (rev02)
Subsystem: Silicon Integrated Systems [SiS] SiS900 10/100 Ethernet Adapter
Flags: bus master, medium devsel, latency 64, IRQ 5
I/O ports at d800 [size=256]
Memory at defee000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at defc0000 [disabled] [size=128K]
Capabilities: [40] Power Management version 2
Thanks for looking it up PEACEDOG, but if you say its supported, how come Linux didnt auto detec it, and i cant find it in rc.modules?

Thanks. Nick

*edit* hmm i'v read the reviews, and everyone said that it was found by Linux, and no setup was neccessary, why am i having so many problems with the same card?

nick_krym 04-04-2004 08:43 AM

<bump>

Duukkis 04-04-2004 10:43 AM

I have problems with compiling/installing 8139too module. The readme.txt tells me to modify Makefile "NEW_INCLUDE_PATH" line to point in kernel source path. I have modified it to "NEW_INCLUDE_PATH = /usr/local/src/kernel-source-2.4.18/include/" because my kernels source is there. After that, executing "make config" and "make install" in the directory where 8139too module is, I get "Makefile:28: *** missing separator. Stop."
Are "make config" and "make install" correct commands or is there something wrong in Makefile?


All times are GMT -5. The time now is 03:29 AM.