X-Git-Url: http://git.pjr.cc/?p=CBFWR.git;a=blobdiff_plain;f=doco%2Fconfigs.txt;h=55db8a262e3bdd02ccad5283e0ab456589801be1;hp=7184e3b1b85cb9b4ecc85b994326c1d2db41457d;hb=3463517ff571fd38da7efe4bcfca2828e1dc6fa6;hpb=0f5458e4a9c18595f7d9501880011369e4e65942 diff --git a/doco/configs.txt b/doco/configs.txt index 7184e3b..55db8a2 100644 --- a/doco/configs.txt +++ b/doco/configs.txt @@ -3,4 +3,46 @@ there are 3 areas in shared memory reserved for configuration. 0 - fs configuration 1 - boot hardware config 2 - running config (deltas from 0) -3 - web config (contains only deltas from 0). \ No newline at end of file +3 - web config (contains only deltas from 0). + +web config writes directly to 3 and messages cbrwrd about stuff. + +config layout is like this: +[status] = conf|noconf|nodir|changelevel +[hostname] = hostname +[domainname] = domainname +[login][username] = sha1password +[zone][][name]=1 +[interface][][desciption] = desc + [name] = name + [address4] = address + [address6] = address + [zone] = zone + [mtu] = mtu + [speed] = speed + [duplex] = duplex + + + +[interface][lag][][] = interface + [description] = desc + +[interface][bridge][][] = interface + [description] + +[route4][default|][address] = gateway + [device] = device + [description] + +[route6][default|][address] = gateway + [device] = device + [description] + +[dns][server][][address] = address + +[ntp][server][][address] = adddress + +[hardware][netdev][][name] = realname + [driver] = driver + [mtu] = mtu + [hwaddress] = mac address \ No newline at end of file