LAN in Ubuntu server is not reconnected after rebooting modem
Clash Royale CLAN TAG#URR8PPP
I have a computer with some home automation stuff connected to the router via LAN, and I only access the computer through SSH, samba shares, and a web interface that it's hosting.
Whenever I power cycle the router, the computer will never reappear on the network, not until I reboot the computer. Since I don't have a keyboard or other peripherals for it, and since I cannot access it through SSH when it's not networked, that means physically pulling the power plug.
Is there a reason why it doesn't automatically reconnect? And is that something I can fix?
Cheers!
Computer: Fujitsu Esprimo q520
OS: Ubuntu server 18.04 LTE
Router: Netgear R7000
EDIT:
DHCP set up in router to give static IP to the computer.
The computer is connected by cable, not wifi.
network-interface lan
add a comment |
I have a computer with some home automation stuff connected to the router via LAN, and I only access the computer through SSH, samba shares, and a web interface that it's hosting.
Whenever I power cycle the router, the computer will never reappear on the network, not until I reboot the computer. Since I don't have a keyboard or other peripherals for it, and since I cannot access it through SSH when it's not networked, that means physically pulling the power plug.
Is there a reason why it doesn't automatically reconnect? And is that something I can fix?
Cheers!
Computer: Fujitsu Esprimo q520
OS: Ubuntu server 18.04 LTE
Router: Netgear R7000
EDIT:
DHCP set up in router to give static IP to the computer.
The computer is connected by cable, not wifi.
network-interface lan
3
Does the computer have a static IP address or it gets it via DHCP? Can you share some more info on your setup?
– Mr Shunz
Dec 21 '18 at 9:22
The system will have logs related to the loss of connectivity. You have to study those logs after the forced reboot (hoping this didn't lose them).
– A.B
Dec 21 '18 at 13:30
Sure, it gets the IP from the router DHCP. I set i statically in router setup.
– Aephir
Dec 21 '18 at 14:16
You mean logs on the Ubuntu computer? Is that/var/logs/syslog
?
– Aephir
Dec 21 '18 at 14:20
Connected with cable.
– Aephir
Dec 21 '18 at 23:00
add a comment |
I have a computer with some home automation stuff connected to the router via LAN, and I only access the computer through SSH, samba shares, and a web interface that it's hosting.
Whenever I power cycle the router, the computer will never reappear on the network, not until I reboot the computer. Since I don't have a keyboard or other peripherals for it, and since I cannot access it through SSH when it's not networked, that means physically pulling the power plug.
Is there a reason why it doesn't automatically reconnect? And is that something I can fix?
Cheers!
Computer: Fujitsu Esprimo q520
OS: Ubuntu server 18.04 LTE
Router: Netgear R7000
EDIT:
DHCP set up in router to give static IP to the computer.
The computer is connected by cable, not wifi.
network-interface lan
I have a computer with some home automation stuff connected to the router via LAN, and I only access the computer through SSH, samba shares, and a web interface that it's hosting.
Whenever I power cycle the router, the computer will never reappear on the network, not until I reboot the computer. Since I don't have a keyboard or other peripherals for it, and since I cannot access it through SSH when it's not networked, that means physically pulling the power plug.
Is there a reason why it doesn't automatically reconnect? And is that something I can fix?
Cheers!
Computer: Fujitsu Esprimo q520
OS: Ubuntu server 18.04 LTE
Router: Netgear R7000
EDIT:
DHCP set up in router to give static IP to the computer.
The computer is connected by cable, not wifi.
network-interface lan
network-interface lan
edited Dec 21 '18 at 23:02
asked Dec 21 '18 at 8:44
Aephir
62
62
3
Does the computer have a static IP address or it gets it via DHCP? Can you share some more info on your setup?
– Mr Shunz
Dec 21 '18 at 9:22
The system will have logs related to the loss of connectivity. You have to study those logs after the forced reboot (hoping this didn't lose them).
– A.B
Dec 21 '18 at 13:30
Sure, it gets the IP from the router DHCP. I set i statically in router setup.
– Aephir
Dec 21 '18 at 14:16
You mean logs on the Ubuntu computer? Is that/var/logs/syslog
?
– Aephir
Dec 21 '18 at 14:20
Connected with cable.
– Aephir
Dec 21 '18 at 23:00
add a comment |
3
Does the computer have a static IP address or it gets it via DHCP? Can you share some more info on your setup?
– Mr Shunz
Dec 21 '18 at 9:22
The system will have logs related to the loss of connectivity. You have to study those logs after the forced reboot (hoping this didn't lose them).
– A.B
Dec 21 '18 at 13:30
Sure, it gets the IP from the router DHCP. I set i statically in router setup.
– Aephir
Dec 21 '18 at 14:16
You mean logs on the Ubuntu computer? Is that/var/logs/syslog
?
– Aephir
Dec 21 '18 at 14:20
Connected with cable.
– Aephir
Dec 21 '18 at 23:00
3
3
Does the computer have a static IP address or it gets it via DHCP? Can you share some more info on your setup?
– Mr Shunz
Dec 21 '18 at 9:22
Does the computer have a static IP address or it gets it via DHCP? Can you share some more info on your setup?
– Mr Shunz
Dec 21 '18 at 9:22
The system will have logs related to the loss of connectivity. You have to study those logs after the forced reboot (hoping this didn't lose them).
– A.B
Dec 21 '18 at 13:30
The system will have logs related to the loss of connectivity. You have to study those logs after the forced reboot (hoping this didn't lose them).
– A.B
Dec 21 '18 at 13:30
Sure, it gets the IP from the router DHCP. I set i statically in router setup.
– Aephir
Dec 21 '18 at 14:16
Sure, it gets the IP from the router DHCP. I set i statically in router setup.
– Aephir
Dec 21 '18 at 14:16
You mean logs on the Ubuntu computer? Is that
/var/logs/syslog
?– Aephir
Dec 21 '18 at 14:20
You mean logs on the Ubuntu computer? Is that
/var/logs/syslog
?– Aephir
Dec 21 '18 at 14:20
Connected with cable.
– Aephir
Dec 21 '18 at 23:00
Connected with cable.
– Aephir
Dec 21 '18 at 23:00
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f490281%2flan-in-ubuntu-server-is-not-reconnected-after-rebooting-modem%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f490281%2flan-in-ubuntu-server-is-not-reconnected-after-rebooting-modem%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
3
Does the computer have a static IP address or it gets it via DHCP? Can you share some more info on your setup?
– Mr Shunz
Dec 21 '18 at 9:22
The system will have logs related to the loss of connectivity. You have to study those logs after the forced reboot (hoping this didn't lose them).
– A.B
Dec 21 '18 at 13:30
Sure, it gets the IP from the router DHCP. I set i statically in router setup.
– Aephir
Dec 21 '18 at 14:16
You mean logs on the Ubuntu computer? Is that
/var/logs/syslog
?– Aephir
Dec 21 '18 at 14:20
Connected with cable.
– Aephir
Dec 21 '18 at 23:00