Ho seguito la guida, ma la scheda di rete continua a non funzionare.
Premesso che ho una Hamlet HNWP254 che viene riconosciuta dal kernel per cui non ho bisogno di installare nessun driver, vi spiego la situazione.
Ecco ifconfig:
Codice: Seleziona tutto
eth0 Link encap:Ethernet HWaddr 00:0E:7F:6F:45:34
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20e:7fff:fe6f:4534/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3349 errors:0 dropped:0 overruns:0 frame:0
TX packets:2189 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1570200 (1.4 MiB) TX bytes:430078 (419.9 KiB)
Interrupt:11 Base address:0x8000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:33 errors:0 dropped:0 overruns:0 frame:0
TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2185 (2.1 KiB) TX bytes:2185 (2.1 KiB)
wlan0 Link encap:Ethernet HWaddr 00:12:0E:49:C5:DE
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
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11
wlan0:ava Link encap:Ethernet HWaddr 00:12:0E:49:C5:DE
inet addr:169.254.8.116 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
Interrupt:11
Cos'è la seconda wlan0? (Quella con ava)
iwconfig
Codice: Seleziona tutto
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11b+/g+ ESSID:"STA49C5DE" Nickname:"acx v0.3.36"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate:1 Mb/s Tx-Power=15 dBm Sensitivity=1/3
Retry min limit:7 RTS thr:off
Power Management:off
Link Quality=50/100 Signal level=31/100 Noise level=0/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
iwlist scan
Codice: Seleziona tutto
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
wlan0 Scan completed :
Cell 01 - Address: 00:18:4D:CD:B5:E4
ESSID:"ALEX"
Mode:Master
Frequency:2.412 GHz (Channel 1)
Quality=50/100 Signal level=30/100 Noise level=0/100
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 22 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s
(ho fatto trasmettere il sid e non ho impostati wep per facilitare le cose, se la scheda avesse funzionato avrei aumentato la sicurezza)
route
Codice: Seleziona tutto
Kernel IP routeing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 wlan0
link-local * 255.255.0.0 U 1000 0 0 eth0
default www.routerlogin 0.0.0.0 UG 0 0 0 eth0
default * 0.0.0.0 U 1000 0 0 wlan0
Quando do sudo iwcondif eth0 down network-manager si disconnette dalla rete cablata ma dopo pochi secondi si riconnette automaticamente >:(
File di configurazione interfacce rete
Codice: Seleziona tutto
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto wlan0
iface wlan0 inet dhcp
wireless-essid ALEX
wireless-channel 1
wireless-mode managed
iface eth0 inet dhcp
auto eth0
A me sembra che sia tutto a posto e il led della scheda che indica la presenza di una rete wireless lampeggia confermandomi che esiste la rete wireless.
Credo che il problema sia nell'assegnazione dell'indirizzo, che non avviene in automatico.
Codice: Seleziona tutto
* Reconfiguring network interfaces... RTNETLINK answers: No such process
There is already a pid file /var/run/dhclient.wlan0.pid with pid 6505
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/wlan0/00:12:0e:49:c5:de
Sending on LPF/wlan0/00:12:0e:49:c5:de
Sending on Socket/fallback
RTNETLINK answers: No such process
There is already a pid file /var/run/dhclient.eth0.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:0e:7f:6f:45:34
Sending on LPF/eth0/00:0e:7f:6f:45:34
Sending on Socket/fallback
DHCPRELEASE on eth0 to 192.168.0.1 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
There is already a pid file /var/run/dhclient.wlan0.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/wlan0/00:12:0e:49:c5:de
Sending on LPF/wlan0/00:12:0e:49:c5:de
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPOFFER from 192.168.0.1
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1
bound to 192.168.0.4 -- renewal in 33009 seconds.
There is already a pid file /var/run/dhclient.eth0.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Con la rete cablata il risultato è invece questo:
Codice: Seleziona tutto
* Reconfiguring network interfaces... Cannot find device "wlan0"
There is already a pid file /var/run/dhclient.wlan0.pid with pid 7369
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Bind socket to interface: No such device
There is already a pid file /var/run/dhclient.eth0.pid with pid 7488
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:0e:7f:6f:45:34
Sending on LPF/eth0/00:0e:7f:6f:45:34
Sending on Socket/fallback
DHCPRELEASE on eth0 to 192.168.0.1 port 67
wlan0: ERROR while getting interface flags: No such device
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; No such device.
Error for wireless request "Set Frequency" (8B04) :
SET failed on device wlan0 ; No such device.
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device wlan0 ; No such device.
There is already a pid file /var/run/dhclient.wlan0.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
SIOCSIFADDR: No such device
wlan0: ERROR while getting interface flags: No such device
wlan0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up wlan0.
There is already a pid file /var/run/dhclient.eth0.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:0e:7f:6f:45:34
Sending on LPF/eth0/00:0e:7f:6f:45:34
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPOFFER from 192.168.0.1
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1
bound to 192.168.0.3 -- renewal in 39001 seconds.
Qualche suggerimento?