DHCP client and MC7304

Kasper Holtze kasper at holtze.dk
Tue Apr 11 10:22:35 UTC 2017


Hi Vincent,

Do you use ModemManager or qmi-network?

I use the simplest form - the modem has autoconnect enabled (using 
qmicli). No ModemManager or qmi-network to handle the connection. I'm 
not listening for events, so I don't know yet if any is received.

Thank you :-)

Kasper


On 04/11/2017 10:16 AM, Westerhoff, Vincent wrote:
> Hi,
>
> I use also MC7304 and it works fine in a similar scenario. I always get a disconnect event and re-establish automatically. I also use udhcpc.
>
> BR
> Vincent
>
> --
> Vincent Westerhoff
> P3 group
>
> Cell:       +49 151 571 33 327
> E-Mail:    Vincent.Westerhoff at p3-group.com
> Web:       www.p3-group.com
>
>
> P3 telehealthcare GmbH
> legal disclaimer, mandatory information and the P3 office addresses can be found at
> http://www.p3-group.com/portfolio-item/legal-disclaimer-p3-telehealthcare-gmbh
>
> -----Original Message-----
> From: libqmi-devel [mailto:libqmi-devel-bounces at lists.freedesktop.org] On Behalf Of Kasper Holtze
> Sent: Monday, April 10, 2017 1:16 PM
> To: libqmi-devel at lists.freedesktop.org
> Subject: DHCP client and MC7304
>
> Hello,
>
> I have an issue with my modems changing IP address, when the modem is travelling and shortly looses connection. After the connection is restored, the modem has a new IP address. But the wwan0 interface still has the "old" IP address, as it has not expired, and the modem has not been disconnected from the computer as such.
>
> I'm using udhcpc. Would it help to replace it with dhclient? Is the DHCP protocol / qmi_wwan able to handle this scenario at all? Are there any other options than to continuously comparing the IP address in the modem with the one at the interface, and forcing renew of the address if they do not match?
>
> Thank you!
>
> Kasper
>
> _______________________________________________
> libqmi-devel mailing list
> libqmi-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libqmi-devel
>
> _______________________________________________
> libqmi-devel mailing list
> libqmi-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libqmi-devel



More information about the libqmi-devel mailing list