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]

 



On Fri, Mar 14, 2014 at 09:58:43AM +0100, Bjørn Mork wrote:
> 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?
> 

Unfortunately no :( 

# ifconfig wwp0s26u1u5i1
wwp0s26u1u5i1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.8.219.204  netmask 255.255.255.248  broadcast 10.8.219.207
        inet6 fe80::e5b:8fff:fe27:9a64  prefixlen 64  scopeid 0x20<link>
        ether 0c:5b:8f:27:9a:64  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 1493  dropped 0  overruns 0  frame 0

Note the RX errors.. ? 

        TX packets 53  bytes 532885 (520.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.8.219.201    0.0.0.0         UG    0      0        0 wwp0s26u1u5i1
10.8.219.200    0.0.0.0         255.255.255.248 U     0      0        0 wwp0s26u1u5i1


# ping 10.8.219.201
PING 10.8.219.201 (10.8.219.201) 56(84) bytes of data.
>From 10.8.219.204 icmp_seq=1 Destination Host Unreachable
>From 10.8.219.204 icmp_seq=2 Destination Host Unreachable
>From 10.8.219.204 icmp_seq=3 Destination Host Unreachable
>From 10.8.219.204 icmp_seq=4 Destination Host Unreachable


And pinging anywhere else doesn't work either.. (I also tried telnet/ssh/web - doesn't work).

More ideas? 


> 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
> 

This is handy, thanks!

> 
> 
> Bjørn
> 



-- Pasi

--
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