Re: [Cooker] drakprofile

2001-08-20 Thread Steve Fox

So no one has a working drakprofile? Or does it work for everyone but
me?

On 17 Aug 2001 22:32:12 -0400, Steve Fox wrote:
> While we're on the topic of drakprofile, does anyone actually have this
> working so you select the profile at boot time? I used this with 7.2
> which was based on linuxconf's profiling capability. Ever since 8.0 came
> around I haven't been able to select the profile at boot time (I even
> manually added the append=" profile=Home" to lilo.conf but it does
> nothing (I have linuxconf services starting at boot). 
> 
> So I have been manually running linuxconf --selectprofile [name] ever
> since 8.0 came out and it's rather annoying.
> 
> Does drakprofile not use linuxconf? If not, does it use LILO to choose
> the profile? How the heck does it work? Does it work? :)
> 
> Thanks.

-- 

Steve Fox
http://k-lug.org





Re: [Cooker] drakprofile

2001-08-18 Thread andre

> 
> Am 2001-08-18, um 17:03:13 (+0200) schrieb Andre:
> > 
> > On 18 Aug 2001 08:58:35 +0200, Stefan Siegel wrote:
> > > Hi,
> > >
> > > one of the big missings is that "/etc/X11/XF86Config-4" is not part of
> > > the profiles. As I use a wheel mouse at home and a 3 button mouse at
> > > work, I had to do use a bad workaround: XF86Config-4 is a symlink to
> > > XMetroconfig on my machine :-(
> >
> > can't you just use /etc/X11/XF86Config-4.
> 
> It is the same Laptop I am taking with me - at home I use my wheel mouse,
> as I don't take it with me I am only having the touchpad which won't work 
> corectly if used without the wheel mouse attached (as it is a diffrent 
> protocol) so I have to use two diffrent XF86Config-4 files.
> 
> But as XF86Config-4 is not covered by linuxconf (which defines which files
> will be stored into the profile) I had to use the workaround with the 
> commercial server and the symlink ...
> 
> --
I know it is the same laptop. But at work and at home you probably
attach it to a network. Doesn't it get it's name from the network?

Thinking harder about it it think you are correct




Re: [Cooker] drakprofile

2001-08-18 Thread Stefan Siegel

Am 2001-08-18, um 17:03:13 (+0200) schrieb Andre:
> 
> On 18 Aug 2001 08:58:35 +0200, Stefan Siegel wrote:
> > Hi,
> >
> > one of the big missings is that "/etc/X11/XF86Config-4" is not part of
> > the profiles. As I use a wheel mouse at home and a 3 button mouse at
> > work, I had to do use a bad workaround: XF86Config-4 is a symlink to
> > XMetroconfig on my machine :-(
>
> can't you just use /etc/X11/XF86Config-4.

It is the same Laptop I am taking with me - at home I use my wheel mouse,
as I don't take it with me I am only having the touchpad which won't work 
corectly if used without the wheel mouse attached (as it is a diffrent 
protocol) so I have to use two diffrent XF86Config-4 files.

But as XF86Config-4 is not covered by linuxconf (which defines which files
will be stored into the profile) I had to use the workaround with the 
commercial server and the symlink ...

-- 
_ 
Tschüss und bis demnächst/à bientôt,  _|_|_   
   (")   *
Stefan /v\  / 
 »(   )«  Penguin Powered!
 +(m-m)--+




Re: [Cooker] drakprofile

2001-08-18 Thread andre

On 18 Aug 2001 08:58:35 +0200, Stefan Siegel wrote:
> Hi,
> 
> one of the big missings is that "/etc/X11/XF86Config-4" is not part of 
> the profiles. As I use a wheel mouse at home and a 3 button mouse at 
> work, I had to do use a bad workaround: XF86Config-4 is a symlink to 
> XMetroconfig on my machine :-(
> 
> -- 
> _ 
> Tschüss und bis demnächst/à bientôt,  _|_|_   
>(")   *
> Stefan /v\  / 
>  »(   )«  Penguin Powered!
>
+(m-m)--+

can't you just use /etc/X11/XF86Config-4. 





Re: [Cooker] drakprofile

2001-08-17 Thread Stefan Siegel

Hi,

one of the big missings is that "/etc/X11/XF86Config-4" is not part of 
the profiles. As I use a wheel mouse at home and a 3 button mouse at 
work, I had to do use a bad workaround: XF86Config-4 is a symlink to 
XMetroconfig on my machine :-(

-- 
_ 
Tschüss und bis demnächst/à bientôt,  _|_|_   
   (")   *
Stefan /v\  / 
 »(   )«  Penguin Powered!
 +(m-m)--+




Re: [Cooker] drakprofile

2001-08-17 Thread Steve Fox

While we're on the topic of drakprofile, does anyone actually have this
working so you select the profile at boot time? I used this with 7.2
which was based on linuxconf's profiling capability. Ever since 8.0 came
around I haven't been able to select the profile at boot time (I even
manually added the append=" profile=Home" to lilo.conf but it does
nothing (I have linuxconf services starting at boot). 

So I have been manually running linuxconf --selectprofile [name] ever
since 8.0 came out and it's rather annoying.

Does drakprofile not use linuxconf? If not, does it use LILO to choose
the profile? How the heck does it work? Does it work? :)

Thanks.

-- 

Steve Fox
http://k-lug.org





Re: [Cooker] drakprofile

2001-08-17 Thread Guillaume Rousse

Ainsi parlait dam's :
> > > > > > And could other network-related files be specified as part of the
> > > > > > profile (hosts, hosts.allow & deny, exports, etc...) ?
> > > > >
> > > > > Ok, but it won't be able to save it in a profile. Or not easilly.
> > > > > Is it a pb?
> > > >
> > > > Yes. What's the use of including them in a profile if they are not
> > > > restaured along with it ? My idea was to extend the profile to
> > > > contains an optional list of additional files.
> > >
> > > oh great, that's a nice feature. But appart this, do you think those
> > > files (hosts, hosts.allow & deny, exports, etc...) should be included
> > > in a profile?
> >
> > No, no, i just have fun asking for complety useless features :-).
> > To be precise, i don't think these files must be always included, neither
> > that the exact list must be hard-coded. I was just imagining something
> > between drakprofile (where all /etc dir is saved) and current profile
> > (where just minimal set of files are saved), as an idea for future
> > development.
>
> ok thanx.
> What do you think about a cvs handling etc?
> a cron is committing every change you do on your /etc, and it's the best
> way to keep trace of changes. Each timnt one:e you want to save your config 
in a
> profile, you tag the whole thing. And with the branch system it's even more
> powerfull. That's one of the possibilities that is very nic, IMO
It's rather heavy, as it needs a cvs, and i don't want to keep trace of every 
changes. If just my network change, i don't want to save my X configuration ! 
However, i would like to start services or not, export directories or not, 
etc... So i was looking for something simple and extensible.

My own solution was this quick script, allowing me to declare any file or 
directory in /etc to be part of a profile, and using symlink to select the 
current one.
#!/bin/sh
 
if [ $# != 1 ] ; then
echo  "usage: `basename $0` "
exit 1
fi
 
echo "switching profile to $1"
 
for file in `find /etc -name "*.$1" 2>/dev/null`; do
cd `dirname $file`
ln -sf `basename $file` `basename $file .$1`
done
-- 
Guillaume Rousse <[EMAIL PROTECTED]>
GPG key http://bohm.snv.jussieu.fr/~rousse/gpgkey.html




Re: [Cooker] drakprofile

2001-08-17 Thread dam's

[EMAIL PROTECTED] (Guillaume Rousse) writes:

> Ainsi parlait dam's :
> > > > > Sounds great. However:
> > > > > 1) default profile cannot be renamed nor deleted once other profile
> > > > > exist
> > > >
> > > > is it a pb? I think it's usefull to have one profile by default, that
> > > > you cannot delete. What is the need of renaming/deleting it?
> > >
> > > It's only an aestethic problem. If i create an 'home' profile, i would
> > > like to name the other one 'laboratory', not default... So, i agree with
> > > a need of a default profile, i just would like to call it as i want.
> >
> > hm I see. It's difficult, because in the code, I assume I always have
> > at least the 'default' profile ...
> Don't refer to the profile by their names and make impossible to delete the 
> current default one.

easier to say than to do :/

> 
> > > > > And could other network-related files be specified as part of the
> > > > > profile (hosts, hosts.allow & deny, exports, etc...) ?
> > > >
> > > > Ok, but it won't be able to save it in a profile. Or not easilly. Is it
> > > > a pb?
> > >
> > > Yes. What's the use of including them in a profile if they are not
> > > restaured along with it ? My idea was to extend the profile to contains
> > > an optional list of additional files.
> >
> > oh great, that's a nice feature. But appart this, do you think those files
> > (hosts, hosts.allow & deny, exports, etc...) should be included in a
> > profile?
> No, no, i just have fun asking for complety useless features :-).
> To be precise, i don't think these files must be always included, neither 
> that the exact list must be hard-coded. I was just imagining something 
> between drakprofile (where all /etc dir is saved) and current profile (where 
> just minimal set of files are saved), as an idea for future development.

ok thanx.
What do you think about a cvs handling etc?
a cron is committing every change you do on your /etc, and it's the best way to
keep trace of changes. Each time you want to save your config in a profile, you
tag the whole thing. And with the branch system it's even more powerfull.
That's one of the possibilities that is very nic, IMO

-- 
dam's




Re: [Cooker] drakprofile

2001-08-17 Thread Guillaume Rousse

Ainsi parlait dam's :
> > > > Sounds great. However:
> > > > 1) default profile cannot be renamed nor deleted once other profile
> > > > exist
> > >
> > > is it a pb? I think it's usefull to have one profile by default, that
> > > you cannot delete. What is the need of renaming/deleting it?
> >
> > It's only an aestethic problem. If i create an 'home' profile, i would
> > like to name the other one 'laboratory', not default... So, i agree with
> > a need of a default profile, i just would like to call it as i want.
>
> hm I see. It's difficult, because in the code, I assume I always have
> at least the 'default' profile ...
Don't refer to the profile by their names and make impossible to delete the 
current default one.

> > > > And could other network-related files be specified as part of the
> > > > profile (hosts, hosts.allow & deny, exports, etc...) ?
> > >
> > > Ok, but it won't be able to save it in a profile. Or not easilly. Is it
> > > a pb?
> >
> > Yes. What's the use of including them in a profile if they are not
> > restaured along with it ? My idea was to extend the profile to contains
> > an optional list of additional files.
>
> oh great, that's a nice feature. But appart this, do you think those files
> (hosts, hosts.allow & deny, exports, etc...) should be included in a
> profile?
No, no, i just have fun asking for complety useless features :-).
To be precise, i don't think these files must be always included, neither 
that the exact list must be hard-coded. I was just imagining something 
between drakprofile (where all /etc dir is saved) and current profile (where 
just minimal set of files are saved), as an idea for future development.
-- 
Guillaume Rousse <[EMAIL PROTECTED]>
GPG key http://bohm.snv.jussieu.fr/~rousse/gpgkey.html




Re: [Cooker] drakprofile

2001-08-17 Thread dam's

[EMAIL PROTECTED] (Guillaume Rousse) writes:

> Ainsi parlait dam's :
> > > > Or, if ou are a 1337, do :'draknet --embedde 654 654' on a console :)
> > >
> > > As i'm real 1337, i corrected myself to --embedded :-)
> >
> > ouaaah :)
> no: 0u44.
> Much better.
> 
> > > Sounds great. However:
> > > 1) default profile cannot be renamed nor deleted once other profile exist
> >
> > is it a pb? I think it's usefull to have one profile by default, that you
> > cannot delete. What is the need of renaming/deleting it?
> It's only an aestethic problem. If i create an 'home' profile, i would like 
> to name the other one 'laboratory', not default... So, i agree with a need of 
> a default profile, i just would like to call it as i want.

hm I see. It's difficult, because in the code, I assume I always have at
least the 'default' profile ...

> 
> > > And could other network-related files be specified as part of the profile
> > > (hosts, hosts.allow & deny, exports, etc...) ?
> >
> > Ok, but it won't be able to save it in a profile. Or not easilly. Is it a
> > pb?
> Yes. What's the use of including them in a profile if they are not restaured 
> along with it ? My idea was to extend the profile to contains an optional 
> list of additional files.

oh great, that's a nice feature. But appart this, do you think those files
(hosts, hosts.allow & deny, exports, etc...) should be included in a profile?

-- 
dam's




RE: [Cooker] drakprofile

2001-08-17 Thread Chris Edwards


>> no: 0u44.
>> Much better.

Muc|-| b3773r




Re: [Cooker] drakprofile

2001-08-17 Thread Guillaume Rousse

Ainsi parlait dam's :
> > > Or, if ou are a 1337, do :'draknet --embedde 654 654' on a console :)
> >
> > As i'm real 1337, i corrected myself to --embedded :-)
>
> ouaaah :)
no: 0u44.
Much better.

> > Sounds great. However:
> > 1) default profile cannot be renamed nor deleted once other profile exist
>
> is it a pb? I think it's usefull to have one profile by default, that you
> cannot delete. What is the need of renaming/deleting it?
It's only an aestethic problem. If i create an 'home' profile, i would like 
to name the other one 'laboratory', not default... So, i agree with a need of 
a default profile, i just would like to call it as i want.

> > And could other network-related files be specified as part of the profile
> > (hosts, hosts.allow & deny, exports, etc...) ?
>
> Ok, but it won't be able to save it in a profile. Or not easilly. Is it a
> pb?
Yes. What's the use of including them in a profile if they are not restaured 
along with it ? My idea was to extend the profile to contains an optional 
list of additional files.
-- 
Guillaume Rousse <[EMAIL PROTECTED]>
GPG key http://bohm.snv.jussieu.fr/~rousse/gpgkey.html




Re: [Cooker] drakprofile

2001-08-17 Thread dam's

[EMAIL PROTECTED] (Guillaume Rousse) writes:

> Ainsi parlait dam's :
> > you have to launch draknet in the Mandrake control center, otherwise it
> > launchs the wizard.
> >
> > Launch mcc, and go to the 'internet connection' section.
> >
> > Or, if ou are a 1337, do :'draknet --embedde 654 654' on a console :)
> As i'm real 1337, i corrected myself to --embedded :-)

ouaaah :)

> Sounds great. However:
> 1) default profile cannot be renamed nor deleted once other profile exist

is it a pb? I think it's usefull to have one profile by default, that you
cannot delete. What is the need of renaming/deleting it?

> 2) neither OK nor Cancel button quit the application in embedded mode. Is it 
> normal ?

yes. It's normal. The --embedded specifiy that the application is launched in
'embedded' mode :), that means, in the mandrake control center. In that mode,
when you quit, it just send a signal to the mcc window that hide draknet. So
that the next time the user clicks on it, it doesn't load again.

> 
> And could other network-related files be specified as part of the profile 
> (hosts, hosts.allow & deny, exports, etc...) ?

Ok, but it won't be able to save it in a profile. Or not easilly. Is it a pb?

-- 
dam's




Re: [Cooker] drakprofile

2001-08-17 Thread Guillaume Rousse

Ainsi parlait dam's :
> you have to launch draknet in the Mandrake control center, otherwise it
> launchs the wizard.
>
> Launch mcc, and go to the 'internet connection' section.
>
> Or, if ou are a 1337, do :'draknet --embedde 654 654' on a console :)
As i'm real 1337, i corrected myself to --embedded :-)
Sounds great. However:
1) default profile cannot be renamed nor deleted once other profile exist
2) neither OK nor Cancel button quit the application in embedded mode. Is it 
normal ?

And could other network-related files be specified as part of the profile 
(hosts, hosts.allow & deny, exports, etc...) ?
-- 
Guillaume Rousse <[EMAIL PROTECTED]>
GPG key http://bohm.snv.jussieu.fr/~rousse/gpgkey.html




Re: [Cooker] drakprofile

2001-08-17 Thread dam's

[EMAIL PROTECTED] (Guillaume Rousse) writes:

> Ainsi parlait Yves Duret :
> > you have profile in draknet. launch draknet (or by mcc Network&Internet
> > then connection) and choose "New profile". i think it is waht you need :)
> > drakprofile is not supported in 8.1
> I didn't saw anything alike in draknet...
> [guillaume@silbermann xml]$ rpm -q drakxtools-newt
> drakxtools-newt-1.1.7-2mdk

you have to launch draknet in the Mandrake control center, otherwise it launchs
the wizard.

Launch mcc, and go to the 'internet connection' section. 

Or, if ou are a 1337, do :'draknet --embedde 654 654' on a console :)

-- 
dam's




Re: [Cooker] drakprofile

2001-08-17 Thread Guillaume Rousse

Ainsi parlait Yves Duret :
> you have profile in draknet. launch draknet (or by mcc Network&Internet
> then connection) and choose "New profile". i think it is waht you need :)
> drakprofile is not supported in 8.1
I didn't saw anything alike in draknet...
[guillaume@silbermann xml]$ rpm -q drakxtools-newt
drakxtools-newt-1.1.7-2mdk
-- 
Guillaume Rousse <[EMAIL PROTECTED]>
GPG key http://bohm.snv.jussieu.fr/~rousse/gpgkey.html




Re: [Cooker] drakprofile

2001-08-17 Thread Yves Duret

Guillaume Rousse <[EMAIL PROTECTED]> writes:

> Anyone using drakprofile with success ?
> Altough a good idea, i find it cumbersome (it uses linuxconf, errrgh), 
> inefficient (it saves everything in /etc), and not working (error message 
> "could not activate xxx profile"). As author is RedHog, who seems to be 
> actually MIA, i guess it won't be maintained anymore...
> Anyone know of any other solution for switching network context easily with 
> laptops ?

you have profile in draknet. launch draknet (or by mcc Network&Internet then
connection) and choose "New profile". i think it is waht you need :)
drakprofile is not supported in 8.1
-- 
Yves Duret
[EMAIL PROTECTED]
P|-|34R |)4 R4|<137





Re: [Cooker] Drakprofile doe not work?

2001-04-16 Thread dam's

[EMAIL PROTECTED] (Andrej Borsenkow) writes:

> On 16 Apr 2001, dam's wrote:
> 
> > [EMAIL PROTECTED] (Andrej Borsenkow) writes:
> >
> > > Call DrakConf, Network, Connection, New profile - give a name to profile
> > > (e.g. foo) - click O.K. - and nothing more happens, I get a clean virgine
> > > window in DrakConf. I get processes:
> >
> >
> > works for me, on a fresh install. Are you sure?
> >
> >
> 
> bor@localhost 0rakprofile
> Traceback (most recent call last):
>   File "./drakprofileBin", line 6, in ?
> from gtk import *
> ImportError: No module named gtk
> 
> What do I miss?

the profile management in DrakConf/network/connection has nothing to do with
drakprofile. 

-- 
dam's




Re: [Cooker] Drakprofile doe not work?

2001-04-16 Thread dam's

[EMAIL PROTECTED] (Andrej Borsenkow) writes:

> Call DrakConf, Network, Connection, New profile - give a name to profile
> (e.g. foo) - click O.K. - and nothing more happens, I get a clean virgine
> window in DrakConf. I get processes:


works for me, on a fresh install. Are you sure?

-- 
dam's




Re: [Cooker] Drakprofile doe not work?

2001-04-16 Thread Andrej Borsenkow

On 16 Apr 2001, dam's wrote:

> [EMAIL PROTECTED] (Andrej Borsenkow) writes:
>
> > Call DrakConf, Network, Connection, New profile - give a name to profile
> > (e.g. foo) - click O.K. - and nothing more happens, I get a clean virgine
> > window in DrakConf. I get processes:
>
>
> works for me, on a fresh install. Are you sure?
>
>

bor@localhost% drakprofile
Traceback (most recent call last):
  File "./drakprofileBin", line 6, in ?
from gtk import *
ImportError: No module named gtk

What do I miss?

bor@localhost% rpm -qa | grep -i gtk
gtktalog-0.3.1-1mdk
perl-GTK-0.7006-1mdk
perl-GTK-Glade-0.7006-1mdk
gtk+mdk-0.1.5-5mdk
rep-gtk-0.13a-6mdk
gtkglarea-1.2.2-3mdk
rep-gtk-libglade-0.13a-6mdk
rep-gtk-gnome-0.13a-6mdk
Aurora-Monitor-Traditional-Gtk+-8.2-5mdk
gtkdialogs-1.0-3mdk
gtkgraph-0.6.1-6mdk
gtkzip-0.5.1-8mdk
gtkmm-1.2.2-3mdk
gtk-engines-0.10-4mdk
gtk+-devel-1.2.8-6mdk
perl-GTK-GdkImlib-0.7006-1mdk
perl-GTK-Gnome-0.7006-1mdk
libgtk+1.2-1.2.10-1mdk
perl-GTK-GLArea-0.7006-1mdk
pygtk-0.6.6-4mdk

-andrej





Re: [Cooker] drakprofile & draknet problems

2001-04-07 Thread dam's

[EMAIL PROTECTED] (Guillaume Rousse) writes:

> - draknet attempt ppp connection using a non-existing script
> /etc/sysconfig/network-scripts/net_cnx_up

what did you do before that? can you give me a more detailed report?

> - when changing profile with different hostname, relaunching X as indicated
> is not enough. In fact, even going to runlevel 1 then back to 5 is not
> enough. You have to reboot to make it work

very strange.

-- 
dam's