OpenWRT: Build Firmware dengan 3G Modem Support

From OnnoWiki
Revision as of 05:17, 29 July 2012 by Onnowpurbo (talk | contribs) (New page: Wireless router with a 3G dongle and multiwan for failover on Wired, Wireless client (routed) and 3G Please check 3gdongle With this recipe you can create a wireless router which is conn...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Wireless router with a 3G dongle and multiwan for failover on Wired, Wireless client (routed) and 3G

Please check 3gdongle

With this recipe you can create a wireless router which is connected to either a wired, a wireless or a 3G wireless connection. The multiwan package is used to do the failover between the three WAN variants.

I have this running on a ASUS WL-500g Premium v1 with an Atheros wireless card. The 3G dongle is a K3565-Z from Vodafone. Latest Backfire is used and build by myself from subversion without a WebUI. Building OpenWrt

   OpenWrt Buildroot – Installation
   OpenWrt Buildroot – Usage

svn checkout svn://svn.openwrt.org/openwrt/branches/backfire wl-500gpv1

Backport the 6in4 package to Backfire:

svn export svn://svn.openwrt.org/openwrt/trunk/package/6in4 package/6in4; svn add package/6in4

Checkout the packages feed and symlink (install in menuconfig) only usb-modeswitch, usb-modeswitch-data, usbutils and multiwan packages from the packages feed.

./scripts/feeds update packages ./scripts/feeds install usb-modeswitch usb-modeswitch-data usbutils multiwan

Now run make menuconfig and select at least the packages in the list below.

   Target System: Broadcom BCM947xx/953xx
   Target Profile: ASUS WL-500g Premium v1 (Atheros WiFi)
   Base System
       qos-scripts: <*>
   Network
       multiwan: <*>
       wpad: <*>
   Kernel modules
       USB Support
           kmod-usb-serial: <*>
               kmod-usb-serial-option: <*>
   Utilities
       comgt: <*>
       usb-modeswitch: <*>
           usb-modeswitch-data: <*>
       usbutils: <*>

Finally run make to build OpenWrt Backfire.



Referensi