Code: Select all
ifconfig
route
sudo service hostapd status
sudo service dnsmasq status
Code: Select all
pi@elfresno:~ $ ifconfig
eth0 Link encap:Ethernet HWaddr b8:27:eb:14:4c:fc
inet addr:192.168.0.70 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::b2da:1c21:b35a:3f80/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1298 errors:0 dropped:0 overruns:0 frame:0
TX packets:606 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:71469 (69.7 KiB) TX bytes:90999 (88.8 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:473 errors:0 dropped:0 overruns:0 frame:0
TX packets:473 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:31940 (31.1 KiB) TX bytes:31940 (31.1 KiB)
wlan0 Link encap:Ethernet HWaddr b8:27:eb:41:19:a9
inet6 addr: fe80::ba27:ebff:fe41:19a9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:772 errors:0 dropped:8 overruns:0 frame:0
TX packets:57 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:178907 (174.7 KiB) TX bytes:8667 (8.4 KiB)
pi@elfresno:~ $ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
link-local * 255.255.0.0 U 202 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
pi@elfresno:~ $ sudo service hostapd status
● hostapd.service - Hostapd IEEE 802.11 Access Point
Loaded: loaded (/etc/systemd/system/hostapd.service; enabled)
Active: active (running) since Sat 2018-01-27 21:17:04 UTC; 14min ago
Main PID: 552 (hostapd)
CGroup: /system.slice/hostapd.service
└─552 /usr/sbin/hostapd -B /etc/hostapd/hostapd.conf -P /var/run/hostapd.pid
Jan 27 21:22:12 elfresno hostapd[552]: wlan0: STA 2c:d0:5a:99:19:a1 IEEE 802.11: disassociated
Jan 27 21:22:17 elfresno hostapd[552]: wlan0: STA 2c:d0:5a:99:19:a1 IEEE 802.11: associated
Jan 27 21:22:20 elfresno hostapd[552]: wlan0: STA 2c:d0:5a:99:19:a1 IEEE 802.11: disassociated
Jan 27 21:22:25 elfresno hostapd[552]: wlan0: STA 2c:d0:5a:99:19:a1 IEEE 802.11: associated
Jan 27 21:22:27 elfresno hostapd[552]: wlan0: STA 2c:d0:5a:99:19:a1 IEEE 802.11: disassociated
Jan 27 21:22:33 elfresno hostapd[552]: wlan0: STA 2c:d0:5a:99:19:a1 IEEE 802.11: associated
Jan 27 21:22:33 elfresno hostapd[552]: wlan0: STA 2c:d0:5a:99:19:a1 RADIUS: starting accounting session 5A6CEC50-00000007
Jan 27 21:22:33 elfresno hostapd[552]: wlan0: STA 2c:d0:5a:99:19:a1 WPA: pairwise key handshake completed (RSN)
Jan 27 21:27:04 elfresno hostapd[552]: wlan0: STA 2c:d0:5a:99:19:a1 WPA: group key handshake completed (RSN)
Jan 27 21:28:00 elfresno hostapd[552]: wlan0: STA 2c:d0:5a:99:19:a1 IEEE 802.11: disassociated
pi@elfresno:~ $ sudo service dnsmasq status
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled)
Drop-In: /run/systemd/generator/dnsmasq.service.d
└─50-dnsmasq-$named.conf, 50-insserv.conf-$named.conf
Active: active (running) since Sat 2018-01-27 21:17:35 UTC; 13min ago
Main PID: 683 (dnsmasq)
CGroup: /system.slice/dnsmasq.service
└─683 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -r /run/dnsmasq/resolv.conf -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --local-service --trust-anchor=.,19036,8,2,...
Jan 27 21:22:49 elfresno dnsmasq-dhcp[683]: DHCP packet received on wlan0 which has no address
Jan 27 21:23:05 elfresno dnsmasq-dhcp[683]: DHCP packet received on wlan0 which has no address
Jan 27 21:23:36 elfresno dnsmasq-dhcp[683]: DHCP packet received on wlan0 which has no address
Jan 27 21:23:40 elfresno dnsmasq-dhcp[683]: DHCP packet received on wlan0 which has no address
Jan 27 21:23:48 elfresno dnsmasq-dhcp[683]: DHCP packet received on wlan0 which has no address
Jan 27 21:24:05 elfresno dnsmasq-dhcp[683]: DHCP packet received on wlan0 which has no address
Jan 27 21:27:34 elfresno dnsmasq-dhcp[683]: DHCP packet received on wlan0 which has no address
Jan 27 21:27:38 elfresno dnsmasq-dhcp[683]: DHCP packet received on wlan0 which has no address
Jan 27 21:27:42 elfresno dnsmasq-dhcp[683]: DHCP packet received on wlan0 which has no address
Jan 27 21:27:51 elfresno dnsmasq-dhcp[683]: DHCP packet received on wlan0 which has no address
Code: Select all
interface wlan0
static ip_address=192.168.4.1/24