User Tools

Site Tools


wiki:webui:administration:network

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
wiki:webui:administration:network [2020/03/13 15:40]
ghi created
wiki:webui:administration:network [2021/07/09 11:33] (current)
mbi [Ethernet configuration Fixed IP Address]
Line 41: Line 41:
  
 A list of Mobile Network Code and Mobile Country Code can be found [[http://​mcc-mnc.com/​|here]]. A list of Mobile Network Code and Mobile Country Code can be found [[http://​mcc-mnc.com/​|here]].
 +
 +
 +
 +
 +
 +===== Ethernet configuration Fixed IP Address =====
 +
 +If you are using a fixed IP address, it is necessary to add a DNS server manually
 +
 +{{:​images:​fix_ip_address.jpg?​300|}}
 +
 +ConnMan’s LAN Ethernet configuration is done via an editable configuration file ''/​etc/​network/​connman/​lan.config''​. This file is not created by default on the gateway. A configuration file ''/​etc/​network/​connman/​lan.config.example''​ is provided.
 +Once file ''/​etc/​network/​connman/​lan.config''​ is created, relaunch ConnMan to apply the configuration ''/​etc/​init.d/​connman restart''​.
 +
 +By default DHCP is used, there is no default IP address. To use static IP addressing, the field IPv4 can be changed, for example, from
 +
 +''​IPv4 = dhcp''​
 +
 +to
 +
 +''​IPv4 = 192.168.1.0/​24/​192.168.1.1''​
 +
 +Where 192.168.1.0 will be the new IP address of the Wirnet gateway, 24 will be the subnet length (in bits), and 192.168.1.1 will be the default gateway.
 +
 +If DNS resolution is needed, the Nameservers field can be added. Multiple addresses can be used. For example:
 +
 +''​Nameservers = 8.8.8.8,​8.8.4.4''​
 +
 +ConnMan automatically detects the changes and applies them when the configuration file is closed.
 +
wiki/webui/administration/network.1584110452.txt.gz · Last modified: 2020/03/13 15:40 by ghi