-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
50 lines (35 loc) · 1.5 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# OpenWrt ModemManager feed
## Description
This is an unofficial OpenWrt feed for libqmi, libmbim and ModemManager.
## Usage
This repository is intended to be layered on-top of an OpenWrt buildroot.
Install it in the following way:
1) Add additional dependencies (debian/ubuntu)
apt-get install pkg-config automake autoconf intltool libtool gtk-doc-tools
apt-get install libglib2.0-dev libgudev-1.0-dev
2) Edit your feeds.conf and add the configuration of the new feed:
$ vim feeds.conf
src-git mobile_broadband https://github.com/sfx2000/mobile-broadband-openwrt.git
3) Update the feed:
$ ./scripts/feeds update mobile_broadband
4) Install all packages from the feed:
$ ./scripts/feeds install -p mobile_broadband -a
5) Enable the packages in menuconfig:
$ make menuconfig
Libraries/libmbim
Libraries/libqmi
Network/modemmanager
6) Or compile the packages directly:
$ make package/libmbim/{clean,compile,install}
$ make package/libqmi/{clean,compile,install}
$ make package/modemmanager/{clean,compile,install}
$ make package/index
7) Once installed, you can configure the 2G/3G/4G modem connections directly in
/etc/config/network as in the following example:
config interface 'WWAN'
option proto 'modemmanager'
option device '/sys/devices/platform/ehci-platform/usb1/1-1'
option apn 'Broadband'
option metric '20'
NOTE - for Luci WebUI support
see - https://github.com/sfx2000/luci-proto-modemmanager