Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Oct 1998 14:22:27 +0200 (CEST)
From:      Andrzej Bialecki <abial@nask.pl>
To:        Andrew Hannam <hannama@fan.net.au>
Cc:        owner-freebsd-small@FreeBSD.ORG, FreeBSDSmall <freebsd-small@FreeBSD.ORG>
Subject:   RE: Command-line i/f (Re: PicoBSD) 
Message-ID:  <Pine.BSF.4.02A.9810051410490.4561-100000@korin.warman.org.pl>
In-Reply-To: <000201bdf057$b991c100$0104010a@andrewh.famzon.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 5 Oct 1998, Andrew Hannam wrote:

> > > >> grouping of commands under another keyword, for example: ip,
> > ipx, dial,
> > > etc...
> 
> As long as you are doing the hierarchy breakdown of commands - why not do it
> as a set of web page constructs. A tiny web server, a few text files (html
> pages - forget pictures) and possibly a command interpreter of any flavour.
> This approach is easier for the administrator (no command set to learn).
> Management of the various parts of the system can be separated into separate
> 'cgi-bin' programs of either compiled or interpreted variety depending on
> the situation.

I personally am a big hater of WWW config interfaces... but that's just
me. IMHO it's useful mostly for marketing hype and (maybe) for people who
are complete newbies, but for those who want to get the job done it just
stands in the way... OTOH, perhaps I had just a bad experience - that one
I tried to use was completely useless, because I could do the same job
much quicker using command-line i/f with completion...

> 
> The one catch:
> You need to establish an IP address before this will work. Subnet mask can
> initially default to 0.0.0.0 (and similarly gateway in this circumstance is
> not relevant).
> 
> There are two solutions to this...
> a) Have a serial (or something else) connection just to set the initial IP
> address.

Ugh... If you go to such measures as connecting it via serial console,
what prevents you from using a PPP connection on it, and do all the job
using serial console?

> b) Use the scheme that many standalone devices such as print servers use.
> Until an IP address is programmed via the web front end - all non-broadcast
> addresses sent to the ethernet card are accepted. Using a static ARP entry
> for the device with any suitable IP address is then sufficient to talk to it
> in this initial state.

Hmmm... This would probably require putting the interface in promiscuous
mode, and using some kind of BPF thing to read the packets...

Andrzej Bialecki

--------------------   ++-------++  -------------------------------------
 <abial@nask.pl>       ||PicoBSD||   FreeBSD in your pocket? Go and see:
 Research & Academic   |+-------+|       "Small & Embedded FreeBSD"
 Network in Poland     | |TT~~~| |    http://www.freebsd.org/~picobsd/
--------------------   ~-+==---+-+  -------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-small" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02A.9810051410490.4561-100000>