mirror of
https://github.com/qosmio/nss-packages.git
synced 2025-12-16 16:21:53 +00:00
Initial attempt at getting NSS offload working with 4g/5g based IPQ807x/50xx platforms. I don't have a unit to test this on but everything seems to compile after applying a few patches. Ensure you are using the "NSS-12.5-K6.x-wwan" branch in your `feeds.conf` ``` src-git nss_packages https://github.com/qosmio/nss-packages.git;NSS-12.5-K6.x-wwan ``` Then install all packages ``` ./scripts/feeds install -p nss_packages -a ``` Ensure you select the modules: ``` kmod-pcie_mhi kmod-qmi_wwan_q ``` Work was derived from `https://github.com/coolsnowwolf/lede` and `https://git.codelinaro.org/clo/qsdk/platform/vendor/qcom/opensource/qsdk/datarmnet` Signed-off-by: Sean Khan <datapronix@protonmail.com>
32 lines
735 B
Bash
32 lines
735 B
Bash
#!/bin/sh
|
|
|
|
uci set network.wan='interface'
|
|
uci set network.wan.ifname='wwan0'
|
|
uci set network.wan.proto='rmnet'
|
|
|
|
uci set network.wan6='interface'
|
|
uci set network.wan6.ifname='wwan0'
|
|
uci set network.wan6.proto='rmnet6'
|
|
|
|
uci set dhcp.lan.ra='relay'
|
|
uci set dhcp.lan.dhcpv6='disabled'
|
|
uci set dhcp.lan.ndp='relay'
|
|
|
|
uci set dhcp.wan.ra='relay'
|
|
uci set dhcp.wan.dhcpv6='disabled'
|
|
uci set dhcp.wan.ndp='relay'
|
|
uci set dhcp.wan.ndproxy_routing='0'
|
|
|
|
uci set dhcp.wan6=dhcp
|
|
uci set dhcp.wan6.interface='wan6'
|
|
uci set dhcp.wan6.ra='relay'
|
|
uci set dhcp.wan6.dhcpv6='disabled'
|
|
uci set dhcp.wan6.ndp='relay'
|
|
uci set dhcp.wan6.ndproxy_routing='0'
|
|
uci set dhcp.wan6.master='1'
|
|
|
|
uci set dhcp.odhcpd=odhcpd
|
|
uci set dhcp.odhcpd.loglevel='7'
|
|
|
|
uci commit
|