Difference between revisions of "OpenWRT: Build Firmware dengan 3G Modem Support"

From OnnoWiki
Jump to navigation Jump to search
(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...)
 
Line 1: Line 1:
Wireless router with a 3G dongle and multiwan for failover on Wired, Wireless client (routed) and 3G
+
Tambahkan usb-modeswitch
  
Please check 3gdongle
+
./scripts/feeds update packages
 +
./scripts/feeds install usb-modeswitch usb-modeswitch-data usbutils multiwan
  
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.
+
Jalankan make menuconfig dan pilih,
 
 
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.
 
  
 +
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: <*>
  
  

Revision as of 07:28, 29 July 2012

Tambahkan usb-modeswitch

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

Jalankan make menuconfig dan pilih,

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: <*>


Referensi