EFW Support

Support => General Support => Topic started by: Tamar on Wednesday 06 May 2015, 02:24:47 am



Title: Reconfiguring Network Ports Via Shell
Post by: Tamar on Wednesday 06 May 2015, 02:24:47 am
Hello

We have a small issue with our endian.

We have set up a new site with new hardware and have this all working perfectly. However, we want to get a few proxy settings and VPN users from the old hardware. Heres the problem, we had 2 USB-Ethernet network adapters connected as the Red and Green Zone. Both of them have been misplaced. This means i cant get into the device to access these settings.

We have access to the command line and are able to log in however i have limited knowledge about linux command line. I have two new USB-Ethernet network adapter plugged in, is there a way to configure these adapters via the shell to regain GUI access?

Regards


Title: Re: Reconfiguring Network Ports Via Shell
Post by: dda on Wednesday 06 May 2015, 03:58:13 am
you will have to use ifconfig.  Look up the command on google I cant remember the details right now.


Title: Re: Reconfiguring Network Ports Via Shell
Post by: mrkroket on Saturday 23 May 2015, 12:20:23 am
Endian store IP configs on /var/efw/ethernet/settings
Edit that file ( nano /var/efw/ethernet/settings , using Ctrl+O to save) and then do a reboot.
If you are not used to linux, make a copy first: (cp -p /var/efw/ethernet/settings /var/efw/ethernet/settings.bck)

About what interfaces are connected to what zone:
/var/efw/ethernet/br0  GREEN zone
/var/efw/ethernet/br1  ORANGE zone
/var/efw/ethernet/br2  BLUE zone
It's a list of interfaces connected to each zone. Each interface on a new line.