Getting MC7455 static-ip to work
Steven P
peasteven at gmail.com
Sun Mar 4 03:54:03 UTC 2018
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. :)
- Steven
On Sat, Mar 3, 2018 at 4:41 PM, Steven P <peasteven at gmail.com> wrote:
> Hi,
>
> Working with another MC7455. When I use simple-connect with ip-type
> ipv4v6, I get the following output.
>
> Mar 03 16:26:51 excalibur ModemManager[497]: <info> Simple connect started...
> Mar 03 16:26:51 excalibur ModemManager[497]: <info> Simple connect
> state (4/8): Wait to get fully enabled
> Mar 03 16:26:51 excalibur ModemManager[497]: <info> Simple connect
> state (5/8): Register
> Mar 03 16:26:51 excalibur ModemManager[497]: <info> Simple connect
> state (6/8): Bearer
> Mar 03 16:26:51 excalibur ModemManager[497]: <info> Simple connect
> state (7/8): Connect
> Mar 03 16:26:51 excalibur ModemManager[497]: <info> Modem
> /org/freedesktop/ModemManager1/Modem/5: state changed (registered ->
> connecting)
> Mar 03 16:26:51 excalibur ModemManager[497]: <info> QMI IPv4 Settings:
> Mar 03 16:26:51 excalibur ModemManager[497]: <info> Address:
> 100.127.167.238/30
> Mar 03 16:26:51 excalibur ModemManager[497]: <info> Gateway:
> 100.127.167.237
> Mar 03 16:26:51 excalibur ModemManager[497]: <info> DNS #1: 198.224.173.135
> Mar 03 16:26:51 excalibur ModemManager[497]: <info> DNS #2: 198.224.174.135
> Mar 03 16:26:51 excalibur ModemManager[497]: <info> MTU: 1428
> Mar 03 16:26:52 excalibur ModemManager[497]: <info> QMI IPv6 Settings:
> Mar 03 16:26:52 excalibur ModemManager[497]: <info> Address:
> 2600:1010:b01f:c448:4832:fd1a:be3a:981b/64
> Mar 03 16:26:52 excalibur ModemManager[497]: <info> Gateway:
> 2600:1010:b01f:c448:f565:a7c9:17d:1b1/64
> Mar 03 16:26:52 excalibur ModemManager[497]: <info> DNS #1:
> 2001:4888:68:ff00:608:d::
> Mar 03 16:26:52 excalibur ModemManager[497]: <info> DNS #2:
> 2001:4888:61:ff00:604:d::
> Mar 03 16:26:52 excalibur ModemManager[497]: <info> MTU: 1428
> Mar 03 16:26:52 excalibur ModemManager[497]: <info> Modem
> /org/freedesktop/ModemManager1/Modem/5: state changed (connecting ->
> connected)
> Mar 03 16:26:52 excalibur ModemManager[497]: <info> Simple connect
> state (8/8): All done
>
> I then try to configure the bearer interface's ip address:
> sudo ip addr add 100.127.167.238/30 dev wwan0
>
> Sometimes I've tried messing with the subnet mask:
> sudo ip addr add 100.127.167.238/24 dev wwan0
>
> If I try pinging 8.8.8.8, it appears as if I never get a response
> back. The gateway does not respond either. Setting it up the gateway
> as a default gateway does not help either.
>
> I'm deeply suspicious that there is a misconfiguration on my side:
> sudo ping -I wwan0 google.com
> connect: Network is unreachable
>
> Any advice or tips to troubleshoot? Thanks.
> --
> - Steven
--
- Steven
More information about the ModemManager-devel
mailing list