Re: [OpenWrt-Devel] opkg remove ifconfig opkg install 'ip'

2009-06-19 Thread Bastian Bittorf
* Jo-Philipp Wich x...@subsignal.org [18.06.2009 16:30]: In any case we should keep the stuff compatible with ifconfig/route. for the first time: yes but on the long run we should definitely kick the oldskool-stuff, which is pretty awkward IMHO. (but show a short hint, if somebody types

Re: [OpenWrt-Devel] opkg remove ifconfig opkg install 'ip'

2009-06-19 Thread Malte S. Stretz
On Friday 19 June 2009 09:31:59 Bastian Bittorf wrote: * Vasilis Tsiligiannis b_tsiligian...@silverton.gr [18.06.2009 21:15]: Try removing 'route' too (-ifconfig-route+ip). 'route' can be replaced by 'ip' also, if this function is implemented in busybox. -ifconfig -route -arp +ip arp is

Re: [OpenWrt-Devel] opkg remove ifconfig opkg install 'ip'

2009-06-19 Thread Bastian Bittorf
* Malte S. Stretz m...@apache.org [19.06.2009 11:00]: arp is already a oneliner in /etc/profile and not compiled into busybox per default. this has nothing to do with the real arp command, its just an quick and dirty show the arp table, but you cannot manipulate anything using /proc/net/arp.

Re: [OpenWrt-Devel] opkg remove ifconfig opkg install 'ip'

2009-06-19 Thread elektra
Hi! Try removing 'route' too (-ifconfig-route+ip). 'route' can be replaced by 'ip' also, if this function is implemented in busybox. You are right. However I did that a few months ago and ran into problems with Asterisk. For some strange reason it depends on it. Asterisk doesn't connect to

Re: [OpenWrt-Devel] opkg remove ifconfig opkg install 'ip'

2009-06-19 Thread Bastian Bittorf
* elektra onelek...@gmx.net [19.06.2009 12:15]: doesn't connect to other Asterisk servers if 'route' is missing. therefore i implement a route() wrapper. ATM i start at /etc/functions.sh but e.g. asterisk does not use it. maybe it is a good idea to make a symlink for /sbin/route|ifconfig|arp

Re: [OpenWrt-Devel] opkg remove ifconfig opkg install 'ip'

2009-06-19 Thread Bastian Bittorf
* Outback Dingo outbackdi...@gmail.com [18.06.2009 16:00]: i have some pretty unique environments here, want to send me the patch i can help with some testing not a clean patch, but easy to install: ssh r...@openwrtbox cd /etc wget -O - http://intercity-vpn.de/files/functions.sh_addon;

Re: [OpenWrt-Devel] opkg remove ifconfig opkg install 'ip'

2009-06-19 Thread Bastian Bittorf
* Malte S. Stretz m...@apache.org [19.06.2009 13:15]: Maybe its just me, but the last few weeks I tried to grok the OpenWrt base- files scrips (and succeeded [1]) and my impression is that there is already a lot of stuff crammed into /etc/functions.sh which is sourced by almost everything

Re: [OpenWrt-Devel] opkg remove ifconfig opkg install 'ip'

2009-06-18 Thread Outback Dingo
i have some pretty unique environments here, want to send me the patch i can help with some testing On Thu, Jun 18, 2009 at 9:40 AM, Bastian Bittorf bitt...@bluebottle.comwrote: today I've written a proof-of-concept for getting rid of oldstyle networking aka 'ifconfig'. The approach is to

Re: [OpenWrt-Devel] opkg remove ifconfig opkg install 'ip'

2009-06-18 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. today I've written a proof-of-concept for getting rid of oldstyle networking aka 'ifconfig'. You do realize that this oldstyle networking stuff uses busybox internals while switching to ip will introduce yet another few kilobytes of bloat? In

Re: [OpenWrt-Devel] opkg remove ifconfig opkg install 'ip'

2009-06-18 Thread Malte S. Stretz
On Thursday 18 June 2009 16:22:54 Jo-Philipp Wich wrote: today I've written a proof-of-concept for getting rid of oldstyle networking aka 'ifconfig'. You do realize that this oldstyle networking stuff uses busybox internals while switching to ip will introduce yet another few kilobytes of

Re: [OpenWrt-Devel] opkg remove ifconfig opkg install 'ip'

2009-06-18 Thread Ferenc Wagner
Malte S. Stretz m...@apache.org writes: On Thursday 18 June 2009 16:22:54 Jo-Philipp Wich wrote: today I've written a proof-of-concept for getting rid of oldstyle networking aka 'ifconfig'. You do realize that this oldstyle networking stuff uses busybox internals while switching to ip will

Re: [OpenWrt-Devel] opkg remove ifconfig opkg install 'ip'

2009-06-18 Thread Vasilis Tsiligiannis
On Thursday 18 June 2009 20:27:04 Malte S. Stretz wrote: Now I did :) busybox+ifconfig-ip: -rwxr-xr-x 1 mss mss 531500 2009-06-18 18:57 busybox -rwxr-xr-x 1 mss mss 618905 2009-06-18 18:57 busybox_unstripped busybox-ifconfig+ip: -rwxr-xr-x 1 mss mss 551168 2009-06-18 19:17 busybox

Re: [OpenWrt-Devel] opkg remove ifconfig opkg install 'ip'

2009-06-18 Thread Ferenc Wagner
Malte S. Stretz m...@apache.org writes: On Thursday 18 June 2009 18:20:06 Ferenc Wagner wrote: Malte S. Stretz m...@apache.org writes: On Thursday 18 June 2009 16:22:54 Jo-Philipp Wich wrote: today I've written a proof-of-concept for getting rid of oldstyle networking aka 'ifconfig'. You