LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Ethernet problem on HP Pavillion laptop (https://www.linuxquestions.org/questions/slackware-14/ethernet-problem-on-hp-pavillion-laptop-530121/)

solly 02-18-2007 07:02 AM

Ethernet problem on HP Pavillion laptop
 
I installed 11.0 on HP Pavillion dv833ea, but no network access.

ifconfig shows only loopback, no eth0

cat /proc/pci says
Ethernet controller: PCI device 8086:1092 (intel Corp.) (rev 1)

I assume I need to load a module, but I don't know which one.

What command is needed here?

win32sux 02-18-2007 10:18 AM

one thing you could do is boot a live cd and then use "lsmod" to see which module it loaded for your network card... then modprobe it on your real install... and if it works fine, edit your rc.modules or whatever to make it load on boot each time...

reddazz 02-18-2007 10:20 AM

Can you check what network card you have by running
Code:

#lspci | grep -i net

solly 02-18-2007 02:05 PM

redazz:

lspci | grep -i net says

06:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
08:08.0 Ethernet controller: Intel Corporation Intel(R) PRO/100 VE Network Connection (rev 01)


I'm trying to use ethernet (not wireless)

win32sux 02-18-2007 02:30 PM

Quote:

Originally Posted by solly
08:08.0 Ethernet controller: Intel Corporation Intel(R) PRO/100 VE Network Connection (rev 01)

okay then, try the e100 module:
Code:

/sbin/modprobe e100
or maybe the eepro100 module instead:
Code:

/sbin/modprobe eepro100

bird603568 02-18-2007 02:47 PM

did you try ifconfig eth0 up as root?

solly 02-18-2007 03:48 PM

both the modprobe commands give No such device errors

ifconfig eth0 up says
eth0:ERROR while getting interface flags: No such device

bird603568 02-18-2007 04:04 PM

did you check dmesg to see if its giving out any weird errors

rworkman 02-18-2007 09:32 PM

Quote:

Originally Posted by solly
both the modprobe commands give No such device errors

ifconfig eth0 up says
eth0:ERROR while getting interface flags: No such device

modprobe(8) doesn't give "no such device" error messages.
What *exactly* does this command return (as root)?
modprobe e100

If it returns to a prompt, then the module was loaded successfully, and you should then be able to use ifconfig(8) to see all available interfaces. As root, do:
ifconfig -a

If the modprobe command returns an error, then you most likely do not have the e100 module installed.
This could happen in at least three different ways:
1. You installed using either huge26.s or test26.s, installed that kernel, but failed to install the required kernel-modules package (due to not reading the Release Notes included with Slackware).
2. You built a custom kernel and neglected to include the required support.
3. You built a custom kernel and neglected to build and/or install the modules.

solly 02-19-2007 02:34 AM

root@caudwell:~# modprobe e100
/lib/modules/2.4.33/kernel/drivers/net/e100/e100.o.gz: init_module: No such device
/lib/modules/2.4.33/kernel/drivers/net/e100/e100.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.33/kernel/drivers/net/e100/e100.o.gz:
insmod /lib/modules/2.4.33/kernel/drivers/net/e100/e100.o.gz: /lib/modules/2.4.33/kernel/drivers/net/e100/e100.o.gz: insmod e100 failed

modprobing the other module says a similar error message
Syslog contains the same error messages, but dmesg says nothing about these events

The kernel is the default offered by the install, in this case the one with sata. It has not been recompiled.

Incidentally I did try moving to the 2.6 kernel in testing (or extra?), but this refused to complete the boot. Interestingly (?) this is the only machine I've found that will not boot slax, which of course has a 2.6 kernel.


All times are GMT -5. The time now is 04:28 AM.