Here's an idea - I've just tried this somewhat but not fully. It should work however. Firstly - alter your /etc/rc.d/rc.inet1.conf network settings file surrounding eth0 and wlan0 settings something like this :
Code:
if [[ $IFACE="wired" ]] ;then
USE_DHCP[0]="yes"
fi
if [[ $IFACE="wless" ]];then
IFNAME[4]="wlan0"
USE_DHCP[4]="yes"
WLAN_all wlan settings[4]
fi
Substitute "all wlan settings" with the lines from your real settings.Then just have seperate lilo stanzas - one with :
Code:
append = "IFACE=wired"
and another with :
Code:
append = "IFACE=wless"
You'll obviously need a lilo stanza for the wired settings and another for the wireless ones. The boot time parameters will be set according to the stanza picked and should be picked up by the /etc/rc.inet1.conf script setting the interface accordindgly. So in effect you'll have a lilo section for wired networking and another for the wireless networking settings.