Re: [PATCH] staging: r8712u: Fix driver to support ad-hoc mode

From: clemens fischer
Date: Fri Apr 29 2011 - 18:25:57 EST


> Jeff Chua:

> On Sat, Apr 30, 2011 at 5:15 AM, clemens fischer
> <ino-news@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> > I cannot find out what it is:  "dnsmasq(8)" even gives out a lease, the
> > firewall doesn't block any packets etc.  Note that "wpa_supplicant(8)"
> > could set the ESSID while "iwconfig(8)" couldn't.  I think it has to do
> > with my mobile, a window$-mobile-6.1 device, because I cannot see the
> > typical log entries:
> >
> >  client provides name: wince
> >  vendor class: Microsoft Windows CE
> >  DHCPREQUEST(wlan0) 192.168.3.2 ...
> >  DHCPACK(wlan0) 192.168.3.2 ...
> >  requested options: 1:netmask, ...
>
> It looks like dhcpd has given you an IP. That's good. Can you try to
> ping your mobile from your server. Does ping return anything?
>
> # ping 192.168.3.2

You misunderstood: The log entries shown were from the configuration
using the old driver whereas "r8712u" has only DHCP offers in the logs
but no ACKs. But since you asked, "ping(8)" returns:

From 192.168.3.1 icmp_seq=8 Destination Host Unreachable

192.168.3.1 is the IP of the wlan0 interface of the linux host acting
as the router/DNS-resolver/DHCP-provider.


regards, clemens
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/