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
CLI in Linux Ubuntu guest
Moderator: mike
-
- Posts: 5080
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: CLI in Linux Ubuntu guest
on the same link is prepared ready to go image for eve...
UD
UD
-
- Posts: 7
- Joined: Sun Apr 02, 2017 2:38 pm
Re: CLI in Linux Ubuntu guest
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
-
- Posts: 5080
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: CLI in Linux Ubuntu guest
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
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
-
- Posts: 7
- Joined: Sun Apr 02, 2017 2:38 pm
Re: CLI in Linux Ubuntu guest
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
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
-
- Posts: 7
- Joined: Sun Apr 02, 2017 2:38 pm
Re: CLI in Linux Ubuntu guest
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
-
- Posts: 5080
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: CLI in Linux Ubuntu guest
we have prepared Ubuntu server with this method...
https://mega.nz/#F!y5YCwZCA!42_S__9wwPVO0zHIfC4xow
16.04.4 is there as well
UD
https://mega.nz/#F!y5YCwZCA!42_S__9wwPVO0zHIfC4xow
16.04.4 is there as well
UD