no network when booting into knoppix
Hi,
I am trying to setup knoppix because i want to switch from gentoo to debian.
But I can not make the network work. I have a MSI Laptop (Core2Duo) with this ethernet card:
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
Subsystem: Micro-Star International Co., Ltd. Unknown device 0341
Flags: bus master, fast devsel, latency 0, IRQ 17
I/O ports at d800 [size=256]
Memory at fe1ff000 (64-bit, non-prefetchable) [size=4K]
Expansion ROM at fe1e0000 [disabled] [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [48] Vital Product Data <?>
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/1 Enable-
Capabilities: [60] Express Endpoint, MSI 00
Capabilities: [84] Vendor Specific Information <?>
Kernel driver in use: r8169
Kernel modules: r8169
When knoppix is up and I try a to use the dhcp client (dhcp3 or so) I get a message that I have to configure a subnet in my dhcp server config. ????
So what to do? Any ideas.
When I installed gentoo I had problems with the nic too. I had to compile the kernel again, the the module r8169 work. But I do not have this chance on knoppix, isn't it?
menschmeier
Realtek Gigabit Pci-Express RTL8168B
I have done a Poor Man Install of Knoppix 5.3.1 on my Asus laptop A6TC.
It has a network card RTL8168B Gigabit PCI-Express.
The r8169 shipped module does not work with my card.
I have downloaded the r8168 module for kernel 2.6.x from Realtek site and followed the readme instructions.
I got the following compile error:
root@Knoppix:/usr/local/r8168-8.005.00# make clean modules
make -C src/ clean
make[1]: Entering directory `/UNIONFS/usr/local/r8168-8.005.00/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers rset
make[1]: Leaving directory `/UNIONFS/usr/local/r8168-8.005.00/src'
make -C src/ modules
make[1]: Entering directory `/UNIONFS/usr/local/r8168-8.005.00/src'
make -C /lib/modules/2.6.24.4/build SUBDIRS=/usr/local/r8168-8.005.00/src modules
make[2]: Entering directory `/UNIONFS/usr/src/linux-2.6.24'
CC [M] /usr/local/r8168-8.005.00/src/r8168_n.o
/usr/local/r8168-8.005.00/src/r8168_n.c: In function 'rtl8168_init_board':
/usr/local/r8168-8.005.00/src/r8168_n.c:2270: error: implicit declaration of function 'SET_MODULE_OWNER'
/usr/local/r8168-8.005.00/src/r8168_n.c: In function 'rtl8168_init_one':
/usr/local/r8168-8.005.00/src/r8168_n.c:2570: error: 'struct net_device' has no member named 'poll'
/usr/local/r8168-8.005.00/src/r8168_n.c:2571: error: 'struct net_device' has no member named 'weight'
/usr/local/r8168-8.005.00/src/r8168_n.c: In function 'rtl8168_rx_interrupt':
/usr/local/r8168-8.005.00/src/r8168_n.c:3790: error: 'struct net_device' has no member named 'quota'
/usr/local/r8168-8.005.00/src/r8168_n.c:3790: warning: type defaults to 'int' in declaration of '_y'
/usr/local/r8168-8.005.00/src/r8168_n.c:3790: error: 'struct net_device' has no member named 'quota'
/usr/local/r8168-8.005.00/src/r8168_n.c:3790: warning: comparison of distinct pointer types lacks a cast
/usr/local/r8168-8.005.00/src/r8168_n.c: In function 'rtl8168_interrupt':
/usr/local/r8168-8.005.00/src/r8168_n.c:3986: error: too few arguments to function 'netif_rx_schedule_prep'
/usr/local/r8168-8.005.00/src/r8168_n.c:3987: error: too few arguments to function '__netif_rx_schedule'
/usr/local/r8168-8.005.00/src/r8168_n.c: In function 'rtl8168_poll':
/usr/local/r8168-8.005.00/src/r8168_n.c:4035: error: 'struct net_device' has no member named 'quota'
/usr/local/r8168-8.005.00/src/r8168_n.c:4035: warning: type defaults to 'int' in declaration of '_y'
/usr/local/r8168-8.005.00/src/r8168_n.c:4035: error: 'struct net_device' has no member named 'quota'
/usr/local/r8168-8.005.00/src/r8168_n.c:4043: error: 'struct net_device' has no member named 'quota'
/usr/local/r8168-8.005.00/src/r8168_n.c:4046: error: too few arguments to function 'netif_rx_complete'
make[3]: *** [/usr/local/r8168-8.005.00/src/r8168_n.o] Error 1
make[2]: *** [_module_/usr/local/r8168-8.005.00/src] Error 2
make[2]: Leaving directory `/UNIONFS/usr/src/linux-2.6.24'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/UNIONFS/usr/local/r8168-8.005.00/src'
make: *** [modules] Error 2
I don't know what to do. I think the DVD has all programs/libraries to compile.
Perhaps report this as a bug.
Plese help me.