[OpenWrt-Devel] iproute2

2009-01-08 Thread Chiang Kang Tan
Hi all, I'm having problem trying to use ip utility in iproute2 to set up some routing rules. Basically as soon as I try to use ip rule, e.g. # ip rule add I get the following error: RTNETLINK answers: Address family not supported by protocol. And "ip rule show" returns me nothing, when I ex

[OpenWrt-Devel] ip module

2009-01-06 Thread Chiang Kang Tan
Hi all, I'm trying to use "ip" to manipulate routing and found that I can't use "ip rule" to do the following: # ip rule add fwmark 4 pref 2 table T4 This is the error I received: "RTNETLINK answers: Address family not supported by protocol" Has the ip functionality been trimmed down in OpenWr

Re: [OpenWrt-Devel] "Illegal instruction" from running a simple C++ program

2008-09-04 Thread Chiang Kang Tan
st > Sent: Thursday, 4 September, 2008 20:19:17 > Subject: Re: [OpenWrt-Devel] "Illegal instruction" from running a simple C++ > program > > Quoth Chiang Kang Tan: > > Hi all, > > > > I'm trying to cross compile a simple helloworld C++ progra

[OpenWrt-Devel] "Illegal instruction" from running a simple C++ program

2008-09-04 Thread Chiang Kang Tan
Hi all, I'm trying to cross compile a simple helloworld C++ program onto my xscale router board. So far I've no problem cross compiling C programs to run on my router board. But once I try to run C++ programs on the router board, that is "successfully" cross compiled, I receive this "Illegal in