Mint won't automatically re-connect to internet if it goes down then comes back

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
gene0915
Level 3
Level 3
Posts: 102
Joined: Sun Oct 26, 2014 7:52 pm

Mint won't automatically re-connect to internet if it goes down then comes back

Post by gene0915 » Fri Feb 23, 2018 2:23 pm

Using 18.3 Cinnamon

I have this weird problem. I have multiple computers in my house. Some are wired, some are wireless. A mixture of Linux Mint and Windows. If my internet ever goes out (or I need to reboot my router), when the internet comes back, Mint won't automatically reconnect like my Windows boxes do. I have to bounce the Mint boxes to get them back online.

Poking around on the internet, I found these commands (guessing this will save me from a reboot):

dhcpcd -k (to kill DHCP) then dhcpcd (without the -k) to have my system grab another IP or simply restarting the network service (service network restart).

Is this normal behavior for Mint or -should- it be reconnecting by itself when the internet comes back up?

User avatar
Pjotr
Level 20
Level 20
Posts: 10206
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Mint won't automatically re-connect to internet if it goes down then comes back

Post by Pjotr » Fri Feb 23, 2018 3:18 pm

It should reconnect automatically: this isn't normal.

Please generate an overview of your system like this:

- Launch a terminal window (this is how to launch a terminal window);

- make the terminal window full screen, to avoid chopped lines;

- copy/paste this command into the terminal:

Code: Select all

inxi -Fxz
(if you type: the letter F is a capital letter)

- Press Enter.

- Copy/paste the output in your next message.
Tip: 10 things to do after installing Linux Mint 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

gene0915
Level 3
Level 3
Posts: 102
Joined: Sun Oct 26, 2014 7:52 pm

Re: Mint won't automatically re-connect to internet if it goes down then comes back

Post by gene0915 » Fri Feb 23, 2018 5:18 pm

Pjotr wrote:
Fri Feb 23, 2018 3:18 pm
It should reconnect automatically: this isn't normal.

Please generate an overview of your system like this:

- Launch a terminal window (this is how to launch a terminal window);

- make the terminal window full screen, to avoid chopped lines;

- copy/paste this command into the terminal:

Code: Select all

inxi -Fxz
(if you type: the letter F is a capital letter)

- Press Enter.

- Copy/paste the output in your next message.
Attaching a chunk of my syslog file from when the weird network problem was going on.

Code: Select all

System:    Host: server-pc Kernel: 4.13.0-36-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18.3 Sylvia
Machine:   System: Gigabyte product: Z170X-UD5 v: Default string
           Mobo: Gigabyte model: Z170X-UD5-CF v: x.x
           Bios: American Megatrends v: F23a date: 06/30/2017
CPU:       Quad core Intel Core i7-7700K (-HT-MCP-) cache: 8192 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 33600
           clock speeds: max: 4500 MHz 1: 4200 MHz 2: 4200 MHz 3: 4200 MHz
           4: 4200 MHz 5: 4200 MHz 6: 4200 MHz 7: 4200 MHz 8: 4200 MHz
Graphics:  Card: Intel Device 5912 bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1440x900@59.89hz
           GLX Renderer: Mesa DRI Intel HD Graphics 630 (Kaby Lake GT2)
           GLX Version: 3.0 Mesa 17.2.8 Direct Rendering: Yes
Audio:     Card Intel Sunrise Point-H HD Audio
           driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.13.0-36-generic
Network:   Card-1: Intel Ethernet Connection (2) I219-V
           driver: e1000e v: 3.2.6-k bus-ID: 00:1f.6
           IF: enp0s31f6 state: down mac: <filter>
           Card-2: Intel I211 Gigabit Network Connection
           driver: igb v: 5.4.0-k port: d000 bus-ID: 0c:00.0
           IF: enp12s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 80015.7GB (46.3% used)
           ID-1: /dev/sda model: WDC_WD80EFAX size: 8001.6GB
           ID-2: /dev/sdg model: WDC_WD80EFAX size: 8001.6GB
           ID-3: /dev/sdl model: WDC_WD80EFAX size: 8001.6GB
           ID-4: /dev/sdb model: WDC_WD80EFZX size: 8001.6GB
           ID-5: /dev/sdr model: Samsung_SSD_850 size: 256.1GB
           ID-6: /dev/sds model: Samsung_SSD_840 size: 128.0GB
           ID-7: /dev/sde model: HGST_HDN724040AL size: 4000.8GB
           ID-8: /dev/sdo model: HGST_HDN724040AL size: 4000.8GB
           ID-9: /dev/sdj model: HGST_HDN724040AL size: 4000.8GB
           ID-10: /dev/sdf model: HGST_HDN724040AL size: 4000.8GB
           ID-11: /dev/sdk model: HGST_HDN724040AL size: 4000.8GB
           ID-12: /dev/sdi model: TOSHIBA_HDWE140 size: 4000.8GB
           ID-13: /dev/sdc model: TOSHIBA_HDWQ140 size: 4000.8GB
           ID-14: /dev/sdm model: TOSHIBA_HDWQ140 size: 4000.8GB
           ID-15: /dev/sdd model: HGST_HDN724040AL size: 4000.8GB
           ID-16: /dev/sdh model: HGST_HDN724040AL size: 4000.8GB
           ID-17: /dev/sdq model: TOSHIBA_HDWE140 size: 4000.8GB
           ID-18: /dev/sdp model: HGST_HMS5C4040AL size: 4000.8GB
           ID-19: /dev/sdn model: HGST_HMS5C4040AL size: 4000.8GB
Partition: ID-1: / size: 235G used: 23G (10%) fs: xfs dev: /dev/sdr1
           ID-2: swap-1 size: 4.10GB used: 0.00GB (0%) fs: swap dev: /dev/sdr2
RAID:      Device-1: /dev/md0 - active components: online: sdc[8] sdo[0] sdf[6] sdn[11] sdm[7] sdi[10] sdp[4] sdd[2] sde[5] sdh[9] sdk[3] sdj[1] spare: sdq[12]
           Info: raid: 6 report: 12/12 blocks: 39068871680 chunk size: 512k bitmap: true
           Device-2: /dev/md127 - active components: online: sdl[2] sdg[0] sdb[1] sda[4]
           Info: raid: 5 report: 4/4 blocks: 23441685504 chunk size: 512k bitmap: true
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 300 Uptime: 8:22 Memory: 2914.6/15923.0MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 
Attachments
syslog.txt.tar.gz
(3.22 KiB) Downloaded 13 times

User avatar
Pjotr
Level 20
Level 20
Posts: 10206
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Mint won't automatically re-connect to internet if it goes down then comes back

Post by Pjotr » Fri Feb 23, 2018 5:48 pm

You might try this: temporarily, select the most aggressive update policy (Update Manager - panel: Edit - Update policy) and install all previously withheld level 3 and 4 updates that show up. Then reboot.
Tip: 10 things to do after installing Linux Mint 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

gene0915
Level 3
Level 3
Posts: 102
Joined: Sun Oct 26, 2014 7:52 pm

Re: Mint won't automatically re-connect to internet if it goes down then comes back

Post by gene0915 » Fri Feb 23, 2018 8:26 pm

Pjotr wrote:
Fri Feb 23, 2018 5:48 pm
You might try this: temporarily, select the most aggressive update policy (Update Manager - panel: Edit - Update policy) and install all previously withheld level 3 and 4 updates that show up. Then reboot.
3 and 4 were already selected. I'm a bit adventurous so I'm already applying 1,2,3 and 4 level updates as they become available.

Ricker
Level 2
Level 2
Posts: 61
Joined: Mon Jun 05, 2017 1:26 pm
Location: USA

Re: Mint won't automatically re-connect to internet if it goes down then comes back

Post by Ricker » Sat Mar 10, 2018 6:35 pm

I just click on the Enable Wi-Fi twice (disable / enable) and it will reconnect to the Internet.... :D

User avatar
Spearmint2
Level 15
Level 15
Posts: 5705
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Mint won't automatically re-connect to internet if it goes down then comes back

Post by Spearmint2 » Sat Mar 10, 2018 10:17 pm

Go into Internet Connections, see if you have it checked for "connect to this when available" or similar language.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

gene0915
Level 3
Level 3
Posts: 102
Joined: Sun Oct 26, 2014 7:52 pm

Re: Mint won't automatically re-connect to internet if it goes down then comes back

Post by gene0915 » Sun Mar 11, 2018 10:50 am

Spearmint2 wrote:
Sat Mar 10, 2018 10:17 pm
Go into Internet Connections, see if you have it checked for "connect to this when available" or similar language.
Yes, that option is checked.

Post Reply

Return to “Newbie Questions”