Z
Z
zhnikita2013-11-06 20:06:18
linux
zhnikita, 2013-11-06 20:06:18

Hostapd: Simultaneous operation of two access points

There is a home debian server with an access point raised using hostapd. In /etc/default/hostapd there is this line: DAEMON_CONF = "/etc/ hostapd /
hostapd.conf"
In /etc/hostapd/hostapd.conf this is: dot hw_mode=g ieee80211n=1 channel=6 ht_capab=[HT40-][SHORT-GI-20][SHORT-GI-40][RX-STBC1][MAX-AMPDU-7935][DSSS_CCK-40] wpa=2 wpa_passphrase=***yeah-yeah*** wpa_key_mgmt=WPA-PSK wpa_pairwise=CCMP rsn_pairwise=CCMP ap_max_inactivity=300 logger_syslog=-1 logger_syslog_level=2


The task is to raise the second access point on the second wi-fi card. Manually, both points work fine at the same time. I start hostapd in the terminal first with the first dot file /etc/hostapd/hostapd.conf, then with the second dot file /etc/hostapd/hostapd2.conf.

How to make both points rise automatically?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Z
zhnikita, 2013-11-10
@zhnikita

Thanks to user iaf . This is probably the best solution:
hostapd /path/to/first.conf /path/to/second.conf

Z
zhnikita, 2013-11-06
@zhnikita

Yes, this is understandable ... I would like something more elegant. Ideally, using the regular means of hostapd itself. Like how interfaces in /etc/network/interfaces are gracefully written ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question