Point to Point interface over qmi_wwan device
Tang Nguyen
tang_nguyen at yahoo.com
Tue Oct 4 17:46:19 UTC 2016
--------------------------------------------
On Tue, 10/4/16, Dan Williams <dcbw at redhat.com> wrote:
Subject: Re: Point to Point interface over qmi_wwan device
To: "Tang Nguyen" <tang_nguyen at yahoo.com>, "Bjørn Mork" <bjorn at mork.no>
Cc: "libqmi (development)" <libqmi-devel at lists.freedesktop.org>
Date: Tuesday, October 4, 2016, 1:17 PM
On Tue, 2016-10-04 at
16:28 +0000, Tang Nguyen wrote:
> Hi
all,
> I have tested /32 mask on wwan
without running dhclient. but seems
> not
working . The packet connection successfully connected
but it
> would be dropped after a
while. Looks like Sierra firmware waits for
> dhclient discovery request from host, and
after a while it would
> disconnect the
data link.
> My module is MC7354 (ATT)
> What I did as below:
>
1. start network connection. Verify connection status with
command:
> qmicli -d /dev/cdc-wdm3
--wds-get-packet-service-status2. Send AT
> command to modem to show assigned IP
address3. Using ip command to
>
>Why use the AT command? Why not:
>qmicli -d /dev/cdc-wdm3
>--wds-get-current-settings --client-no-release-
>cid --client-cid=<cid from start
>network>
>I seem to
>recall we've had devices before that didn't fully
>set up the
>WAN interface until they got
>asked for the IP details, and I wouldn't
>necessarily trust the AT interpreter to do the
>same thing. But the QMI
>GetCurrentSettings
>request might.
>Dan
Thank you Dan. I am running libqmi v.10.2, so that command is not available - will try to update now
Tang
> set ip address from step
#2 for wwan interface4. Set default route to
> wwan interface5. Ping outside faild with
error: "Destination Host
>
Unreachable"
> Other running PPPd
over serial USB port, is there any way we can
> force cellular interface to be a
point-to-point interface ?
>
ThanksTang
>
>
On Saturday, October 1, 2016 1:11 PM, Tang Nguyen
<tang_nguyen at ya
> hoo.com> wrote:
>
>
> Thank you
Bjorn. I will try to set it as your suggestion to see
how
> it works.
>
> Our customer designs their network running
out box as one of
> gateway. They
don't want to advertise their network behind the box,
> so they require cellular link as a point
to point interface- not
> sending
broadcast. It works well evdo modem, which is a PPP
link
> over cellular network.
> Thanks again Bjone.
>
> Tang
>
> Sent from my iPhone
>
> >
> > On Oct
1, 2016, at 12:39 PM, Bjørn Mork <bjorn at mork.no>
wrote:
> >
> >
Tang Nguyen <tang_nguyen at yahoo.com>
writes:
> >
> >
>
> > > Hi,
> > > I am working on the feature of
setting a netmask of /32 for wwan
>
> > network interface. Usually, dhclient would get a
/29 netmask
> > > from mini
dhcpserver in modem. The wwanX ethernet-line interface
> > > and /29 netmask has affected to
OSPF network design over LTE
> > >
modem. We need to have a Point-to-Point interface and
/32
> > > netmask on wwan to solve
this problem.
> > > I can open a
PPP pver serial ttyUSB serial oport, but doing that
> > > we loose the AT command port and
too much PPP overhead.
> > > Can
we have anyway to force wwanX to have /32 netmask
over
> > > libqmi - I intend to use
"ip or ifconfig" command to change
> > > netmask of wwan, but not sure it
is the right way or not.
> >
> > Setting a /32 mask manually should
not be a problem as long as you
> >
don't
> > use DHCP. You'll
just have to configure routing manually too. But
> > since you are running OSPF, I guess
that's not a problem.
> >
> > I must admit I'm a bit curious
about the OSPF part. Don't think it
>
> is
> > very common to run routing
protocols over LTE links. But I cannot
> > think
> > of
any reason why it shouldn't work. IS-IS won't work,
though :)
> >
>
>
> > Bjørn
>
>
> >
_______________________________________________
> > 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
_______________________________________________
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