dfu-util problems
Jayesh Salvi
jayeshsalvi at gmail.com
Wed Jul 16 08:39:00 CEST 2008
Thanks man. That's awesome script.
For newbies: In addition to above script you should also update
/etc/resolve.conf to reflect the contents of your host machine. Without that
hostname to IP resolution will fails and 'opkg update' won't work.
Jayesh
On Sun, Jul 13, 2008 at 7:27 AM, Eildert Groeneveld <eg at tzv.fal.de> wrote:
> 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
> #!/bin/sh
> /sbin/ifconfig usb0 192.168.0.200 netmask 255.255.255.0
> /sbin/route add -host 192.168.0.202/32 dev usb0
>
> /bin/echo 1 > /proc/sys/net/ipv4/ip_forward
> iptables -F
> iptables -A INPUT -s 192.168.0.202 -i usb0 -d 192.168.0.200 -j ACCEPT
> iptables -A INPUT -s 192.168.0.200 -i eth+ -d 192.168.0.202 -j ACCEPT
> iptables -A INPUT -s 192.168.2.0/24 -i eth+ -d 192.168.0.202 -j ACCEPT
> iptables -A INPUT -s 192.168.2.0/24 -i eth+ -d 192.168.2.0/24 -j
> ACCEPT
>
> iptables -A FORWARD -s 192.168.0.202 -i usb0 -d 192.168.2.0/24 -o eth+
> -j
> ACCEPT
> iptables -A FORWARD -s 192.168.2.0/24 -i eth+ -d 192.168.0.202 -o usb0 -j
> ACCEPT
>
> iptables -A OUTPUT -d 192.168.2.0/24 -o eth+ -j ACCEPT
> iptables -A OUTPUT -d 192.168.0.202 -o usb0 -j ACCEPT
> iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24
> root(eno,freerunner)# <http://192.168.0.0/24root%28eno,freerunner%29#>
>
>
> courtesy I-dont-remember
>
> Eildert
>
> --
> 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://www.tzv.fal.de/%7Eeg/>
> http://apiis.tzv.fal.de/index.pl
> ===================================================
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20080715/a63976ad/attachment.htm
More information about the community
mailing list