On 4/8/06, Jeff Dike < jdike@addtoit.com> wrote:
On Sat, Apr 08, 2006 at 10:49:51PM -0300, xpto09 wrote:
> So I think that would be a good idea tutorials that teach the basics of the uml.

Take a look at http://user-mode-linux.sf.net/new and tell me how I'm doing...

                                Jeff

Following the http://user-mode-linux.sf.net/new
I apologize if this question is very "newbie".
Tell me if this is not the correct mailing list to make this type of question.

I am a little confused about what I have to do to access the Internet.

I downloaded your kernel and root_fs.

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.

Choose an IP address for the host end of the TUN/TAP device. (Link to:)
Choosing an IP for a TUN/TAP interface
    Choose an IP address that's part of your local IP range.

I am not in a local network.
Do I forget this step?

2) Enable the device within UML. (Link to:)
Choosing an IP for a UML eth interface
    If you don't have a local network, just a single IP given to you by your ISP, then use an address in the 192.168.x.x or 10.x.x.x ranges.

I think that the ip chosen was 192.168.253 because the line below.
Right?

back:
UML# ifconfig eth0 192.168.0.253 up
When I put the command above, I had 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


Where are the modules?

Marcos