Hi!
I want that my raspberry acts as an Access Point. It should be powered on and (out of the box) create a Wirelss Network.
I tried some of the other Help topics about creating an AP / Hotspot with a USB-Wifi dongle but cant get it to work... :/
I made a fresh installation of arch for the raspberry and i use this Wifi-Stick: http://www.tp-link.com/at/products/details/?categoryid=243&model=TL-WN727N
Therefore i followed this topic: https://wiki.archlinux.org/index.php/Software_access_point
and http://archlinuxarm.org/forum/viewtopic.php?f=31&t=7027&p=38715&hilit=router#p38715
i installed hostapd, and added hostapd.conf:
$this->bbcode_second_pass_code('', '
ssid=YourWiFiName
wpa_passphrase=Somepassphrase
interface=wlan0
bridge=br0
auth_algs=3
channel=7
driver=nl80211
hw_mode=g
logger_stdout=-1
logger_stdout_level=2
max_num_sta=5
rsn_pairwise=CCMP
wpa=2
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
')
But i cant get it to work, means i cant find my wifi-network on my notebook...
here some outputs:
$this->bbcode_second_pass_code('', '
$ ip link
wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
$ iw list
...
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* WDS
* monitor
* mesh point
...
valid interface combinations:
* #{ AP, mesh point } <= 8,
total <= 8, #channels <= 1
...
')
maybe someone can give me a hint how to do this.
I tried via wifi-menu to connect to an other wifi network and using the dongle as client works very well.
cheers
Moesi
SOLUTION EDIT:
had to call:
$this->bbcode_second_pass_code('', 'hostapd -dd /etc/hostapd/hostapd.conf')