Codice: Seleziona tutto
03:01.0 Ethernet controller [0200]: Qualcomm Atheros AR5212/5213/2414 Wireless Network Adapter [168c:0013] (rev 01)Edit: dimenticavo

Codice: Seleziona tutto
03:01.0 Ethernet controller [0200]: Qualcomm Atheros AR5212/5213/2414 Wireless Network Adapter [168c:0013] (rev 01)
Codice: Seleziona tutto
sudo lshw -C network
Codice: Seleziona tutto
dmesg | grep ath
Codice: Seleziona tutto
lsmod
Codice: Seleziona tutto
sudo ifconfig -a
Codice: Seleziona tutto
iwconfig

Codice: Seleziona tutto
sudo lshw -C network
*-network
description: Ethernet interface
product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:01:00.0
logical name: enp1s0
version: 02
serial: 00:25:22:14:f2:78
size: 10Mbit/s
capacity: 100Mbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:26 ioport:d800(size=256) memory:fdeff000-fdefffff memory:fdee0000-fdeeffff memory:feae0000-feafffff
*-usb
description: Wireless interface
product: ZyXEL G-202
vendor: ZyDAS
physical id: 3
bus info: usb@1:3
logical name: wlx0023f82a87aa
version: 48.10
serial: 00:23:f8:2a:87:aa
capabilities: usb-2.00 ethernet physical wireless
configuration: broadcast=yes driver=zd1211rw driverversion=4.4.0-51-generic firmware=4725 ip=192.168.1.104 link=yes maxpower=500mA multicast=yes speed=480Mbit/s wireless=IEEE 802.11bg
*-network UNCLAIMED
description: Ethernet controller
product: AR5212/5213/2414 Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 1
bus info: pci@0000:03:01.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: pm cap_list
configuration: latency=168 maxlatency=28 mingnt=10
resources: memory:bebe0000-bebeffff
Codice: Seleziona tutto
dmesg | grep ath
[ 76.292937] ath5k 0000:03:01.0: registered as 'phy0'
[ 76.317984] ath5k: phy0: failed to resume the MAC Chip
[ 76.318096] ath5k: probe of 0000:03:01.0 failed with error -5
daniele@daniele-desktop:~$
Codice: Seleziona tutto
lsmod
Module Size Used by
drbg 32768 1
ansi_cprng 16384 0
ctr 16384 1
ccm 20480 1
arc4 16384 2
zd1211rw 61440 0
nvram 16384 0
msr 16384 0
mxl5005s 53248 0
af9013 32768 0
dvb_usb_af9015 32768 0
dvb_usb_v2 36864 1 dvb_usb_af9015
dvb_core 122880 1 dvb_usb_v2
rc_core 28672 2 dvb_usb_v2,dvb_usb_af9015
coretemp 16384 0
kvm_intel 172032 0
gpio_ich 16384 0
snd_hda_codec_realtek 86016 1
kvm 540672 1 kvm_intel
ath5k 147456 0
snd_hda_codec_generic 77824 1 snd_hda_codec_realtek
snd_hda_intel 40960 3
ath 32768 1 ath5k
snd_hda_codec 135168 3 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel
irqbypass 16384 1 kvm
mac80211 737280 2 ath5k,zd1211rw
snd_hda_core 73728 4 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_hwdep 16384 1 snd_hda_codec
lpc_ich 24576 0
input_leds 16384 0
snd_pcm 106496 3 snd_hda_codec,snd_hda_intel,snd_hda_core
serio_raw 16384 0
snd_seq_midi 16384 0
snd_seq_midi_event 16384 1 snd_seq_midi
cfg80211 565248 4 ath,ath5k,mac80211,zd1211rw
snd_rawmidi 32768 1 snd_seq_midi
snd_seq 69632 2 snd_seq_midi_event,snd_seq_midi
snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 32768 2 snd_pcm,snd_seq
snd 81920 16 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device
soundcore 16384 1 snd
shpchp 36864 0
8250_fintek 16384 0
mac_hid 16384 0
parport_pc 32768 1
ppdev 20480 0
lp 20480 0
parport 49152 3 lp,ppdev,parport_pc
autofs4 40960 2
hid_generic 16384 0
usbhid 49152 0
hid 118784 2 hid_generic,usbhid
i915 1208320 6
video 40960 1 i915
i2c_algo_bit 16384 1 i915
drm_kms_helper 155648 1 i915
pata_acpi 16384 0
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
drm 364544 8 i915,drm_kms_helper
fjes 28672 0
r8169 81920 0
mii 16384 1 r8169
Codice: Seleziona tutto
sudo ifconfig -a
enp1s0 Link encap:Ethernet IndirizzoHW 00:25:22:14:f2:78
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1000
Byte RX:0 (0.0 B) Byte TX:0 (0.0 B)
lo Link encap:Loopback locale
indirizzo inet:127.0.0.1 Maschera:255.0.0.0
indirizzo inet6: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:535 errors:0 dropped:0 overruns:0 frame:0
TX packets:535 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1
Byte RX:47729 (47.7 KB) Byte TX:47729 (47.7 KB)
wlx0023f82a87aa Link encap:Ethernet IndirizzoHW 00:23:f8:2a:87:aa
indirizzo inet:192.168.1.104 Bcast:192.168.1.255 Maschera:255.255.255.0
indirizzo inet6: fe80::8e7c:87ba:aca9:5b18/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2193026 errors:0 dropped:0 overruns:0 frame:0
TX packets:1097638 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1000
Byte RX:3317425242 (3.3 GB) Byte TX:93248241 (93.2 MB)
Codice: Seleziona tutto
iwconfig
lo no wireless extensions.
enp1s0 no wireless extensions.
wlx0023f82a87aa IEEE 802.11bg ESSID:"TP-LINK_7854EC"
Mode:Managed Frequency:2.457 GHz Access Point: C0:4A:00:78:54:EC
Bit Rate:54 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=48/100 Signal level=48/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:278 Invalid misc:6731 Missed beacon:0

Hai l'IPv6 attivo.wlx0023f82a87aa Link encap:Ethernet IndirizzoHW 00:23:f8:2a:87:aa
indirizzo inet:192.168.1.104 Bcast:192.168.1.255 Maschera:255.255.255.0
indirizzo inet6: fe80::8e7c:87ba:aca9:5b18/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2193026 errors:0 dropped:0 overruns:0 frame:0
TX packets:1097638 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1000
Byte RX:3317425242 (3.3 GB) Byte TX:93248241 (93.2 MB)
Da terminale dai questi comandi:[ 76.292937] ath5k 0000:03:01.0: registered as 'phy0'
[ 76.317984] ath5k: phy0: failed to resume the MAC Chip
[ 76.318096] ath5k: probe of 0000:03:01.0 failed with error -5
Codice: Seleziona tutto
sudo rfkill unblock all
Codice: Seleziona tutto
echo "options ath5k no_hw_rfkill_switch=Y" | sudo tee /etc/modprobe.d/ath5k.conf
Codice: Seleziona tutto
dmesg | grep ath
Codice: Seleziona tutto
rfkill list

Codice: Seleziona tutto
echo "options ath5k no_hw_rfkill_switch=Y" | sudo tee /etc/modprobe.d/ath5k.conf
options ath5k no_hw_rfkill_switch=Y
Codice: Seleziona tutto
dmesg | grep ath
[ 17.012687] ath5k 0000:03:01.0: registered as 'phy0'
[ 17.028318] ath5k: phy0: failed to wakeup the MAC Chip
[ 17.028396] ath5k: probe of 0000:03:01.0 failed with error -5
Codice: Seleziona tutto
rfkill list
0: phy1: Wireless LAN
Soft blocked: no
Hard blocked: no

Codice: Seleziona tutto
sudo rm /etc/modprobe.d/ath5k.conf
Codice: Seleziona tutto
echo options ath5k nohwcrypt=Y | sudo tee /etc/modprobe.d/ath5k.conf

Codice: Seleziona tutto
echo options ath5k nohwcrypt=Y | sudo tee /etc/modprobe.d/ath5k.conf
options ath5k nohwcrypt=Y

Codice: Seleziona tutto
sudo apt-get install build-essential linux-headers-generic
Codice: Seleziona tutto
wget https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v4.4.2/backports-4.4.2-1.tar.gz
Codice: Seleziona tutto
tar -zxvf backports-4.4.2-1.tar.gz
Codice: Seleziona tutto
cd backports-*
Codice: Seleziona tutto
make defconfig-ath5k
Codice: Seleziona tutto
make
Codice: Seleziona tutto
sudo make install
Codice: Seleziona tutto
sudo modprobe ath5k
Codice: Seleziona tutto
dmesg | grep ath

Codice: Seleziona tutto
sudo make install
Building modules, stage 2.
MODPOST 5 modules
INSTALL /home/daniele/backports-4.4.2-1/compat/compat.ko
At main.c:222:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: certs/signing_key.pem: No such file or directory
INSTALL /home/daniele/backports-4.4.2-1/drivers/net/wireless/ath/ath.ko
At main.c:222:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: certs/signing_key.pem: No such file or directory
INSTALL /home/daniele/backports-4.4.2-1/drivers/net/wireless/ath/ath5k/ath5k.ko
At main.c:222:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: certs/signing_key.pem: No such file or directory
INSTALL /home/daniele/backports-4.4.2-1/net/mac80211/mac80211.ko
At main.c:222:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: certs/signing_key.pem: No such file or directory
INSTALL /home/daniele/backports-4.4.2-1/net/wireless/cfg80211.ko
At main.c:222:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: certs/signing_key.pem: No such file or directory
DEPMOD 4.4.0-51-generic
depmod will prefer updates/ over kernel/ -- OK!
Note:
You may or may not need to update your initramfs, you should if
any of the modules installed are part of your initramfs. To add
support for your distribution to do this automatically send a
patch against "update-initramfs.sh". If your distribution does not
require this send a patch with the '/usr/bin/lsb_release -i -s'
("Ubuntu") tag for your distribution to avoid this warning.
Your backported driver modules should be installed now.
Reboot.
Codice: Seleziona tutto
dmesg | grep ath
[ 22.099349] ath5k 0000:03:01.0: registered as 'phy0'
[ 22.114982] ath5k: phy0: failed to wakeup the MAC Chip
[ 22.115049] ath5k: probe of 0000:03:01.0 failed with error -5
Codice: Seleziona tutto
SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: certs/signing_key.pem: No such file or directory




Codice: Seleziona tutto
ndiswrapper -l
Codice: Seleziona tutto
sudo ifconfig -a
Codice: Seleziona tutto
iwconfig
Codice: Seleziona tutto
dmesg | grep ndiswrapper
Codice: Seleziona tutto
lsmod

Codice: Seleziona tutto
ndiswrapper -l
netathw : driver installed
device (168C:0013) present (alternate driver: ath5k)
Codice: Seleziona tutto
sudo ifconfig -a
enp1s0 Link encap:Ethernet IndirizzoHW 00:25:22:14:f2:78
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1000
Byte RX:0 (0.0 B) Byte TX:0 (0.0 B)
lo Link encap:Loopback locale
indirizzo inet:127.0.0.1 Maschera:255.0.0.0
indirizzo inet6: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:302 errors:0 dropped:0 overruns:0 frame:0
TX packets:302 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1
Byte RX:28028 (28.0 KB) Byte TX:28028 (28.0 KB)
wlx0023f82a87aa Link encap:Ethernet IndirizzoHW 00:23:f8:2a:87:aa
indirizzo inet:192.168.1.104 Bcast:192.168.1.255 Maschera:255.255.255.0
indirizzo inet6: fe80::223:f8ff:fe2a:87aa/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1182 errors:0 dropped:0 overruns:0 frame:0
TX packets:1288 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1000
Byte RX:773228 (773.2 KB) Byte TX:194823 (194.8 KB)
Codice: Seleziona tutto
iwconfig
lo no wireless extensions.
enp1s0 no wireless extensions.
wlx0023f82a87aa IEEE 802.11bg ESSID:"TP-LINK_7854EC"
Mode:Managed Frequency:2.457 GHz Access Point: C0:4A:00:78:54:EC
Bit Rate:48 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=39/100 Signal level=39/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:2 Invalid misc:73 Missed beacon:0
Codice: Seleziona tutto
dmesg | grep ndiswrapper
[ 20.594674] ndiswrapper: module verification failed: signature and/or required key missing - tainting kernel
[ 20.595542] ndiswrapper version 1.59 loaded (smp=yes, preempt=no)
[ 22.503919] ndiswrapper (check_nt_hdr:141): kernel is 64-bit, but Windows driver is not 64-bit;bad magic: 010B
[ 22.503925] ndiswrapper (load_sys_files:200): couldn't prepare driver 'netathw'
[ 22.504404] ndiswrapper (load_wrap_driver:103): couldn't load driver netathw; check system log for messages from 'loadndisdriver'
[ 22.505639] usbcore: registered new interface driver ndiswrapper
Codice: Seleziona tutto
lsmod
Module Size Used by
drbg 32768 1
ansi_cprng 16384 0
ctr 16384 1
ccm 20480 1
nvram 16384 0
msr 16384 0
mxl5005s 53248 1
af9013 32768 1
arc4 16384 2
zd1211rw 61440 0
mac80211 737280 1 zd1211rw
dvb_usb_af9015 32768 0
dvb_usb_v2 36864 1 dvb_usb_af9015
dvb_core 122880 1 dvb_usb_v2
rc_core 28672 2 dvb_usb_v2,dvb_usb_af9015
cfg80211 565248 2 mac80211,zd1211rw
coretemp 16384 0
kvm_intel 172032 0
gpio_ich 16384 0
kvm 540672 1 kvm_intel
snd_hda_codec_realtek 86016 1
snd_hda_codec_generic 77824 1 snd_hda_codec_realtek
irqbypass 16384 1 kvm
snd_hda_intel 40960 3
snd_hda_codec 135168 3 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel
input_leds 16384 0
snd_hda_core 73728 4 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_hwdep 16384 1 snd_hda_codec
lpc_ich 24576 0
serio_raw 16384 0
snd_pcm 106496 3 snd_hda_codec,snd_hda_intel,snd_hda_core
snd_seq_midi 16384 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_rawmidi 32768 1 snd_seq_midi
snd_seq 69632 2 snd_seq_midi_event,snd_seq_midi
snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 32768 2 snd_pcm,snd_seq
snd 81920 16 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device
soundcore 16384 1 snd
ndiswrapper 286720 0
shpchp 36864 0
8250_fintek 16384 0
binfmt_misc 20480 1
mac_hid 16384 0
parport_pc 32768 1
ppdev 20480 0
lp 20480 0
parport 49152 3 lp,ppdev,parport_pc
autofs4 40960 2
hid_generic 16384 0
usbhid 49152 0
hid 118784 2 hid_generic,usbhid
i915 1208320 6
pata_acpi 16384 0
video 40960 1 i915
i2c_algo_bit 16384 1 i915
drm_kms_helper 155648 1 i915
fjes 28672 0
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
r8169 81920 0
fb_sys_fops 16384 1 drm_kms_helper
mii 16384 1 r8169
drm 364544 8 i915,drm_kms_helper

Codice: Seleziona tutto
rfkill list all
Il kernel linux installato sul tuo pc è a 64bit hai scaricato ed installato il driver per Win XP a 32bit, vedi se c'è quello a 64bit e rifai l'installazione del driver con ndiswrapper cancellando prima quello a 32bit.dmesg | grep ndiswrapper
[ 20.594674] ndiswrapper: module verification failed: signature and/or required key missing - tainting kernel
[ 20.595542] ndiswrapper version 1.59 loaded (smp=yes, preempt=no)
[ 22.503919] ndiswrapper (check_nt_hdr:141): kernel is 64-bit, but Windows driver is not 64-bit;bad magic: 010B
[ 22.503925] ndiswrapper (load_sys_files:200): couldn't prepare driver 'netathw'
[ 22.504404] ndiswrapper (load_wrap_driver:103): couldn't load driver netathw; check system log for messages from 'loadndisdriver'
[ 22.505639] usbcore: registered new interface driver ndiswrapper


Hai l'IPv6 attivo.wlx0023f82a87aa Link encap:Ethernet IndirizzoHW 00:23:f8:2a:87:aa
indirizzo inet:192.168.1.104 Bcast:192.168.1.255 Maschera:255.255.255.0
indirizzo inet6: fe80::223:f8ff:fe2a:87aa/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1182 errors:0 dropped:0 overruns:0 frame:0
TX packets:1288 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1000
Byte RX:773228 (773.2 KB) Byte TX:194823 (194.8 KB)



Visualizzano questa sezione: 0 utenti iscritti e 4 ospiti