[2008.12] Anyone get iptables working?

2009-01-08 Thread Nick Van Fossen
So, with 2008.9 I was using iptables to tether my ubuntu laptop to my freerunner's gprs connection. But as of 2008.12 I'm getting an Illegal instruction error each time I run the iptables command. Commands I run on the freerunner to enable tethering after gprs connection: iptables -v -A

Re: [2008.12] Anyone get iptables working?

2009-01-08 Thread Timo Juhani Lindfors
Nick Van Fossen stix...@hotmail.com writes: I've noticed that most but not all iptables commands generate the same Illegal instruction error as well. Has anyone got around this yet? Which instruction is it? Use the following to find out 1) gdb --args iptables -v -A POSTROUTING -t nat -j

Re: [2008.12] Anyone get iptables working?

2009-01-08 Thread Timo Juhani Lindfors
Nick Van Fossen stix...@hotmail.com writes: Program received signal SIGILL, Illegal instruction. 0x9834 in ?? () (gdb) backtrace #0 0x9834 in ?? () Cannot access memory at address 0x2 (gdb) x/5i $pc 0x9834 __strtoull_internal+1088:teqeq pc, r5, asr r6 Very odd. teq should be

RE: [2008.12] Anyone get iptables working?

2009-01-08 Thread Nick Van Fossen
From: timo.lindf...@iki.fi To: stix...@hotmail.com CC: community@lists.openmoko.org; timo.lindf...@iki.fi Subject: Re: [2008.12] Anyone get iptables working? Date: Thu, 8 Jan 2009 23:23:00 +0200 Nick Van Fossen stix...@hotmail.com writes: Program received signal SIGILL, Illegal

Re: [2008.12] Anyone get iptables working?

2009-01-08 Thread Timo Juhani Lindfors
Nick Van Fossen stix...@hotmail.com writes: 8000-00021000 r-xp 1f:06 14560 /usr/sbin/iptables Ok so the address 0x9838 is indeed inside the iptables binary which thus has been compiled for wrong instruction set. Go build it for armv4 or get a distro that has it prebuilt :-)

RE: [2008.12] Anyone get iptables working?

2009-01-08 Thread Nick Van Fossen
Thanks again, I'll give that a try! -Nick From: timo.lindf...@iki.fi To: stix...@hotmail.com CC: timo.lindf...@iki.fi; community@lists.openmoko.org Subject: Re: [2008.12] Anyone get iptables working? Date: Fri, 9 Jan 2009 00:00:09 +0200 Nick Van Fossen stix...@hotmail.com writes

RE: [2008.12] Anyone get iptables working?

2009-01-08 Thread Nick Van Fossen
18:15:48 -0500 From: freerun...@newkirk.us To: community@lists.openmoko.org CC: stix...@hotmail.com Subject: RE: [2008.12] Anyone get iptables working? Try opkg remove iptables followed by opkg install http://downloads.openmoko.org/repository/testing/armv4t/iptables_1.3.8-r4_armv4t.opk