Router Install

From FridaV

Jump to: navigation, search
(initial configuration (opkg install part))
 
===Pick a firmware===
===Pick a firmware===
-
* vehicle/openwrt/kamikaze_8.09/openwrt-brcm47xx-squashfs.trx
+
* vehicle/openwrt/kamikaze_8.09/openwrt-brcm47xx-squashfs.trx - linux 2.6, open source wifi driver
-
* vehicle/openwrt/kamikaze_8.09/openwrt-brcm-2.4-squashfs.trx
+
* vehicle/openwrt/kamikaze_8.09/openwrt-brcm-2.4-squashfs.trx - linux 2.4, proprietary wifi driver
===Install using TFTP===
===Install using TFTP===
=== 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
Add autoinet.sh
Add autoinet.sh
-
Prepare USB flash drive
+
Prepare USB flash drive with ext3
Make chroot
Make chroot
 +
 +
 +
=== Misc notes ===
 +
wlan0 - wifi
 +
eth0.1 - wan
 +
br-lan - lan 4 port switch
 +
eth0 - ?
 +
eth1 - ?
 +
eth0.0 - ?
 +
wmaster0 - ?
 +
 +
ifconfig wlan0 up
 +
 +
dhcp klient na wan
 +
dhcp server na lan
 +
 +
nastavit lan ip stevilke
 +
br-lan 10.11.12.1
 +
dhcp 10.11.12.100-199
 +
 +
dodat backports ipkg source - kje je za naso verzijo kamikaze?
 +
ne instalirat gpsd
 +
 +
iwconfig wlan0 power on   
 +
iwlist wlan0 scanning
 +
 +
ntpclient -h time.arnes.si
 +
 +
#manual connect:
 +
iwconfig wlan0 mode managed
 +
iwconfig wlan0 essid PIKSEL
 +
udhcpc -qn -i wlan0
 +
 +
chroot /mnt/usbdrive
 +
swapon /swap/16Mb
 +
mount -t proc none /proc
 +
mount -t devfs devfs /dev
 +
 +
#clock
 +
/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

Current revision as of 12:21, 3 April 2010

Personal tools
maps, graphs & data