How to enable wifi

New to Debian (Or Linux in general)? Ask your questions here!

How to enable wifi

Postby YasuhideOmori » 2019-07-20 06:40

Hi!
This is the first time for me to install Debian
but there is a trouble, wifi.

Installer could show me the list of SSID, and recognised.
But offline installer never enable me to use wifi.

dmesg says:
[ 6.994719] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 6.995144] ath5k: phy0: Atheros AR5414 chip found (MAC: 0xa3, PHY: 0x61)
[ 7.002162] ath5k 0000:03:00.0 wlp3s0: renamed from wlan0

$ /sbin/lsmod | grep -i ath
ath5k 163840 0
ath 36864 1 ath5k
mac80211 815104 1 ath5k
cfg80211 761856 3 ath,ath5k,mac80211

$ /sbin/lsmod | grep -i cfg80211
cfg80211 761856 3 ath,ath5k,mac80211
rfkill 28672 3 cfg80211

$ /usr/bin/ip a
1: lo:
...
2: enp2s0:
...
3: wlp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether XX:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff

$ LANG=C /usr/bin/nmcli device status
DEVICE TYPE STATE CONNECTION
enp2s0 ethernet connected Wired connection 1
wlp3s0 wifi unavailable --
lo loopback unmanaged --$ LANG=C /usr/bin/nmcli radio all
WIFI-HW WIFI WWAN-HW WWAN
disabled disabled enabled enabled

$ sudo ip link set wlp3s0 up
RTNETLINK answers: Operation not possible due to RF-kill

$ /usr/sbin/rfkill
ID TYPE DEVICE SOFT HARD
0 wlan phy0 unblocked blocked

$ /usr/sbin/rfkill
ID TYPE DEVICE SOFT HARD
0 wlan phy0 unblocked blocked
$ /usr/sbin/rfkill unblock all
$ /usr/sbin/rfkill --output-all
ID TYPE DEVICE TYPE-DESC SOFT HARD
0 wlan phy0 Wireless LAN unblocked blocked

$ /sbin/iwlist scan
lo Interface doesn't support scanning.

enp2s0 Interface doesn't support scanning.

wlp3s0 Failed to read scan data : Network is down

$ /sbin/iw wlp3s0 info
Interface wlp3s0
ifindex 3
wdev 0x1
addr XX:XX:XX:XX:XX:XX
type managed
wiphy 0
txpower 20.00 dBm

$ LANG=C nmcli -f all device show
( ... )
GENERAL.STATE: 20 (unavailable)
GENERAL.REASON: 2 (Device is now managed)
( ... )

$ /usr/sbin/rfkill unblock all
$ /usr/sbin/rfkill list all
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes


plz help me

Thanks.
YasuhideOmori
 
Posts: 5
Joined: 2019-07-20 06:29
Location: Ichihara city, Chiba prefecture, Japan

Re: How to enable wifi

Postby ruwolf » 2019-07-20 07:39

Do you not have some hard-ware switch on it?
Try
Code: Select all
nmcli radio wifi on
, but I am afraid, that will not help with hard-blocked...
User avatar
ruwolf
 
Posts: 392
Joined: 2008-02-18 05:04
Location: Slovakia, Banovce nad Bebravou, Matice slovenskej 1260/4-7

Re: How to enable wifi

Postby Head_on_a_Stick » 2019-07-20 10:28

YasuhideOmori wrote:$ /usr/sbin/rfkill
ID TYPE DEVICE SOFT HARD
0 wlan phy0 unblocked blocked

Check for a hardware switch for the wireless card, if you are sure it is turned on then check
Code: Select all
lsmod

for any vendor-specific modules that may be interfering, try blacklisting any that you find.
Don't break DebianHow to report bugs

SharpBang GNU/Linux — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10613
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: How to enable wifi

Postby YasuhideOmori » 2019-07-30 20:16

Sorry for writng too late

I use NEC laptop and wifi inside
When I boot Windows, I can use IEEE802.11a/b/g without any special setting

Of cource the result of "lsmod" has no trouble, and, I don't know why but once after booting Windows by replacing disk Wifi was recognized, but just once.
Moreover only IEEE802.11b/g was available.

It seems that the EEPROM of the chip inside the NEC laptop is unnusual, but
$ cd /var/tmp
$ tar axf
$ patch < the_patch_provided_for_nec_alt5k
$ make old config
$ make modules

the ko file was not available(/sbin/modprove -v show me an error).
make --prefix=/vartmp/root module install might be a solution but I don't try it yet ...
YasuhideOmori
 
Posts: 5
Joined: 2019-07-20 06:29
Location: Ichihara city, Chiba prefecture, Japan

Re: How to enable wifi

Postby Segfault » 2019-07-30 22:38

I think I read once upon time somewhere Windows likes writing into firmware without owners permission - well, if you run Windows then you really don't own your computer, you are a licensed user at best. By installing Windows you agree to hand over the rights to the hardware to Microsoft. Anyhow, I recall Windows may disable the Wi-Fi in firmware when shut down. But then again, my last Windows crashed in 2003, so you can take it all as hearsay.
Segfault
 
Posts: 914
Joined: 2005-09-24 12:24

Re: How to enable wifi

Postby YasuhideOmori » 2019-08-03 21:35

Segfault wrote:I think I read once upon time somewhere Windows likes writing into firmware without owners permission - well, if you run Windows then you really don't own your computer, you are a licensed user at best. By installing Windows you agree to hand over the rights to the hardware to Microsoft. Anyhow, I recall Windows may disable the Wi-Fi in firmware when shut down. But then again, my last Windows crashed in 2003, so you can take it all as hearsay.


Hm ...
There is no problem if I use Vista by using HDD
When I change to SSD(Debian 10.0 buster) wi-fi doesn&t work, moreover even if booting Vista IEEE802.11a ' s SSID was shown

Is there some firmware for this kind of stupid EPROM?
YasuhideOmori
 
Posts: 5
Joined: 2019-07-20 06:29
Location: Ichihara city, Chiba prefecture, Japan

Re: How to enable wifi

Postby Segfault » 2019-08-03 21:47

I meant the motherboard firmware. If the card is disabled in motherboard firmware it cannot be enabled by rfkill.
Segfault
 
Posts: 914
Joined: 2005-09-24 12:24


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 12 guests

fashionable