Quote:
Originally Posted by markush
What exactly are your needs? and what exactly doesn't work?
Markus
|
"Network Manager" works; but I have to set manually the network; all the times !
Also, until I don't apply the correct network configuration, automatic services (like qmail, fetchmail, ntp, etc.) do not work.
I need a software that selects "automagically" the network configuration (at boot time); it should choose the network configuration to apply, due to the:
- responses from a set of tests;
- mappings between test set and networks.
The tests should be based on formal rules predefined at system configuration level (i.e. ping o arping response, ESSID detection, etc.).
- Example (pseudo DSL) --------------------
test_1: ping 123.56.45.21
test_2: essid "FASTWEB-1-0dsadeYFzQK"
test_3: eth2 missing_cable
config_1:
iface eth2
address 192.168.1.2
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1
dns-nameservers 192.168.1.1
config_2:
iface eth2
address 10.45.1.15
netmask 255.255.0.0
broadcast 10.45.255.255
gateway 10.45.1.1
dns-nameservers 145.125.26.23
config_3:
iface wlan0
address 192.168.1.2
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1
dns-nameservers 192.168.1.1
map_1:
if test_1 and not test_3 then config_1
map_2:
if test_2 and test_3 then config_3
map_3:
if test_2 then config_2
map_4:
else dhcp
for m in map_[1234]: execute m
-----------------------------------------
Thanks