[packman] W-Lan Hotspot

Jürgen Weigert jnweiger at gmail.com
Sat Mar 2 18:53:19 CET 2013

My HOWTO is dated, and has not been tested for a wile. Hope it is still
helpful, (at least its not in russian):

Become a WLAN access point

# http://linuxwireless.org/en/users/Drivers lists my rt73usb as supporting

An Access Point acts as the Master device in a managed wireless network. It
holds the network together by managing and maintaining lists of associated
Stations. It also manages security policies. The network is named after the
MAC-Address (BSSID) of the AP. The human readable name for the network, the
SSID, is also set by the AP.  To use AP mode in Linux you need to use

http://wireless.erley.org/stable.htmudo iw phy phy0 interface add wlan0
type ap
 The only thing that is likely to change between other guides and your
config are the following settings:
 Hostapd is the best way to test your interface. Just configure hostapd with
 auth_algs=1 (which means open system) and wpa=0 (which means no wpa
 at all) for testing. iwconfig can not be used to set a mac80211 interface
 master mode (see FAQ Entry for why).

sudo zypper in hostapd hostap-utils wireless-tools wpa_supplicant
# home:jnweiger:branches:home:enzokiel hostapd 0.7.3
# home:jnweiger:branches:home:enzokiel wpa_supplicant 0.7.3
# upstream of hostap-utils gone away. Was everything merged into
# http://hostap.epitest.fi/

hostap-utils includes hostap_crypt_conf, but
  hostap_crypt_conf -2t wlan0 ff:ff:ff:ff:ff:ff WEP s:abcde
is the same as
  iwconfig wlan0 key s:abcde [2]
  iwconfig wlan0 key [2]

The drivers HostAP madwifi prism54 are old. Newer is mac80211 / nl80211
nl means 'netlink', which brings the functionality to user-land. Thus
iwconfig no longer works.

sudo iw phy phy0 interface add wlan0 type ap
See http://wireless.kernel.org/RTFM-AP
sudo iw phy phy0 interface add wlan0 type __ap

## MAC addr of m linksys RT32 dongle is 00:1C:10:69:80:7A
## use ifconfig -a to see which is the builtin wlan, and which the external
## It is wlan1, good. I use the rfkill switch to turn of the internal one,
## that it cannot interfere.
cat <<EOF> /etc/hostapd-jw-test.conf
#change wlan1 to your wireless device
# auth_algs=1 (which means open system)
# wpa=0 (which means no wpa encryption at all)

iw wlan1 set type __ap
# switches me to Mode:Master.

2013/3/2 Kyrill Detinov <lazy.kent at opensuse.org>

> On Fri, 01 Mar 2013 12:19:12 +0100 Uwe wrote:
> > Hallo ich möchte aus meinem Laptop Opensuse 12.1 KDE einen Hotspot
> > machen. ich möchte das W-Lan was ich über meine Externe USB - Antenne
> > empfange über meine Interne als HotSpot für Tel. , Tablet und PS3
> > zugänglich machen.  Wie kann ich das einrichten ich hab im Netz bisher
> > noch nix brauchbares gefunden.
> > Eine Möglichkeit wäre vielleicht hostapd aber ich blick nicht durch
> > bei der Konfiguration.
> К сожалению, большинство читателей рассылки Packman не могут понять о
> чём вы написали.
> Если вы изложите ту же информацию на общепринятом английском языке, то
> у вас будет больше шансов получить ответ.
> --
>   Kyrill
> _______________________________________________
> Packman mailing list
> Packman at links2linux.de
> http://lists.links2linux.de/cgi-bin/mailman/listinfo/packman

More information about the Packman mailing list