Getting MC7455 static-ip to work
Dan Williams
dcbw at redhat.com
Mon Mar 5 17:18:46 UTC 2018
On Mon, 2018-03-05 at 17:56 +0100, Aleksander Morgado wrote:
> > >
> > > Was the wwan0 interface down while you executed simple-connect?
> >
> > wwan0 being up is the most likely cause. But seeing the debug logs
> > to
> > confirm this would be good.
> >
> > I started thinking about solving this in the driver, but ended up
> > falling back to the original decision: The interface must be
> > down. This
> > is the way it is. You should respond to any error when attempting
> > to
> > write to the sysfs file.
>
> Should we bring the interface down ourselves in MM when trying to
> write to the sysfs file?
Yeah, set_expected_data_format() should check if the interface is up
and then take it down, set the data format, and bring it back up.
This would kill a data connection if somebody ran "qmicli --set-
expected-data-format=xxx" while the connection was active, but then
they shouldn't do that...
Dan
More information about the ModemManager-devel
mailing list