This article will be, if not the last in our impromptu cycle, then in any case, I will not soon accumulate material for the next one. First, we will talk about the IP network on 286 under Minix, its configuration and the possibilities that we will have with it. And then I will speculate a little about the prospects for using systems like the one we built in the modern world.
Preparation
To customize something, you must first select a text editor. Of the more or less well-known editors in Minix there is elvis
- a clone of the one that squeaks and spoils everything. If you, like me, do not like to exit the program with the "Reset" button, then it will suit you mined
. You just have to keep his manual close at hand .
Compiling the kernel
First, let's edit the kernel parameters:
$ mined /usr/include/minix/config.h
To make the network work, you need to collect its driver. Replace the line
#define ENABLE_DP8390 0 /* enable DP8390 ethernet driver */
on
#define ENABLE_DP8390 1 /* enable DP8390 ethernet driver */
It is also recommended to add pseudo-terminals. Replace the line
#define NR_PTYS 0 /* # pseudo terminals (0 to 64) */
on
#define NR_PTYS 8 /* # pseudo terminals (0 to 64) */
Let's save the file and start compiling.
# cd /usr/src/tools
# make hdboot
On my machine, the process takes approximately 15 minutes.
As a result, the new kernel will be built and copied into the directory /minix
. If the old kernel file was named 2.0.4
, then ours just built will be installed as /minix/2.0.4r0
.
(Minix boot monitor) . , halt
, boot
. .
- - , . βEscβ , , :
c0d0p0> image=/minix/2.0.4
c0d0p0> boot
:
c0d0p0> unset image
c0d0p0> boot
, β . , , .
/etc/inet.conf
-
psip0;
β loopback- , . :
eth0 DP8390 0 { default; };
psip1;
.
halt
.
c0d0p0> servers=inet
c0d0p0> DPETH0=300:10
c0d0p0> save
c0d0p0> boot
DPETH0=300:10
ethernet-: / . ?
NE2000- . . «»: NVRAM. βPlug and Playβ.
, , , , , .
, DHCP. FTP Telnet. passwd
, .
dhcpd
dhcpd: /dev/udp0: Invalid argument
. , DHCP- , . .
Minix 2
- , . , TeX Markdown ( ), ( HTML, ), (-, talk
), , β¦
, ? ? ?
, Minix 2 Amsterdam Compiler Kit β , ( βretargetableβ). Minix 3 Clang (LLVM). ACK , , , . , Minix 2.
Minix , , DOS- (Small). 64K+64K. , (, alloc()
free()
), , ACK. , , , Clang, GCC 286.
Minix β β 3. , /bin
/usr/bin
10 . , : a.out ELF. a.out , .
Minix . , . .
, , β , , , SSH HTTPS. OpenSSL 32- Minix 2, 286 . .
?
, Minix - , . , . , , . . !