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

Re: Need help on configuring laptop-net



Thomas Hood <jdthood@yahoo.co.uk> writes:

> >  What I expect is a tool able to set the WHOLE laptop
> >  configuration according to the current environment.
> >  
>  
> >  For example, at home I use my wired network with a Xinerama'd
> >  Xsession in 16bits. At work, I am using a wireless connection
> >  and no Xinerama. My printers are different, etc...
>  
>  Ifupdown is more capable than a lot of people realize, although
>  of course it should only be used to change the system configuration
>  as a function of the network environment.  You can put arbitrary
>  configuration commands on "up" and "down" lines in
>  /etc/network/interfaces.  You can arbitrarily shuffle configuration

Yes I know but this will lead to mess then ;)

>  files around as you wish using the mv command.  If you want to
>  organize such shuffling you can make use of switchconf.  In most
>  cases, though, I find that there is a better way to implement
>  dynamic configuration than by shuffling configuration files.
>  To set the mail relay use the set-mail-relay script that comes in
>  the ifupdown-roam package[1].  To update /etc/resolv.conf use the
>  resolvconf package[2].  To update the printer list use a
>  script like that included in bug report #204847.  To mount and
>  umount drives use a script like that included in #204750 .  Etc.

I will try this solution but yet, there too many things to
install/configure. I really want one tool to do it. But yes I am giving
it a try.

>  [1] http://panopticon.csustan.edu/thood/ifupdown-roam.html
>  [2] http://alioth.debian.org/project/showfiles.php?group_id=1227

  
>  --
>  Thomas

-- 
"Ich 'leide' an weit überhöhter Intelligenz und Vorstellungskraft,
 das ist auch wirklich ein Kreuz."
		     Norbert Marzahn in <6DPrtk1K1wB@normarz.snafu.de>



Attachment: pgpYMZ_lLuZHz.pgp
Description: PGP signature


Reply to: