Linux Mint 시작 시 명령을 실행하는 방법은 무엇입니까?

Linux Mint 시작 시 명령을 실행하는 방법은 무엇입니까?

내 컴퓨터에 어떤 이유로든 Linux Mint가 부팅 시 네트워크 관리자를 시작하지 않는 문제가 있습니다. 이 문제를 해결하려면 Linux를 다시 시작할 때마다 터미널에 "sudo service network-manager restart"를 입력해야 인터넷에 접속할 수 있습니다. 물론 이것은 짜증스러울 수 있습니다! 내가 시도한 것은 다음과 같습니다.

  • rc.local에 명령을 넣어도 작동하지 않았습니다.

  • 이것을 따르라가이드크론트랩용.

  • 시작 애플리케이션에 "sudo service network-manager restart"를 사용자 정의 명령으로 추가합니다.

  • 시작 응용 프로그램에 사용자 정의 명령을 추가합니다: "usr/bin/shortcut" 바로 가기는 /usr/local/bin/nameofile을 가리킵니다. 루트가 소유한 링크와 파일도 만들었지만 어떤 이유로든 여전히 sudo 암호가 필요합니다.

문제는 명령을 실행할 때 sudo 비밀번호가 필요하다는 것입니다. 물론 비밀번호를 알 수 없으므로 실행되지 않습니다. 루트 소유의 파일을 만들면 sudo 비밀번호가 필요하지 않게 될 것이라고 생각합니다.

편집: sudo 명령을 지정했습니다: "sudo service network-manager restart". 비밀번호가 필요하지 않습니다. 이는 재부팅하고 로그인할 때 sudo 비밀번호를 묻는 메시지가 표시되기 때문에 큰 단계입니다. 이는 코드를 의미합니다. 시작 시 실행됩니다.

출력 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'

답변1

실행해야 하는 코드가 포함된 bash 파일을 만듭니다. 실행 가능 하게 만드세요 chmod+x path/to/my/bashfile. 그런 다음 이 파일을 Mint의 시작 파일에 추가하세요.

"민트" 메뉴를 열고 왼쪽의 "시스템 설정"을 선택하세요. "애플리케이션 실행" 아이콘을 선택합니다: 1 "더하기 기호"를 선택하고 "사용자 정의 명령"을 클릭하여 bash 파일에 이름과 경로를 추가합니다. 로그아웃했다가 다시 로그인하세요.

하지만 "해킹" 없이도 작동해야 합니다.

관련 정보