On 4/9/06, Jeff Dike <jdike@addtoit.com> wrote:
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:
[root@localhost ~]# ls /lib/modules/
[root@localhost ~]#

So there is the message:
[root@localhost ~]# 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:
kurumin@kurumin:~$ 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