[Pkg-uml-devel] running rootstrap
Stefano Melchior
stefano.melchior at openlabs.it
Tue Nov 14 15:16:34 CET 2006
On Tue, Nov 14, 2006 at 03:19:25PM +0200, shaulka at 012.net.il wrote:
Dear,
to run rootstrap I usually use the following:
interface=eth0
tap0
host=10.0.1.100
uml=10.0.1.101
netmask=255.255.255.0
gateway=10.0.1.11
nameserver=xxx.xxx.xxx.xxx
from my LAN connection to allow uml instance to connect to the LAN itself
and to internet
I don't need a gateway re-definition
Can you try with your network data?
SteX
> 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.
I never tried it. let me check!
>
>
> 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
found these warning, but they don't prevent you to tun rootstrap
successfully
SteX
--
Stefano Melchior, GPG key = D52DF829 - <stefano.melchior at openlabs.it>
http://www.openlabs.it/~stex -- <stefano.melchior at openlabs.it>
http://etinarcadiaego.dyndns.org -- <ste at etinarcadiaego.dyndns.org>
Skype ID "stefanomelchior"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-uml-devel/attachments/20061114/a361229a/attachment.pgp
More information about the Pkg-uml-devel
mailing list