[Netkit.users] netkit inside a fedora Linux Vserver
Massimo Rimondini
rimondin at dia.uniroma3.it
Fri Nov 26 10:38:34 CET 2010
Dear Saverio,
this is rather odd. And I'm afraid the only option to connect to the
virtual machine is ssh.
I think you may perform some more investigation to discover whether the
error can really be ascribed to the uml_switch (for example, you could
try to invoke it by hand using the very same command line used by netkit
- which you can find by using the --print option of vstart).
Regards,
Massimo.
Il 25/11/2010 17.15, ZioPRoTo (Saverio Proto) ha scritto:
>> occurs, you may want to run vstart again with --con0=none.
> This is weird, if I use the --con0=none I get no errors at all, and I
> can see the virtual machine is running with vlist. But how do I get a
> terminal on the machine then ? (see full log at the end of the email)
>
> A solution I found is to use tun/tap:
> vstart pc4 --eth0=tap,172.20.20.2,172.20.20.1 --con0=none --verbose
> and attach with ssh to the virtual machine
> (I did not try yet, but I can ping the machine, now I need to prepare
> a netkit filesystem with ssh enabled)
>
> also I had to modify the manage_tuntap script because there is some
> iptables stuff I cannot do on PlanetLab
>
> any better solution that use ssh and tap ?
>
> Saverio
>
>
>
> [uniroma2_fairvpn a node1 /]$ vstart pc3 --eth0=0 --con0=none --verbose
>
>
> ============= Starting virtual machine "pc3" =============
> Kernel: /home/uniroma2_fairvpn/netkit/kernel/netkit-kernel
> Modules: /home/uniroma2_fairvpn/netkit/kernel/modules
> Memory: 32 MB
> Model fs: /home/uniroma2_fairvpn/netkit/fs/netkit-fs
> Filesystem: //pc3.disk (new)
> Interfaces: eth0 @ 0
> (/home/uniroma2_fairvpn/.netkit/hubs/vhub_uniroma2_fairvpn_0.cnct)
> Hostfs at: /home/uniroma2_fairvpn
>
> Running ==> /home/uniroma2_fairvpn/netkit/bin/uml_switch -hub -unix
> /home/uniroma2_fairvpn/.netkit/hubs/vhub_uniroma2_fairvpn_0.cnct
> </dev/null 2>&1
> Running ==> /home/uniroma2_fairvpn/netkit/kernel/netkit-kernel
> modules=/home/uniroma2_fairvpn/netkit/kernel/modules name=pc3
> title=pc3 umid=pc3 mem=36M
> ubd0=//pc3.disk,/home/uniroma2_fairvpn/netkit/fs/netkit-fs root=98:1
> uml_dir=/home/uniroma2_fairvpn/.netkit/mconsole
> eth0=daemon,,,/home/uniroma2_fairvpn/.netkit/hubs/vhub_uniroma2_fairvpn_0.cnct
> hosthome=/home/uniroma2_fairvpn con0=null con1=null SELINUX_INIT=0
> [uniroma2_fairvpn a node1 /]$ vlist
> USER VHOST PID SIZE INTERFACES
> uniroma2_fairvpn pc2 30435 38556 eth0 @
> uniroma2_fairvpn pc3 31149 38556 eth0 @
>
> Total virtual machines: 2 (you), 2 (all users).
> Total consumed memory: 77112 KB (you), 77112 KB (all users).
> [uniroma2_fairvpn a node1 /]$
> _______________________________________________
> Netkit.users mailing list
> Netkit.users a list.dia.uniroma3.it
> http://list.dia.uniroma3.it/mailman/listinfo/netkit.users
>
More information about the Netkit.users
mailing list