<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://forum.ubuntu-fr.org/extern.php?action=feed&amp;tid=870521&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Forum Ubuntu-fr.org / RESOLU - Wifi sur Cubox...]]></title>
		<link>http://forum.ubuntu-fr.org/viewtopic.php?id=870521</link>
		<description><![CDATA[Les sujets les plus récents dans RESOLU - Wifi sur Cubox....]]></description>
		<lastBuildDate>Thu, 05 Apr 2012 19:36:09 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[RESOLU - Wifi sur Cubox...]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=8723091#p8723091</link>
			<description><![CDATA[<p>Salut,</p><p>J&#039;essaye de configurer un accès wifi sur une Cubox (ordi ARM --&gt; <a href="http://www.solid-run.com/mw/index.php/CuBox_hardware_specification)">http://www.solid-run.com/mw/index.php/C … ification)</a><br />La machine tourne un ubuntu 10.04, noyau 2.6.32.59</p><div class="codebox"><pre><code>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</code></pre></div><div class="codebox"><pre><code>$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION=&quot;Ubuntu 10.04.4 LTS&quot;</code></pre></div><p>lsusb, lspci &amp; lshw ne renvoient rien (ARM ?).</p><div class="codebox"><pre><code>~$ lsmod
Module                  Size  Used by
binfmt_misc             6129  1
8712u                 317267  0
sg                     15785  0</code></pre></div><br /><p>J&#039;utilise une carte wifi usb d-link dwa-131.</p><p>Elle a l&#039;air reconnue et a l&#039;air de se connecter à mon réseau wifi, mais je n&#039;ai pas de réseau. Par exemple, mon routeur ne répond pas au ping... alors que sur l&#039;interface du routeur je vois bien la cubox, son adresse MAC et l&#039;IP qui lui a était attibuée...</p><p>Des pistes ?</p><p><strong>EDIT :</strong> en rebootant sans connexion ethernet le problème s&#039;est réglé tout seul</p><div class="codebox"><pre><code>$ 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</code></pre></div><div class="codebox"><pre><code>$ sudo iwlist scan
lo        Interface doesn&#039;t support scanning.

eth0      Interface doesn&#039;t support scanning.

wlan0     Scan completed :
          Cell 01 - Address: 00:22:6B:6E:2E:D0
                    ESSID:&quot;monNomDeReseau&quot;
                    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</code></pre></div><div class="codebox"><pre class="vscroll"><code>$ 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 ]</code></pre></div><div class="codebox"><pre><code>$ lsmod
Module                  Size  Used by
binfmt_misc             6129  1
8712u                 317267  0
sg                     15785  0</code></pre></div><div class="codebox"><pre><code>$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:&quot;potager&quot;  Nickname:&quot;rtl_wifi&quot;
          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</code></pre></div><div class="codebox"><pre><code>$ 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)</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (AozRoon)]]></author>
			<pubDate>Thu, 05 Apr 2012 19:36:09 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=8723091#p8723091</guid>
		</item>
	</channel>
</rss>
