Re: [PATCH net-next v6 0/3] The huawei_cdc_ncm driver / E3276 problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pasi Kärkkäinen <pasik@xxxxxx> writes:

> ^NDISSTAT:1,,,"IPV4"
> ^RSSI: 21
>
> <I send: AT^DHCP?>
> ^DHCP: CCDB080A,F8FFFFFF,C9DB080A,C9DB080A,E67B59C0,E77B59C0,85600,85600


The hex numbers are IPv4 addresses in little endian. The decimal numbers
at the end are speed down/up IIRC.

Printed in a more readable form, this is:

 10.8.219.204,255.255.255.248,10.8.219.201,10.8.219.201,192.89.123.230,192.89.123.231,85600,85600

I believe this is to be interpreted as

 yourip, netmask, gw, gw?, dns1, dns2


Do stuff work if you manually configure the interface with the
10.8.219.204 address and set the default route to 10.8.219.201?

This is one way to rewrite the addresses if you need to for a new
connection:

 perl -e 'print join(".", reverse map {hex} unpack("(A2)*", shift)),"\n"' C9DB080A



Bjørn

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux