usb networking no longer works

Kalle Happonen kalle.happonen at iki.fi
Wed Aug 6 08:23:28 CEST 2008


Hi,
I had the same problem. IIRC it was resolved by flashing a new uboot to 
the device.

cheers,
Kalle

Dimitri wrote:
> I've flashed the latest 2008.8 images, and the script I was previously using
> to connect to the phone via usb no longer works.
>
> What I used to run (with 2007.2 images) was the following script as sudo in
> Ubuntu:
> ----------------------
> #!/bin/bash
>
> iptables -F
> ifconfig usb0 192.168.0.200 netmask 255.255.255.0
> route add 192.168.0.202 usb0
> iptables -I INPUT 1 -s 192.168.0.202 -j ACCEPT
> iptables -I OUTPUT 1 -s 192.168.0.200 -j ACCEPT
> iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24
> bash -c echo '1 > /proc/sys/net/ipv4/ip_forward'
> ----------------------
>
> But now, it fails with errors. I ran it, line by line, the first line that
> fails is
>
> ifconfig usb0 192.168.0.200 netmask 255.255.255.0
>
> with the error:
> --------------
> SIOCSIFADDR: No such device
> usb0: ERROR while getting interface flags: No such device
> SIOCSIFNETMASK: No such device
> --------------
>
> What's going on?
> Dimitri
>   





More information about the community mailing list