0xff Backfire-Vienna-Weiterführendes: Unterschied zwischen den Versionen
Runout (Diskussion | Beiträge) (→3G/UMTS/Modem) |
K (→3G/UMTS/Modem) |
||
Zeile 178: | Zeile 178: | ||
Pakete installieren | Pakete installieren | ||
− | + | <pre> | |
− | + | opkg install usbutils kmod-usb-serial kmod-usb-serial-option usb-modeswitch usb-modeswitch-data comgt ppp luci-proto-3g sdparm | |
− | + | </pre> | |
+ | <pre> | ||
Installing kmod-usb-serial (2.6.39.4-1) to root... | Installing kmod-usb-serial (2.6.39.4-1) to root... | ||
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/kmod-usb-serial_2.6.39.4-1_ar71xx.ipk. | Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/kmod-usb-serial_2.6.39.4-1_ar71xx.ipk. | ||
Zeile 221: | Zeile 222: | ||
Configuring usb-modeswitch. | Configuring usb-modeswitch. | ||
Configuring kmod-ppp. | Configuring kmod-ppp. | ||
− | + | </pre> | |
− | + | ||
zurück zu wiki_funkfeuer_at<br> | zurück zu wiki_funkfeuer_at<br> |
Version vom 25. Januar 2012, 23:53 Uhr
Inhaltsverzeichnis
Tunnel Setup
siehe Tunnel_Setup oder auch Tunnel_Setup_-_Backfire_Vienna_2.0
OpenVPN für das private Netz
siehe OpenVPN_für_das_private_Netz
Server ohne olsr
siehe Server_ohne_olsr
OLSR-Konfiguration
siehe OLSR-Konfiguration
MobileNodes
siehe MobileNodes
IRC Chat
siehe IRC
VoIP Client
siehe VoIP_Client_Konfiguration
Services
siehe Services
Unix Tipps
siehe Unix_tips
Port Scans
siehe Port_Scans
zusätzl. Packages installieren
siehe 0xff_Backfire-Vienna-Packages
USB
z.b. am TP-Link TL WR-1043ND
http://wiki.openwrt.org/tag/usbrelated?do=showtag&tag=tag%3Ausbrelated
http://wiki.openwrt.org/doc/howto/usb.essentials
Pakete installieren
opkg install kmod-usb-core kmod-usb-ohci kmod-usb-uhci kmod-usb2 usbutils
GPS (+NTP)
http://gpsd.berlios.de/gpsd.html
Pakete installieren
opkg install kmod-usb-serial kmod-usb-serial-option kmod-usb-serial-pl2303 gpsd
Zusätzliche usb-serial Treiber nach Bedarf... kmod-usb-serial-*
Parameter -n entfernen in /etc/init.d/gpsd
$PROG -P $PIDF -S $port $device
Tools zum Testen:
cgps <IP>:<PORT> xgps <IP>:<PORT> telnet <IP>:<PORT>
Bei telnet z.b. ?DEVICE; als Befehl eingeben.
Um von einer externen IP zugreifen zu können, muss der gpsd mit -G gestartet werden:
gpsd -G /dev/ttyUSB
NTP
Zeitsync mit NTPD
Folgendes funktioniert nur, wenn der gpsd von einer anderen Applikation gepollt wird. Die Option -n des gpsd macht Probleme.
http://gpsd.berlios.de/gpsd.html
Pakete installieren
opkg install ntpd
Mindestens einen Server + GPS konfigurieren in /etc/ntp.conf
# use a random selection of 8 public stratum 2 servers # see http://twiki.ntp.org/bin/view/Servers/NTPPoolServers #restrict default nomodify notrap noquery #restrict default noquery restrict 127.0.0.1 driftfile /tmp/ntp.drift server 0.openwrt.pool.ntp.org iburst #server 1.openwrt.pool.ntp.org iburst #server 2.openwrt.pool.ntp.org iburst #server 3.openwrt.pool.ntp.org iburst # GPS(NMEA)+PPS #server 127.127.20.0 minpoll 4 prefer #fudge 127.127.20.0 flag3 1 flag2 0 # SMA PPS #server 127.127.28.0 minpoll 4 prefer #fudge 127.127.28.0 refid PPS flag3 1 server 127.127.28.0 minpoll 4 maxpoll 4 fudge 127.127.28.0 time1 0.035 refid GPS flag3 1 server 127.127.28.1 minpoll 4 maxpoll 4 prefer fudge 127.127.28.1 refid GPS1 flag3 1 #server 192.168.1.253
Tools zum testen:
ntpq -p
Output etwa wie folgt:
remote refid st t when poll reach delay offset jitter ============================================================================== +173-8-103-244-M 18.26.4.105 2 u 24 64 311 165.747 5.503 32.117 *SHM(0) .GPS. 0 l 5 16 377 0.000 16.266 21.334 SHM(1) .GPS1. 0 l - 16 0 0.000 0.000 0.000
STORAGE
http://wiki.openwrt.org/doc/howto/usb.storage
Pakete installieren
opkg install kmod-scsi-core kmod-usb-storage kmod-usb-storage-extras block-mount kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1
Zusätzliche Filesysteme nach Bedarf... kmod-fs-*
3G/UMTS/Modem
UNFINISHED!
http://wiki.openwrt.org/doc/recipes/3gdongle
Pakete installieren
opkg install usbutils kmod-usb-serial kmod-usb-serial-option usb-modeswitch usb-modeswitch-data comgt ppp luci-proto-3g sdparm
Installing kmod-usb-serial (2.6.39.4-1) to root... Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/kmod-usb-serial_2.6.39.4-1_ar71xx.ipk. Multiple packages (kernel and kernel) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kernel and kernel) providing same name marked HOLD or PREFER. Using latest. Upgrading kernel on root from 2.6.39.4-1-0b90198be7e45fba2319795f4a8dd3ad to 2.6.39.4-1-937f5480fc4be62c7bf5eb4a7622935a... Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/kernel_2.6.39.4-1-937f5480fc4be62c7bf5eb4a7622935a_ar71xx.ipk. Installing kmod-usb-serial-option (2.6.39.4-1) to root... Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/kmod-usb-serial-option_2.6.39.4-1_ar71xx.ipk. Multiple packages (kernel and kernel) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kernel and kernel) providing same name marked HOLD or PREFER. Using latest. Installing kmod-usb-serial-wwan (2.6.39.4-1) to root... Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/kmod-usb-serial-wwan_2.6.39.4-1_ar71xx.ipk. Installing usb-modeswitch (1.2.0-2) to root... Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/usb-modeswitch_1.2.0-2_ar71xx.ipk. Installing libusb (0.1.12-2) to root... Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/libusb_0.1.12-2_ar71xx.ipk. Installing usb-modeswitch-data (20111023-1) to root... Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/usb-modeswitch-data_20111023-1_ar71xx.ipk. Installing comgt (0.32-9) to root... Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/comgt_0.32-9_ar71xx.ipk. Installing chat (2.4.5-4) to root... Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/chat_2.4.5-4_ar71xx.ipk. Installing ppp (2.4.5-4) to root... Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/ppp_2.4.5-4_ar71xx.ipk. Multiple packages (kernel and kernel) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kernel and kernel) providing same name marked HOLD or PREFER. Using latest. Installing kmod-ppp (2.6.39.4-1) to root... Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/kmod-ppp_2.6.39.4-1_ar71xx.ipk. Installing kmod-lib-crc-ccitt (2.6.39.4-1) to root... Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/kmod-lib-crc-ccitt_2.6.39.4-1_ar71xx.ipk. Configuring kernel. Configuring chat. Configuring kmod-lib-crc-ccitt. Configuring kmod-usb-serial. Configuring kmod-usb-serial-wwan. Configuring kmod-usb-serial-option. Configuring comgt. Configuring libusb. Configuring usb-modeswitch. Configuring kmod-ppp.
zurück zu wiki_funkfeuer_at
< Startseite > < Backfire-Vienna > < Standards > < Installation > < Weiterführendes > < Aktivitäten > < Index >
<google>WIKI</google>