I connect fine but always get disconnected exactly after 120 seconds

Dan Williams dcbw at redhat.com
Tue Dec 8 10:37:54 PST 2015


On Tue, 2015-12-08 at 13:48 -0400, Hector Lopez wrote:
> Alexander,
> 
> I had IPv6 turned off in my Debian PC with the following systectl
> atributes:
> 
> net.ipv6.conf.all.disable_ipv6 = 1
> net.ipv6.conf.default.disable_ipv6 = 1
> net.ipv6.conf.lo.disable_ipv6 = 1
> net.ipv6.conf.eth0.disable_ipv6 = 1
> 
> After commenting those lines it does not disconnect. Thank you so
> much
> for your help!
> 
> Btw, is there a way to only request an IPv4 address?

qmicli currently doesn't support requesting specific IP families via 
 qmi_message_wds_start_network_input_set_ip_family_preference(), but
you could use AT+CGDCONT to change the PDP context type directly in the
modem to "IP" instead of IPV4V6 which would achieve the same effect.

Dan


More information about the libqmi-devel mailing list