LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Network does not load (https://www.linuxquestions.org/questions/slackware-14/network-does-not-load-234529/)

mikrasov 09-23-2004 08:10 PM

Network does not load
 
I installed Slackware 10 and my network is not working. I can't acess the internet nor ping my router. My network works in both windows and fedora core 2 but no luck with slackware.

I have noticed a number of threads with similar problems but no real sollutions.

I am a newbie Linux user so I don't know a whole lot. But from what I read

lsmod

and

ifconfig

might help you diagnose my problem.

root@nexus:~# lsmod
Module Size Used by Tainted: P
snd-pcm-oss 37736 0 (unused)
snd-mixer-oss 12504 2 [snd-pcm-oss]
keybdev 2052 0 (unused)
mousedev 4212 1
hid 21220 0 (unused)
usbmouse 2040 0 (unused)
input 3200 0 [keybdev mousedev hid usbmouse]
snd-emu10k1 62920 3
snd-pcm 56072 0 [snd-pcm-oss snd-emu10k1]
snd-timer 13604 0 [snd-pcm]
snd-hwdep 4804 0 [snd-emu10k1]
snd-page-alloc 6328 0 [snd-emu10k1 snd-pcm]
snd-util-mem 1136 0 [snd-emu10k1]
snd-ac97-codec 49500 0 [snd-emu10k1]
snd-rawmidi 12740 0 [snd-emu10k1]
snd-seq-device 3888 0 [snd-emu10k1 snd-rawmidi]
snd 30852 1 [snd-pcm-oss snd-mixer-oss snd-emu10k1 snd-pcm snd-timer snd-hwdep snd-util-mem snd-ac97-codec snd-rawmidi snd-seq-device]
soundcore 3396 8 [snd]
emu10k1-gp 1352 0 (unused)
gameport 1420 0 [emu10k1-gp]
ohci1394 24112 0 (unused)
ieee1394 42276 0 [ohci1394]
uhci 24444 0 (unused)
ehci-hcd 17580 0 (unused)
usbcore 59308 1 [hid usbmouse uhci ehci-hcd]
nvidia 4585676 6
pcmcia_core 39972 0
ide-scsi 9328 0
agpgart 43940 3


root@nexus:~# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

root@nexus:~# ifconfig eth0
eth0: error fetching interface information: Device not found

root@nexus:~# ifconfig eth0 up
eth0: unknown interface: No such device

System specs might help too:
-Athlon 64 3200+
-Geforce 4 ti4800
-Audigy 2 Platinum
-MB: Asus K8V SE (integrated network card)


I'm really anxious to use slackware and any sugestions would be much apreciated.

CroMagnon 09-23-2004 08:21 PM

I don't see a module for a network card there (which is ok - it might not be loaded, or it might be compiled directly into the kernel).

Does 'dmesg | grep eth0' show anything?

mikrasov 09-23-2004 08:40 PM

root@nexus:~# dmesg | grep eth0
(does not display anything and goes to new line)

CroMagnon 09-23-2004 09:01 PM

OK, you need to add kernel support for your network card (which probably means recompiling the kernel from source - are you comfortable doing that?).

I would boot up Fedora and do the dmesg | grep eth0 again to find out what driver it is using, so you can make sure that option is enabled in the make *config.

mikrasov 09-23-2004 09:18 PM

I've never done it before but I will definatly try.

on fedora core 2 the driver is:

divert: allocating divert_blk for eth0
eth0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter
eth0: network connection up using port A
eth0: no IPv6 routers present

CroMagnon 09-23-2004 09:39 PM

Well, good luck! Here is a nice guide as it can be a little too complicated to explain in a forum post ;) The overall procedure is relatively painless, but you might make a few broken kernels as you find your way through the various options.

http://www.digitalhermit.com/linux/K...ild-HOWTO.html

As an extra hint: always leave an option in your bootloader to boot with your previous kernel (even if it doesn't have network support, at least it boots, and you can use it to compile a working replacement).

gbonvehi 09-23-2004 09:48 PM

Is it wireless card? PCI? PCMCIA? Do you know which chip it has?

Try: lspci and look for a ethernet card (if it's a PCI one of course :) )

mikrasov 09-23-2004 10:05 PM

Its integrated on my motherboard.

As for what the network chip is its
Marvell 88E8001 Gigabit LAN

So do you think i should recompile the kernel or is there another solution. The only thing with recompiling the kernel, my Lilo is on my master boot record so I haven't a clue about how I would go about editing it.

CroMagnon 09-23-2004 10:48 PM

I think if you use "make bzlilo" instead of "make bzimage", the build process will fix lilo up for you, but it's not hard to do yourself. Just edit /etc/lilo.conf, copy your existing linux section, and modify the appropriate parts. Once that's done, run /sbin/lilo to update the MBR.

An alternative way to compiling your own kernel is to try and find a precompiled module for that Yukon driver that matches your kernel, but I find this is usually more trouble than just compiling it yourself.

mikrasov 09-24-2004 12:47 AM

Wow my solution turned out to be fairly easy. Thanks you guys for setting me on the right track. Turns out that the asus integrated network driver doesn't come with slackware.

I went to marvell.com and dled it. It was reall easy to install. So anyone else who has this problem thats what you should try.

So I'm currently in slackware

Oh and i'm still gona try recompiling my kernel cause thats something I've been wanting to do ;)

Thanks a lot for all the help.


All times are GMT -5. The time now is 02:37 AM.