[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87siqlnol8.fsf@nemi.mork.no>
Date: Fri, 14 Mar 2014 09:58:43 +0100
From: Bjørn Mork <bjorn@...k.no>
To: Pasi Kärkkäinen <pasik@....fi>
Cc: Dan Williams <dcbw@...hat.com>, netdev@...r.kernel.org,
linux-usb@...r.kernel.org, Enrico Mioso <mrkiko.rs@...il.com>,
Oliver Neukum <oliver@...kum.org>
Subject: Re: [PATCH net-next v6 0/3] The huawei_cdc_ncm driver / E3276 problem
Pasi Kärkkäinen <pasik@....fi> 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 netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists