Reg AT commands to configure HUAWEI E392 dongle

swarnalatha.subramaniya at wipro.com swarnalatha.subramaniya at wipro.com
Wed Feb 27 04:19:00 PST 2013


Hi,

Thanks for the support.

But i am not getting IP address even with dhclient. i have done the following

at^ndisdup=1,1,"myapn"
ifconfig wwan0 -arp
dhclient -d wwan0

In wireshark, i am seeing that not getting response for DHCP Discover packets.

Can you please help me in this ...

Thanks,
Swarna

________________________________________
From: libqmi-devel-bounces+swarnalatha.subramaniya=wipro.com at lists.freedesktop.org [libqmi-devel-bounces+swarnalatha.subramaniya=wipro.com at lists.freedesktop.org] on behalf of Dan Williams [dcbw at redhat.com]
Sent: Wednesday, February 27, 2013 5:23 PM
To: Swarnalatha Subramaniya (WT01 - GMT-Telecom Equipment)
Cc: libqmi-devel at lists.freedesktop.org
Subject: Re: Reg AT commands to configure HUAWEI E392 dongle

On Wed, 2013-02-27 at 11:25 +0000, swarnalatha.subramaniya at wipro.com
wrote:
>
> Hi,
>
> I am trying to use E392 dongle in an residential gateway.
>
> I am trying to configure the dongle with following AT commands,
>
> at^ndisdup=1,1,"myapn"
> OK
> at^dhcp?
> ^DHCP:7796124d,f0ffffff,7196124d,7196124d,470d5c1,c60f4382,236800,236800
>
> Converting the address to dotted quads to make them more readable:
> 77.18.150.119,255.255.255.240,77.18.150.113,77.18.150.113,193.213.112.4,130.67.15.198
>
> ifconfig wwan0 77.18.146.77 netmask 255.255.255.252
> ip route add default via 77.18.146.78
> But i am not able to connect to the network with AT commands.
>
> Please let me know if i am missing any AT commands ????????

No, that looks correct.  Also make sure that your WWAN interface is set
to "NOARP" with "ifconfig wwan0 -arp" or something like that.  Also,
instead of doing AT^DHCP? try simply running a DHCP client on the
interface after AT^ndisdup returns OK.  We've seen some devices that
don't seem to work correctly with static IP from ^DHCP but do work when
you run dhclient on the interface.

Dan

> Is QMI support mandatory to connect to the network.
>
> regards,
> Swarna
>
> Please do not print this email unless it is absolutely necessary.
>
> The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of the
> addressee(s) and may contain proprietary, confidential or privileged
> information. If you are not the intended recipient, you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately and destroy all copies of this message and any
> attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of
> viruses. The company accepts no liability for any damage caused by any
> virus transmitted by this email.
>
> www.wipro.com
>
> _______________________________________________
> libqmi-devel mailing list
> libqmi-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libqmi-devel


_______________________________________________
libqmi-devel mailing list
libqmi-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libqmi-devel


More information about the libqmi-devel mailing list