Wait a moment…
OpenWRTs "DHCP Client" mode doesn't try to re-gain the IP address the interface had previously when you do a reboot (or `service network restart`)?!
@zhenech Though, is it really expected of a DHCP client to try and get a previously assigned IP? I always assumed only the server coordinates that.
@bastilian Well, a client can ask, the server doesn't have to allow that request :)
@zhenech no permanent memory to save the information?
@ascherbaum plenty of it, if it would just use it…
@zhenech Wouldn't this information be stored in ram, not on disk...
@purpleidea Sure, but it *can* be stored on disk to survive restarts. NM does that:
# ls /var/lib/NetworkManager/ -alh
total 116K
-rw-r--r--. 1 root root 61 Dec 3 10:28 internal-06720a3a-2bf4-433c-ae51-db957b665143-wlp0s20f3.lease
-rw-r--r--. 1 root root 59 Jul 14 13:05 internal-16565592-b3d2-40d6-ad89-fe6c7f92e0c7-wlp0s20f3.lease
-rw-r--r--. 1 root root 61 Jul 15 14:15 internal-17a33364-3a95-40a5-8d81-d81e8301143f-wlp0s20f3.lease
…
@zhenech TIL that NM does that thanks!
- replies
- 1
- announces
- 0
- likes
- 1
@purpleidea @wouter well, I tried running FreeBSD for this setup (which still uses dhclient, and such an ancient one that it can't do v6), but after hitting a second kernel bug (the first one was easy enough to patch) I decided that's not the base I want to build the connectivity for our offices on.
@zhenech @wouter Wait, are you looking for a router platform? I have an #mgmtconfig module that does all the setup and management for one. Want to try it?
@purpleidea No :)