[Oberon] Native & DHCP
Patrik Reali
reali at acm.org
Tue Mar 25 20:20:01 CET 2003
Hi!
DHCP is available for Aos. I don't remember having it in Native (but it has
been a long time since a used it).
I attach the Aos module; the port and integration into Native has still to
be done.
How does it work: the NetSystem calls this module to get a machine's
addresse. AosDHCP checks the boot configuration whether the information is
available, otherwise it initiates a DHCP request. Thus, the driver is loaded
by AosDHCP itself, because it may need to access the net.
Would somebody like to port it and integrate it into Native?
-Patrik
AsciiCoder.DecodeFiles % AosDHCP.Mod ~
fk=0_o1YJIa;M9jK7kLMYC;kM9jK732 at 0;@F?`kS at S`Q>dgbfg:W3d1dX\=\dI0bdg>feFFb<07j
KM;MUkKIkL6P?E^Wi0?92hf5JB;ZD1S0D<4P0P0N6QO0gX0<P?E\UE^_e]a4V^LZSe]^dX^U>O`k
B03h02T04P1l1Sm0<P3X0H09`6`0>POQ1T0G0>P180l1GY1<P1X00i[1<P4H3`1482`0B0`7<481
>0L030nPD17 at 1P?h8`10nP[>06 at 2\1h0:9T0W at 02P?X5 at 2\0h3j5T0K0>P6B0T0a0nP819`040nP
bB0T0K0>Pm09 at 7P?h=`1D0h3>2L0P?HG3P1 at 2066T0K0>P5=0`?40nP\09`6P?H0`1<A81J1l11U
0H02Q040O`GP4H5H07`LP4H3`7<N2P1h3`7L]1`00`H80BP;0O`hF03P@@0 at I`0BP=P1l13J02`0
8440l581f06`7ln1PeW5RBE2bPnfibB@>dg2gl:gdNFdBG@:CH2cHbB at 2edFFjFFi2bVFGfbfb:G
F2bRBET2B]FGiVfaRF at ZbDf`6fdWBdZbdR2bPnfiBDT>DX^C at RBEZB@6dZBETnDY2BA2GefFA^C@
2eZ:EXndYFD@:BRRdQ2E@>FfVfbjFj:bM2BEVb64UZ4T45Y35:K989JNMKHKKJ7;8AjKW;M1i at O[
K=KJ?KMUKHYKJO[K19DUkKYkK7kKI;8AYD=j at 1Y<Si<S9;1YD=j at 6cJ>cIbRBe8VcJ6cD2b`jFb2
BZ>DXnbT2E at VF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fgFGg<\b=_PD5FDWBT3E^U18A0`Mf`60920PB]\a1KjL?;:P
j0 at V0^3TUPL>730D7022D<Z3`W0^Sc]\bQ9Y>3jKWKB0ffljdbNgT2E at ZcP0H:e980\Q90C30:40
0440H:0hFC38F0h at 0d<00<Q=XH8<PaPRa]630Pb\;X=a2D\_Qb1T5\908;B38J at F4=00X:P114:Y
cbT68;B3aSY at D8M0@@000Pb04700H:P5144f60000<6IAH0H2XHU300000112biD>L>00L80T553
230P61C30 at b\<088PYX:PR1WY=0W15SKaK0a1:68>Pe00c1d68:l=VfgL>=32200`H000Pd46`I0
Pa0630:3h<aj>119:BHK00P]DZ5=ZE]XCUZPD50 at JfE@Pf4[k0H=k:8eQd4;1I at O34:@JP\DVddV
\4Tc]<HBVbM2BDhL;[L88C;IHJP_5>88EI:K0PeDVM5Tj`I:C\^C@`]h<k:8eQd000P\H=Y9;1IK
c[C`D^3D>S3FFb2bT2E at nFhB7P=<QR1]9<kBM8<=2R2O3L>;SPP9 at DXLB7220XD0:CK2C@^B at 63X
E88E98Sa4``000``0F40PB1\9^3AY:VDgVFjVVd]\PT^XAal=19LUkKYS_Y;198_:J;[K1iL[kH7
KIWkL=KMI;;1YL;;M at iFfi2bN4VP<\^U<WKIY;8Y;J;Ch6Fi6ffFFjFVceUPD5f at XP4YD<Y^==9:
B7BDBfbJGM2bP0b4BTfQk4TF=8bfg>f`bfPBFibR]=\cM=`c0 at MP91^c6XE8IMCM at Y`WH at 088]2n
6D73ZD0>4XEXL;CM2BVn4H:gI3]R=<Q`EWP<8F5MiDOkHGKIYk>1YIQkKU;MI98IKIbB at BgdfV\4
TcU^QE^dUUPl]Ve\U9A;;K3KNI98UKIS3Bdbbf``dZC at b4`M2BcVFhbRcYLHBZC@`T0fP]M>07:B
@l8;:GlVFbbR_1YZLCS\4Tb]<@Z:WUY>1105Sj44P==\hUX8aVhD`WJ4`6V0bdbjFMT90FFlVVj4
T2mY?UY5=X>MW=DX51bfg>f`PPP11jddbfPBVk4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OkLM200:CHVbD^C at f`4VP9<800^C at VDX2RVQUU\j4TR<Uk0C20IkK73<U
k44l9\Xh1H2K`4<Q9e8IKIM;82BI>CK2BZRdR0C@@2e`0Ycg8:5KM=3WY=I98IS\HK0Iac0 at FT\^
M^\4TTm]]Q\4Tc]<HBbB@:GlP]AZ`D^c6`4<80B70hD0640OZI=SPD^UM<8I1I;19NX80`T at iRgd
@HVR=P9H at 0W288598K3885I:0HBhCU:AffiN6<U\4T`<511`RR7P9H3VP98:LXX]\SM]P4?T^_5T
]=\[]\PL^eE^U5TYU^P\=YkHAKIW;8Y;J;cfnfiBG@:gb>V^U^PTX9MZ3m9XL6WU1P9HB=BD4?2b
N4_YI:1Y9\]c12bN22TZ8a4RBET8\5PZ0V0UKISKM8EUcb0SA@:gb67T8IKH22:C at ZB@`UP\1h>K
0CP<1H28M88H at 0hAT:D>^3<1<80M3P?QC1D40eAYFfhPP\UPPPD40HB8NTU`<Uk0`RR7P9P]12BM
h at 0ARB1\9?;:08;PP8:0f2H:XE`U0>7H:@aPc]<0bfg>632f0V02WCAbP95:520T552>58;0QQ]A
V8;:Wc=5`4 at DXD>VYA at B7B4fbP>dU2BEV2<14>U28:0T9PYT5UchP41IAc0 at FHIb2>7`4`TPU98P
E9D0d<88D80H:@f88mI?47 at ahFf50H3H2`T at fnfa01I?1I at d9P>9MP\H<<UPT:4T=<1V08D3[LW3
0Pb08;fVc1l<0 at b00>7HBXL8;f6Y2Ci>`4032 at gB7P?QC108DeaP>fe2bF2Bl880P9Qb1QQ=P906
4`Y02202BA0P9Q?10C9;2311 at VjfMf`4VP9064`Y0:B at 2B@bfg`T2EM2BA0VDXl9 at D03RY88K0C0
<800^S]iLZC@:bDH at 0PX\]QM>3RYH3H2P1100?3X>1Y8C100?KHY364Ca4V`4V`4`6<1C0<8P55?
0C0\<4Tj at Z:eZFd6V`4<1HAIR=<Q9H2P11XK0l9L:032P>=\SM=00P9Qb1H3H2P11L:PP0PP00V4
n40<U\011 at V0V0H@0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