You are not logged in.

#1 2019-10-25 18:58:47

atomikegg
Member
Registered: 2019-08-14
Posts: 99

[Solved] Wifi Not Connecting On New Install

Just installed pure arch from the ISO installation medium.

I noticed i could not run wifi-menu.
I read that when that has happened in the past, it was due to netctl having been left out of the arch release.
So, i installed netctl, and now i can run wifi-menu.

But, even tho wifi-menu lists available hotspots, and seems to connect to the hotspot when i pick one, i still don't get a connection. Getting:

# ping google.com
ping: google.com: Temporary failure in name resolution

I installed dhclient, in case that was missing from the arch release. That didn't help. Is that the right package, and is there a service i need to start?

i enabled and started netctl. That didn't help.

thx

Last edited by atomikegg (2019-12-08 02:03:45)

Offline

#2 2019-10-25 20:53:13

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: [Solved] Wifi Not Connecting On New Install

What is the output of

systemctl list-unit-files --state=enabled
ip a
ip r
ping 8.8.8.8

Offline

#3 2019-10-25 21:27:37

atomikegg
Member
Registered: 2019-08-14
Posts: 99

Re: [Solved] Wifi Not Connecting On New Install

# systemctl list-unit-files --state=enabled
UNIT FILE        STATE  
autovt@.service  enabled
getty@.service   enabled
netctl.service   enabled
remote-fs.target enabled

4 unit files listed.
[root@myegg]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: ens4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:e0:b8:db:48:a6 brd ff:ff:ff:ff:ff:ff
3: wlp0s26f7u2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:16:44:11:a9:20 brd ff:ff:ff:ff:ff:ff
[root@myegg]# ip r
[root@myegg]# ping 8.8.8.8
ping: connect: Network is unreachable

Offline

#4 2019-10-25 21:33:16

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: [Solved] Wifi Not Connecting On New Install

What is the status of netctl.service ?

Offline

#5 2019-10-25 21:41:04

seth
Member
Registered: 2012-09-03
Posts: 51,213

Re: [Solved] Wifi Not Connecting On New Install

Also

lspci; lsusb
pacman -Qi linux-firmware

Offline

#6 2019-10-25 23:09:50

atomikegg
Member
Registered: 2019-08-14
Posts: 99

Re: [Solved] Wifi Not Connecting On New Install

i had to install usbutils to get lsusb:

[johny@myegg ~]$ systemctl status netctl
● netctl.service - (Re)store the netctl profile state
   Loaded: loaded (/usr/lib/systemd/system/netctl.service; enabled; vendor preset: disabled)
   Active: active (exited) since Fri 2019-10-25 15:25:41 PDT; 24min ago
     Docs: man:netctl.special(7)
  Process: 346 ExecStart=/usr/bin/netctl restore (code=exited, status=1/FAILURE)
 Main PID: 346 (code=exited, status=1/FAILURE)

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

[johny@myegg ~]$ lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) (rev 03)
00:1a.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 01)

[johny@myegg ~]$ pacman -Qi linux-firmware
Name            : linux-firmware
Version         : 20191022.2b016af-1
Description     : Firmware files for Linux
Architecture    : any
URL             : https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git;a=summary
Licenses        : GPL2  GPL3  custom
Groups          : None
Provides        : None
Depends On      : None
Optional Deps   : None
Required By     : None
Optional For    : linux
Conflicts With  : linux-firmware-git  kernel26-firmware  ar9170-fw  iwlwifi-1000-ucode  iwlwifi-3945-ucode  iwlwifi-4965-ucode
                  iwlwifi-5000-ucode  iwlwifi-5150-ucode  iwlwifi-6000-ucode  rt2870usb-fw  rt2x00-rt61-fw  rt2x00-rt71w-fw
Replaces        : kernel26-firmware  ar9170-fw  iwlwifi-1000-ucode  iwlwifi-3945-ucode  iwlwifi-4965-ucode  iwlwifi-5000-ucode
                  iwlwifi-5150-ucode  iwlwifi-6000-ucode  rt2870usb-fw  rt2x00-rt61-fw  rt2x00-rt71w-fw
Installed Size  : 473.75 MiB
Packager        : Laurent Carlier <lordheavym@gmail.com>
Build Date      : Tue 22 Oct 2019 09:26:35 AM PDT
Install Date    : Fri 25 Oct 2019 01:38:36 PM PDT
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

[johny@myegg ~]$ lsusb
Bus 002 Device 004: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 003: ID 1a2c:2124 China Resource Semico Co., Ltd 
Bus 005 Device 002: ID 0451:1446 Texas Instruments, Inc. TUSB2040/2070 Hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bda:8189 Realtek Semiconductor Corp. RTL8187B Wireless 802.11g 54Mbps Network Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Last edited by atomikegg (2019-10-26 02:55:46)

Offline

#7 2019-10-26 02:58:20

atomikegg
Member
Registered: 2019-08-14
Posts: 99

Re: [Solved] Wifi Not Connecting On New Install

see codes, above.
Update- New problem, no idea if it's related to above problem.
i think my SD is failing (or the os installed to it). It's not booting.

Last edited by atomikegg (2019-10-26 03:58:26)

Offline

#8 2019-10-26 03:29:50

atomikegg
Member
Registered: 2019-08-14
Posts: 99

Re: [Solved] Wifi Not Connecting On New Install

Update: I started fresh. New problem.

Downloaded the current arch release, formatted and re-installed the SD, using Rufus.
The install seemed to go well.
Missing netctl, again, installed it.

Boot the new OS. Get:

Failed to mount /etc/resolv.conf`
See `systemctl status etc-resolv.conf.mount`
Dependency failed for Local File Systems.

Log into the fresh xfce desktop as root (can't find a way to login as a different user-- I don't use a DM).
run `wifi-menu`.
Get list of hotspots, pick one.

Screen goes black, except for a spot of light on the upper-left. Unsure if it's a cursor. Keys do nothing: Ctrl-C, Esc, Ctrl-Alt-Del, etc.
Hard-shutdown is the only option.

Last edited by atomikegg (2019-10-26 03:55:38)

Offline

#9 2019-10-26 03:45:11

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Wifi Not Connecting On New Install

You keep being asked to read the Code of Conduct and follow the rules here. See http://wiki.archlinux.org/index.php/Cod … s_and_code

If you can't manage to read a single wiki page, it is no wonder you have no clue about installing and running an Arch system.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2019-10-26 03:59:11

atomikegg
Member
Registered: 2019-08-14
Posts: 99

Re: [Solved] Wifi Not Connecting On New Install

sorry, fixed my post.

Do not post full screen pictures. Do not post screenshots of text output

Last edited by atomikegg (2019-10-26 04:00:17)

Offline

#11 2019-10-26 04:16:26

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Wifi Not Connecting On New Install

Now, disable all the networking services, and work your way methodically through the wireless page and connect that way.

If you hit a snag, paste every command and full output up until that point.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#12 2019-10-26 06:49:11

seth
Member
Registered: 2012-09-03
Posts: 51,213

Re: [Solved] Wifi Not Connecting On New Install

Your "SD" like "SDD" or like one of these things: https://upload.wikimedia.org/wikipedia/ … ds.svg.png ?

Log into the fresh xfce desktop as root (can't find a way to login as a different user-- I don't use a DM).

How exactly did you install archlinux?

Failed to mount /etc/resolv.conf`

And wtf. are you try to mount /etc/resolve.conf??

Offline

#13 2019-10-26 15:12:09

atomikegg
Member
Registered: 2019-08-14
Posts: 99

Re: [Solved] Wifi Not Connecting On New Install

seth wrote:

Your "SD" like "SDD" or like one of these things: https://upload.wikimedia.org/wikipedia/ … ds.svg.png ?

What's "SDD"? I'm using an "SD card", like the photos you linked.

How exactly did you install archlinux?

i'm following this page, with my own selection of extra packages.
https://wiki.archlinux.org/index.php/Installation_guide

Failed to mount /etc/resolv.conf`
And wtf. are you try to mount /etc/resolve.conf??

I'm not. this error was reported by arch on boot.

Offline

#14 2019-10-26 15:18:07

seth
Member
Registered: 2012-09-03
Posts: 51,213

Re: [Solved] Wifi Not Connecting On New Install

Typo for SSD ;-)

These cards are absolutely no good device to install an OS on, especially not if they've been in use before. They're not like SSDs, there's no wear leveling, nothing.

i'm following this page

Then you know how to login as the user you created.

I'm not. this error was reported by arch on boot.

Are we talking about the installation iso or the installed system?
This "error" doesn't appear out of the blue. The service must have been created somehow, most likely by a bogus entry in fstab.

Offline

#15 2019-10-26 16:01:40

atomikegg
Member
Registered: 2019-08-14
Posts: 99

Re: [Solved] Wifi Not Connecting On New Install

seth wrote:

Typo for SSD ;-)

These cards are absolutely no good device to install an OS on

Not installing the OS on the SD. Just the putting the arch installation ISO onto the SD.

Then you know how to login as the user you created.

i don't see anyplace on that page explaining how to login as non-root user.

This page says: 

you should create and use unprivileged user account.
https://wiki.archlinux.org/index.php/Ge … mendations

So, i'm creating the non-root user during the initial installation. On boot, it seems the new arch release forces me to login as root (for "maintenance") It doesn't allow me to login as any other user. But this is a bit off-topic, and i don't want to violate forum rules-- we're supposed to stay on-topic.

Are we talking about the installation iso or the installed system?

Booting the new OS, meaning the installed system. I see the 'resolv.conf`error at the terminal, before starting xfce.

Update: The installer ISO can't connect to wifi. Wifi-menu reports "No connections found". My other Linux OS, on the same hardware, has no problem connecting to wifi, same as ever. My other box has no problem connecting to the same wifi, same as ever. My android has no problem connecting to the same wifi, same as ever. My previous installation of arch had no problem connecting to the same wifi.

It seems there may be some issues with the latest arch release.

thx

Last edited by atomikegg (2019-10-26 18:04:01)

Offline

#16 2019-10-26 18:04:46

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: [Solved] Wifi Not Connecting On New Install

If a local mount fails the service failure will trigger emergency.target and the system will be dropped to a root console.
Why is resolv.conf in /etc/fstab?

Offline

#17 2019-10-26 18:07:12

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Wifi Not Connecting On New Install

jasonwryan wrote:

Now, disable all the networking services, and work your way methodically through the wireless page and connect that way.

If you hit a snag, paste every command and full output up until that point.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#18 2019-12-08 02:03:23

atomikegg
Member
Registered: 2019-08-14
Posts: 99

Re: [Solved] Wifi Not Connecting On New Install

things are ok now. I'm using wpa_supplicant, dhcpcd, wifi-menu, netctl, and netctl-auto
https://wiki.archlinux.org/index.php/Netctl#Wireless

thx

Offline

Board footer

Powered by FluxBB