Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How to enable wifi

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
YasuhideOmori
Posts: 5
Joined: 2019-07-20 06:29
Location: Ichihara city, Chiba prefecture, Japan

How to enable wifi

#1 Post by YasuhideOmori »

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.

User avatar
ruwolf
Posts: 641
Joined: 2008-02-18 05:04
Location: Banovce nad Bebravou
Has thanked: 40 times
Been thanked: 29 times

Re: How to enable wifi

#2 Post by ruwolf »

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
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: How to enable wifi

#3 Post by Head_on_a_Stick »

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.
deadbang

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

Re: How to enable wifi

#4 Post by YasuhideOmori »

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 ...

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: How to enable wifi

#5 Post by Segfault »

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.

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

Re: How to enable wifi

#6 Post by YasuhideOmori »

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?

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: How to enable wifi

#7 Post by Segfault »

I meant the motherboard firmware. If the card is disabled in motherboard firmware it cannot be enabled by rfkill.

Post Reply