dfu-util problems

Eildert Groeneveld eg at tzv.fal.de
Sun Jul 13 16:27:05 CEST 2008

On Sunday 13 July 2008, joseph schlesinger wrote:
> Running it as root does not work, nor does passing a --device
> parameter.  I should mention that I've also tried a number of different
> linux host machines and usb ports on each.  Could it be a defective phone?

This is what I need to run as root and the everything works fine:
root(eno,freerunner)# cat upom
/sbin/ifconfig usb0 netmask
/sbin/route add -host dev usb0

/bin/echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -F
iptables -A INPUT -s -i usb0  -d   -j ACCEPT
iptables -A INPUT  -s  -i eth+  -d  -j ACCEPT
iptables -A INPUT  -s  -i eth+  -d  -j ACCEPT
iptables -A INPUT  -s  -i eth+  -d  -j ACCEPT

iptables -A FORWARD -s -i usb0 -d -o eth+   -j 
iptables -A FORWARD -s -i eth+ -d -o usb0  -j 

iptables -A OUTPUT -d -o eth+   -j ACCEPT
iptables -A OUTPUT -d -o usb0  -j ACCEPT
iptables -A POSTROUTING -t nat -j MASQUERADE -s

courtesy I-dont-remember


Eildert Groeneveld
Institute of Farm Animal Genetics
Mariensee 31535 Neustadt Germany
Tel : (+49)(0)5034 871155 Fax : (+49)(0)5034 871239
e-mail: eildert.groeneveld at fli.bund.de http://vce.tzv.fal.de/index.pl
http://www.tzv.fal.de/~eg/ http://apiis.tzv.fal.de/index.pl

More information about the community mailing list