Re: [opensuse] Co-existing in a dynamic network Howto?
Marc Chamberlin wrote:
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Marc Chamberlin wrote:
John Andersen wrote:
Many thanks John, Kai and Dave for your replies... Kai you probably hit it on the head, a Win's like automount would probably do the trick and yeah I have tried most of the mount options you guys mentioned... What would be really cool is if there was a way to automagically discover all the computers on a network, much like Windoz does, and then I could create a list to work from...
I thought that "avahi" was for that, but I don't know how.
Your suggestions however has got me thinking and I think you have put me on a path that might work, at least for Linux/SuSE systems.. (I will worry about Windoz separately....) I am now trying to write a script that will periodically run via a cron job. It will ping and test to see if each computer, on a list of known computers on our network, can be found. Depending on the results, this script will dynamically modify the contents of fstab within a specially comment delineated region.
You could simply have the remote mounts marked "noauto". These should not be mounted automatically during boot, but will have to be manually mounted by a command. You ping, it is up, then mount.
Or, instead of automated by cron, another script to mount shares, which first pings the machine, then mounts the share. The user gives the name of the machine or the directory that he wants as a parameter. If the other machine does not respond, give the appropriate message.
Mounting manually on request might have the advantage if the user happens to know how long the other machine is going to be up.
Mmm... I wonder if machines that are about to be unplugged could broadcast some kind of message so that the users connected to its shares have time to umount safely.
Now to figure out where the hooks are to inject my scripts into the boot up and shutdown processes... I think I know - /etc/rc.d looks promising...
Read the man page and the admin book! SuSE is different in this respect, and simply writing scripts there, and adding links manually, will not work. There is a readme there and an skeleton sample script, too
- -- Cheers / Saludos,
Carlos E. R. (from 11.1-ex-factory) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iEYEARECAAYFAkm5FVkACgkQU92UU+smfQU9bgCfUnLpwVyiQIsJMzxzzUg2j1Kr 1VIAn0s6blyTDy2enwEKOHs/4X4pWJcm =qoWs -----END PGP SIGNATURE-----
Thanks Carlos for your reply.. I was not aware of Avahi so will go an poke my nose into it.. (so much to learn, so little time!)
As for your suggestions on mounting file systems, I am pondering on em to see if they can apply.. I am trying to come up with a solution for our network users that rely as little as possible on them having to do anything... Make the mounting and sharing of file systems as automated as possible and robust enough to survive a dynamic network environment without a lot of inconvenient delays... I can install scripts on each laptop/desktop at will, but they will need to be able to not only handle a "work" network configuration, but a "home" one as well... This means my scripts must be adaptable to different networks and not force the user into having to do any sort of reconfiguring manually...
I will RTFM the admin manuals and look for the examples as you suggested, before I go mucking around installing my scripts... I think I am getting the big picture in my mind on how to proceed, and will delve into the details in a bit....
Marc..
P.S. Sorry Carlos I did not mean to reply to your personal address, durn Thunderbird email client won't set the reply to properly for the opensuse mail list... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marc Chamberlin wrote:
P.S. Sorry Carlos I did not mean to reply to your personal address, durn Thunderbird email client won't set the reply to properly for the opensuse mail list...
No problem, don't worry. There is a setting in thunderbird, which changes "reply to all" to work as a "reply to list". Edit preferences, advanced, config editor. I think it is "mailnews.clobber_list_reply", but I'm not sure. - -- Cheers / Saludos, Carlos E. R. (from 11.1-ex-factory) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkm5pE8ACgkQU92UU+smfQWZpgCfSSHGwduszFtb/6DqX7FzrYGy gqkAoJKxSPsiswh8AsZwKN//UyyJHold =NWtN -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos E. R. wrote:
Marc Chamberlin wrote:
P.S. Sorry Carlos I did not mean to reply to your personal address, durn Thunderbird email client won't set the reply to properly for the opensuse mail list...
No problem, don't worry.
There is a setting in thunderbird, which changes "reply to all" to work as a "reply to list". Edit preferences, advanced, config editor. I think it is "mailnews.clobber_list_reply", but I'm not sure.
Jawol - and then you can assign a key to it. -- kai www.perfectreign.com | www.ecmplace.com www.twitter.com/PerfectReign -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kai Ponte wrote:
Carlos E. R. wrote:
Marc Chamberlin wrote:
P.S. Sorry Carlos I did not mean to reply to your personal address, durn Thunderbird email client won't set the reply to properly for the opensuse mail list... No problem, don't worry.
There is a setting in thunderbird, which changes "reply to all" to work as a "reply to list". Edit preferences, advanced, config editor. I think it is "mailnews.clobber_list_reply", but I'm not sure.
Jawol - and then you can assign a key to it.
I don't know about that - I'm using it right now, I simply hit "reply to all", and when it is a list, instead it magically replies only to the list. However, if I really wanted to reply to all, I wouldn't be able to do so. I believe this is a suse extension and that the stock thunderbird doesn't have it. - -- Cheers / Saludos, Carlos E. R. (from 11.1-ex-factory) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkm5xE4ACgkQU92UU+smfQUmGQCglFhYWVpYxpUSu99oMXOdqmTr nrAAnRYSBw7FbU/qte0qwO4RJjtiD/vU =DTrN -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos E. R. wrote:
, which changes "reply to all" to
work as a "reply to list". Edit preferences, advanced, config editor. I think it is "mailnews.clobber_list_reply", but I'm not sure.
Jawol - and then you can assign a key to it.
I don't know about that - I'm using it right now, I simply hit "reply to all", and when it is a list, instead it magically replies only to the list. However, if I really wanted to reply to all, I wouldn't be able to do so.
I believe this is a suse extension and that the stock thunderbird doesn't have it.
maybe. I've just trained myself to hit "A" to respond to the list. -- kai www.perfectreign.com | www.ecmplace.com www.twitter.com/PerfectReign -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Kai Ponte pecked at the keyboard and wrote:
Carlos E. R. wrote:
work as a "reply to list". Edit preferences, advanced, config editor. I think it is "mailnews.clobber_list_reply", but I'm not sure.
Jawol - and then you can assign a key to it. I don't know about that - I'm using it right now, I simply hit "reply to all", and when it is a
, which changes "reply to all" to list, instead it magically replies only to the list. However, if I really wanted to reply to all, I wouldn't be able to do so.
I believe this is a suse extension and that the stock thunderbird doesn't have it.
maybe.
I've just trained myself to hit "A" to respond to the list.
Not in Thunderbird, hitting "A" does nothing. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Ken Schneider - openSUSE wrote:
maybe.
I've just trained myself to hit "A" to respond to the list.
Not in Thunderbird, hitting "A" does nothing.
Oops! My bad. Ia also have keyconfig installed. A is set to "reply to all" and then the "reply to list" hack does the rest. :P -- kai www.perfectreign.com | www.ecmplace.com www.twitter.com/PerfectReign -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Carlos E. R.
-
Kai Ponte
-
Ken Schneider - openSUSE
-
Marc Chamberlin