Newsgroup: it.comp.os.linux.iniziare
Titolo: Rete wireless non funzionate

Ciao a tutti,
utilizzo kubuntu 8.10 con msi u100.
Durante l'installazione la scheda di rete wireless non viene 
riconosciuta ne installata.
La scheda dovrebbe essere RTL8180 / RTL8185 dopo aver seguito questa guida
http://www.gianlucavivenzi.com/2008/11/come-installare-ubuntu-810-sul-msi-wind-u100/
La parte che ci interessa inizia cosi "Supponendo che tutto sia andato 
per il verso giusto,"
Ho seguito il tutto e la scheda sembra funzionare ma non trova nessuna
rete
quando lancio iwlist wlan0 scan
immediatamente mi segnala che non ha trovano nessuna rete senza neanche
perdere qualche secondo per la ricerca.
eccovi un po di log
Avete idee?
Grazie e ciao
Lele
iwconfig
lo        no wireless extensions.
eth0      no wireless extensions.
pan0      no wireless extensions.
wlan0     802.11b/g  Mode:Managed  Frequency=2.422 GHz
           Access Point: Not-Associated   Bit Rate:11 Mb/s
           Retry:on   RTS thr:off   Fragment thr:off
           Power Management:off
           Link Quality=0/100  Signal level=0 dBm  Noise level=0 dBm
           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
           Tx excessive retries:0  Invalid misc:0   Missed beacon:
-------------------------------------------------------------------
dmesg
[  462.025046] Linux kernel driver for RTL8180 / RTL8185 based WLAN 
cards
[  462.025067] Copyright (c) 2004-2005, Andrea Merello 
[  462.025073] rtl8180: Initializing module 
[  462.025079] rtl8180: Wireless extensions version 22 
[  462.025084] rtl8180: Initializing proc filesystem 
[  462.025157] rtl8180: Configuring chip resources 
[  462.025185] rtl8180 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> 
IRQ 17
[  462.025200] rtl8180 0000:02:00.0: setting latency timer to 64 
[  462.032187] rtl8180: Channel plan is 2 
[  462.032192] 
[  462.032214] Dot11d_Init() 
[  462.032225] rtl8180: MAC controller is a RTL8187SE b/g 
[  462.032231] rtl8180: This is a PCI NIC 
[  462.034661] rtl8180: usValue is 0x100 
[  462.034665] 
[  462.089668] rtl8180: EEPROM version 104 
[  462.094496] rtl8180: WW:**PLEASE** REPORT SUCCESSFUL/UNSUCCESSFUL TO 
Realtek!
[  462.095173] rtl8180: IRQ 17 
[  462.096213] rtl8180: Driver probe completed 
[  462.096218] 
[  462.140621] rtl8180: Bringing up iface 
[  462.339170] rtl8180: Card successfully reset 
[  463.076077] rtl8180: WIRELESS_MODE_G 
[  463.076082] 
[  467.266303] atkbd.c: Unknown key pressed (translated set 2, code 0xf6 
on isa0060/serio0). 
[  467.266330] atkbd.c: Use 'setkeycodes e076 <keycode>' to make it 
known.
[  467.270118] atkbd.c: Unknown key released (translated set 2, code 
0xf6 on isa0060/serio0). 
[  467.270138] atkbd.c: Use 'setkeycodes e076 <keycode>' to make it 
known.
[ 1598.535387] atkbd.c: Unknown key pressed (translated set 2, code 0xf6 
on isa0060/serio0). 
[ 1598.535421] atkbd.c: Use 'setkeycodes e076 <keycode>' to make it 
known.
[ 1598.539207] atkbd.c: Unknown key released (translated set 2, code 
0xf6 on isa0060/serio0). 
[ 1598.539244] atkbd.c: Use 'setkeycodes e076 <keycode>' to make it 
known.
[ 1598.541695] atkbd.c: Unknown key pressed (translated set 2, code 0xe2 
on isa0060/serio0). 
[ 1598.541731] atkbd.c: Use 'setkeycodes e062 <keycode>' to make it 
known.
[ 1598.545450] atkbd.c: Unknown key released (translated set 2, code 
0xe2 on isa0060/serio0). 
[ 1598.545486] atkbd.c: Use 'setkeycodes e062 <keycode>' to make it 
known.
[ 1599.002310] atkbd.c: Unknown key pressed (translated set 2, code 0xf6 
on isa0060/serio0). 
[ 1599.002349] atkbd.c: Use 'setkeycodes e076 <keycode>' to make it 
known.
[ 1599.006112] atkbd.c: Unknown key released (translated set 2, code 
0xf6 on isa0060/serio0). 
[ 1599.006150] atkbd.c: Use 'setkeycodes e076 <keycode>' to make it 
known.
[ 1599.132086] usb 5-1: new full speed USB device using uhci_hcd and 
address 2
[ 1599.362175] atkbd.c: Unknown key pressed (translated set 2, code 0xf6 
on isa0060/serio0).
[ 1599.362215] atkbd.c: Use 'setkeycodes e076 <keycode>' to make it known.
[ 1599.365763] atkbd.c: Unknown key released (translated set 2, code 
0xf6 on isa0060/serio0).
[ 1599.365784] atkbd.c: Use 'setkeycodes e076 <keycode>' to make it known.
[ 1599.368616] atkbd.c: Unknown key pressed (translated set 2, code 0xe2 
on isa0060/serio0).
[ 1599.368656] atkbd.c: Use 'setkeycodes e062 <keycode>' to make it known.
[ 1599.372207] atkbd.c: Unknown key released (translated set 2, code 
0xe2 on isa0060/serio0).
[ 1599.372228] atkbd.c: Use 'setkeycodes e062 <keycode>' to make it known.
[ 1599.813148] usb 5-1: device not accepting address 2, error -71
[ 1599.869226] hub 5-0:1.0: unable to enumerate USB device on port 1
[ 1616.064701] atkbd.c: Unknown key pressed (translated set 2, code 0xf6 
on isa0060/serio0).
[ 1616.064736] atkbd.c: Use 'setkeycodes e076 <keycode>' to make it known.
[ 1616.068293] atkbd.c: Unknown key released (translated set 2, code 
0xf6 on isa0060/serio0).
[ 1616.068317] atkbd.c: Use 'setkeycodes e076 <keycode>' to make it known.

 rete
ifconfig che risponde ?
se wlan0 non e' up ,iwlist wlan0 scan non trova nulla
che c'e' in /usr/rtl8087se/wlan0up ?
(cat /usr/rtl8087se/wlan0up)

Lele wrote:
Guardato ora , wlan0up contiene :
#!/bin/bash
cd ieee80211
insmod ieee80211_crypt-rtl.ko
insmod ieee80211_crypt_wep-rtl.ko
insmod ieee80211_crypt_tkip-rtl.ko
insmod ieee80211_crypt_ccmp-rtl.ko
insmod ieee80211-rtl.ko
cd ../rtl8185
insmod r8180.ko
cd ../
#ifconfig ath0 up
ifconfig wlan0 up
Io lo modificherei in :
#!/bin/bash
cd ieee80211
insmod ieee80211_crypt-rtl.ko
insmod ieee80211_crypt_wep-rtl.ko
insmod ieee80211_crypt_tkip-rtl.ko
insmod ieee80211_crypt_ccmp-rtl.ko
insmod ieee80211-rtl.ko
cd ../rtl8185
insmod r8180.ko
cd ../
#ifconfig ath0 up
ifconfig wlan0 192.168.1.X (qui metti l'IP statico che preferisci)
route add default gw 192.168.1.X (qui metti l'IP del router wi-fi)
killall wpa_supplicant
sleep 3
wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -B
In  /etc/wpa_supplicant.conf ci metti :
# See /usr/doc/wpa_supplicant-0.5.10/wpa_supplicant.conf.sample
# for many more options that you can use in this file.
# This line enables the use of wpa_cli which is used by rc.wireless
# if possible (to check for successful association)
ctrl_interface=/var/run/wpa_supplicant
# By default, only root (group 0) may use wpa_cli
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
# WPA protected network, supply your own ESSID and WPAPSK here:
network={
  scan_ssid=1
  ssid="essid del tuo router"
  proto=WPA
  key_mgmt=WPA-PSK
  pairwise=CCMP TKIP
  group=CCMP TKIP WEP104 WEP40
  #psk=your_psk_here
  psk=la tua chiave wpa
}
inoltre ti consiglio di usare wpa_passphrase per generare la chiave
 wpa_passphrase  essid   password
network={
        ssid="essid"
        #psk="password"
        psk=6b7a04357a1882e7dad358f1ec8f5e8440fbb21e1cc49a3f11e75776bded686d
}
Ok ?

 perdere qualche secondo per la ricerca.
Prova a farlo con sudo. Io ho una Debian, e mi succede:
$ time iwlist wlan0 scan
wlan0     No scan results
real	0m0.002s
user	0m0.000s
sys	0m0.004s
$ time sudo iwlist wlan0 scan
wlan0     Scan completed :
          Cell 01 - Address: [..]
          Cell 02 - Address: [..]
          Cell 03 - Address: [..]
real	0m0.857s
user	0m0.000s
sys	0m0.004s
$
Non so perché, ma è così. Sinceramente non c'ho mai sbattuto la testa, ci
piazzo un sudo davanti e via.
Ciao,
David
-- 
 . ''`.  Debian maintainer | 
http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- 
http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- 
http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Ciao nickerrante;
Il consiglio di David sembra funzionare ho aggiunto sudo e poi funge.
Perņ fino a sta sera non avrņ un altro pc wireless quindi non posso 
confermare al 100% che funzioni.
Per domani ti faccio sapere.
Adesso guardo tutto quello che hai scritto per capirci un po meglio.
Grazie
Lele

Ciao David Paleino,
è vero funge almeno pare, bha misteri.
grazie
Lele