I've a hard time configuring WHEREAMI. I understand I have to define a /etc/whereami/detect.conf file. Here is mine:
------------------------------ set DEBUGWHEREAMI 1 default unknown testmii eth0 lan if lan set INTERFACE eth0 testdhcp '*.*.*.*' dhcp fi if dhcp testdhcp 195.220.37.* esisar fi ------------------------------ Aparently this part is working alright since the following command "whereami --debug --noactions" returns this: ****************> Test successful - adding locations: esisar *******location: esisar esisar dhcp lan I also understand, I may need to define a /etc/whereami/whereami.conf file. Here it is: ------------------------------ =esisar setresolver search esisar.inpg.fr nameserver 195.220.37.110 ------------------------------ But this does not seem to be working. When I reboot I cannot get into my account. The same thing happens when I use an empty whereami.conf Questions: 1. Any ideas about what's going wrong? 2. How can I trace what's going on exactly? 3. I'm not sure about the files I should place in /etc/whereami/tests. Should I set up files like 90dhcp or 60arpfind and place them there? 4. I'm using an HP laptop (Omnibook XE3 + Debian 2.4.18) on a docking station and I cannot manage to identify whether my laptop is in its docking base by checking the output of lspci for 'CMD'. I also tried a diff between a saved 'lspci' (without docking base) and the current 'lspci' (with docking base), but there was no difference at all... Any ideas on how to detect the docking station? Thanks for your help. -- jlk