Skip to content

thomashaertel/Camper-Van-Router

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Camper-Van-Router

Camper Van UMTS/WiFi Router with Music Server and BT A2DP based on OpenWRT Chaos Calmer (15.05)

Hardware

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.

Installation Instructions

  1. 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
  2. Copy image on sd card
  3. Connect Raspberry Pi to monitor and keyboard
  4. Boot Raspberry Pi with sd card
  5. Press "Enter" to login to console

Setup Router

Change Password

$ passwd

Configure internet access over local LAN for installation

$ uci set network.lan.proto=dhcp
$ uci commit
$ reboot

Install utilities

$ okpg install usbutils kmod-usb2 kmod-usb-uhci kmod-usb-ohci
$ opkg update

Install drivers for TP-Link TP-WN722N dongle

$ opkg update
$ opkg install kmod-ath9k-common kmod-ath9k-htc
$ reboot

Install drivers for Edimax WLAN dongle

$ opkg update
$ opkg install rtl8192cu
$ opkg install wpa_supplicant hostapd
$ reboot

Install Huawai UMTS dongle

$ 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

Add german language for Web Interface

$ opkg update
$ opkg install luci-i18n-base-de

Configure Web Interface (Luci)

TBD

Install music server (Mopidy)

$ 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

Install drivers for Bluetooth dongle

$ 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

Audio

$ opkg update
$ opkg install kmod-usb-audio kmod-sound-core
$ opkg install mpd mpc alsa-utils
$ reboot

APN Configuration

Additional Packages

  • NZBGet 0.8.0

Used Installation Guides

About

Camper Van UMTS/WiFi Router with Music Server and BT A2DP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors