I ended up installing Ubuntu Dapper and all is fine. 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> <<a href="mailto:j@w1.fi">j@w1.fi</a>> 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>> Hi all, I have installed hostap and am trying to get hostapd started on a<br>> Ubuntu Gutsy laptop. Hostap seems to be running ok as I can get the card<br>> into master mode and can connect to it. I tried the Ubuntu package for
<br>> hostapd but it gave "ioctl no such device". I also compiled it manually but<br>> still get the same error. I'm using a Senao Prism2.5 card so didn't make<br>> changes to the .config file. The strange thing I have noticed is that
<br>> hostap creates eth2 and wlan0_rename, and if I use either of these names in<br>> hostapd.conf, I get the "S10CGIFINDEX: no such device error". If I use<br>> wlan0, which doesn't appear to be a valid name - it isn't listed by
<br>> 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, <any prefix> and <any prefix>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 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>