Hi 2009/8/11 Theo de Raadt <dera...@cvs.openbsd.org>: >> I was trying to set up access point with B "Realtek RTL8187" wireless >> card on 4.5. >> After looking into the manpage I thought it has "mediaopt hostap" capability, >> >> -------- >> B B B The following hostname.if(5) example creates a host-based access point on >> B B B boot: >> >> B B B B B B inet 192.168.1.1 255.255.255.0 NONE media autoselect \ >> B B B B B B B B B B mediaopt hostap nwid my_net chan 11 >> -------- > > That is a driver independent page. B It suggests what might be capable.
Errr ... Maybe I was not specific enough. I'm talking about 'man 4 urtw'. How can it be driver independent ? [...] >> Are there any plans to add hostap mode to urtw(4) driver ? > > Perhaps. I guess it means nothing changed in -current. Well, I have to find some other USB card then. Can you recommend something ? > The urtw man page does not currently include those features. > >> May I suggest to delete those lines from the manpage. It misled me. > > Certainly not. I've just checked and I also see in 'urtw(4)' manpage that driver can operate in IBSS ad-hoc mode, but I can't do it. mycastle:~ # ifconfig urtw0 media|grep -i ibss || echo nope nope mycastle:~ # ifconfig urtw0 urtw0: flags=8b02<BROADCAST,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:e0:4c:03:38:86 priority: 0 groups: wlan media: IEEE802.11 autoselect (DS1 mode 11b) status: no network ieee80211: nwid "" 100dBm mycastle:~ # ifconfig urtw0 nwid test mediaopt ibss mycastle:~ # ifconfig urtw0 urtw0: flags=8b02<BROADCAST,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:e0:4c:03:38:86 priority: 0 groups: wlan media: IEEE802.11 autoselect (DS1) status: no network ieee80211: nwid test 100dBm Am I doing something wrong or is it mistake in the manpage ? -- Regards Piotr Kapczuk