<div dir="ltr">do you mind sharing how to ask modemmanager for IP? Is it automated process? Thank you.</div><br><div class="gmail_quote"><div dir="ltr">On Mon, Oct 1, 2018 at 10:10 PM Dan Williams <<a href="mailto:dcbw@redhat.com">dcbw@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, 2018-09-30 at 20:39 -0400, Michael pang wrote:<br>
> I did create one network interface named broadband according to the<br>
> website. I am missing the  DHCP client network interface. My EM7455<br>
> is in<br>
> MBIM mode. Does that matter? After I created two interface, still <br>
<br>
MBIM mode does not support DHCP.  Instead, you'd ask ModemManager for<br>
the IP information (which it retrieves from the modem via MBIM) or<br>
query the IP info directly with mbimcli and set the info on the net<br>
interface directly.<br>
<br>
Dan<br>
<br>
> same<br>
> problem. I did notice some message in system log. Thank you for your<br>
> help.<br>
> This is my first time compile openwrt package with modemmanager.<br>
> Sun Sep 30 20:30:03 2018 daemon.notice netifd: broadband (2089):<br>
> Device not<br>
> found in sysfs<br>
> Sun Sep 30 20:30:03 2018 <a href="http://kern.info" rel="noreferrer" target="_blank">kern.info</a> kernel: [   13.878492] IPv6:<br>
> ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready<br>
> Sun Sep 30 20:30:03 2018 <a href="http://kern.info" rel="noreferrer" target="_blank">kern.info</a> kernel: [   13.885034] IPv6:<br>
> ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready<br>
> Sun Sep 30 20:30:03 2018 daemon.notice netifd: wan (2124): udhcpc:<br>
> started,<br>
> v1.28.3<br>
> Sun Sep 30 20:30:03 2018 daemon.notice netifd: broadband (2140):<br>
> stopping<br>
> network<br>
> Sun Sep 30 20:30:03 2018 daemon.notice netifd: wwan (2164): udhcpc:<br>
> started, v1.28.3<br>
> Sun Sep 30 20:30:03 2018 daemon.notice netifd: broadband (2140):<br>
> error:<br>
> couldn't get bus: Could not connect: No such file or directory<br>
> Sun Sep 30 20:30:03 2018 daemon.notice netifd: broadband (2140):<br>
> couldn't<br>
> load bearer path<br>
> Sun Sep 30 20:30:03 2018 daemon.notice netifd: Interface 'broadband'<br>
> is now<br>
> down<br>
> <br>
> On Sun, Sep 30, 2018 at 7:33 PM Nick <<a href="mailto:mips171@icloud.com" target="_blank">mips171@icloud.com</a>> wrote:<br>
> <br>
> > Did you set up the appropriate network interfaces in<br>
> > /etc/config/network?<br>
> > You need one for the modem, which uses the modemmanager protocol,<br>
> > and one<br>
> > DHCP client interface which gets the IP from the modemmanager<br>
> > interface<br>
> > after it connects to the cellular network.  Check alexander0m’s<br>
> > bitbucket<br>
> > profile with the modemmanager-openwrt repository, there is an<br>
> > example<br>
> > config there.  After you get that all set up, assuming your wwan0<br>
> > interface<br>
> > is in raw_ip mode, which I think is required for 7455’s in QMI<br>
> > mode, then<br>
> > you should simply be able to connect using ifup broadband && ifup<br>
> > wwan.<br>
> > <br>
> > <br>
> > Best,<br>
> > <br>
> > Nicholas<br>
> > <br>
> > > On 30 Sep 2018, at 22:00,<br>
> > <br>
> > <a href="mailto:modemmanager-devel-request@lists.freedesktop.org" target="_blank">modemmanager-devel-request@lists.freedesktop.org</a> wrote:<br>
> > > <br>
> > > Send ModemManager-devel mailing list submissions to<br>
> > >       <a href="mailto:modemmanager-devel@lists.freedesktop.org" target="_blank">modemmanager-devel@lists.freedesktop.org</a><br>
> > > <br>
> > > To subscribe or unsubscribe via the World Wide Web, visit<br>
> > >       <a href="https://lists.freedesktop.org/mailman/listinfo/modemmanager" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/modemmanager</a><br>
> > > -devel<br>
> > > or, via email, send a message with subject or body 'help' to<br>
> > >       <a href="mailto:modemmanager-devel-request@lists.freedesktop.org" target="_blank">modemmanager-devel-request@lists.freedesktop.org</a><br>
> > > <br>
> > > You can reach the person managing the list at<br>
> > >       <a href="mailto:modemmanager-devel-owner@lists.freedesktop.org" target="_blank">modemmanager-devel-owner@lists.freedesktop.org</a><br>
> > > <br>
> > > When replying, please edit your Subject line so it is more<br>
> > > specific<br>
> > > than "Re: Contents of ModemManager-devel digest..."<br>
> > > <br>
> > > <br>
> > > Today's Topics:<br>
> > > <br>
> > >   1. Openwrt with EM7455 connecting issue (Michael pang)<br>
> > > <br>
> > > <br>
> > > ---------------------------------------------------------------<br>
> > > -------<br>
> > > <br>
> > > Message: 1<br>
> > > Date: Sat, 29 Sep 2018 21:30:13 -0400<br>
> > > From: Michael pang <<a href="mailto:michaelpangwork@gmail.com" target="_blank">michaelpangwork@gmail.com</a>><br>
> > > To: <a href="mailto:modemmanager-devel@lists.freedesktop.org" target="_blank">modemmanager-devel@lists.freedesktop.org</a><br>
> > > Subject: Openwrt with EM7455 connecting issue<br>
> > > Message-ID:<br>
> > >       <CAHMghz3Cdc5XivVyXP+oMMR_d9BYONUCMx7KTkr=-<br>
> > <br>
> > <a href="mailto:aHmZ0Hh1g@mail.gmail.com" target="_blank">aHmZ0Hh1g@mail.gmail.com</a>><br>
> > > Content-Type: text/plain; charset="utf-8"<br>
> > > <br>
> > > Hello<br>
> > >       I am using OpenWrt 18.06.1 r7258-5eb055306f on linksys<br>
> > > AC1900V2<br>
> > > router. EM7455 Generic firmware with M.2 usb enclosure and<br>
> > > modemmanager<br>
> > > 1.8.2. I followed instruction on your website to compile the<br>
> > > package.<br>
> > <br>
> > But I<br>
> > > can't get any connection. I have to issue 3 commands in order to<br>
> > > get IP<br>
> > > address(no internet though). Did I do something wrong during the<br>
> > > compiling process? Thank you.<br>
> > > <br>
> > > mmcli -e -m 0<br>
> > > mmcli -m 0 --create-bearer="apn=Broadband"<br>
> > > mmcli -c -b 0<br>
> > > -------------- next part --------------<br>
> > > An HTML attachment was scrubbed...<br>
> > > URL: <<br>
> > <br>
> > <a href="https://lists.freedesktop.org/archives/modemmanager-devel/attachmen" rel="noreferrer" target="_blank">https://lists.freedesktop.org/archives/modemmanager-devel/attachmen</a><br>
> > ts/20180929/6bc4f5f3/attachment-0001.html<br>
> > > <br>
> > > <br>
> > > ------------------------------<br>
> > > <br>
> > > Subject: Digest Footer<br>
> > > <br>
> > > _______________________________________________<br>
> > > ModemManager-devel mailing list<br>
> > > <a href="mailto:ModemManager-devel@lists.freedesktop.org" target="_blank">ModemManager-devel@lists.freedesktop.org</a><br>
> > > <a href="https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel</a><br>
> > > <br>
> > > <br>
> > > ------------------------------<br>
> > > <br>
> > > End of ModemManager-devel Digest, Vol 64, Issue 19<br>
> > > **************************************************<br>
> > <br>
> > <br>
> <br>
> _______________________________________________<br>
> ModemManager-devel mailing list<br>
> <a href="mailto:ModemManager-devel@lists.freedesktop.org" target="_blank">ModemManager-devel@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel</a><br>
</blockquote></div>