* Malte S. Stretz [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 but only us
* Outback Dingo [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"; >>functions.sh
wget http:/
On Friday 19 June 2009 12:52:26 Bastian Bittorf wrote:
> * elektra [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
* elektra [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
to to wrapper at
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 t
* Malte S. Stretz [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.
> I agree
On Friday 19 June 2009 09:31:59 Bastian Bittorf wrote:
> * Vasilis Tsiligiannis [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 already a oneliner in
* Jo-Philipp Wich [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 'ifconfig/router/arp')
* Vasilis Tsiligiannis [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
bye, Bastian Bittorf
___
openwrt-devel mail
* Malte S. Stretz [18.06.2009 19:30]:
> >
> > what are the size differences? did you try it out?
>
the discussion goes in the wrong way IMHO. It does'nt
really matter, if we get or loose _some_ kilobytes,
'ip' is definitily the way to go.
hey, we are not in the 90s anymore - and you can do
much
"Malte S. Stretz" writes:
> On Thursday 18 June 2009 18:20:06 Ferenc Wagner wrote:
>> "Malte S. Stretz" 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 r
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
>
On Thursday 18 June 2009 18:07:49 bud.d...@suisse.org wrote:
> On 18.06.2009 18:00, Malte S. Stretz wrote:
> > 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 t
On Thursday 18 June 2009 18:20:06 Ferenc Wagner wrote:
> "Malte S. Stretz" 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" net
"Malte S. Stretz" 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" wi
On 18.06.2009 18:00, Malte S. Stretz wrote:
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 switchi
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
> ki
-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
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 wrote:
> today I've written a proof-of-concept for
> getting rid of oldstyle networking aka 'ifconfig'.
>
> The approach is to to have an function
today I've written a proof-of-concept for
getting rid of oldstyle networking aka 'ifconfig'.
The approach is to to have an function ifconfig()
in /etc/functions.sh, which is included in all
startup-scripts anyway, and if there is an /usr/sbin/ip,
translate old_style to new_style...
Next steps, be
20 matches
Mail list logo