Code Monkey home page Code Monkey logo

openwrt-love's Introduction

OpenWrt

Prepare your system

sudo apt install subversion g++ zlib1g-dev build-essential git python time libncurses5-dev gawk gettext unzip file libssl-dev wget libelf-dev build-essential libncurses5-dev python unzip screen mc

Open MENUCONFIG

# FIRST FIRST FIRST FIRST FIRST FIRST FIRST FIRST FIRST
# MAKE THIS REPO PUBLIC (settings/options/down there)
# THEN ->


# go home!
cd ~

# clone
git clone https://github.com/openwrt/openwrt.git

# get in
cd openwrt

# get the right commit
git fetch --all --tags --prune
git checkout tags/v19.07.1

# update packages from feeds
./scripts/feeds update -a
./scripts/feeds install -a

# go home again!
cd ~

# clone this repo
git clone https://github.com/mchsk/openwrt-love.git

# delete orig ncm/qmi
rm -rf openwrt/feeds/luci/protocols/luci-proto-ncm/
rm -rf openwrt/feeds/luci/protocols/luci-proto-qmi/

# copy over the files from the openwrt-love over openwrt
rsync -pr ./openwrt-love/package/ ./openwrt/package/
rsync -pr ./openwrt-love/feeds/ ./openwrt/feeds/

# sync the packages again
cd openwrt
./scripts/feeds update -a
./scripts/feeds install -a

# and run the menuconfig
make menuconfig

# :)

TODO in MENUCONFIG

GENERIC
LuCI/Collections/luci
LuCI/Protocols/luci-proto-n2n
Network/SSH/openssh-sftp-server
Network/netcat
Network/socat

4G
Kernel modules/USB Support/kmod-usb-acm
Kernel modules/USB Support/kmod-usb-net/kmod-usb-net-huawei-cdc-ncm
Kernel modules/USB Support/kmod-usb-ohci
Kernel modules/USB Support/kmod-usb-serial/kmod-usb-serial-wwan
Kernel modules/USB Support/kmod-usb-uhci
Luci/Protocols/luci-proto-3g
Luci/Protocols/luci-proto-wwan(qqan/qmi/ncm)
Network/WWAN/comgt-ncm
Network/3ginfo
Utilities/usb-modeswitch
Utilities/usbutils

Build

screen
make

Create WWAN like this

wwan

openwrt-love's People

Contributors

mchsk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.