Hello. I am standing up a FortiClient #EMS ppliance for the first time, and I have somewhat limited experience with Ubuntu. Our platform is Hyper-V. The vhdx was properly installed and booted. I was able to login with user 'ems' and successfully changed the password. So far so good. However, it seems to me that after login, I am now in the 'bash shell', and the instructions for configuring an IP, seem to be based on being in the terminal. None of the commands available in bash seem to allow me to do this. And the instructions here don't work, as they are for terminal.
I tried "execute ls /etc/netplan" but it told me "folder /etc/netplan is not accessible"
Can you please help me configure IP? I imagine once that's done, we can ssh into the terminal or maybe even a webpage?
Deploying EMS as a VM image | FortiClient 7.4.4 | Fortinet Document Library
ls /etc/netplan/
sudo nano /etc/netplan/01-netcfg.yaml
Solved! Go to Solution.
I figured out how to set the ip myself. I found the adapter name by using:
system get info
The adapter name was eth0
I used this command to set the ip
system set network ip --adapter eth0 --ip x.x.x.x/24 --gateway x.x.x.x -- dns x.x.x.x
it worked. closing ticket and accepting my own solution.
Hi Xander
Follow the procedure described in this tech tip.
Thank you for the quick response. Again, it looks like the immediate login for user 'ems' does not bring me to the needed terminal line in order to run sudo. I get $> when I login instead of ems@fcems-server.
I'm sure I'm doing something dumb. Is there a simple command I can put here, that will bring me to the needed 'terminal prompt' ems@fcems-server>
Try use sudo for the privileged commands like described in the tech tip. It should work.
it does not.
In the emscli shell $> I have system set network ip as an available command. However, I need the adapter name and have no way of 'listing' or 'showing that' from the other available emscli commands
I tried using system set network ip --adapter ethernets.enps3s0 --ip x.x.x.x/24 --gateway x.x.x.x -- dns x.x.x.x
However it told me "adapter ethernets.eps3s0 not found on host"
That is the name of the adapter in the documentation that was provided above. I cannot find a name to list the adapters that are currently present.
Can anyone help me here?
Created on ‎09-11-2025 10:50 AM Edited on ‎09-11-2025 10:53 AM
try ip addr show , in oder to give you the nic name or ip a .
if the altname enp3s0 ( beware of the typing ) doesnt work try the ensXXX
regular linux commands DO NOT work in the vm template.
See here:
"ip a" is the Linux command to list interfaces.
User | Count |
---|---|
2570 | |
1364 | |
796 | |
651 | |
455 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.