I ended up installing Ubuntu Dapper and all is fine.&nbsp; It seems to be something to do with the hostap drivers in the later kernel used by Ubuntu Gutsy.<br><br><div><span class="gmail_quote">On 09/11/2007, <b class="gmail_sendername">
Jouni Malinen</b> &lt;<a href="mailto:j@w1.fi">j@w1.fi</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Wed, Nov 07, 2007 at 11:55:48AM +0000, Marc Wyburn wrote:
<br><br>&gt; Hi all,&nbsp;&nbsp;I have installed hostap and am trying to get hostapd started on a<br>&gt; Ubuntu Gutsy laptop.&nbsp;&nbsp;Hostap seems to be running ok as I can get the card<br>&gt; into master mode and can connect to it.&nbsp;&nbsp;I tried the Ubuntu package for
<br>&gt; hostapd but it gave &quot;ioctl no such device&quot;.&nbsp;&nbsp;I also compiled it manually but<br>&gt; still get the same error.&nbsp;&nbsp;I&#39;m using a Senao Prism2.5 card so didn&#39;t make<br>&gt; changes to the .config file.&nbsp;&nbsp;The strange thing I have noticed is that
<br>&gt; hostap creates eth2 and wlan0_rename, and if I use either of these names in<br>&gt; hostapd.conf, I get the &quot;S10CGIFINDEX: no such device error&quot;.&nbsp;&nbsp;If I use<br>&gt; wlan0, which doesn&#39;t appear to be a valid name - it isn&#39;t listed by
<br>&gt; iwconfig, I get a ioctl PRISM2_IOCTL_PRISM2_PARAM no such device error.<br><br>Host AP driver does not name the interfaces that way; something else has<br>renamed them and that is breaking hostapd. The current implementation
<br>requires that the interfaces are wlan0 and wlan0ap (or well, to be more<br>exact, &lt;any prefix&gt; and &lt;any prefix&gt;ap). You will either need to modify<br>driver_hostap.c to handle this kind of differences in interface names or
<br>stop the renaming from happening.<br><br>--<br>Jouni Malinen&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PGP id EFC895FA<br>_______________________________________________<br>HostAP mailing list<br><a href="mailto:HostAP@shmoo.com">
HostAP@shmoo.com</a><br><a href="http://lists.shmoo.com/mailman/listinfo/hostap">http://lists.shmoo.com/mailman/listinfo/hostap</a><br></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.myspace.com/yburn">
http://www.myspace.com/yburn</a>