•
lo
•
wlan0
Network configuration and default setup
The following commands can be used to configure different network interfaces on the system with Wind River Linux on it.
Network configuration on
Wind River Linux IDP 3.1
environment can be performed through the
LuCi
web interface.
NOTE: The LuCi web interface supported in the default OS image.
The user can reach the LuCi web interface on the system using the
https://< IP-Address-of-eth0-interface-of-the-gateway >
following URL from a different system with a web browser and the system should be on the same network or connected to the
system’s network through proxy.
The default login credentials to the LuCi web interface are
root/root
. The IP address of the
eth0
network port can be identified
by performing the
ifconfig
command on the Linux terminal.
Network interface configuration
The Edge Gateway contains the following default network configurations:
•
br-lan
— Bridged LAN Interface
•
eth0
— Wired LAN interface 0
•
eth1
— Wired LAN Interface 1
•
lo
— Loop back interface
•
wlan0
— Wireless LAN (or Wi-Fi) interface mode
eth0
— Wired LAN Interface. By default
eth0
interface is configured to be DHCP client interface. When this ethernet port is
connected to a DHCP server, this interface obtains an IP address from the DHCP server.
Run the
root@WR-IDP-xxxx:~# ifconfig eth0
command to identify the IP address. The network IP interface information is
available under
inet addr: x.x.x.x
where x.x.x.x is the IP address of the system.
eth1
— Wired LAN interface. The default configuration for the second wired ethernet interface
eth1
serves as DHCP server and
provides IP addresses to any device requesting IP address from the system. The devices requesting DHCP addresses get IP
addresses in the range of
192.168.1.x
subnet. The default DHCP server is at
192.168.1.1
address. For reconfiguring this
network interface by logging in to the
LuCi
web interface.
Wlan0
— Wireless LAN or Wi-Fi interface. The default configuration for the
WLAN0
interface on the system with Wind River Linux
is in access point (AP) mode. The mode can be changed to client mode through
LuCi
web interface.
Br-lan
— The bridged LAN interface. By default, the bridge interface is configured to bridge ethernet
eth1
and the
WLAN0
interface, so any devices that would like to connect to the system in WiFi mode or through
eth1
wired mode can obtain IP addresses
44