laptop assigned static address still loses connection once a day
by LenHoff from LinuxQuestions.org on (#5H257)
This is an older laptop that never lost inet connection (via Linksys WRT54GL) until switching from Windows to Mint (19.3_32 bit).
On Mint, & set to use DHCP, it started losing connection about the same time every day.
I assumed that was related to the router lease expire times are set at default "0" (means 1 day). Restarting Mint would get a connection & keep it - until the next afternoon.
Years ago - under Windows, I set a static IP on wireless HP printer, so devices could always find it. It's worked fine since & I've never had to restart the printer because of lost connection w/ same router.
Devices using DHCP or static IP - losing connection (or not re-assigned an IPa after lease expires) seems common. Suggested work around is often to assign static IPa's. I did that on the laptop, but still loses connection every day- usually late afternoon. Restarting Mint gets connection back (same static address I assigned).
This Linksys router doesn't have feature to reserve DHCP addresses. But the address being given to another device isn't the issue.
There may be a "bug" - somewhere - that even w/ a static address, expiring address leases somehow affects it.
I've read lots of fixes, though most are for DHCP problems. I've tried several suggestions that seemed to apply - none worked. Many fixes don't work for others, either.
Static address devices don't show up in this router's UI, but it can ping static address devices & shows no problems - no lost packets, etc.
Some screens below, showing Network Connections settings for static address.
One or 2 settings I'm not sure about, but tutorials I found didn't explain them well or at all.
Attached Thumbnails


On Mint, & set to use DHCP, it started losing connection about the same time every day.
I assumed that was related to the router lease expire times are set at default "0" (means 1 day). Restarting Mint would get a connection & keep it - until the next afternoon.
Years ago - under Windows, I set a static IP on wireless HP printer, so devices could always find it. It's worked fine since & I've never had to restart the printer because of lost connection w/ same router.
Devices using DHCP or static IP - losing connection (or not re-assigned an IPa after lease expires) seems common. Suggested work around is often to assign static IPa's. I did that on the laptop, but still loses connection every day- usually late afternoon. Restarting Mint gets connection back (same static address I assigned).
This Linksys router doesn't have feature to reserve DHCP addresses. But the address being given to another device isn't the issue.
There may be a "bug" - somewhere - that even w/ a static address, expiring address leases somehow affects it.
I've read lots of fixes, though most are for DHCP problems. I've tried several suggestions that seemed to apply - none worked. Many fixes don't work for others, either.
Static address devices don't show up in this router's UI, but it can ping static address devices & shows no problems - no lost packets, etc.
Some screens below, showing Network Connections settings for static address.
One or 2 settings I'm not sure about, but tutorials I found didn't explain them well or at all.
Attached Thumbnails