You are not logged in.

#1 2017-01-08 13:50:40

TrueNDiary
Member
Registered: 2016-12-29
Posts: 14

No Wireless connection, can't proceed the Post-installation | Laptop

Hey there!

So I've recently installed ArchLinux on my Asus Zenbook UX510UX [There is NO Ethernet port]
and after accessing the tty section I've logged to my user account and ran:

[truendiary@asus ~]$ sudo wifi-menu

and got this output:

No network found

so I ran:

[truendiary@asus ~]$ ip link

and found out wlp2s0 is down, tried to set it up, here's the output:

[truendiary@asus ~]$ RTNETLINK answers: Operation not possible due to RF-kill

ran..

[truendiary@asus ~]$ rfkill list

and phy0 is Hard blocked..

0: hci0: Bluetooth
          Soft blocked: no
          Hard blocked: no
1: phy0: Wireless LAN
          Soft blocked: no
          Hard blocked: yes
2: asus-wlan: Wireless LAN
          Soft blocked: no
          Hard blocked: no
3: asus-bluetooth: Bluetooth
          Soft blocked: no
          Hard blocked: no

Playing with  Fn+F2 wont help its just switching between Hard/Soft..

[truendiary@asus ~]$ dmesg | grep wifi[
Direct firmware load for iwlwifi-7265D-24.ucode failed with error -2
Direct firmware load for iwlwifi-7265D-23.ucode failed with error -2
load firmware version 22.361476.0 op_mode iwlmvm
Detected Intel(R) Dual Band Wireless AC 7265, REV=0x210
L1 Enabled - LTR Enabled
L1 Enabled - LTR Enabled
wlp2s0: renamed from wlan0
RF_KILL bit toggled to disable radio. 

How can I fix the connection? Thank for your help!

Offline

#2 2017-01-08 15:13:32

jeremy31
Member
Registered: 2015-11-01
Posts: 149

Re: No Wireless connection, can't proceed the Post-installation | Laptop

The usual fix for some Asus laptops is

echo "options asus-nb-wmi wapf=4" | sudo tee /etc/modprobe.d/asus-nb-wmi.conf

Reboot

Offline

#3 2017-01-08 16:01:18

TrueNDiary
Member
Registered: 2016-12-29
Posts: 14

Re: No Wireless connection, can't proceed the Post-installation | Laptop

jeremy31 wrote:

The usual fix for some Asus laptops is

echo "options asus-nb-wmi wapf=4" | sudo tee /etc/modprobe.d/asus-nb-wmi.conf

Reboot

echo "options asus-nb-wmi wapf=4" | sudo tee /etc/modprobe.d/asus-nb-wmi.conf

Thanks @jeremy31
That line unblock the Hard blocked phy0 I had.

But still no connection, ran:

[truendiary@asus ~]$ ip link

and it's shows me that wlp2s0 is still down.
running

[truendiary@asus ~]$ sudo ip link set wlp2s0 up

won't effect wlp2s0 for some reason.

Any fix for that one?

Offline

#4 2017-01-09 09:08:30

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

Re: No Wireless connection, can't proceed the Post-installation | Laptop

did you enable some network managing service?
how does ip up fail? error message? strace?
is it soft locked?
tried explicit down/up instead of just up?

Offline

#5 2017-01-09 14:31:17

elvith32
Member
From: Portsmouth
Registered: 2016-01-20
Posts: 28

Re: No Wireless connection, can't proceed the Post-installation | Laptop

I previously had the same problem , executing

 sudo wifi-menu wlp2s0

sorted the problem for me after removing the hard block via rfkill.

Offline

#6 2017-01-09 15:53:41

TrueNDiary
Member
Registered: 2016-12-29
Posts: 14

Re: No Wireless connection, can't proceed the Post-installation | Laptop

seth wrote:

did you enable some network managing service?
how does ip up fail? error message? strace?
is it soft locked?
tried explicit down/up instead of just up?

I've tried the down/up set but it didnt work.
but I do get an error from the service..

[truendiary@asus ~]$ systemctl status netctl
    netctl.service - (Re)store the netctl profile state
       Loaded:  loaded (/usr/lib/systemd/system/netctl.service; disabled; vendor preset: disabled)
       Active: inactive (dead)
[truendiary@asus ~]$ systemctl enable netctl.service
Failed to enable unit: The name org.freedesktop.PolicyKit1 was not provided by any .service files

Offline

#7 2017-01-09 16:39:13

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

Re: No Wireless connection, can't proceed the Post-installation | Laptop

"sudo systemctl" or install policykit.
tried elvith32 suggestion?

Offline

#8 2017-01-09 17:33:30

elvith32
Member
From: Portsmouth
Registered: 2016-01-20
Posts: 28

Re: No Wireless connection, can't proceed the Post-installation | Laptop

seth wrote:

"sudo systemctl" or install policykit.
tried elvith32 suggestion?

Well first i've executed

sudo systemctl enable netctl

after establishing the connection i ve just used

sudo netctl enable profile

if thats what you've asked and i didn't install any policykit manually.

But you can check whether you have polkit installed or running by typing

sudo systemctl status polkit.service

Output of the command should give you further info

Last edited by elvith32 (2017-01-09 17:39:17)

Offline

#9 2017-01-09 17:41:45

TrueNDiary
Member
Registered: 2016-12-29
Posts: 14

Re: No Wireless connection, can't proceed the Post-installation | Laptop

elvith32 wrote:

I previously had the same problem , executing

 sudo wifi-menu wlp2s0

sorted the problem for me after removing the hard block via rfkill.

It didnt work for me hmm

seth wrote:

"sudo systemctl" or install policykit.
tried elvith32 suggestion?

I've tried with sudo but nothing.
I did install polkit through arch-chroot liveCD, rebooted and ran

[truendiary@asus ~]$ systemctl status netctl
    netctl.service - (Re)store the netctl profile state
       Loaded:  loaded (/usr/lib/systemd/system/netctl.service; disabled; vendor preset: disabled)
       Active: inactive (dead)

and its change from disabled to enabled

[truendiary@asus ~]$ systemctl status netctl
    netctl.service - (Re)store the netctl profile state
       Loaded:  loaded (/usr/lib/systemd/system/netctl.service; enabled; vendor preset: disabled)
       Active: inactive (dead)

but its still dead

Offline

#10 2017-01-09 17:44:06

elvith32
Member
From: Portsmouth
Registered: 2016-01-20
Posts: 28

Re: No Wireless connection, can't proceed the Post-installation | Laptop

TrueNDiary wrote:
elvith32 wrote:

I previously had the same problem , executing

 sudo wifi-menu wlp2s0

sorted the problem for me after removing the hard block via rfkill.

It didnt work for me hmm

seth wrote:

"sudo systemctl" or install policykit.
tried elvith32 suggestion?

I've tried with sudo but nothing.
I did install polkit through arch-chroot liveCD, rebooted and ran

[truendiary@asus ~]$ systemctl status netctl
    netctl.service - (Re)store the netctl profile state
       Loaded:  loaded (/usr/lib/systemd/system/netctl.service; disabled; vendor preset: disabled)
       Active: inactive (dead)

and its change from disabled to enabled

[truendiary@asus ~]$ systemctl status netctl
    netctl.service - (Re)store the netctl profile state
       Loaded:  loaded (/usr/lib/systemd/system/netctl.service; enabled; vendor preset: disabled)
       Active: inactive (dead)

but its still dead

Did you check if the polkit running with

sudo systemctl status polkit.service

Offline

#11 2017-01-09 17:45:28

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

Re: No Wireless connection, can't proceed the Post-installation | Laptop

TrueNDiary wrote:

and its change from disabled to enabled
but its still dead

Systemd#Using_units
That is expected behavior you enabled the unit but did not start it.
Edit:
Would recomend you succeed with Wireless_network_configuration#Manual_setup before you configure any network managers.
Please post the actual outputs of the commands,  outputs are missing for

$ ip link
# ip link set wlp2s0 up

Last edited by loqs (2017-01-09 17:56:37)

Offline

#12 2017-01-09 18:16:16

TrueNDiary
Member
Registered: 2016-12-29
Posts: 14

Re: No Wireless connection, can't proceed the Post-installation | Laptop

Did you check if the polkit running with

sudo systemctl status polkit.service
loqs wrote:
TrueNDiary wrote:

and its change from disabled to enabled
but its still dead

Systemd#Using_units
That is expected behavior you enabled the unit but did not start it.
Edit:
Would recomend you succeed with Wireless_network_configuration#Manual_setup before you configure any network managers.
Please post the actual outputs of the commands,  outputs are missing for

$ ip link
# ip link set wlp2s0 up

Here is a picture because I dont know how to export all those text
http://i.imgur.com/KOKVA9V.jpg

Offline

#13 2017-01-09 19:08:14

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

Re: No Wireless connection, can't proceed the Post-installation | Laptop

some_command > some_command.output.txt 2>&1

Offline

#14 2017-01-09 19:22:39

TrueNDiary
Member
Registered: 2016-12-29
Posts: 14

Re: No Wireless connection, can't proceed the Post-installation | Laptop

seth wrote:
some_command > some_command.output.txt 2>&1

Can I access this file via windows 10? I'm using dual boot and I have not user interface & internet (im still on the tty) so I'm rebooting every time to replay on the post

Offline

#15 2017-01-09 19:33:54

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

Re: No Wireless connection, can't proceed the Post-installation | Laptop

Probably easiest way is to use a usb thumb drive formatted to some version of fat.
The windows 10 partition is probably ntfs you would need the ntfs-3g package NTFS-3G#Manual_mounting
Also see NTFS-3G#Metadata_kept_in_Windows_cache.2C_refused_to_mount which I expect will stop you mounting the windows partition rw without the noted changes.
Also can you check dmesg before and after trying to bring the interface up to see if any new entries are produced by running the command.

Offline

#16 2017-01-09 19:41:48

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,774

Re: No Wireless connection, can't proceed the Post-installation | Laptop

You might use my favorite trick to get Internet in a case where you need it to complete an install -- USB tether a smartphone.  It will appear as a wired network which you can set up using simply dhcpcd as root.  The phone will provide NAT forwarding for whatever wireless network it is using (either WiFi or your cellular data).  If you are not on WiFi, watch your data usage, of course.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#17 2017-01-09 19:51:52

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

Re: No Wireless connection, can't proceed the Post-installation | Laptop

Since yout probably tried around a lot while being hard blocked:
also dump

systemctl list-units | grep -iE '(net|dhcp|wicd)'

to ensure you didn't create a service race.

Offline

#18 2017-01-10 00:36:41

TrueNDiary
Member
Registered: 2016-12-29
Posts: 14

Re: No Wireless connection, can't proceed the Post-installation | Laptop

ewaller wrote:

You might use my favorite trick to get Internet in a case where you need it to complete an install -- USB tether a smartphone.  It will appear as a wired network which you can set up using simply dhcpcd as root.  The phone will provide NAT forwarding for whatever wireless network it is using (either WiFi or your cellular data).  If you are not on WiFi, watch your data usage, of course.

Can you guide me on how to do this? I have an iPhone 6.

seth wrote:

Since yout probably tried around a lot while being hard blocked:
also dump

systemctl list-units | grep -iE '(net|dhcp|wicd)'

to ensure you didn't create a service race.

here:

[truendiary@asus ~]$ systemctl list-units | grep -iE '(net|dhcp|wicd)'
sys-devices-pci0000:00-0000:00:1c.5-000:02:00.0-net-wlp2s0.device                loaded active plugged   Wireless 7265 (Dual Band Wireless-AC 7265)
sys-subsystem-net-devices-wlp2s0.device                                          loaded active plugged   Wireless 7265 (Dual Band Wireless-AC 7265)
netctl-auto@wlp2s0.service                                                       loaded failed failed    automatic wireless network connection using netctl profiles
netctl.service                                                                   loaded active exited    (Re)store the netctl profile state
system-netctl\x2dauto.slice                                                      loaded active active    system-netctl\x2dauto.slice
network.target                                                                   loaded active active    Network

Offline

#19 2017-01-10 03:39:49

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,774

Re: No Wireless connection, can't proceed the Post-installation | Laptop

I've never owned an iThing.    Try this: https://www.igeeksblog.com/how-to-use-t … s-a-modem/   Steps one through three.  Then, on you Arch box as root, run dhcpcd

That should do it.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#20 2017-01-12 13:08:49

TrueNDiary
Member
Registered: 2016-12-29
Posts: 14

Re: No Wireless connection, can't proceed the Post-installation | Laptop

ewaller wrote:

I've never owned an iThing.    Try this: https://www.igeeksblog.com/how-to-use-t … s-a-modem/   Steps one through three.  Then, on you Arch box as root, run dhcpcd

That should do it.

For some reason the dhcp didn't recognized anything so I gave up and reformatted my HDD and install windows 10 again because I wanted to delete the rEFInd boot loader.
I did some googling and I was wondering if my wifi driver is even supported for arch or linux in general..
Found this website https://wireless.wiki.kernel.org/en/use … i#download
but I don't know what to do with all those kernel versions and *.tgz files
I really want to install & run arch,
Could those drivers fix my problem and if so, in what stage I need to install them and how?

P.S My Network adapter is Intel(R) Dual Band Wireless-AC 7265

Offline

#21 2017-01-12 13:23:00

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: No Wireless connection, can't proceed the Post-installation | Laptop

1) there is way too much high level crap early in this thread - I agree with loqs 110%, get the manual wireless connection methods working first before you bother with wireless (mis)management services.  In fact, if any of those services are enabled or running, disable and stop them all.  They *will* cause problems for diagnostics.

2) iwlwifi is in the stock kernel, you don't need to install it.  This can be confirmed by the fact that your wireless interface is listed by `ip a` output.  If the driver was loaded, your wireless interface wouldn't even be listed at all.

3) `ip link set <interface> up` worked.  This can be seen in your photo in post 12.  The output is a bit misleading at times, but `ip link set <interface> up/down` is reflected by the "UP" inside the angled brackets.  You photo shows that the wireless interface is UP.  The DOWN later on that line means there is not an active connection with an access point.  So you should now be at this step.  Continue from there and report any errors.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB