Supplying configuration file via bash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings,

I'd like to start hostapd without a stored configuration file from a script.
Is it possible to do that, e.g. with config as a heredoc, similar to the following snippet?

sudo hostapd -dd <<EOF
interface=wlan0
driver=nl80211

ssid=Test
country_code=CH
hw_mode=g
channel=6
vendor_elements=DD0511223344
EOF

What's the preferred way of launching the process in foreground and supplying a dynamic configuration?

Thanks

Etan


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux