Inhaltsverzeichnis
gtkterm
minicom unterstützt kein CTRL+C, deswegen gtkterm benutzen
gtktermrc:
[default] port = /dev/ttyUSB0 speed = 115200 ...
Avila
ipkg install bash digitemp gkrellmd muninlite rdiff-backup screen wavemon wifidog
Gebastel
zur Buildroot Vorbereitung: http://wiki.openwrt.org/doc/howto/buildroot
- Dateien für image vorbereiten unter .../openwrt/package/base-files/files
opkg
Quelle: http://downloads.openwrt.org/kamikaze/8.09.1/ixp4xx/packages/
- nur benutzen, wenn auch die images der 8.09.1 geflasht wurden
never ever use opkg upgrade (https://forum.openwrt.org/viewtopic.php?pid=42572#p42572)
ath5k
- madwifi aus Kernel entfernen
- Kernelmodul ath5k einbinden (löst madwifi ab)
wifi detect >> /etc/config/wireless
und entsprechend abändern sollte dann in etwa so aussehen:
config wifi-device wlan0 option type mac80211 option channel 1 option diversity 0 option txantenna 1 option rxantenna 1 #option disabled 1 config wifi-iface option device wlan0 option network lan option mode adhoc option ssid olsr.opennet-initiative.de option bssid 02:ca:ff:ee:ba:be option encryption none option rts 250 option txpower 18 option hidden 0
/etc/config/network
config 'interface' 'loopback' option 'ifname' 'lo' option 'proto' 'static' option 'ipaddr' '127.0.0.1' option 'netmask' '255.0.0.0' config 'interface' 'lan' option 'ifname' 'eth0' option 'proto' 'static' option 'ipaddr' '172.16.0.104' option 'netmask' '255.255.255.0' config 'interface' 'wifi0' option 'ifname' 'wlan0' option 'proto' 'static' option 'ipaddr' '192.168.1.224' option 'netmask' '255.255.0.0' config 'interface' 'wifi1' option 'ifname' 'wlan1' option 'proto' 'static' option 'ipaddr' '192.168.1.224' option 'netmask' '255.255.0.0'
/etc/config/wireless
config wifi-device wlan0 option type mac80211 option channel 1 option diversity 0 option txantenna 1 option rxantenna 1 config wifi-iface option device wlan0 option mode adhoc option ssid olsr.opennet-initiative.de option bssid 02:ca:ff:ee:ba:be option encryption none option rts 250 option txpower 18 option hidden 0
/etc/config/olsrd
config olsrd option DebugLevel '3' option Pollrate '0.05' option IpVersion '4' option AllowNoInt 'yes' option TcRedundancy '2' option MprCoverage '7' option LinkQualityFishEye '1' option LinkQualityWinSize '100' option LinkQualityDijkstraLimit '0 9.0' option LinkQualityLevel '2' option UseHysteresis 'no' config LoadPlugin option library 'olsrd_txtinfo.so.0.1' option port '2006' option host '127.0.0.1' config Interface list interface 'wifi0' option AutoDetectChanges 'yes' option Ip4Broadcast '192.168.255.255' option HelloInterval '1.0' option HelloValidityTime '3.0' option TcInterval '4.0' option TcValidityTime '14.0' option MidInterval '5.0' option MidValidityTime '15.0' option HnaInterval '5.0' option HnaValidityTime '15.0'
OpenNet lokal nutzen
WLAN einrichten
iwconfig wlan0 mode Ad-Hoc essid olsr.opennet-initiative.de ifconfig wlan0 192.168.7.42 netmask 255.255.0.0 broadcast 192.168.255.255 /etc/init.d/olsrd restart
OLSR
- olsrd -f /etc/olsrd/olsrd.conf
Status: http://localhost:8081
OpenVPN
- /etc/init.d/openvpn start
- oder: openvpn --verb 4 --script-security 2 --config opennet.conf
tun error
Tue Sep 1 00:33:47 2009 us=702700 TUN/TAP device tun0 opened Tue Sep 1 00:33:47 2009 us=703178 TUN/TAP TX queue length set to 100 Tue Sep 1 00:33:47 2009 us=704218 /sbin/ifconfig tun0 10.1.7.118 pointopoint 10.1.7.117 mtu 1500 Tue Sep 1 00:33:47 2009 us=734158 Linux ifconfig failed: external program did not exit normally Tue Sep 1 00:33:47 2009 us=734577 Exiting
openvpn --dev tun0 & ifconfig tun0 ... -> segfault
USB
ipkg install kmod-usb-storage ipkg install kmod-usb-core ipkg install kmod-fs-vfat ipkg install kmod-ext2 ipkg install kmod-ext3 insmod /jffs/lib/... usbcore usb-ohci uhci ehci-hcd scsi_mod sd_mod usb-storage ln -s /dev/scsi/host0/bus0/target0/lun0/part1 /dev/usbstick