Re: IPv4 config for QMI modem

2018-11-12 Thread Dan Williams
On Mon, 2018-11-12 at 14:02 +0100, Sven Schwermer wrote: > Hi again! > > > I’m currently using a 4.1.x kernel. I’ll try with a 4.18.x kernel > > now. I’ll keep you posted. > > I have gotten a step further with a newer kernel. DNS works as well > as simple pinging (ICMP). However, when trying to e

Re: IPv4 config for QMI modem

2018-11-12 Thread Sven Schwermer
Hi again! > I’m currently using a 4.1.x kernel. I’ll try with a 4.18.x kernel now. I’ll > keep you posted. I have gotten a step further with a newer kernel. DNS works as well as simple pinging (ICMP). However, when trying to establish a TCP connection, the connection times out. I then went ahe

Re: IPv4 config for QMI modem

2018-11-09 Thread Sven Schwermer
Hi Aleksander, > We try to set 802.3 (with ethernet headers) and the modem returns "success" > but with raw-ip as protocol instead. Looks like this device MUST be used in > raw-ip mode. One thing to fix in our side is to check the returned protocol > value in the Set Data Format reply, because

Re: IPv4 config for QMI modem

2018-11-09 Thread Aleksander Morgado
Hey, > > I wonder if your setup has a 802.3 vs raw-ip mismatch in the network > > interface. Could you gather the full debug log of MM to see the > > details? > > If I understand you correctly, you only wanted the debug log of ModemManager (and not NetworkManager). Strap in, this is gonna be a lot

Re: IPv4 config for QMI modem

2018-11-08 Thread Aleksander Morgado
Hey, > > Could you try requesting for an IP4-only connection (flagging as > > disabled the IPv6 settings explicitly)? Looks like the IPv4 setup > > succeeds and the IPv6 setup fails. Not saying that is the only fix > > needed, because I believe the modem should allow the IPv4 setup even > > if the

Re: IPv4 config for QMI modem

2018-11-08 Thread Sven Schwermer
Hi, > Could you try requesting for an IP4-only connection (flagging as > disabled the IPv6 settings explicitly)? Looks like the IPv4 setup > succeeds and the IPv6 setup fails. Not saying that is the only fix > needed, because I believe the modem should allow the IPv4 setup even > if the IPv6 fails

Re: IPv4 config for QMI modem

2018-11-08 Thread Aleksander Morgado
Hey, > [ 76.015857] ModemManager[841]: Modem > /org/freedesktop/ModemManager1/Modem/0: state changed (registered -> > connecting) > [ 76.021750] NetworkManager[739]: [1541687323.8756] > modem["cdc-wdm0"]: modem state changed, 'registered' --> 'connecting' > (reason: user-requested) > [

IPv4 config for QMI modem

2018-11-08 Thread Sven Schwermer
Hi, I am trying to connect a QMI modem (u-blox SARA-R412M) using ModemManager 1.8.2 and libqmi 1.20.0. The modem transitions into the connected state which makes NetworkManager start the DHCP procedure. That, however, never succeeds. In the ModemManager logs, I can see that QMI reports IPv4 set