ad-hoc mode support

Antonio Vilei antonio.vilei
Thu Nov 6 02:22:33 PST 2003


Hello,

>      i am curious to know whether hostap supports ad-hoc mode

yes it does.

It did not work for you because you have used "iwconfig wlan0 mode managed",
which lets the card work as a station in infrastructure BSS.
If you want the card to work in ad-hoc mode use this:
# iwconfig wlan0 mode ad-hoc

Please do read iwconfig man page for more information about this.

Antonio


----- Original Message -----
From: <manishas at cdacindia.com>
To: <hostap at shmoo.com>
Sent: Thursday, November 06, 2003 11:09 AM
Subject: ad-hoc mode support


>
> hello,
>      i am curious to know whether hostap supports ad-hoc mode because  i
am
> unable  to estalish my ad-hoc network  .
>       my card is prism2 based (compaq wl100 card)
> the other machine has cisco card.
>
>       i have run following commands on two laptops as follows
>
> machine 1:having hostap driver
>           iwconfig wlan0 essid test-adhoc
>           iwconfig wlan0 mode managed
>           iwconfig wlan0 channel 3
>           ifconfig wlan0 192.168.6.x
>
> machine 2:
>           iwconfig wlan0 essid test-adhoc
>           iwconfig wlan0 mode managed
>           iwconfig wlan0 channel 3
>           ifconfig wlan0 192.168.6.x
>
> and when i try to ping each other it does not work.
>
>
> does anybody know the solution?
>
>
> thanks in advance
>
>
> manisha
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>





More information about the Hostap mailing list