LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-13-2018, 11:53 AM   #1
karim19841
LQ Newbie
 
Registered: Jul 2014
Posts: 14

Rep: Reputation: Disabled
Wifi USB TL-WN722N not working on Debian 9


Hi,
I've just installed Debian 9 jessie but when I plug in the usb driver tp link wn722n Debian seem to try to connect but after a while nothing happen.
I've installed the firmware-atheros package and did everything is written on the official Debian site,but it just doesn't works.
The output of lsmod is:
Code:
Module                  Size  Used by
fuse                   98304  3
appletalk              36864  0
ax25                   57344  0
ipx                    28672  0
p8023                  16384  1 ipx
p8022                  16384  1 ipx
psnap                  16384  2 appletalk,ipx
llc                    16384  2 p8022,psnap
arc4                   16384  2
intel_rapl             20480  0
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
coretemp               16384  0
kvm_intel             192512  0
kvm                   589824  1 kvm_intel
irqbypass              16384  1 kvm
ath9k_htc              65536  0
ath9k_common           32768  1 ath9k_htc
ath9k_hw              446464  2 ath9k_htc,ath9k_common
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
snd_hda_codec_hdmi     49152  2
snd_hda_codec_realtek    90112  1
i915                 1232896  2
intel_cstate           16384  0
ath                    32768  3 ath9k_htc,ath9k_hw,ath9k_common
mac80211              671744  1 ath9k_htc
snd_hda_codec_generic    69632  1 snd_hda_codec_realtek
intel_uncore          118784  0
iTCO_wdt               16384  0
mxm_wmi                16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
evdev                  24576  8
intel_rapl_perf        16384  0
snd_hda_intel          36864  0
cfg80211              589824  4 ath9k_htc,mac80211,ath,ath9k_common
snd_hda_codec         135168  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
rfkill                 24576  4 cfg80211
snd_hda_core           81920  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
serio_raw              16384  0
pcspkr                 16384  0
snd_hwdep              16384  1 snd_hda_codec
wmi                    16384  1 mxm_wmi
sg                     32768  0
snd_pcm               110592  4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
battery                20480  0
mei_me                 36864  0
lpc_ich                24576  0
video                  40960  1 i915
nuvoton_cir            20480  0
rc_core                28672  1 nuvoton_cir
mei                   102400  1 mei_me
mfd_core               16384  1 lpc_ich
snd_timer              32768  1 snd_pcm
snd                    86016  8 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek,snd_pcm
soundcore              16384  1 snd
intel_smartconnect     16384  0
button                 16384  1 i915
i2c_algo_bit           16384  1 i915
shpchp                 36864  0
nvidia_drm             45056  1
drm_kms_helper        155648  2 i915,nvidia_drm
drm                   360448  5 i915,nvidia_drm,drm_kms_helper
nvidia_modeset        790528  4 nvidia_drm
nvidia              12701696  67 nvidia_modeset
parport_pc             28672  0
ppdev                  20480  0
lp                     20480  0
parport                49152  3 lp,parport_pc,ppdev
ip_tables              24576  0
x_tables               36864  1 ip_tables
autofs4                40960  2
ext4                  585728  1
crc16                  16384  1 ext4
jbd2                  106496  1 ext4
crc32c_generic         16384  0
fscrypto               28672  1 ext4
ecb                    16384  0
mbcache                16384  2 ext4
sd_mod                 45056  3
hid_generic            16384  0
usbhid                 53248  0
hid                   122880  2 hid_generic,usbhid
sr_mod                 24576  0
cdrom                  61440  1 sr_mod
crc32c_intel           24576  2
aesni_intel           167936  1
aes_x86_64             20480  1 aesni_intel
glue_helper            16384  1 aesni_intel
lrw                    16384  1 aesni_intel
gf128mul               16384  1 lrw
ablk_helper            16384  1 aesni_intel
cryptd                 24576  3 ablk_helper,ghash_clmulni_intel,aesni_intel
i2c_i801               24576  0
i2c_smbus              16384  1 i2c_i801
firewire_ohci          40960  0
firewire_core          65536  1 firewire_ohci
psmouse               135168  0
crc_itu_t              16384  1 firewire_core
ahci                   36864  2
libahci                32768  1 ahci
tg3                   159744  0
ptp                    20480  1 tg3
pps_core               16384  1 ptp
libphy                 49152  1 tg3
xhci_pci               16384  0
libata                249856  2 ahci,libahci
ehci_pci               16384  0
xhci_hcd              188416  1 xhci_pci
ehci_hcd               81920  1 ehci_pci
scsi_mod              225280  4 sd_mod,libata,sr_mod,sg
usbcore               249856  6 ath9k_htc,usbhid,ehci_hcd,xhci_pci,xhci_hcd,ehci_pci
usb_common             16384  1 usbcore
and my interface file is:
Code:
 This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback


auto wlan0
iface wlan0 inet dhcp
        wpa-ssid NsHome
        wpa-psk qwertyuiopasdfgh
 
Old 02-13-2018, 12:26 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,800

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Hmmm... that seems very similar behaviour to this recent thread (involving a TPLink device)...
https://www.linuxquestions.org/quest...up-4175622186/

See if you can get it working as described in post #10 and #11. It uses a small set of commands (contained in a script), and called by 'post-up' in /etc/network/interfaces. You'll obviously need to use the device node name applicable to your wifi device ie wlan0
 
Old 02-13-2018, 12:55 PM   #3
karim19841
LQ Newbie
 
Registered: Jul 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
Thanks for having answered, however it doesn't work
 
Old 02-13-2018, 01:03 PM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,800

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Then you're going to have to supply more information. Examine /var/log/wpa_supplicant.log following a connection attempt.

Are you able to scan for wireless networks successfully?
Code:
iw dev wlan0 scan
 
Old 02-13-2018, 01:16 PM   #5
karim19841
LQ Newbie
 
Registered: Jul 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
The command return "command failed: No such device (-19)". The weird things is that when I go to the list of WI-FI connection avaible in the GUI (i use GNOME) it shows my connection, but when I click on my connection it ask for my password but then it just stop connecting,as if it failed to complete the process.
 
Old 02-13-2018, 03:15 PM   #6
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,800

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
What network device nodes are reported?
Code:
ip link
If you have lshw installed, you can also do
Code:
lshw -network
Check that there are no problems with the driver or firmware loading...
Code:
dmesg|egrep "ath9k|firmware"
 
  


Reply



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
Trouble getting TL-WN722N adapter working with Kali Linux SirKamyk Linux - Newbie 5 03-11-2018 10:11 PM
[SOLVED] Problem connecting to WIFI with usb WIFI adapter on debian stretch beric Linux - Hardware 0 09-19-2017 07:44 AM
Tl-wn722n v2 not working in kali linux in virtualbox aman.tamta Linux - Newbie 1 08-08-2017 10:14 AM
tl-wn722n usb wifi wicd ktm275 Linux - Networking 4 02-28-2014 12:21 PM
[SOLVED] Wifi not working in Eee PPC 1000HE (Debian Squeeze), but ethernet is working someshpr Linux - Laptop and Netbook 8 10-10-2011 03:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:54 PM.

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