On giovedì 3 maggio 2007, kewlemer wrote:
> Here is the ifconfig information on my host -
> [host]# ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:16:41:E6:66:10
>           inet addr:192.168.1.5  Bcast:192.168.1.255  Mask:255.255.255.0
>           inet6 addr: fe80::216:41ff:fee6:6610/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1492  Metric:1
>           RX packets:1170 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:1054 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:1181092 (1.1 MiB)  TX bytes:308884 (301.6 KiB)
>           Base address:0x3000 Memory:ee000000-ee020000
>
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:2812 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:2812 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:4073920 (3.8 MiB)  TX bytes:4073920 (3.8 MiB)
>
> tap0      Link encap:Ethernet  HWaddr EA:6B:1C:F5:C9:AF
>           inet addr:192.168.0.254  Bcast:0.0.0.0  Mask:255.255.255.255
>           inet6 addr: fe80::e86b:1cff:fef5:c9af/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:37 overruns:0 carrier:0
>           collisions:0 txqueuelen:500
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>
> [host]#
>
> I'm trying to bring up eth0 on the guest and as per Jeff Dike's book, I did
> a - [UML]# ifconfig eth0 192.168.0.253 up
> SIOCSIFFLAGS: Operation not permitted
> eration not permitted
> SIOCSIFFLAGS: Operation not permitted
> [UML]#
>
> 1.As per the book, when I do a ifconfig like above on the guest, the
> routing table, arp, etc should get set. Any idea why it's not being
> set?
>
> 2. Why do I get the operation not permitted error ?
>
> 3. How do I set the UML root password ?
> [UML]# passwd
> passwd: error while loading shared libraries: libuser.so.1: cannot
> open shared object file: No such file or directory
> [UML]#

This seems a problem in the root filesystem you are using. Maybe you can fix 
it with its package manager, maybe not easily. (Obviously there's nothing 
related to UML specifically here).
If you are lucky, a simple "ldconfig" will solve the problem.

> I brought up the UML using these options -
> ./linux mem=128M ubd0=root_fs con0=fd:0,fd:1 con=xterm
> eth0=tuntap,,,192.168.0.254
>
> Any help will be greatly appreciated.
>
> Thanks,
> KM
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> User-mode-linux-user mailing list
> User-mode-linux-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user



-- 
Inform me of my mistakes, so I can add them to my list!
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to