[OpenWrt-Devel] Minimal build of OpenWRT

2008-07-15 Thread Steven Van Ingelgem
Hi,


What packages are minimally needed to make an OpenWRT run?
In kamikaze there was a "minimum release", but in the current SVN version it
doesn't look that way anymore?

The packages getting compiled are:
- base-files
- bridge-utils
- broadcom-diag
- wireless-tools
- nvram
- broadcom-wl
- busybox
- dnsmasq
- dropbear
- iptables
- kernel
- mtd
*- libpcap*
*- linux-atm*
*- ppp*
*- switch*
*- lua*
*- uci*

The once in italic I believe I can remove, but can someone please confirm
this because I don't want to brick another modem ;-)


Thanks
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Minimal build of OpenWRT

2008-07-15 Thread Jan Willies
Steven Van Ingelgem wrote:
> What packages are minimally needed to make an OpenWRT run?
> In kamikaze there was a "minimum release", but in the current SVN
> version it doesn't look that way anymore?
> - bridge-utils
> - wireless-tools
> - broadcom-wl
> - dnsmasq
> - dropbear
> - iptables

^- not strictly needed

> /- libpcap/
> /- linux-atm/
> /- ppp/
> /- switch/
> /- lua/
> /- uci/

Well, you certainly want a switch.. Not so sure about uci either.

You can tweak the busybox config also a bit.


- Jan
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Minimal build of OpenWRT

2008-07-15 Thread Steven Van Ingelgem
What is switch? I thought that was the "switch/case" command in the basic
"sh"?

broadcom-wl I will need because I will need the wireless, so I probably also
need the bridge, the tools and iptables as well...

dnsmasq is a ?dns caching daemon? and might be removed, that's true.

What is dropbear? I thought that was the ssh shell in the openwrt system?


Thanks for your answer!

2008/7/15 Jan Willies <[EMAIL PROTECTED]>:

> Steven Van Ingelgem wrote:
> > What packages are minimally needed to make an OpenWRT run?
> > In kamikaze there was a "minimum release", but in the current SVN
> > version it doesn't look that way anymore?
> > - bridge-utils
> > - wireless-tools
> > - broadcom-wl
> > - dnsmasq
> > - dropbear
> > - iptables
>
> ^- not strictly needed
>
> > /- libpcap/
> > /- linux-atm/
> > /- ppp/
> > /- switch/
> > /- lua/
> > /- uci/
>
> Well, you certainly want a switch.. Not so sure about uci either.
>
> You can tweak the busybox config also a bit.
>
>
> - Jan
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Minimal build of OpenWRT

2008-07-15 Thread Mike Baker
On Tue, Jul 15, 2008 at 02:21:06PM +0200, Steven Van Ingelgem wrote:
> The once in italic I believe I can remove, but can someone please confirm
> this because I don't want to brick another modem ;-)

If you start a fresh build and leave the package selection at defaults
you'll get only slightly more than the bare essentials, which is exactly
the same as what packages go into a release.

Altering the package selection won't "brick" a router, the worst it will
do is render it temporarily unbootable, and OpenWrt already includes
several mechanisms to help recover from unbootable situations. For
reference, "bricked" is a term I use when there is absolutely nothing
that can be done to recover a router -- it should not be applied to
cases of nihilistic ignorance or apathy.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Minimal build of OpenWRT

2008-07-15 Thread RB
> For reference, "bricked" is a term I use when there is absolutely nothing
> that can be done to recover a router -- it should not be applied to
> cases of nihilistic ignorance or apathy.

I think most of us here refer to that as a system that isn't even
recoverable via serial terminal - the bootloader's horked and would
require a JTAG to re-flash.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Minimal build of OpenWRT

2008-07-15 Thread RB
On Tue, Jul 15, 2008 at 7:13 AM, Steven Van Ingelgem
<[EMAIL PROTECTED]> wrote:
> What is switch? I thought that was the "switch/case" command in the basic
> "sh"?
Switch, as in the tiny (11.4k on my mipsel) utility used to configure
your switch ports and VLANs.  You could write your own suite of
scripts to manipulate /proc/switch, but I doubt you'll do it in less
size or more cleanly.

> dnsmasq is a ?dns caching daemon? and might be removed, that's true.
dnsmasq provides both DNS and DHCP; if you have that residing on
another server or are completely static, you can probably drop it.

> What is dropbear? I thought that was the ssh shell in the openwrt system?
Dropbear is your SSH server and client; you can eliminate that if you never SSH.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Minimal build of OpenWRT

2008-07-15 Thread Steven Van Ingelgem
Well,


The default SVN build is 1.9M in size. IIRC the micro build of whiterussion
was like 1.3M, so I wonder what I need to remove to get it back to that
size.

BTW? Does anyone know if there is already an OS driver available for the
WRT54GL modems (I'm speaking about the Broadcom wireless). I tried the 2.6
build at home, but that truly broke the modem... I don't know what happened,
but it simply didn't want to start.
Anyone know where I could buy such cable? I'm not very good in soldering I'm
afraid...


Thanks



2008/7/15 RB <[EMAIL PROTECTED]>:

> > For reference, "bricked" is a term I use when there is absolutely nothing
> > that can be done to recover a router -- it should not be applied to
> > cases of nihilistic ignorance or apathy.
>
> I think most of us here refer to that as a system that isn't even
> recoverable via serial terminal - the bootloader's horked and would
> require a JTAG to re-flash.
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Minimal build of OpenWRT

2008-07-15 Thread RB
On Tue, Jul 15, 2008 at 6:21 AM, Steven Van Ingelgem
<[EMAIL PROTECTED]> wrote:
> What packages are minimally needed to make an OpenWRT run?

The below list is, for all intents and purposes, the minimal list.
Notes below on removal.

> The packages getting compiled are:
> - base-files
> - bridge-utils

Not entirely necessary if you have a built-in switch, but I'm unsure
whether the init scripts have a hard dependency on it or not.

> - broadcom-diag

Removable if you don't care whether the LEDs work; may break other
core scripts in base-files that depend on what it provides, though.

> - wireless-tools

No need if not wireless

> - nvram
> - broadcom-wl

No need if not wireless

> - busybox
> - dnsmasq

Removable if you have DNS/DHCP elsewhere or build them in to busybox
and configure them yourself.

> - dropbear

Not necessary if SSH isn't a concern (I rather think it is).

> - iptables

Not necessary if you don't want firewalling, but some init scripts
will most likely break.

> - kernel
> - mtd
> - libpcap

Unsure, probably a dependency of one of the following packages.

> - linux-atm

Not necessary unless you're doing native ADSL or some other ATM-based comms

> - ppp

DSL or any form of dialup.

> - switch
> - lua

Becoming a core language to OpenWRT; unsure of its immediate relevancy.

> - uci

Necessary - this is the core configuration tool for OWRT.  You don't
have this, most things will break.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Minimal build of OpenWRT

2008-07-15 Thread Felix Fietkau
RB wrote:
>> - broadcom-diag
> 
> Removable if you don't care whether the LEDs work; may break other
> core scripts in base-files that depend on what it provides, though.
Don't. Failsafe relies on it.

>> - dropbear
> Not necessary if SSH isn't a concern (I rather think it is).
I believe you want SSH, since telnet doesn't allow password login :)

>> - libpcap
> Unsure, probably a dependency of one of the following packages.
Yes. The package is not built into the image, it's a static library.

>> - linux-atm
> Not necessary unless you're doing native ADSL or some other ATM-based comms
Same here

>> - switch
>> - lua
> Becoming a core language to OpenWRT; unsure of its immediate relevancy.
Lua is not installed by default, just built (for the UCI Lua binding)

- Felix
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Minimal build of OpenWRT

2008-07-15 Thread RB
> The default SVN build is 1.9M in size. IIRC the micro build of whiterussion
> was like 1.3M, so I wonder what I need to remove to get it back to that
> size.
Whiterussian's build process was completely different, and I don't see
much attention being paid to the systems with under 2MB of flash any
more.

> BTW? Does anyone know if there is already an OS driver available for the
> WRT54GL modems (I'm speaking about the Broadcom wireless).
Check out the forum thread on the upcoming 8.08 release for a decent
discussion of this.

> Anyone know where I could buy such cable? I'm not very good in soldering
> I'm afraid...
I presume you mean a serial cable and not a JTAG?  Both of them depend
on what your price range is, but there are decent electronics shops
that will sell you either for under $25.  If you have to be in the
sub-$10 range, eBay or soldering your own are about the only way to
go.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel