I'm having trouble getting the TRB140 act as a DHCP client on the LAN interface. Starting from Factory reset, and accessing the GUI from the LAN side, I've done these changes in Network -> LAN -> Edit LAN settings:
- Change Protocol from Static address to DHCP client and click Switch Protocol.
- Click Save & apply.
- The TRB140 stops responding on 192.168.2.1 (expected I guess)
There is no DHCP request sent from the TRB140 to our DHCP server, so it does not set an IP address and therefore remains inaccessible until factory reset. When doing this over the WAN interface I can also confirm that there is no IP address set:
root@Teltonika-TRB140:~# ifconfig
br-lan Link encap:Ethernet HWaddr 00:1E:42:34:8B:C5
inet6 addr: fe80::21e:42ff:fe34:8bc5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:420 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:35332 (34.5 KiB)
eth0 Link encap:Ethernet HWaddr 00:1E:42:34:8B:C5
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:424 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:60 (60.0 B) TX bytes:41600 (40.6 KiB)
Interrupt:108
The distro is missing dhclient so I'm unsure how to renew a lease other than running ifdown and ifup on eth0 (which has no effect).
What do I need to do to get this to work as I expect?