Hi,

I used hostapd and iw tools to create a AP+MP in November 2010. (may be my 
command is obsolete)

this is the command I ran and I skip the route command part
-----------------------------------------------------------------



                sudo apt-get
install hostapd

#reboot after install hostapd


                sudo ifconfig
wlan0 down 

                sudo iw
dev wlan0 del

                sudo iw
phy phy0 interface add mesh0 type mp mesh_id meshid1

                sudo iw
phy phy0 set channel 6

                sudo ifconfig
mesh0 192.168.2.2 netmask 255.255.255.0 up


                sudo cp
/etc/hostapd/hostapd.conf /etc/hostapd/hostapd.conf.backup


                sudo vim
/etc/hostapd/hostapd.conf 

#The modifications made to /etc/hostapd/hostapd.conf were
shown at below 

#interface=wlan1

#driver=nl80211

#ssid=hoho

#hw_mode=g

#channel=11


                sudo hostapd
-dd /etc/hostapd/hostapd.conf

#-dd option for debug mode

#Configuration file: /etc/hostapd/hostapd.conf

#ctrl_interface_group=0

#...

#Mode: IEEE 802.11g 
Channel: 11  Frequency: 2462 MHz

#Using interface wlan1 with hwaddr f0:7d:68:c4:d8:37 and
ssid 'hoho'

#wlan1: Setup of interface done.

#when message “Setup of interface done.”,

# CTRL C to stop the executing command (hostapd -dd
/etc/hostapd/hostapd.conf)

# iwlist mesh0 scanning to check whether this AP was set up
properly


#-B option is execute hostapd in background 

#ssid will not be set even after –dd option ran

                sudo hostapd
-B /etc/hostapd/hostapd.conf

#Configuration file: /etc/hostapd/hostapd.conf

#Using interface wlan1 with hwaddr f0:7d:68:c4:d8:37 and
ssid 'hoho'


                sudo ifconfig
wlan1 192.168.3.1

#check whether the interface wlan1 in master mode      

                iwconfig
wlan1

From 
V-SHY HO


> Dear Loiseau Lucien

> Yes, I can create the interface but I am not able to bring up the interface
> and make it works.

> Please advice your setup including the use of hostapd. Thanks.

> Regards,
> Chun Yeow

> On Sat, May 21, 2011 at 9:08 PM, Loiseau Lucien <loiseau.lucien at 
> gmail.com>wrote:

>  Hi,
>
> Here is a procedure that worked with my card (Atheros AR5001X+) with the
> ath5k driver.
> I used the "iw" tool.
>
> # iw list | grep phy
> Wiphy phy5
>
> and then the creation of the two virtual interfaces :
>
> # iw phy phy5 interface add mesh0 type mp mesh_id mymesh
> # iw phy phy5 interface add wlan2 type managed
>
> # iw dev wlan2 info
> Interface wlan2
>     ifindex 47
>     type managed
>
> # iw dev mesh0 info
> Interface mesh0
>     ifindex 46
>     type mesh point
>
>
>
>
> Le 21/05/2011 08:23, Yeoh Chun Yeow a écrit :
>
> Dear all,
>
>  Just would like know whether the MAP is supported in open80211s. Possible
> to have one radio to act as Mesh STA and normal AP to serve others normal
> STAs.
>
>  Please advice. Thanks
>
>  Regards,
> Chun Yeow
                                          
_______________________________________________
Devel mailing list
Devel@lists.open80211s.org
http://open80211s.com/mailman/listinfo/devel

Reply via email to