So I tried your method, but no sucess: $systemctl status NetworkManager.service ● NetworkManager.service - Network Manager Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; vendor preset: disabled) Active: inactive (dead) since Fri 2016-06-24 11:58:26 GET; 6s ago Process: 565 ExecStart=/usr/bin/NetworkManager --no-daemon (code=exited, status=0/SUCCESS) Main PID: 565 (code=exited, status=0/SUCCESS)
Jun 24 11:54:49 arch-thinkpad NetworkManager[565]: <info> [1466754889.8865] (cdc-wdm1): modem state changed, 'disabled' --> 'enabling' (reason: user-requested) Jun 24 11:54:49 arch-thinkpad NetworkManager[565]: <info> [1466754889.9744] (cdc-wdm1): modem state changed, 'enabling' --> 'enabled' (reason: user-requested) Jun 24 11:54:50 arch-thinkpad NetworkManager[565]: <info> [1466754890.0448] (cdc-wdm1): modem state changed, 'enabled' --> 'registered' (reason: unknown) Jun 24 11:58:25 arch-thinkpad systemd[1]: Stopping Network Manager... Jun 24 11:58:25 arch-thinkpad NetworkManager[565]: <info> [1466755105.8968] caught SIGTERM, shutting down normally. Jun 24 11:58:25 arch-thinkpad NetworkManager[565]: <info> [1466755105.8976] device (enp0s31f6): state change: unavailable -> unmanaged (reason 'unmanaged') [20 10 3] Jun 24 11:58:26 arch-thinkpad NetworkManager[565]: <info> [1466755106.0794] device (wlp4s0): state change: unavailable -> unmanaged (reason 'unmanaged') [20 10 3] Jun 24 11:58:26 arch-thinkpad NetworkManager[565]: <info> [1466755106.0818] device (cdc-wdm1): state change: disconnected -> unmanaged (reason 'unmanaged') [30 10 3] Jun 24 11:58:26 arch-thinkpad NetworkManager[565]: <info> [1466755106.0827] exiting (success) Jun 24 11:58:26 arch-thinkpad systemd[1]: Stopped Network Manager. #qmicli -p -d /dev/cdc-wdm1 --device-open-mbim --dms-get-operating-mode [/dev/cdc-wdm1] Operating mode retrieved: Mode: 'online' HW restricted: 'no' # mmcli -m 0 /org/freedesktop/ModemManager1/Modem/0 (device id '53705c2d49a0599d821891b3cad7a4223c1e170b') ------------------------- Hardware | manufacturer: 'Sierra' | model: 'MBIM [1199:9079]' | revision: 'SWI9X30C_02.05.07.00' | supported: 'gsm-umts, lte'sucess | current: 'gsm-umts, lte' | equipment id: '014582000755646' ------------------------- System | device: '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2' | drivers: 'cdc_mbim' | plugin: 'Sierra' | primary port: 'cdc-wdm1' | ports: 'cdc-wdm1 (mbim), wwp0s20f0u2i12 (net)' ------------------------- Numbers | own : 'unknown' ------------------------- Status | lock: 'none' | unlock retries: 'sim-pin2 (3)' | state: 'registered' | power state: 'on' | access tech: 'lte' | signal quality: '0' (cached) ------------------------- Modes | supported: 'allowed: 3g, 4g; preferred: none' | current: 'allowed: 3g, 4g; preferred: none' ------------------------- Bands | supported: 'unknown' | current: 'unknown' ------------------------- IP | supported: 'ipv4, ipv6, ipv4v6' ------------------------- 3GPP | imei: '014582000XXXXXX' | enabled locks: 'fixed-dialing' | operator id: '28202' | operator name: 'MAGTICOM' | subscription: 'unknown' | registration: 'home' ------------------------- SIM | path: '/org/freedesktop/ModemManager1/SIM/0' ------------------------- Bearers | paths: 'none' #mmcli -m 0 --create-bearer="apn=3g.ge,ip-type=ipv4,number=*99#" Successfully created new bearer in modem: /org/freedesktop/ModemManager1/Bearer/1 # mmcli -m 0 -b 1 -c successfully connected the bearer # mmcli -m 0 -b 1 Bearer '/org/freedesktop/ModemManager1/Bearer/1' ------------------------- Status | connected: 'yes' | suspended: 'no' | interface: 'wwp0s20f0u2i12' | IP timeout: '20' ------------------------- Properties | apn: '3g.ge' | roaming: 'allowed' | IP type: 'ipv4' | user: 'none' | password: 'none' | number: '*99#' | Rm protocol: 'unknown' ------------------------- IPv4 configuration | method: 'static' | address: '10.115.184.205' | prefix: '30' | gateway: '10.115.184.206' | DNS: '81.95.167.65', '81.95.167.66' | MTU: '1500' ------------------------- IPv6 configuration | method: 'unknown' ------------------------- Stats | Duration: '0' | Bytes received: 'N/A' | Bytes transmitted: 'N/A' #modem.sh 0 1 Bringing up interface Configuring network 10.115.184.205 Adding Gateway # ip addr 2: wwp0s20f0u2i12: <BROADCAST,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000 link/ether 02:53:77:08:56:74 brd ff:ff:ff:ff:ff:ff inet 10.115.184.205/30 brd 10.115.184.207 scope global wwp0s20f0u2i12 valid_lft forever preferred_lft forever # ip route default via 10.115.184.206 dev wwp0s20f0u2i12 10.115.184.204/30 dev wwp0s20f0u2i12 proto kernel scope link src 10.115.184.205 # ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. --- 8.8.8.8 ping statistics --- 17 packets transmitted, 0 received, 100% packet loss, time 15999ms On Fri, Jun 24, 2016 at 5:46 AM, Joshua Deare <j...@compose.io> wrote: > The stack I used to get this working. > EM7455 on Lenovo x260 (USB ID 1199:9079) > https://aur.archlinux.org/packages/libqmi-qmi-over-mbim/ > https://aur.archlinux.org/packages/libmbim-qmi-over-mbim/ > https://www.archlinux.org/packages/extra/x86_64/modemmanager/ > https://www.archlinux.org/packages/core/x86_64/iproute2/ > > $ qmicli --device-open-mbim -d /dev/cdc-wdm0 --dms-set-fcc-authentication > $ mmcli -m 0 -e # not sure if this step is nescessary but I use it > $ mmcli -m 0 --create-bearer="apn=RESELLER,ip-type=ipv4v6,number=*99#" > $ mmcli -m 0 -b 0 -c > > Sometimes I have to restart modemmanager after issuing the fcc-auth > setting. I assume this has to do with the --keep-open options. > > After I get the bearer info I use a script to scrape the bearer > information from mmcli and configure the iface with iproute2. Note: I > MUST use the dns servers provided in the bearer information. I tried > to use Google DNS for the longest time without it working. So make > sure you add that to your /etc/resolv.conf > > On Thu, Jun 23, 2016 at 3:13 PM, Dan Williams <d...@redhat.com> wrote: > > On Thu, 2016-06-23 at 14:09 -0700, Joshua Deare wrote: > >> Hmm. I feel like I'm the only to have gotten it working. Samo, I'm > >> using the same Modem but on the x260(same vendor/did) I used the > >> libqmi-qmi-over-mbim patches, and modemmanager to connect. Then I > >> needed to manually setup my iface with iproute2. If you look for the > >> message thread I started on the topic you can see a script I wrote > >> for > >> getting that network setup. > > > > Who is using manual setup after getting the bearer IP info from mmcli, > > and has it worked? > > > > Who is using NetworkManager or something else, and has that worked? > > > > I wouldn't rule out NetworkManager having a bug with these devices > > that's causing some of the issues, so lets figure that out first. > > > > Dan > > > > > >> On Thu, Jun 23, 2016 at 12:57 PM, George Tepnadze > >> <george.tepna...@gmail.com> wrote: > >> > > >> > Any way it doesn't work still but I used > >> > https://aur.archlinux.org/packages/libqmi-qmi-over-mbim-netctl/ to > >> > set up > >> > patched libqmi and after you can use git modemmanager to connect. > >> > > >> > On Thu, Jun 23, 2016 at 11:25 PM, Samo Ratnik <samo.rat...@gmail.co > >> > m> wrote: > >> > > > >> > > > >> > > Hi everyone, > >> > > I'm pretty much an Arch/Linux noob, stumbled upon this discussion > >> > > forum > >> > > yesterday after googling around and posting this > >> > > https://bbs.archlinux.org/viewtopic.php?pid=1636411 > >> > > > >> > > So I apologize if this is the wrong place for questions like this > >> > > one. > >> > > > >> > > Anyway, I'm using a Lenovo Thinkpad T460s with Sierra EM7455 LTE. > >> > > I've > >> > > read some of the posts here and I've tried to get my wwan > >> > > connection to > >> > > work, unfortunately, to no avail. Here's a paste of what I've > >> > > been doing > >> > > today: > >> > > http://pastie.org/private/jdrdgnmzlfvsn2fv8mva > >> > > > >> > > Can someone please help me setting this up? Thanks. > >> > > > >> > > Regards, > >> > > Samo > >> > > > >> > > _______________________________________________ > >> > > ModemManager-devel mailing list > >> > > ModemManager-devel@lists.freedesktop.org > >> > > https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel > >> > > > >> > > >> > _______________________________________________ > >> > ModemManager-devel mailing list > >> > ModemManager-devel@lists.freedesktop.org > >> > https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel > >> > > >> _______________________________________________ > >> ModemManager-devel mailing list > >> ModemManager-devel@lists.freedesktop.org > >> https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel >
_______________________________________________ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel