Skip to content

RoEdAl/a5v11

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LEDE image builders for A5-V11 router (17.01.1)

Profiles:

huawei_3g_lycamobile - sharing Internet from Lycamobile (PL) provider using Huawei 3G/UMTS dongle (not maintained anymore).

  • ncm mode (kmod-usb-net-huawei-cdc-ncm kernel module).

    config interface wan
      option proto ncm
      option device '/dev/cdc-wdm0'
    

    Tested with Huawei E3131 dongle. ID: 12d1:14fe (12d1:1506 after modeswitch).

    lsusb
    Bus 001 Device 005: ID 12d1:1506 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard
    
  • No LuCI.

  • No opkg.

  • IPv6 disabled.

  • iptables configured to enable Internet sharing from Lycamobile (PL) provider (TTL mangling).

    iptables -t mangle -I POSTROUTING -o wwan0 -j TTL --ttl-inc 1
    iptables -t mangle -I FORWARD -i wwan0 -j TTL --ttl-inc 1
    iptables -t mangle -I PREROUTING -i wwan0 -j TTL --ttl-inc 1
    
  • Two subnets:

    • 10.0.0.1/24 - ethernet, 12h lease time
    • 10.0.1.1/24 - wireless, 1h lease time
  • igmpproxy configured and invoked by hotplug hook.

  • AP configured (not enabled).

zte_lte_lycamobile - Sharing Internet from Lycamobile (PL) provider using ZTE MF821 USB dongle

  • qmi mode.

    config interface wan
          option proto qmi
          option device '/dev/cdc-wdm0'
          option apn 'data.lycamobile.pl'
          option username lmpl
          option password plus
    
  • No LuCI.

  • No opkg.

  • IPv6 disabled.

  • iptables configured to enable Internet sharing from Lycamobile (PL) provider (TTL mangling).

    iptables -t mangle -I POSTROUTING -o wwan0 -j TTL --ttl-inc 1
    iptables -t mangle -I FORWARD -i wwan0 -j TTL --ttl-inc 1
    iptables -t mangle -I PREROUTING -i wwan0 -j TTL --ttl-inc 1
    
  • Two subnets:

    • 10.0.0.1/24 - ethernet, 12h lease time
    • 10.0.1.1/24 - wireless, 1h lease time
  • igmpproxy configured and invoked by hotplug hook.

  • AP configured (not enabled).

wireless_to_wired - WiFi to Ethernet bridge using relayd pseudo bridge.

  • AP Subnet - 192.168.1.0/24, gateway 192.168.1.254.
  • Client Subnet - 10.0.0.0/24, static address 10.0.0.1.
  • No opkg.
  • igmpproxy configured and invoked by hotplug hook.
  • USB-Ethernet gadget support (Raspberry Pi Zero for example).

See also:

General build instrucitons.

  1. Clone this repository.

    git clone https://github.com/RoEdAl/a5v11
    
  2. Download LEDE image builder from here and unapck it.

cd a5v11
wget http://downloads.lede-project.org/releases/17.01.1/targets/ramips/rt305x/lede-imagebuilder-17.01.1-ramips-rt305x.Linux-x86_64.tar.xz
tar -xvf lede-imagebuilder-17.01.1-ramips-rt305x.Linux-x86_64.tar.xz
  1. Run proper build_… script.
  ./build_huawei_3g_lycamobile.sh
  1. Flash router with newly created image lede-17.01.1-ramips-rt305x-a5-v11-squashfs-factory.bin (or lede-17.01.0-ramips-rt305x-a5-v11-squashfs-sysupgrade.bin) from proper ….lede-bin (e. g. huawei_3g_lycamobile.lede-bin) subdirectory.

About

LEDE image builiders for a5-v11 router

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages