Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 05/04/2012, à 21:36

AozRoon

RESOLU - Wifi sur Cubox...

Salut,

J'essaye de configurer un accès wifi sur une Cubox (ordi ARM --> http://www.solid-run.com/mw/index.php/C … ification)
La machine tourne un ubuntu 10.04, noyau 2.6.32.59

uname -a
Linux cubox 2.6.32.59-dove-5.4.2 #32 PREEMPT Tue Apr 3 05:11:12 MDT 2012 armv7l GNU/Linux
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.4 LTS"

lsusb, lspci & lshw ne renvoient rien (ARM ?).

~$ lsmod
Module                  Size  Used by
binfmt_misc             6129  1
8712u                 317267  0
sg                     15785  0

J'utilise une carte wifi usb d-link dwa-131.

Elle a l'air reconnue et a l'air de se connecter à mon réseau wifi, mais je n'ai pas de réseau. Par exemple, mon routeur ne répond pas au ping... alors que sur l'interface du routeur je vois bien la cubox, son adresse MAC et l'IP qui lui a était attibuée...

Des pistes ?

EDIT : en rebootant sans connexion ethernet le problème s'est réglé tout seul

$ more /etc/network/interfaces
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.

# The loopback network interface
auto lo
iface lo inet loopback

# Wifi
auto wlan0
iface wlan0 inet dhcp
   wpa-ssid monNomDeReseau
   wpa-ap-scan 1
   wpa-scan-ssid 1
   wpa-key-mgmt WPA-PSK
   wpa-group CCMP
   wpa-proto RSN
   wpa-psk monSuperMotDePasse
$ sudo iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: 00:22:6B:6E:2E:D0
                    ESSID:"monNomDeReseau"
                    Protocol:IEEE 802.11bg
                    Mode:Master
                    Frequency:2.437 GHz (Channel 6)
                    Encryption key:on
                    Bit Rates:54 Mb/s
                    Extra:rsn_ie=30140100000fac040100000fac040100000fac020c00
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    Signal level=100/100
$ sudo /etc/init.d/networking restart
 * Reconfiguring network interfaces...                                          There is already a pid file /var/run/dhclient.wlan0.pid with pid 906
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/1c:7e:e5:2a:5a:fa
Sending on   LPF/wlan0/1c:7e:e5:2a:5a:fa
Sending on   Socket/fallback
DHCPRELEASE on wlan0 to 192.168.1.1 port 67
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/1c:7e:e5:2a:5a:fa
Sending on   LPF/wlan0/1c:7e:e5:2a:5a:fa
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPOFFER of 192.168.1.145 from 192.168.1.1
DHCPREQUEST of 192.168.1.145 on wlan0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.145 from 192.168.1.1
bound to 192.168.1.145 -- renewal in 34313 seconds.
ssh stop/waiting
ssh start/running, process 1123
                                                                         [ OK ]
$ lsmod
Module                  Size  Used by
binfmt_misc             6129  1
8712u                 317267  0
sg                     15785  0
$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:"potager"  Nickname:"rtl_wifi"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:22:6B:6E:2E:D0
          Bit Rate:54 Mb/s   Sensitivity:0/0
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=36/100  Signal level=36/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
$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:43:37:19:35
          inet addr:192.168.1.142  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::250:43ff:fe37:1935/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:183 errors:0 dropped:0 overruns:0 frame:0
          TX packets:169 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:18439 (18.4 KB)  TX bytes:24088 (24.0 KB)
          Interrupt:29

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:469 errors:0 dropped:0 overruns:0 frame:0
          TX packets:469 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:45013 (45.0 KB)  TX bytes:45013 (45.0 KB)

wlan0     Link encap:Ethernet  HWaddr 1c:7e:e5:2a:5a:fa
          inet addr:192.168.1.145  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::1e7e:e5ff:fe2a:5afa/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1634 errors:0 dropped:64 overruns:0 frame:0
          TX packets:28 errors:0 dropped:1 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

Dernière modification par AozRoon (Le 05/04/2012, à 23:45)

Hors ligne