On 4/9/06, Jeff Dike <[EMAIL PROTECTED]> wrote:
The answer is "yes".
I searched and I found that to install modules (kernel guest)is necessary to put the commands below:
# cd linux-2.6.x/
# ARCH=um make modules_install INSTALL_MOD_PATH=/path...
# cd ..
However there is nothing in the directory:
[EMAIL PROTECTED] ~]# ls /lib/modules/
[EMAIL PROTECTED] ~]#
So there is the message:
[EMAIL PROTECTED] ~]# ifconfig eth0 192.168.0.253 up
modprobe: FATAL: Could not load /lib/modules/2.6.17-rc1/modules.dep: No such file or directory
SIOCSIFADDR: No such device
modprobe: FATAL: Could not load /lib/modules/2.6.17-rc1/modules.dep: No such file or directory
eth0: unknown interface: No such device
modprobe: FATAL: Could not load /lib/modules/2.6.17-rc1/modules.dep: No such file or directory
eth0: unknown interface: No such device
Did you forget put the modules?
My host kernel has the following:
[EMAIL PROTECTED]:~$ ls /lib/modules/2.6.14-kanotix-6/
build linux-wlan-ng modules.ccwmap modules.inputmap modules.pcimap modules.usbmap source
extra misc modules.dep modules.isapnpmap modules.seriomap ppscsi updates
kernel modules.alias modules.ieee1394map modules.ofmap modules.symbols shfs
Marcos
On Sun, Apr 09, 2006 at 08:55:09PM -0300, xpto09 wrote:
> 1) Configuring an eth0 device
> specify eth0 on the command line:
>
> eth0=tuntap,,,192.168.0.254
>
> Inside the uml I put the command above.
Would it be any clearer if it said to put the eth=... on the UML command line
on the host?
Jeff
The answer is "yes".
I searched and I found that to install modules (kernel guest)is necessary to put the commands below:
# cd linux-2.6.x/
# ARCH=um make modules_install INSTALL_MOD_PATH=/path...
# cd ..
However there is nothing in the directory:
[EMAIL PROTECTED] ~]# ls /lib/modules/
[EMAIL PROTECTED] ~]#
So there is the message:
[EMAIL PROTECTED] ~]# ifconfig eth0 192.168.0.253 up
modprobe: FATAL: Could not load /lib/modules/2.6.17-rc1/modules.dep: No such file or directory
SIOCSIFADDR: No such device
modprobe: FATAL: Could not load /lib/modules/2.6.17-rc1/modules.dep: No such file or directory
eth0: unknown interface: No such device
modprobe: FATAL: Could not load /lib/modules/2.6.17-rc1/modules.dep: No such file or directory
eth0: unknown interface: No such device
Did you forget put the modules?
My host kernel has the following:
[EMAIL PROTECTED]:~$ ls /lib/modules/2.6.14-kanotix-6/
build linux-wlan-ng modules.ccwmap modules.inputmap modules.pcimap modules.usbmap source
extra misc modules.dep modules.isapnpmap modules.seriomap ppscsi updates
kernel modules.alias modules.ieee1394map modules.ofmap modules.symbols shfs
Marcos