Created
October 13, 2015 14:09
-
-
Save darkgeek/b981700c4e3e8459db07 to your computer and use it in GitHub Desktop.
start-hostapd-and-dhcpd-log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@rpi [/root] # service hostapd onestart | |
Starting hostapd. | |
Configuration file: /etc/hostapd.conf | |
Using interface urtwn0 with hwaddr e8:4e:06:1f:fc:6f and ssid "darkgeek-wifi" | |
urtwn0: interface state UNINITIALIZED->ENABLED | |
urtwn0: AP-ENABLED | |
root@rpi [/root] # ifconfig | |
usmsc0: flags=0x8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 | |
ec_capabilities=1<VLAN_MTU> | |
ec_enabled=0 | |
address: b8:27:eb:5e:22:6b | |
media: Ethernet autoselect (100baseTX full-duplex) | |
status: active | |
urtwn0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 | |
ssid darkgeek-wifi apbridge nwkey 2:"",0xafdbb522451092b21b4648fe83820e0c,"","" | |
powersave off | |
bssid e8:4e:06:1f:fc:6f chan 2 | |
address: e8:4e:06:1f:fc:6f | |
media: IEEE802.11 autoselect hostap (autoselect mode 11b hostap) | |
status: active | |
inet6 fe80::ea4e:6ff:fe1f:fc6f%urtwn0 prefixlen 64 detached scopeid 0x2 | |
inet 10.1.16.21 netmask 0xffffff00 broadcast 10.1.16.255 detached | |
lo0: flags=0x8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192 | |
inet6 ::1 prefixlen 128 | |
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 | |
inet 127.0.0.1 netmask 0xff000000 | |
root@rpi [/root] # service dhcpd start | |
Starting dhcpd. | |
Internet Systems Consortium DHCP Server 4.3.0 | |
Copyright 2004-2014 Internet Systems Consortium. | |
All rights reserved. | |
For info, please visit https://www.isc.org/software/dhcp/ | |
root@rpi [/root] # Wrote 1 leases to leases file. | |
Listening on BPF/urtwn0/e8:4e:06:1f:fc:6f/10.1.16.0/24 | |
Sending on BPF/urtwn0/e8:4e:06:1f:fc:6f/10.1.16.0/24 | |
Sending on Socket/fallback/fallback-net | |
root@rpi [/root] # ifconfig urtwn0 inet 10.1.16.21/24 | |
root@rpi [/root] # ifconfig | |
usmsc0: flags=0x8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 | |
ec_capabilities=1<VLAN_MTU> | |
ec_enabled=0 | |
address: b8:27:eb:5e:22:6b | |
media: Ethernet autoselect (100baseTX full-duplex) | |
status: active | |
urtwn0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 | |
ssid darkgeek-wifi apbridge nwkey 2:"",0xce098e659b4c911d14f2e4b3227a7364,"","" | |
powersave off | |
bssid e8:4e:06:1f:fc:6f chan 2 | |
address: e8:4e:06:1f:fc:6f | |
media: IEEE802.11 autoselect hostap (autoselect mode 11b hostap) | |
status: active | |
inet6 fe80::ea4e:6ff:fe1f:fc6f%urtwn0 prefixlen 64 detached scopeid 0x2 | |
inet 10.1.16.21 netmask 0xffffff00 broadcast 10.1.16.255 detached | |
lo0: flags=0x8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192 | |
inet6 ::1 prefixlen 128 | |
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 | |
inet 127.0.0.1 netmask 0xff000000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment