Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:xu4_wlan_ap [2017/07/10 04:01] moon.linux [Configuration for Wifi Module 4 and Wifi Module 5] |
en:xu4_wlan_ap [2017/07/10 04:45] (current) moon.linux [Hostapd Configuration file for Access Point] |
||
---|---|---|---|
Line 405: | Line 405: | ||
# N-WLAN | # N-WLAN | ||
ieee80211n=1 | ieee80211n=1 | ||
- | ht_capab=[HT20+][SHORT-GI-20][DSSS_CCK-20][TX-STBC] | + | ht_capab=[HT20+][SHORT-GI-20][DSSS_CCK-20] |
require_ht=0 | require_ht=0 | ||
obss_interval=0 | obss_interval=0 | ||
Line 512: | Line 512: | ||
<code> | <code> | ||
- | net.ipv4.ip_forward=1 | + | net.ipv4.ip_forward = 1 |
- | net.ipv6.conf.all.forwarding=1 | + | net.ipv6.conf.all.forwarding = 1 |
</code> | </code> | ||
Line 534: | Line 534: | ||
**Confirmatioon of Hostapd service is running** | **Confirmatioon of Hostapd service is running** | ||
+ | |||
+ | **On ubuntu 14.04.x check the service status as follows** | ||
<code> | <code> | ||
$ service hostapd restart | $ service hostapd restart | ||
Line 541: | Line 543: | ||
$ service hostapd status | $ service hostapd status | ||
* hostapd is running | * hostapd is running | ||
+ | </code> | ||
+ | |||
+ | **on Ubuntu 16.04.x check the service status as follows** | ||
+ | <code> | ||
+ | $ sudo systemctl status hostapd.service | ||
+ | ● hostapd.service - LSB: Advanced IEEE 802.11 management daemon | ||
+ | Loaded: loaded (/etc/init.d/hostapd; bad; vendor preset: enabled) | ||
+ | Active: active (running) since Sun 2017-07-09 19:48:41 UTC; 31s ago | ||
+ | Docs: man:systemd-sysv-generator(8) | ||
+ | Process: 789 ExecStart=/etc/init.d/hostapd start (code=exited, status=0/SUCCESS) | ||
+ | CGroup: /system.slice/hostapd.service | ||
+ | └─798 /usr/sbin/hostapd -B -P /run/hostapd.pid -B /etc/hostapd/hostapd-2.6.conf | ||
+ | |||
+ | Jul 09 19:48:41 odroid systemd[1]: Starting LSB: Advanced IEEE 802.11 management daemon... | ||
+ | Jul 09 19:48:41 odroid hostapd[789]: * Starting advanced IEEE 802.11 management hostapd | ||
+ | Jul 09 19:48:41 odroid hostapd[789]: ...done. | ||
+ | Jul 09 19:48:41 odroid systemd[1]: Started LSB: Advanced IEEE 802.11 management daemon. | ||
+ | $ | ||
+ | $ | ||
+ | $ sudo systemctl status dnsmasq.service | ||
+ | ● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server | ||
+ | Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset: enabled) | ||
+ | Drop-In: /run/systemd/generator/dnsmasq.service.d | ||
+ | └─50-dnsmasq-$named.conf, 50-insserv.conf-$named.conf | ||
+ | Active: active (running) since Sun 2017-07-09 19:48:31 UTC; 4min 36s ago | ||
+ | Process: 592 ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf (code=exited, status=0/SUCCESS) | ||
+ | Process: 575 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=0/SUCCESS) | ||
+ | Process: 554 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS) | ||
+ | Main PID: 591 (dnsmasq) | ||
+ | CGroup: /system.slice/dnsmasq.service | ||
+ | └─591 /usr/sbin/dnsmasq -x /var/run/dnsmasq/dnsmasq.pid -u dnsmasq -r /var/run/dnsmasq/resolv.conf -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old, | ||
+ | |||
+ | Jul 09 19:48:30 odroid dnsmasq[591]: DNS service limited to local subnets | ||
+ | Jul 09 19:48:30 odroid dnsmasq[591]: warning: ignoring resolv-file flag because no-resolv is set | ||
+ | Jul 09 19:48:30 odroid dnsmasq-dhcp[591]: DHCP, IP range 192.168.1.250 -- 192.168.1.254, lease time 1h | ||
+ | Jul 09 19:48:30 odroid dnsmasq-dhcp[591]: DHCP, IP range 192.168.1.20 -- 192.168.1.50, lease time 3d | ||
+ | Jul 09 19:48:30 odroid dnsmasq[591]: using local addresses only for domain example.com | ||
+ | Jul 09 19:48:30 odroid dnsmasq[591]: using nameserver 4.4.4.4#53 | ||
+ | Jul 09 19:48:30 odroid dnsmasq[591]: using nameserver 8.8.8.8#53 | ||
+ | Jul 09 19:48:30 odroid dnsmasq[591]: using nameserver 192.168.1.5#53 for domain example.com | ||
+ | Jul 09 19:48:30 odroid dnsmasq[591]: cleared cache | ||
+ | Jul 09 19:48:31 odroid systemd[1]: Started dnsmasq - A lightweight DHCP and caching DNS server. | ||
+ | lines 1-22/22 (END) | ||
</code> | </code> | ||