Page 1 of 1

CLI in Linux Ubuntu guest

Posted: Mon Jul 16, 2018 2:24 pm
by mdariuz
Hi everybody,

I'm trying to create an Ubuntu Server 16.04 image with some preload software. I followed the "How To.." guide ( http://www.eve-ng.com/documentation/how ... inux-image) step by step and everything works as a charm till the point that I want to set the serial port for telnet connection instead of VNC. I type the two commands

sed -i 's/GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX="console=ttyS0,115200 console=tty0"/' /etc/default/grub

update-grub

but anything seems to change.

Is it any step that I am not getting?

Thanks in advance for your help

Re: CLI in Linux Ubuntu guest

Posted: Tue Jul 17, 2018 6:14 pm
by Uldis (UD)
on the same link is prepared ready to go image for eve...

UD

Re: CLI in Linux Ubuntu guest

Posted: Wed Jul 18, 2018 8:39 am
by mdariuz
Yes thanks, I've seen those but there no ubuntu server from terminal anymore. So, no one can help? Am I really the only one that want to use ubuntu server from my pc terminal?? LoL

Re: CLI in Linux Ubuntu guest

Posted: Wed Jul 18, 2018 9:54 am
by Uldis (UD)
I dont know what are you doing there but this options for Server 16.04.4 works like charm

11. OPTION: For servers you can set serial console for telnet use instad of vnc.
Warning !!! Use the following command INSIDE the node cli. DO NOT use inside EVE-NG CLI !!!!!

sed -i 's/GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX="console=ttyS0,115200 console=tty0"/' /etc/default/grub

update-grub

after update grub telnet native sessions works like charm

tip instead of reboot node, do stop/start node

UD

Re: CLI in Linux Ubuntu guest

Posted: Wed Jul 18, 2018 10:40 am
by mdariuz
I am using the EVE-NG community edition. Should I change any template setting??

I promise I'm following the instructions step by step but it doesn't work. Whit what Ubuntu image should I work? I'm using the ubuntu 16 server fresh downloaded from ubuntu

Re: CLI in Linux Ubuntu guest

Posted: Wed Jul 18, 2018 10:42 am
by mdariuz
To avoid typing error I have also tried connecting through SSH from my local pc an copy and paste the command but nothing. I shutdown, change the console to telnet, reboot and I have just a black session with the cursor that does't move. No errors, no messages, nothing

Re: CLI in Linux Ubuntu guest

Posted: Wed Jul 18, 2018 9:10 pm
by Uldis (UD)
we have prepared Ubuntu server with this method...
https://mega.nz/#F!y5YCwZCA!42_S__9wwPVO0zHIfC4xow

16.04.4 is there as well

UD