Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Headless and offline!
-
- Posts: 7
- Joined: 2017-07-24 01:06
Headless and offline!
Hi i am running debian 9 on a headless machine. It has a static IP never have any issues with that. Rebooting router causes no issues. But my isp have gone down twice in the last month when the internet comes back on. All my devices work except my server that stays offline. Tried rebooting router to see if that was the problem. The only fix is to reboot the server. Can't connect with it in anyway when it's offline so can't check anything
Re: Headless and offline!
I previously installed a program ifplugd. It may hep you.Clivetimmins wrote:But my isp have gone down twice in the last month when the internet comes back on. All my devices work except my server that stays offline.
ThinkPad E14: Arch, Debian Stable
GUI: Xfce
For new: Try MX Linux, Linux Mint; later join Debian Stable
GUI: Xfce
For new: Try MX Linux, Linux Mint; later join Debian Stable
Re: Headless and offline!
If the Internet goes down then the LAN connection is likely still alive. On the headless computer install openssh-server and on another comp install openssh-client. (check names of these packages) Then when the server loses its Internet connection and comes back on, and/or after rebooting the router, open a terminal and ssh into the server
ssh <username>@xxx.xxx.xxx.xxx
and restart networking using the command:
/etc/init.d/networking restart
or
service networking restart
May need to be root or sudo.
ssh <username>@xxx.xxx.xxx.xxx
and restart networking using the command:
/etc/init.d/networking restart
or
service networking restart
May need to be root or sudo.
Re: Headless and offline!
If this helps, you may put network restart command in cronjob, at intervals required.TonyT wrote:...
ThinkPad E14: Arch, Debian Stable
GUI: Xfce
For new: Try MX Linux, Linux Mint; later join Debian Stable
GUI: Xfce
For new: Try MX Linux, Linux Mint; later join Debian Stable
Re: Headless and offline!
Also consider a script which pings a server on the internet and if no response then tries to reset.
-
- Posts: 7
- Joined: 2017-07-24 01:06
Re: Headless and offline!
Ifplugd seems like a good idea. Hopefully it will work even if the cable isn't physically removed. Will try that and simulate a internet failure. The LAN disconnects as well as WAN. Can't ssh to it even locally, in the router setup it won't even show a connection after the failure. (The newest superhub from VM) it's mostly a cloud server with file sizes of up to 35Gb I wouldn't want a cron job resetting the adapter halfway into a 3 hour transfer. I like the ping idea. I could ping my 2 offsite servers. And OR the result to make sure it's down and not the other site down lol.
Thank you all for your replies they are appreciated. It seemed impossible to google that wuestion
Thank you all for your replies they are appreciated. It seemed impossible to google that wuestion
Re: Headless and offline!
No router I have ever used or setup for clients does that. The LAN should remain ON even if the WAN connection goes OFF. Hunt around the router settings to see if can change that behavior, else get a better router. If stuck using an ISP provided router, such as FIOS router-modems, you can put the ISP device in bridge mode and use your own better router. It's also possible that the existing router has gone bad, the LAN should always remain ON unless the power goes out.The LAN disconnects as well as WAN.
-
- Posts: 7
- Joined: 2017-07-24 01:06
Re: Headless and offline!
I have a few always online devices that have no problems with this. It's only a problem with the debian machine. So must be a link there. It is currently in DMZ maybe that causes a issue?. Adding a second router that can handle my 350mps connection would a expensive fix Tbh. Thank you for your repplies