Camper Van UMTS/WiFi Router with Music Server and BT A2DP based on OpenWRT Chaos Calmer (15.05)
The following components are used to build the device:
- Raspberry Pi 2 B
- TP-Link TP-WN722N (as WAN interface)
- Edimax EW-7612UAN V2 (as Access Point)
- LogiLink BT0015 USB Bluetooth V4.0 EDR Class1
- UMTS Device (currently missing and not tested)
Note: When running multiple devices with the rtl8192cu driver (e.g. multiple Edimax sticks) you will get huge packet loss on the access point device.
- Download OpenWRT Image for Raspbaerry Pi 2: http://downloads.openwrt.org/chaos_calmer/15.05/brcm2708/bcm2709/openwrt-15.05-brcm2708-bcm2709-sdcard-vfat-ext4.img
- Copy image on sd card
- Connect Raspberry Pi to monitor and keyboard
- Boot Raspberry Pi with sd card
- Press "Enter" to login to console
$ passwd
$ uci set network.lan.proto=dhcp
$ uci commit
$ reboot
$ okpg install usbutils kmod-usb2 kmod-usb-uhci kmod-usb-ohci
$ opkg update
$ opkg update
$ opkg install kmod-ath9k-common kmod-ath9k-htc
$ reboot
$ opkg update
$ opkg install rtl8192cu
$ opkg install wpa_supplicant hostapd
$ reboot
$ opkg update
$ opkg install comgt kmod-usb-serial kmod-usb-serial-option kmod-usb-serial-wwan usb-modeswitch
$ vi /etc/config/network
config interface 'WAN_UMTS'
option proto '3g'
option device '/dev/ttyUSB0'
option service 'umts'
option apn '<Provider APN>'
option pincode '<Your SIM-PIN>'
option username '<Providers Username>'
option password '<Providers Password>'
Optional for Web Interface:
$ opkg install luci-proto-3g
$ reboot
$ opkg update
$ opkg install luci-i18n-base-de
TBD
$ opkg update
$ opkg install python python-pip
$ opkg install gstreamer1 gstreamer1-libs gstreamer1-plugins-base gstreamer1-utils
$ opkg install python python-pip
$ pip install -U PyGObject
$ pip install -U mopidy
$ opkg update
$ opkg install kmod-usb-ohci kmod-usb-storage kmod-usb2
$ opkg install kmod-bluetooth kmod-bluetooth_6lowpan
$ opkg install bluez-utils bluez-libs ip
$ reboot
$ opkg update
$ opkg install kmod-usb-audio kmod-sound-core
$ opkg install mpd mpc alsa-utils
$ reboot
- http://www.unlockit.co.nz/mobilesettings/
- http://www.hw-group.com/products/HWg-Ares/HWg-Ares_GSM_APN_en.html
- http://www.gsmnation.com/apn/network/calculator/
- NZBGet 0.8.0