Router Install
From FridaV
(initial configuration (opkg install part)) |
|||
=== Initial Configuration === | === Initial Configuration === | ||
| + | |||
| + | |||
opkg update | opkg update | ||
| - | opkg install kmod-usb-ehci kmod-usb-uhci kmod-usb-storage kmod-usb2 kmod-usb-serial-ftdi kmod-usb-serial-pl2303 kmod-fs-ext2 kmod-fs-ext3 | + | opkg install kmod-usb-ehci kmod-usb-uhci kmod-usb-storage kmod-usb2 \ |
| + | kmod-usb-serial-ftdi kmod-usb-serial-pl2303 kmod-fs-ext2 kmod-fs-ext3 \ | ||
| + | rsync e2fsprogs curl usbutils \ | ||
| + | kmod-b43 kmod-video-uvc kmod-usb2 uvc-streamer | ||
| + | |||
IP: 10.11.12.1 | IP: 10.11.12.1 | ||
#clock | #clock | ||
/usr/sbin/ntpclient -l -h fr.pool.ntp.org -c 1 -s | /usr/sbin/ntpclient -l -h fr.pool.ntp.org -c 1 -s | ||
| + | |||
| + | #arduino serial port device | ||
| + | mknod /dev/arduino c 4 65 | ||
| + | |||
| + | |||
| + | === openvpn === | ||
| + | |||
| + | On laptop: | ||
| + | |||
| + | cd wlan | ||
| + | scp -r * root@router:/etc/ | ||
| + | # register IP on http://wlan-lj.net | ||
| + | # fix IP address in /etc/openvpn/wlanlj.conf | ||
| + | |||
| + | On router: | ||
| + | |||
| + | opkg install openvpn olsrd | ||
| + | /etc/init.d/openvpn enable | ||
| + | /etc/init.d/olsrd enable | ||
| + | /etc/init.d/openvpn start | ||
| + | /etc/init.d/olsrd start | ||
