Configuring network on Sierra EM7455: Lenovo x260

Joshua Deare josh at compose.io
Mon May 23 18:56:18 UTC 2016


On Sun, May 22, 2016 at 11:53 PM, Seb <sebastien.pahl at gmail.com> wrote:
> Joshua Deare <josh at ...> writes:
>
>>
>> On Wed, Apr 20, 2016 at 10:10 AM,
> Aleksander Morgado
>> <aleksander <at> aleksander.es> wrote:
>> > On Wed, Apr 20, 2016 at 7:06 PM,
> Joshua Deare <josh <at> compose.io> wrote:
>> >> Thanks for the clarification there. I
> don't use NetworkManager, I've
>> >> had bad experiences in the past so I
> just use netctl for all my
>> >> things. But I found my issue. I was
> falling back to use the /24 net
>> >> prefix I'm used to on a typical home
> network rather that the /29
>> >> prefix. So I was calculating my
> broadcast address incorrectly.
>> >> Realizing this and changing to use
> the proper broadcast address got me
>> >> pinging out just great! I'll just
> script together something to scrape
>> >> the mmcli output and configure the
> iface.
>> >
>> > Please share your script once you have
> it, more people may be interested in it.
>> >
>> >> I know this isn't the
>> >> libmbim mailing list, but do you know
> if there would be interested in
>> >> a patch against the mbim-network
> script to allow for iface management?
>> >
>> > You mean to setup the static IP
> configuration instead of DHCP? If so,
>> > yes yes yes ;)
>>
>> Yep! That's the plan. I figured it would
> be pretty useful to some folks.
>>
>
> Did you ever succeed in making it work?
> Happy to help polish unfinished
> versions:-)

I haven't gotten around to working on the mbim-network. But I have
what I use for the static configuration using mmcli. It's really
rough, but I've attached it.
Usage: ./modem.sh MODEM_NUMBER BEARER_NUMBER
Note: depends on iproute2 and ipcalc being installed. And currently
only works with ipv4
Also note: my wwan iface is hardcoded in this script, so you'll want
to change it to whatever your iface is.

>
> __________________________________________
> _____
>> ModemManager-devel mailing list
>> ModemManager-devel <at>
> lists.freedesktop.org
>>
> https://lists.freedesktop.org/mailman/list
> info/modemmanager-devel
>>
>
>
>
>
> _______________________________________________
> ModemManager-devel mailing list
> ModemManager-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: modem.sh
Type: application/x-sh
Size: 817 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20160523/fb3edcc7/attachment.sh>


More information about the ModemManager-devel mailing list