On Sunday 14 May 2006 17:41, xpto09 wrote:
> I have finished LFS (Linux From Scratch)
> I built it inside a root_fs.
>
> LFS uses udev (I dont know if this important to what I will say).
>
> At host:
> linux eth0=slirp,,/usr/bin/slirp
>
> If I run at uml:
> ifconfig -a:
>
> dummy0 Link encap:Ethernet HWaddr 0A:B0:8B:18:84:A1
> BROADCAST NOARP MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
>
> eth0 Link encap:Serial Line IP
> NOARP MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:256
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> Interrupt:5
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> There is a dummy0 with mac address
Ignore dummy0 - you enabled this particular _dummy_ and _useless_ interface
when configuring the kernel, but it won't harm you at all.
> and eth0 has not one.
Guess that happens because you're using the slirp transport ("Link
encap:Serial Line IP" hints so). With eth0=tuntap,,,$IP_Address_of_the_host
it would have a MAC.
> The mac address of dummy0 changes all the times that I boot uml.
Then it's choosen randomly. Getting any problem from that?
> If I put ifconfig eth0 10.2.0.15 up, this ip appears in eth0.
>
> What can I do?
--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade
___________________________________
Yahoo! Messenger with Voice: chiama da PC a telefono a tariffe esclusive
http://it.messenger.yahoo.com
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user