Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
xandergomez
New Contributor

Configure IP for foritclient ems

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

Configuring the VM IP address by modifying Netplan configuration files

To configure the VM IP address by modifying Netplan configuration files:
  1. On the VM, locate the Netplan configuration files. Ubuntu stores Netplan configuration files in /etc/netplan. The files typically have a .yaml extension, such as 01-netcfg.yaml or 50-cloud-init.yaml. Run the following to list the files:
    ls /etc/netplan/
    1. Use a text editor such as nano or vim to open the yaml file for editing:
      sudo nano /etc/netplan/01-netcfg.yaml
1 Solution
xandergomez
New Contributor

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.

View solution in original post

11 REPLIES 11
xandergomez

I don't think you are understanding. I don't have regular linux commands available to me.  "ip a" is not available in the list of commands. See here:

Commands for EMS virtual appliance template installation | FortiClient 7.4.4 | Fortinet Document Lib...

 

 

xandergomez
New Contributor

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.

Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors