Commit Graph

18 Commits

Author SHA1 Message Date
Luigi Rizzo
b8be92123e Implement a more efficient way to assign addresses: read /etc/hosts
only once into an array of shell variables, and then scan the array
to find entries matching the MAC address.
Associative arrays would really be handy here...
2001-11-29 03:16:23 +00:00
Luigi Rizzo
6297e47a34 Better code to scan the ethertable. 2001-10-25 17:40:03 +00:00
Luigi Rizzo
e46899fcdb Make fetch_mask return ${default_mask} if entry not found.
Add a couple of diagnostic messages.
2001-10-07 17:17:26 +00:00
Luigi Rizzo
19323fdd72 Add functions to lookup in /etc/networks and set interface
addresses, invoke them from /etc/rc
2001-10-04 00:46:44 +00:00
Luigi Rizzo
f03ad5f550 Add "networks" file used to lookup netmasks 2001-10-04 00:46:03 +00:00
Luigi Rizzo
dd23a435e6 Modify wildcard for vmware interfaces. I am not sure how
MAC addresses are generated for those interfaces, but as long
as the entry is next to the bottom of the list the chance of
conflicts is low.
2001-09-30 17:37:03 +00:00
Luigi Rizzo
04d4d7cf05 Add entries for vmware interfaces. 2001-09-27 16:48:13 +00:00
Luigi Rizzo
e8b19bc63e Enable the use of wildcards in the #ethertable section of
/etc/hosts to map MAC addresses to hostnames.

Main use is to get addresses for vmware interfaces.
2001-09-27 16:47:45 +00:00
Ruslan Ermilov
2ede629142 mount_msdos(8) -> mount_msdosfs(8). 2001-06-01 12:06:06 +00:00
Josef Karthauser
a795418197 MF4S: Syncronise with Luigi's work in -stable. 2001-04-24 07:46:35 +00:00
Luigi Rizzo
a3ab0e4551 Enable command line editing in the shell 2001-02-18 06:54:07 +00:00
Luigi Rizzo
d39036aea6 Make the shell handle arrow keys 2001-01-27 03:25:01 +00:00
Josef Karthauser
4050e5eb73 MF4: revision 1.3.2.1.
inetd is not always present, check before invoking it.
2000-12-23 19:11:53 +00:00
Luigi Rizzo
5fed4e9f8c login.conf: we don't want coredumps on picobsd
rc.conf: make the system recognise the MAC address and assign an IP
    automatically from /etc/hosts (or ask the user)
sshd_config: don't do x11 forwarding.
2000-11-30 21:43:37 +00:00
Doug White
223b633217 Commit PicoBSD mega-patch:
. Bring PicoBSD up to date with -CURRENT reality.
. Make PicoBSD smart and not spam /dev/vn0 and /mnt.  Now it uses the first
  unused vn device and creates a temporary mountpoint in /tmp.
. Miscellaneous build cleanups and optimizations.

Unfortunately the bridge, isp, and router floppies are too big and need
the axe treatment.  The install floppy needs updating to -CURRENT. Dial and
net build and (appear to) run OK.  I will be adressing these in the
near future (unless someone beats me to it :-) ).

PR:		misc/17737
Submitted by:	Omachonu Ogali <oogali@intranova.net>
2000-04-25 19:00:08 +00:00
Luigi Rizzo
52b7336b10 Cleanup of the default floppy tree for PicoBSD builds.
Approved-by: jordan
2000-02-08 14:20:54 +00:00
Peter Wemm
97d92980a9 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Doug White
843fcabd9e Major PicoBSD update by luigi with some debugging help from myself.
. Now builds on -STABLE (-CURRENT is broken due to bugs)
. etc directory contents centralized instead of in each
  type directory (can exclude & override as desired)
. Removed extraneous language files (lang files for rc really necessary?)
. dialog-based build tool with support for custom floppy builds
. MFS image loads as a mfs_root module instead of compiled into kernel

THIS IS BROKEN ON CURRENT.  I'll MFC to -STABLE immediately following.
luigi tells me I have an OK from jkh on the MFC.

Submitted by:	luigi
1999-08-22 21:45:24 +00:00