Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pi@raspberrypi ~ $ uname -a
- Linux raspberrypi 3.18.11+ #781 PREEMPT Tue Apr 21 18:02:18 BST 2015 armv6l GNU/Linux
- sudo update-rc.d hostapd enable
- sudo update-rc.d isc-dhcp-server enable
- pi@raspberrypi ~ $ sudo update-rc.d hostapd enable
- update-rc.d: using dependency based boot sequencing
- update-rc.d: error: no runlevel symlinks to modify, aborting!
- pi@raspberrypi ~ $ sudo update-rc.d isc-dhcp-server enable
- update-rc.d: using dependency based boot sequencing
- pi@raspberrypi ~ $
- wget https://github.com/jenssegers/RTL8188-hostapd/archive/v1.1.tar.gz
- tar -zxvf v1.1.tar.gz
- cd RTL8188-hostapd-1.1/hostapd
- sudo make
- sudo make install
- sudo update-rc.d hostapd defaults
- #!/bin/sh
- ### BEGIN INIT INFO
- # Provides: hostapd
- # Required-Start:
- # Required-Stop:
- # Should-Start:
- # Default-Start: 2 3 4 5
- # Default-Stop:
- # Short-Description: Hostapd Service
- # Description: Intended to start hostapd on system startup.
- ### END INIT INFO
- set -e
- PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
- case "$1" in
- start)
- /usr/sbin/hostapd -B
- ;;
- *)
- echo "Usage: $NAME {start}" >&2
- exit 3
- ;;
- esac
Add Comment
Please, Sign In to add comment