[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

whereami: setting ip address?



so i am starting to learn whereami (because i need to use something,
not because i have made a decision), and while it wonderfully detects
the correct environment and changes postfix and resolv.conf and
printcap and whatnot, it fails to do one vital thing: giving an IP
address to eth0 and settings routes. i may well be misunderstanding
whereami, but i can't figure out how to get it to interact with
ifupdown...

whereami is called from /etc/network/if-pre-up.d/whereami, and it
works like a charm. but no matter whether it detects the lan with
a static ip, wireless, dhcp, or offline, the interface brought up is
still controlled by /etc/network/interfaces.

do i need to use mapping in this file, should i call ifup with
a mapped name from whereami.conf, should i call ifconfig from there,
or am i doing something completely wrong?

thanks,

-- 
 .''`.     martin f. krafft <madduck@debian.org>
: :'  :    proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than to fix a system

Attachment: pgpJW5_DfuKN0.pgp
Description: PGP signature


Reply to: