Re: How to start 2 or more VMs
Ganis Zulfa Santoso <[email protected]>
| Newsgroups | gmane.comp.micro-kernel.l4.devel |
|---|---|
| Message-ID | <CABCbtKyDvmH6=NxoH_4_HVuArF6h3vLyO_osRPxX_2m0Nz0k=A@mail.gmail.com> |
Hi all, Regarding this, i have few more questions: A. How to modify /etc/init.d/rcS of each l4linux before running them? B. 2 ramdisk for each l4linux, did you mean the ramdisk-arm.rd in l4re-snapshot/files/ folder? can i just make a copy of it, change the name. and assign it to the second l4linux in l4lx.cfg? Thank you very much. Best regards, Ganis Zulfa Santoso On Thu, Apr 18, 2013 at 5:43 PM, Chao-Jui Chang <[email protected]> wrote: > Hi Ganis Zulfa, > > You need to setup one ethX for each l4linux. > When you start 2 L4Linuxes, you will only see one ethX in current console, > because > you are connected to the second L4Linux not the first one. > It is normal to see only one ethX. > > One way to setup the ip of first L4Linux is to write the init config in > /etc/init.d/rcS. > In this case, you need 2 ramdisk for each L4Linux. > > Here is my config for first L4Linux: > # cat /etc/init.d/rcS > >> #! /bin/sh >> mount -t proc proc /proc >> mount -t devtmpfs devtmpfs /dev >> mkdir /dev/pts >> mount -t devpts devpts /dev/pts >> ifconfig lo up >> ifconfig eth0 192.168.50.1 >> telnetd -l /bin/sh >> exit 0 > > For second L4Linux, just change the ip to 192.168.50.2 > > After 2 L4Linuxes start, you will be in second L4Linux(192.168.50.2) > then, you can telnet 192.168.50.1 to go to another L4Linux. > > Cheers, > Chao-Jui > > > 2013/4/16 Ganis Zulfa Santoso <[email protected]> > >> Hi Chao-Jui, have u figured out a way to do what Adam said? >> >> I followed the instructions from http://wiki.tudos.org/L4Linux/shmnet, >> but I have problems: >> >> A. i ran two l4linux arms but i only found one ethX >> >> B. how do i set up the ip of another l4linux arm? >> >> thanks. >> >> >> Best regards, >> >> >> Ganis Zulfa Santoso >> >> >> On Mon, Apr 8, 2013 at 7:03 AM, Adam Lackorzynski < >> [email protected]> wrote: >> >>> Hi, >>> >>> On Fri Apr 05, 2013 at 13:29:37 +0800, Chao-Jui Chang wrote: >>> > Is it possible to multiplex multiple text-based console? >>> > I want to try to start multiple VMs on ARM board which only provides >>> serial >>> > console. >>> >>> You can connect two L4Linuxes using a l4shmnet-based local network >>> connection, so you can go from one to the other via e.g. telnet or ssh. >>> >>> >>> Adam >>> -- >>> Adam [email protected] >>> Lackorzynski http://os.inf.tu-dresden.de/~adam/ >>> >>> _______________________________________________ >>> l4-hackers mailing list >>> [email protected] >>> http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers >>> >> >> > _______________________________________________ l4-hackers mailing list [email protected] http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers