Welcome, Guest. Please login or register.
Did you miss your activation email?
Saturday 23 November 2024, 06:49:44 am

Login with username, password and session length

Visit the Official Endian Reference Manual  HERE
14258 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  Reconfiguring Network Ports Via Shell
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Reconfiguring Network Ports Via Shell  (Read 12237 times)
Tamar
Jr. Member
*
Offline Offline

Posts: 1


« 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
Logged
dda
Sr. Member
****
Offline Offline

Posts: 227


« Reply #1 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.
Logged
mrkroket
Hero Member
*****
Offline Offline

Posts: 495


« Reply #2 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.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.063 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com