On Sat, 18 Jan 2003 [EMAIL PROTECTED] wrote: > The first script substituted the usual /etc/init.d/network script. What > it has new is that it allows using different networks configurations and > switch them on the fly. This is very usefull for me(and I guess to many > other people to) because of laptop computers. I use one configuration at > Home and a different one at the university.
There were other solutions to this. What happened to drakprofile? Anyway, I think linuxconf can do something like this? Is this the right place in CVS for drakprofile? http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/soft/DrakProfile/ > The other script is a daemon that watches for kernel messages and takes > specific actions. I used this for 2 things: > 1 - USB Mass Storage Media. They are getting very popular nowadays and I > think it is a very nice idea to give more atention to it. When the > script detects I plug it in, it automatically mounts it and sends a WALL > messages saying it(of course this isn't a very nice ideia). Mandake has already had support for USB storage (for supported devices) since at least 9.0. Look on your desktop next time you insert a device. Unfortunately supermount bugs had some effect on the usability of this, but that shuold be fixed now? > 2 - Detection when the network cable is plugged. When we plug in the > cable it automatically starts the network script with the default > configuration. When we unplug it it switches the configuration to other > that doesn't use the ethernet interface (for example). You must have missed all the traffic on the ifplugd implementation. But, I have a question on that. According to what I read on ifplugd, it should be started as a service. And browsing Mandrake CVS in soft/initscripts, I didn't see any changes that launched ifplugd, and the package itself has no init script. And since my cooker box is still a day or two behind (and I don't have physical access to it now, so can't test), I haven't really taken an in-depth look at what Fred did .. Buchan -- |----------------Registered Linux User #182071-----------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
