<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 21, 2015 at 6:35 PM, Dan Williams <span dir="ltr"><<a href="mailto:dcbw@redhat.com" target="_blank">dcbw@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, 2015-01-21 at 11:05 +0100, Harm Verhagen wrote:<br>
> Ignoring the lack of "valid interface combinations:" just trying a 2nd<br>
> interface<br>
<br>
</span>Lack of "valid interface combinations" means that the driver is not<br>
advertising the ability, and therefore we cannot assume that it actually<br>
works. The kernel support for this has been around 2011 (kernel version<br>
3.0) so any driver that doesn't support it probably doesn't work well...<br></blockquote><div><br></div><div>Clear</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I see you said GWF-3M05 which appears to be a ralink device. Which<br>
kernel version and which ralink driver are you using? Are you using<br>
rt2800usb or are you using a vendor driver?<br>
<br></blockquote><div> </div><div>kernel: 3.1.10</div><div>about driver, i'm not really sure. How can I tell ?</div><div>Let me check the kernel config tomorrow.</div><div><br></div><div>Regards,</div><div>Harm</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dan<br>
<span class=""><br>
> iw dev wlan0 interface add wlan0-STA type managed<br>
><br>
> ip link set dev wlan0-STA address 7C:CD:EF:00:01:02 # prevent "Name<br>
> not unique on network" error<br>
><br>
> ifup wlan0-STA works fine as STA, connects and gets ip.<br>
><br>
> But then upping wlan (just a static ip, no hostapd yet) fails<br>
><br>
> $ ifup wlan0<br>
><br>
> ifconfig: SIOCSIFFLAGS: No buffer space available<br>
><br>
> ifconfig: SIOCSIFFLAGS: No buffer space available<br>
<br>
</span>This error usually appears to mean out-of-memory when constructing<br>
netlink packets, which is the protocol that 'iw' and the kernel use to<br>
communicate. So clearly there are either driver or kernel stack bugs or<br>
issues on this platform.<br>
<span class="HOEnZb"><font color="#888888"><br>
Dan<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
><br>
> What could cause such a "No buffer space available" ?<br>
><br>
> Regards,<br>
> Harm<br>
><br>
><br>
> On Wed, Jan 21, 2015 at 9:45 AM, Harm Verhagen <<a href="mailto:harm.verhagen@gmail.com">harm.verhagen@gmail.com</a>><br>
> wrote:<br>
><br>
> ><br>
> ><br>
> > On Thu, Jan 15, 2015 at 6:51 PM, Dan Williams <<a href="mailto:dcbw@redhat.com">dcbw@redhat.com</a>> wrote:<br>
> ><br>
> >><br>
> >> > This gave me the idea, that if hostapd can create 'new' wlan devices. I<br>
> >> > (hopefully) can configure the 2nd wlan0_0 device as a wifi client.<br>
> >><br>
> >> It depends on your hardware and driver whether this is possible. Look<br>
> >> at the output of "iw phy phy0 info", where you should see stuff like:<br>
> >><br>
> >> valid interface combinations:<br>
> >> * #{ managed } <= 1, #{ AP } <= 1,<br>
> >> total <= 2, #channels <= 1, STA/AP BI must match<br>
> >> * #{ managed } <= 2,<br>
> >> total <= 2, #channels <= 1<br>
> >><br>
> >> These lines indicate what your hardware and driver can do at the same<br>
> >> time. In this case (Intel 6250, iwldvm driver) I can do 1 AP + 1 STA,<br>
> >> or 2 STA at the same time, but all must be on the same radio channel.<br>
> >><br>
> >><br>
> > I got myself iw on the platform.<br>
> ><br>
> > "iw phy phy0 info" however does not show any "valid interface<br>
> > combinations:" section. Should it ?<br>
> ><br>
> > Does this mean my hardware does not support it ? Or does it mean<br>
> > something else. (wrong iw/driver/kernel version?)<br>
> ><br>
> > $ iw --version<br>
> > iw version 3.11<br>
> ><br>
> > kernel: 3.1.10<br>
> ><br>
> > find attached the output of "iw phy phy info > iw_phy_phy0_info.output"<br>
> ><br>
> > Regards,<br>
> > Harm Verhagen<br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
<br>
<br>
</div></div></blockquote></div><br></div></div>