[Pkg-uml-devel] running rootstrap

shaulka at 012.net.il shaulka at 012.net.il
Tue Nov 14 14:19:25 CET 2006


1.
  My knowlege in networking is poor. I am still fighting with rootstrap to
get a usable network. Apparently, at least for some configuration of the
network module, I must have the following patch: 

--- /usr/lib/rootstrap/modules/network  2006-09-02 21:37:25.000000000 +0300
+++ network     2006-11-14 02:56:25.000000000 +0200
@@ -12,6 +12,7 @@
     ifconfig $interface $uml netmask $netmask

     if [ -n "$gateway" ]; then
+        route add -host $gateway dev $interface
         route add default gw $gateway
     fi
 fi

  Without it,  I get an error, probably   

     SIOCADDRT: Network is unreachable

  The patch also looks to me consistent with the `UML interface setup'
section of http://user-mode-linux.sourceforge.net/networking.html. That
section also claims that the additional route command is required only
in some cases. My experience might suggests that It is always required
if $netmask is 255.255.255.255.


2.
  I can't run rootstrap in the background (rootstrap &). It  stops and
refuses to continue until I issue a fg command.


3.
  I got the following  messages:

    line_ioctl: tty0: unknown ioctl: 0x541e
    line_ioctl: tty0: unknown ioctl: 0x5603
    line_ioctl: tty0: unknown ioctl: 0x541e
    line_ioctl: tty0: unknown ioctl: 0x5603





More information about the Pkg-uml-devel mailing list