LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-02-2022, 07:43 PM   #1
AKM512
Member
 
Registered: May 2022
Posts: 37

Rep: Reputation: 0
Arch Linux: Can't connect to either WiFi or wired after router malfunctioned


I am writing this from my Android so it will be hard for me to duplicate code.

My T-Mobile router stopped working for about a day; since then, everything else has worked, including family smart devices, our phones, and family Windows PCs. But even when I connect with a LAN cable, now my laptop won't work. I tried to connect to the WiFi with nmcli, but I got the "secrets" message described on the ArchWiki. Going into the
Code:
journalctl -u NetworkManager
logs, there was so much I wasn't able to figure out what was going wrong. /etc/systemd/resolved.conf file was more managable; I saw it was paralell to this output:
Code:
Loaded: loaded (/usr/lib/systemd/system/N
etworkManager.service; enabled; vendor preset: disabled)
https://bbs.archlinux.org/viewtopic.php?id=262562[CODE]vendor preset: disabled)dor preset: disabled[\CODE] message identical, but I don't know what to modify to fix it.

EDIT: I solved the problem, using the instructions here. For anyone else's reference, my terminal input/output is as follows:
Code:
[austin@archlinux ~]$ wifi-menu
bash: wifi-menu: command not found
[austin@archlinux ~]$ ping -c www.duckduckgo.com
ping: invalid argument: 'www.duckduckgo.com'
[austin@archlinux ~]$ ping -c 3 www.duckduckgo.com
ping: www.duckduckgo.com: Temporary failure in name resolution
[austin@archlinux ~]$ cd /etc/netctl/examples
bash: cd: /etc/netctl/examples: No such file or directory
[austin@archlinux ~]$ cd /etc/netct;/example
bash: cd: /etc/netct: No such file or directory
bash: /example: No such file or directory
[austin@archlinux ~]$ cd /etc/netctl
bash: cd: /etc/netctl: No such file or directory
[austin@archlinux ~]$ netctl start your_profile
bash: netctl: command not found
[austin@archlinux ~]$ sudo systemctl enable NetworkManager.service
[sudo] password for austin: 
[austin@archlinux ~]$ sudo systemctl disable dhcpcd.service
Failed to disable unit: Unit file dhcpcd.service does not exist.
[austin@archlinux ~]$ sudo systemctl enable wpa_supplicant.service
Created symlink /etc/systemd/system/dbus-fi.w1.wpa_supplicant1.service → /usr/lib/systemd/system/wpa_supplicant.service.
Created symlink /etc/systemd/system/multi-user.target.wants/wpa_supplicant.service → /usr/lib/systemd/system/wpa_supplicant.service.
[austin@archlinux ~]$ sudo systemctl start NetworkManager.service
[austin@archlinux ~]$ nmcli device wifi list
IN-USE  BSSID              SSID                   MODE   CHAN  RATE        SIGNAL  BARS  SECURITY  
        DC:8D:8A:49:DE:C4  TMOBILE-DEBB           Infra  1     260 Mbit/s  100     ▂▄▆█  WPA1 WPA2 
        DC:8D:8A:49:DE:C5  TMOBILE-DEBB           Infra  36    540 Mbit/s  100     ▂▄▆█  WPA1 WPA2 
        DC:8D:8A:49:DE:C6  TMOBILE-DEBB           Infra  149   540 Mbit/s  100     ▂▄▆█  WPA1 WPA2 
        0A:84:9D:59:97:60  DIRECT-hX-FireTV_b066  Infra  149   130 Mbit/s  57      ▂▄▆_  WPA2      
        8C:3B:AD:E7:13:D0  Thao                   Infra  9     130 Mbit/s  54      ▂▄__  WPA2      
        52:F5:DA:EF:D9:69  DIRECT-Wf-FireTV_6027  Infra  149   270 Mbit/s  37      ▂▄__  WPA2      
        C0:94:35:D1:C8:1E  Baseball22             Infra  1     260 Mbit/s  30      ▂___  WPA2      
        C6:94:35:D1:C8:1E  --                     Infra  1     260 Mbit/s  30      ▂___  WPA2      
        E0:22:03:71:3A:2D  ATT6jYD3YN             Infra  1     130 Mbit/s  30      ▂___  WPA2      
        3C:37:86:CB:45:B3  NETGEAR_EXT            Infra  11    270 Mbit/s  27      ▂___  --        
[austin@archlinux ~]$ nmcli device wifi connect TMOBILE-DEBB password 78ae72f944
Device 'wlan0' successfully activated with '8b090d57-4dba-44f4-8869-2da917c867ed'.

Last edited by AKM512; 06-02-2022 at 08:08 PM. Reason: Solved
 
Old 06-03-2022, 12:24 PM   #2
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,615

Rep: Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554
Quote:
Originally Posted by AKM512 View Post
EDIT: I solved the problem, using the instructions here. For anyone else's reference, my terminal input/output is as follows:
Code:
[austin@archlinux ~]$ wifi-menu
bash: wifi-menu: command not found
[austin@archlinux ~]$ ping -c www.duckduckgo.com
ping: invalid argument: 'www.duckduckgo.com'
[austin@archlinux ~]$ ping -c 3 www.duckduckgo.com
ping: www.duckduckgo.com: Temporary failure in name resolution
[austin@archlinux ~]$ cd /etc/netctl/examples
bash: cd: /etc/netctl/examples: No such file or directory
[austin@archlinux ~]$ cd /etc/netct;/example
bash: cd: /etc/netct: No such file or directory
bash: /example: No such file or directory
[austin@archlinux ~]$ cd /etc/netctl
bash: cd: /etc/netctl: No such file or directory
[austin@archlinux ~]$ netctl start your_profile
bash: netctl: command not found
[austin@archlinux ~]$ sudo systemctl enable NetworkManager.service
[sudo] password for austin: 
[austin@archlinux ~]$ sudo systemctl disable dhcpcd.service
Failed to disable unit: Unit file dhcpcd.service does not exist.
[austin@archlinux ~]$ sudo systemctl enable wpa_supplicant.service
Created symlink /etc/systemd/system/dbus-fi.w1.wpa_supplicant1.service → /usr/lib/systemd/system/wpa_supplicant.service.
Created symlink /etc/systemd/system/multi-user.target.wants/wpa_supplicant.service → /usr/lib/systemd/system/wpa_supplicant.service.
[austin@archlinux ~]$ sudo systemctl start NetworkManager.service
[austin@archlinux ~]$ nmcli device wifi list
IN-USE  BSSID              SSID                   MODE   CHAN  RATE        SIGNAL  BARS  SECURITY  
        DC:8D:8A:49:DE:C4  TMOBILE-DEBB           Infra  1     260 Mbit/s  100     ▂▄▆█  WPA1 WPA2 
        DC:8D:8A:49:DE:C5  TMOBILE-DEBB           Infra  36    540 Mbit/s  100     ▂▄▆█  WPA1 WPA2 
        DC:8D:8A:49:DE:C6  TMOBILE-DEBB           Infra  149   540 Mbit/s  100     ▂▄▆█  WPA1 WPA2 
        0A:84:9D:59:97:60  DIRECT-hX-FireTV_b066  Infra  149   130 Mbit/s  57      ▂▄▆_  WPA2      
        8C:3B:AD:E7:13:D0  Thao                   Infra  9     130 Mbit/s  54      ▂▄__  WPA2      
        52:F5:DA:EF:D9:69  DIRECT-Wf-FireTV_6027  Infra  149   270 Mbit/s  37      ▂▄__  WPA2      
        C0:94:35:D1:C8:1E  Baseball22             Infra  1     260 Mbit/s  30      ▂___  WPA2      
        C6:94:35:D1:C8:1E  --                     Infra  1     260 Mbit/s  30      ▂___  WPA2      
        E0:22:03:71:3A:2D  ATT6jYD3YN             Infra  1     130 Mbit/s  30      ▂___  WPA2      
        3C:37:86:CB:45:B3  NETGEAR_EXT            Infra  11    270 Mbit/s  27      ▂___  --        
[austin@archlinux ~]$ nmcli device wifi connect TMOBILE-DEBB password 78ae72f944
Device 'wlan0' successfully activated with '8b090d57-4dba-44f4-8869-2da917c867ed'.
It's better if you post solutions as a follow-up post, because:

1) it removes the thread from the list of "Zero Reply Threads".
2) it causes anyone who might have subscribed to get notified (which editing doesn't do).

 
  


Reply

Tags
arch linux



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I can connect to my router with wifi, but I can't ping the router or anything else Gene C Linux - Newbie 5 08-27-2020 07:52 PM
[SOLVED] Kodachi Linux cannot connect to wifi or hard wired router-web access. TokTok Linux - Desktop 4 10-17-2019 08:53 AM
no access to config on wired access, but modem/router and wired access point work littlejoe5 Linux - Networking 1 10-22-2014 02:40 PM
ADSL WIFI ROUTER, SETTING DIFERENT IP RANGES BETWEEN WIRED and WIFI Corsari Linux - Networking 12 12-12-2012 08:27 AM
DVD Drive Broken/Malfunctioned? pnh73 Linux - Hardware 2 07-11-2005 08:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration