0

My computer has a problem where for some reason Linux Mint doesn't start network-manager on startup. To fix this, whenever I restart linux, I have to enter 'sudo service network-manager restart' into the terminal to get internet access. This of course gets annoying! Here are something I have tried:

  • Putting the command in rc.local, which has never worked.

  • following this guide for crontrabs.

  • adding it as a custom command in startup applications: "sudo service network-manager restart"

  • adding custom command in startup applications: "usr/bin/shortcut" that shortcut points to /usr/local/bin/nameoffile I also made both the link and the file owned by root, but for some reason still required sudo password.

I am pretty sure that the problem is when it goes to run the command, it requires the sudo password, which it of course won't get and therefore will not run. I thought that making the file owned by root would make it so that it wouldn't need the sudo password.

edit: I have given the sudo command: "sudo service network-manager restart" no requirement for password, which is a big step, because when I reboot and I log in, a prompt for my sudo password appears, meaning that the code is running on startup.

output of journalctl -u NetworkManager --no-pager -S today:

-- Logs begin at Sat 2021-05-01 10:37:52 CDT, end at Wed 2021-08-11 16:23:31 CDT. --
Aug 11 00:06:22 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628658382.3406] dhcp6 (enp2s0): option dhcp6_domain_search  => 'attlocal.net'
Aug 11 00:06:22 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628658382.3407] dhcp6 (enp2s0): option dhcp6_name_servers   => '2600:1700:8790:a5b0::1'
Aug 11 00:06:22 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628658382.3407] dhcp6 (enp2s0): option ip6_address          => '2600:1700:8790:a5b0::35'
Aug 11 00:06:22 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628658382.3407] dhcp6 (enp2s0): state changed bound -> bound
Aug 11 00:23:55 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628659435.4100] manager: NetworkManager state is now CONNECTED_SITE
Aug 11 00:23:55 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628659435.5638] manager: NetworkManager state is now CONNECTED_GLOBAL
Aug 11 00:36:14 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628660174.4551] dhcp6 (enp2s0): option dhcp6_domain_search  => 'attlocal.net'
Aug 11 00:36:14 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628660174.4552] dhcp6 (enp2s0): option dhcp6_name_servers   => '2600:1700:8790:a5b0::1'
Aug 11 00:36:14 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628660174.4552] dhcp6 (enp2s0): option ip6_address          => '2600:1700:8790:a5b0::35'
Aug 11 00:36:14 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628660174.4552] dhcp6 (enp2s0): state changed bound -> bound
Aug 11 00:54:15 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628661255.4092] manager: NetworkManager state is now CONNECTED_SITE
Aug 11 00:54:15 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628661255.7150] manager: NetworkManager state is now CONNECTED_GLOBAL
Aug 11 00:59:35 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628661575.4093] manager: NetworkManager state is now CONNECTED_SITE
Aug 11 00:59:38 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628661578.4902] manager: NetworkManager state is now CONNECTED_GLOBAL
Aug 11 01:08:11 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628662091.9708] dhcp6 (enp2s0): option dhcp6_domain_search  => 'attlocal.net'
Aug 11 01:08:11 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628662091.9709] dhcp6 (enp2s0): option dhcp6_name_servers   => '2600:1700:8790:a5b0::1'
Aug 11 01:08:11 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628662091.9709] dhcp6 (enp2s0): option ip6_address          => '2600:1700:8790:a5b0::35'
Aug 11 01:08:11 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628662091.9709] dhcp6 (enp2s0): state changed bound -> bound
Aug 11 01:19:58 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628662798.4096] manager: NetworkManager state is now CONNECTED_SITE
Aug 11 01:19:59 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628662799.8585] manager: NetworkManager state is now CONNECTED_GLOBAL
Aug 11 01:35:42 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628663742.3801] dhcp6 (enp2s0): option dhcp6_domain_search  => 'attlocal.net'
Aug 11 01:35:42 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628663742.3802] dhcp6 (enp2s0): option dhcp6_name_servers   => '2600:1700:8790:a5b0::1'
Aug 11 01:35:42 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628663742.3802] dhcp6 (enp2s0): option ip6_address          => '2600:1700:8790:a5b0::35'
Aug 11 01:35:42 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628663742.3802] dhcp6 (enp2s0): state changed bound -> bound
Aug 11 02:04:22 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628665462.3255] dhcp6 (enp2s0): option dhcp6_domain_search  => 'attlocal.net'
Aug 11 02:04:22 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628665462.3256] dhcp6 (enp2s0): option dhcp6_name_servers   => '2600:1700:8790:a5b0::1'
Aug 11 02:04:22 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628665462.3256] dhcp6 (enp2s0): option ip6_address          => '2600:1700:8790:a5b0::35'
Aug 11 02:04:22 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628665462.3256] dhcp6 (enp2s0): state changed bound -> bound
Aug 11 02:35:22 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628667322.3228] dhcp6 (enp2s0): option dhcp6_domain_search  => 'attlocal.net'
Aug 11 02:35:22 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628667322.3229] dhcp6 (enp2s0): option dhcp6_name_servers   => '2600:1700:8790:a5b0::1'
Aug 11 02:35:22 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628667322.3229] dhcp6 (enp2s0): option ip6_address          => '2600:1700:8790:a5b0::35'
Aug 11 02:35:22 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628667322.3229] dhcp6 (enp2s0): state changed bound -> bound
Aug 11 03:08:22 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628669302.3587] dhcp6 (enp2s0): option dhcp6_domain_search  => 'attlocal.net'
Aug 11 03:08:22 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628669302.3587] dhcp6 (enp2s0): option dhcp6_name_servers   => '2600:1700:8790:a5b0::1'
Aug 11 03:08:22 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628669302.3588] dhcp6 (enp2s0): option ip6_address          => '2600:1700:8790:a5b0::35'
Aug 11 03:08:22 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628669302.3588] dhcp6 (enp2s0): state changed bound -> bound
Aug 11 03:35:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628670919.4094] manager: NetworkManager state is now CONNECTED_SITE
Aug 11 03:35:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628670919.6944] manager: NetworkManager state is now CONNECTED_GLOBAL
Aug 11 03:40:26 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628671226.7520] dhcp6 (enp2s0): option dhcp6_domain_search  => 'attlocal.net'
Aug 11 03:40:26 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628671226.7521] dhcp6 (enp2s0): option dhcp6_name_servers   => '2600:1700:8790:a5b0::1'
Aug 11 03:40:26 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628671226.7521] dhcp6 (enp2s0): option ip6_address          => '2600:1700:8790:a5b0::35'
Aug 11 03:40:26 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628671226.7521] dhcp6 (enp2s0): state changed bound -> bound
Aug 11 03:40:39 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628671239.4091] manager: NetworkManager state is now CONNECTED_SITE
Aug 11 03:40:39 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628671239.7311] manager: NetworkManager state is now CONNECTED_GLOBAL
Aug 11 04:11:42 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628673102.3223] dhcp6 (enp2s0): option dhcp6_domain_search  => 'attlocal.net'
Aug 11 04:11:42 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628673102.3224] dhcp6 (enp2s0): option dhcp6_name_servers   => '2600:1700:8790:a5b0::1'
Aug 11 04:11:42 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628673102.3224] dhcp6 (enp2s0): option ip6_address          => '2600:1700:8790:a5b0::35'
Aug 11 04:11:42 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628673102.3224] dhcp6 (enp2s0): state changed bound -> bound
Aug 11 04:43:02 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628674982.3222] dhcp6 (enp2s0): option dhcp6_domain_search  => 'attlocal.net'
Aug 11 04:43:02 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628674982.3222] dhcp6 (enp2s0): option dhcp6_name_servers   => '2600:1700:8790:a5b0::1'
Aug 11 04:43:02 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628674982.3222] dhcp6 (enp2s0): option ip6_address          => '2600:1700:8790:a5b0::35'
Aug 11 04:43:02 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628674982.3223] dhcp6 (enp2s0): state changed bound -> bound
Aug 11 05:10:59 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628676659.4093] manager: NetworkManager state is now CONNECTED_SITE
Aug 11 05:10:59 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628676659.7671] manager: NetworkManager state is now CONNECTED_GLOBAL
Aug 11 05:15:59 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628676959.4544] dhcp6 (enp2s0): option dhcp6_domain_search  => 'attlocal.net'
Aug 11 05:15:59 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628676959.4545] dhcp6 (enp2s0): option dhcp6_name_servers   => '2600:1700:8790:a5b0::1'
Aug 11 05:15:59 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628676959.4545] dhcp6 (enp2s0): option ip6_address          => '2600:1700:8790:a5b0::35'
Aug 11 05:15:59 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628676959.4545] dhcp6 (enp2s0): state changed bound -> bound
Aug 11 05:16:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628676979.4097] manager: NetworkManager state is now CONNECTED_SITE
Aug 11 05:16:27 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628676987.9253] manager: NetworkManager state is now CONNECTED_GLOBAL
Aug 11 05:16:46 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628677006.4099] manager: NetworkManager state is now CONNECTED_SITE
Aug 11 05:16:52 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628677012.6844] manager: NetworkManager state is now CONNECTED_GLOBAL
Aug 11 05:47:32 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628678852.3222] dhcp6 (enp2s0): option dhcp6_domain_search  => 'attlocal.net'
Aug 11 05:47:32 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628678852.3223] dhcp6 (enp2s0): option dhcp6_name_servers   => '2600:1700:8790:a5b0::1'
Aug 11 05:47:32 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628678852.3223] dhcp6 (enp2s0): option ip6_address          => '2600:1700:8790:a5b0::35'
Aug 11 05:47:32 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628678852.3223] dhcp6 (enp2s0): state changed bound -> bound
Aug 11 05:52:09 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628679129.4101] manager: NetworkManager state is now CONNECTED_SITE
Aug 11 05:52:09 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628679129.6392] manager: NetworkManager state is now CONNECTED_GLOBAL
Aug 11 06:17:52 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628680672.4609] dhcp6 (enp2s0): option dhcp6_domain_search  => 'attlocal.net'
Aug 11 06:17:52 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628680672.4610] dhcp6 (enp2s0): option dhcp6_name_servers   => '2600:1700:8790:a5b0::1'
Aug 11 06:17:52 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628680672.4610] dhcp6 (enp2s0): option ip6_address          => '2600:1700:8790:a5b0::35'
Aug 11 06:17:52 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628680672.4610] dhcp6 (enp2s0): state changed bound -> bound
Aug 11 06:32:29 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628681549.4100] manager: NetworkManager state is now CONNECTED_SITE
Aug 11 06:32:31 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628681551.9421] manager: NetworkManager state is now CONNECTED_GLOBAL
Aug 11 06:37:50 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628681870.4102] manager: NetworkManager state is now CONNECTED_SITE
Aug 11 06:37:50 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628681870.5527] manager: NetworkManager state is now CONNECTED_GLOBAL
Aug 11 06:43:10 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628682190.4099] manager: NetworkManager state is now CONNECTED_SITE
Aug 11 06:43:12 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628682192.7661] manager: NetworkManager state is now CONNECTED_GLOBAL
Aug 11 06:48:32 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628682512.4095] manager: NetworkManager state is now CONNECTED_SITE
Aug 11 06:48:35 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628682515.1114] manager: NetworkManager state is now CONNECTED_GLOBAL
Aug 11 06:48:53 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628682533.4092] manager: NetworkManager state is now CONNECTED_SITE
Aug 11 06:48:55 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628682535.7771] manager: NetworkManager state is now CONNECTED_GLOBAL
Aug 11 06:49:31 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628682571.2551] dhcp6 (enp2s0): option dhcp6_domain_search  => 'attlocal.net'
Aug 11 06:49:31 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628682571.2551] dhcp6 (enp2s0): option dhcp6_name_servers   => '2600:1700:8790:a5b0::1'
Aug 11 06:49:31 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628682571.2551] dhcp6 (enp2s0): option ip6_address          => '2600:1700:8790:a5b0::35'
Aug 11 06:49:31 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628682571.2551] dhcp6 (enp2s0): state changed bound -> bound
Aug 11 06:54:14 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628682854.4097] manager: NetworkManager state is now CONNECTED_SITE
Aug 11 06:54:14 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628682854.7552] manager: NetworkManager state is now CONNECTED_GLOBAL
Aug 11 07:20:22 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628684422.4312] dhcp6 (enp2s0): option dhcp6_domain_search  => 'attlocal.net'
Aug 11 07:20:22 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628684422.4312] dhcp6 (enp2s0): option dhcp6_name_servers   => '2600:1700:8790:a5b0::1'
Aug 11 07:20:22 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628684422.4313] dhcp6 (enp2s0): option ip6_address          => '2600:1700:8790:a5b0::35'
Aug 11 07:20:22 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628684422.4313] dhcp6 (enp2s0): state changed bound -> bound
Aug 11 07:52:22 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628686342.3226] dhcp6 (enp2s0): option dhcp6_domain_search  => 'attlocal.net'
Aug 11 07:52:22 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628686342.3227] dhcp6 (enp2s0): option dhcp6_name_servers   => '2600:1700:8790:a5b0::1'
Aug 11 07:52:22 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628686342.3227] dhcp6 (enp2s0): option ip6_address          => '2600:1700:8790:a5b0::35'
Aug 11 07:52:22 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628686342.3227] dhcp6 (enp2s0): state changed bound -> bound
Aug 11 07:54:34 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628686474.4096] manager: NetworkManager state is now CONNECTED_SITE
Aug 11 07:54:34 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628686474.5508] manager: NetworkManager state is now CONNECTED_GLOBAL
Aug 11 08:23:12 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628688192.3225] dhcp6 (enp2s0): option dhcp6_domain_search  => 'attlocal.net'
Aug 11 08:23:12 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628688192.3226] dhcp6 (enp2s0): option dhcp6_name_servers   => '2600:1700:8790:a5b0::1'
Aug 11 08:23:12 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628688192.3226] dhcp6 (enp2s0): option ip6_address          => '2600:1700:8790:a5b0::35'
Aug 11 08:23:12 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628688192.3226] dhcp6 (enp2s0): state changed bound -> bound
Aug 11 08:24:54 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628688294.4093] manager: NetworkManager state is now CONNECTED_SITE
Aug 11 08:24:57 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628688297.5668] manager: NetworkManager state is now CONNECTED_GLOBAL
Aug 11 08:51:08 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628689868.8657] dhcp6 (enp2s0): option dhcp6_domain_search  => 'attlocal.net'
Aug 11 08:51:08 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628689868.8658] dhcp6 (enp2s0): option dhcp6_name_servers   => '2600:1700:8790:a5b0::1'
Aug 11 08:51:08 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628689868.8658] dhcp6 (enp2s0): option ip6_address          => '2600:1700:8790:a5b0::35'
Aug 11 08:51:08 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628689868.8658] dhcp6 (enp2s0): state changed bound -> bound
Aug 11 09:00:23 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628690423.4093] manager: NetworkManager state is now CONNECTED_SITE
Aug 11 09:00:29 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628690429.0958] manager: NetworkManager state is now CONNECTED_GLOBAL
Aug 11 09:05:46 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628690746.4096] manager: NetworkManager state is now CONNECTED_SITE
Aug 11 09:05:46 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628690746.5460] manager: NetworkManager state is now CONNECTED_GLOBAL
Aug 11 09:18:52 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628691532.3198] dhcp6 (enp2s0): option dhcp6_domain_search  => 'attlocal.net'
Aug 11 09:18:52 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628691532.3198] dhcp6 (enp2s0): option dhcp6_name_servers   => '2600:1700:8790:a5b0::1'
Aug 11 09:18:52 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628691532.3198] dhcp6 (enp2s0): option ip6_address          => '2600:1700:8790:a5b0::35'
Aug 11 09:18:52 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628691532.3198] dhcp6 (enp2s0): state changed bound -> bound
Aug 11 09:41:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628692879.7834] dhcp4 (enp2s0): option dhcp_lease_time      => '86400'
Aug 11 09:41:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628692879.7834] dhcp4 (enp2s0): option domain_name          => 'attlocal.net'
Aug 11 09:41:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628692879.7834] dhcp4 (enp2s0): option domain_name_servers  => '192.168.1.254'
Aug 11 09:41:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628692879.7834] dhcp4 (enp2s0): option expiry               => '1628779279'
Aug 11 09:41:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628692879.7834] dhcp4 (enp2s0): option ip_address           => '192.168.1.132'
Aug 11 09:41:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628692879.7835] dhcp4 (enp2s0): option requested_broadcast_address => '1'
Aug 11 09:41:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628692879.7835] dhcp4 (enp2s0): option requested_domain_name => '1'
Aug 11 09:41:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628692879.7835] dhcp4 (enp2s0): option requested_domain_name_servers => '1'
Aug 11 09:41:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628692879.7835] dhcp4 (enp2s0): option requested_domain_search => '1'
Aug 11 09:41:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628692879.7835] dhcp4 (enp2s0): option requested_host_name  => '1'
Aug 11 09:41:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628692879.7835] dhcp4 (enp2s0): option requested_interface_mtu => '1'
Aug 11 09:41:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628692879.7835] dhcp4 (enp2s0): option requested_ms_classless_static_routes => '1'
Aug 11 09:41:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628692879.7835] dhcp4 (enp2s0): option requested_nis_domain => '1'
Aug 11 09:41:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628692879.7835] dhcp4 (enp2s0): option requested_nis_servers => '1'
Aug 11 09:41:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628692879.7836] dhcp4 (enp2s0): option requested_ntp_servers => '1'
Aug 11 09:41:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628692879.7836] dhcp4 (enp2s0): option requested_rfc3442_classless_static_routes => '1'
Aug 11 09:41:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628692879.7836] dhcp4 (enp2s0): option requested_root_path  => '1'
Aug 11 09:41:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628692879.7836] dhcp4 (enp2s0): option requested_routers    => '1'
Aug 11 09:41:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628692879.7836] dhcp4 (enp2s0): option requested_static_routes => '1'
Aug 11 09:41:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628692879.7836] dhcp4 (enp2s0): option requested_subnet_mask => '1'
Aug 11 09:41:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628692879.7836] dhcp4 (enp2s0): option requested_time_offset => '1'
Aug 11 09:41:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628692879.7836] dhcp4 (enp2s0): option requested_wpad       => '1'
Aug 11 09:41:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628692879.7836] dhcp4 (enp2s0): option routers              => '192.168.1.254'
Aug 11 09:41:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628692879.7837] dhcp4 (enp2s0): option subnet_mask          => '255.255.255.0'
Aug 11 09:41:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628692879.7837] dhcp4 (enp2s0): state changed extended -> extended
Aug 11 09:48:42 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628693322.3217] dhcp6 (enp2s0): option dhcp6_domain_search  => 'attlocal.net'
Aug 11 09:48:42 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628693322.3218] dhcp6 (enp2s0): option dhcp6_name_servers   => '2600:1700:8790:a5b0::1'
Aug 11 09:48:42 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628693322.3218] dhcp6 (enp2s0): option ip6_address          => '2600:1700:8790:a5b0::35'
Aug 11 09:48:42 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628693322.3218] dhcp6 (enp2s0): state changed bound -> bound
Aug 11 09:55:46 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628693746.8575] manager: NetworkManager state is now CONNECTED_SITE
Aug 11 09:55:53 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628693753.5853] manager: NetworkManager state is now CONNECTED_GLOBAL
Aug 11 10:00:50 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628694050.4197] manager: NetworkManager state is now CONNECTED_SITE
Aug 11 10:00:59 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628694059.5192] manager: NetworkManager state is now CONNECTED_GLOBAL
Aug 11 10:19:02 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628695142.3208] dhcp6 (enp2s0): option dhcp6_domain_search  => 'attlocal.net'
Aug 11 10:19:02 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628695142.3208] dhcp6 (enp2s0): option dhcp6_name_servers   => '2600:1700:8790:a5b0::1'
Aug 11 10:19:02 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628695142.3208] dhcp6 (enp2s0): option ip6_address          => '2600:1700:8790:a5b0::35'
Aug 11 10:19:02 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628695142.3209] dhcp6 (enp2s0): state changed bound -> bound
Aug 11 10:31:19 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628695879.4093] manager: NetworkManager state is now CONNECTED_SITE
Aug 11 10:31:26 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628695886.5364] manager: NetworkManager state is now CONNECTED_GLOBAL
Aug 11 10:41:46 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628696506.4102] manager: NetworkManager state is now CONNECTED_SITE
Aug 11 10:41:46 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628696506.5429] manager: NetworkManager state is now CONNECTED_GLOBAL
Aug 11 10:51:51 Lucas-server-optiplex-380 NetworkManager[1282]: <info>  [1628697111.7406] dhcp6 (enp2s0): option dhcp6_domain_search  => 'attlocal.net'

6
  • Do your crontab guide again, but before you do, use sudo -i, for becoming root user, so the crontab jobs are run as root. Btw there are many better answers to resolve your problem, but I guess, my one is the fastest for your experience level. PS you may do exit to logout of root user
    – paladin
    Commented Aug 9, 2021 at 19:53
  • this did nothing, I ran it with sudo so there was no difference
    – Piggy
    Commented Aug 9, 2021 at 20:31
  • 1
    What does systemctl status NetworkManager return? Did it get disabled by mistake? Also post journalctl -u NetworkManager --no-pager -S today. Commented Aug 10, 2021 at 5:34
  • I put the output in the edit, there isn't quite enough room so I removed some however
    – Piggy
    Commented Aug 11, 2021 at 21:24
  • So what does "systemctl status NetworkManager" tell you? The first six or seven lines - is the summary. Commented Aug 14, 2021 at 20:34

1 Answer 1

1

Create a bash file with the code you need to execute. With chmod+x path/to/my/bashfilemake it executable. Then add this file to the startup files in Mint:

Open the "Mint" menu, select "SystemSettings" on the left. Select the "Startup Applications" Icon: 1 Select the "plus sign" and click "custom command" Add a name, and the path of the bash file. Logout and Login again.

But it should work without that "hack"

2
  • this solution doesn't work
    – Piggy
    Commented Aug 12, 2021 at 22:25
  • You might add a "sleep 5" into your bash, but I presume your problem lies somewhere deeper, since I mentioned in my answer that this hack is usually not necessary. The question is, why does you network manager not start? Have you tried to disable IPv6 ?
    – kanehekili
    Commented Aug 12, 2021 at 23:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .