Getting MC7455 static-ip to work

Steven P peasteven at gmail.com
Mon Mar 5 01:55:25 UTC 2018


$ pacman -Qi libqmi libmbim linux modemmanager | grep -B 1 Version
Name            : libqmi
Version         : 1.20.0-1
--
Name            : libmbim
Version         : 1.16.0-1
--
Name            : linux
Version         : 4.15.6-1
--
Name            : modemmanager
Version         : 1.8rc1+6+g0f377f94-1

I did see an occasional error in dmesg about that interface that happened when I executed simple-connect - however during one of my tests I made sure that wwan0 was brought down when I made the connection and the error didn't occur. If this sounds related, let me know and I'll see if I can reproduce it (not at my laptop atm, just happened to have the above info in my notes)

> On Mar 4, 2018, at 04:50, Aleksander Morgado <aleksander at aleksander.es> wrote:
> 
> Hey!
> 
>> Managed to figure it out - things only work if the interface is in raw_ip mode:
>> 
>> sudo sh -c 'echo Y > /sys/class/net/wwan0/qmi/raw_ip'
>> 
>> Would appreciate if there's a way to get ModemManager to set this
>> automatically, and I'm sort of curious about the mode that the
>> interface is in if it isn't raw_ip mode.
>> 
>> Barring that, hopefully others don't have to make the same mistake. :)
>> 
> 
> That should have been automatic. If the module is found to use raw-ip
> by default (as in the MC7455, which is the only mode supported), then
> ModemManager will request the kernel to switch the interface into
> raw-ip mode (qmi_device_set_expected_data_format(raw-ip)).
> 
> Which version of MM/libqmi are you using?
> 
> -- 
> Aleksander
> https://aleksander.es


More information about the ModemManager-devel mailing list