Re: [gentoo-user] Boot message re: Future Revision date
Mick wrote: > On Sunday 01 July 2007 19:53, Colleen Beamer wrote: >> Dale wrote: >>> Colleen Beamer wrote: > >> Yes, I dual boot with Windoze. However, I don't remember the last time >> I booted into Windoze - ages ago and again, up until yesterday, I never >> saw these messages. > > If you dual boot, it is recommended that you set your /etc/conf.d/clock to > local, otherwise leave to UTC: > == > # /etc/conf.d/clock > > # Set CLOCK to "UTC" if your system clock is set to UTC (also known as > # Greenwich Mean Time). If your clock is set to the local time, then > # set CLOCK to "local". Note that if you dual boot with Windows, then > # you should set it to "local". > > CLOCK="UTC" > == > > HTH. Well, /etc/conf.d/clock has *always* been set to UTC ever since I started using Gentoo in 2004 and I've always dual booted with windows. I never had these messages before. However, I bow to the superior knowledge of the people on this list :-) and I set CLOCK="local" and rebooted, I still had the messages. ls -al shows dates that are all 2007 and prior or equal to today's date or if not they specify a date in 2006 for all files in /etc/init.d, /etc/conf.d and rc.conf. Everything works, it's just that those messages are annoying. What can I say ... I'm anal about some things! :-) Something weird is definitely going on. Regards, Colleen -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Boot message re: Future Revision date
Mick wrote: > On Sunday 01 July 2007 19:53, Colleen Beamer wrote: > >> Dale wrote: >> >>> Colleen Beamer wrote: >>> > > >> Yes, I dual boot with Windoze. However, I don't remember the last time >> I booted into Windoze - ages ago and again, up until yesterday, I never >> saw these messages. >> > > If you dual boot, it is recommended that you set your /etc/conf.d/clock to > local, otherwise leave to UTC: > == > # /etc/conf.d/clock > > # Set CLOCK to "UTC" if your system clock is set to UTC (also known as > # Greenwich Mean Time). If your clock is set to the local time, then > # set CLOCK to "local". Note that if you dual boot with Windows, then > # you should set it to "local". > > CLOCK="UTC" > == > > HTH. > That's the one. I knew someone else would know what I was talking about. Thanks for the post. Dale :-) :-)
Re: [gentoo-user] Boot message re: Future Revision date
On Sunday 01 July 2007 19:53, Colleen Beamer wrote: > Dale wrote: > > Colleen Beamer wrote: > Yes, I dual boot with Windoze. However, I don't remember the last time > I booted into Windoze - ages ago and again, up until yesterday, I never > saw these messages. If you dual boot, it is recommended that you set your /etc/conf.d/clock to local, otherwise leave to UTC: == # /etc/conf.d/clock # Set CLOCK to "UTC" if your system clock is set to UTC (also known as # Greenwich Mean Time). If your clock is set to the local time, then # set CLOCK to "local". Note that if you dual boot with Windows, then # you should set it to "local". CLOCK="UTC" == HTH. -- Regards, Mick pgpBwymq3eqD2.pgp Description: PGP signature
[gentoo-user] Re: OT serial port program with a gui interface
Pongracz Istvan gmail.com> writes: > I use fltk as gui, datareel for accessing serial port and codeblocks as > the c++ IDE (it supports fltk). > fltk and codeblocks are in the portage tree, > datareel can be download from http://www.datareel.com > fltk and datareel support multiplatform (at least windows/linux), in > codeblocks I am not sure, probably only in linux. Hello Istvan, These look interesting. I'll test drive them and see if I can get something working. thanks, James -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Boot message re: Future Revision date
On 01 July 2007, Colleen Beamer wrote: > Dale wrote: > > Colleen Beamer wrote: > >> Hi all, > >> > >> Yesterday, I did a sync and upgraded my kernel. Now, on boot, I'm > >> getting messages about a file in /etc/conf.d, /etc/init.d or > >> /etc.rc.conf having a revision date in the future. Has anyone else seen > >> this message. Is there a way to fix it. I haven't made any recent > >> revision to rc.conf and the boot messages didn't appear prior to > >> yesterday. And I've made no manual revisions to anything in /etc/init.d > >> or /etc.conf.d. > >> > >> Regards, > >> > >> Colleen > > > > Is the date and time correct on your system? I get that on one of my > > old systems that the clock can't survive a reboot, therefore it thinks > > it is back in the year 2000 or something. If this is the case for you, > > change the battery on the mobo and see if that helps. > > Yes, There was an upgrade to ntp, but I configured ntp.conf and my > system time is perfect. It was fine before I did all my upgrades > yesterday, so don't know what changed to make these messages appear today. If your clock is correct just "touch" the files in question. Uwe -- Jethro Tull: Maybe, I am not done yet! -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Boot message re: Future Revision date
Dale wrote: > Colleen Beamer wrote: >> Hi all, >> >> Yesterday, I did a sync and upgraded my kernel. Now, on boot, I'm >> getting messages about a file in /etc/conf.d, /etc/init.d or >> /etc.rc.conf having a revision date in the future. Has anyone else seen >> this message. Is there a way to fix it. I haven't made any recent >> revision to rc.conf and the boot messages didn't appear prior to >> yesterday. And I've made no manual revisions to anything in /etc/init.d >> or /etc.conf.d. >> >> Regards, >> >> Colleen >> >> > > > Is the date and time correct on your system? I get that on one of my > old systems that the clock can't survive a reboot, therefore it thinks > it is back in the year 2000 or something. If this is the case for you, > change the battery on the mobo and see if that helps. Yes, There was an upgrade to ntp, but I configured ntp.conf and my system time is perfect. It was fine before I did all my upgrades yesterday, so don't know what changed to make these messages appear today. > > Also, are you dual booting with windoze? If you are, you have to adjust > it so that the two will not change the hardware clock when > booting/shutting down. I don't dual boot so maybe someone else can > point you to that one. Yes, I dual boot with Windoze. However, I don't remember the last time I booted into Windoze - ages ago and again, up until yesterday, I never saw these messages. Regards, Colleen -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Boot message re: Future Revision date
Colleen Beamer wrote: > Hi all, > > Yesterday, I did a sync and upgraded my kernel. Now, on boot, I'm > getting messages about a file in /etc/conf.d, /etc/init.d or > /etc.rc.conf having a revision date in the future. Has anyone else seen > this message. Is there a way to fix it. I haven't made any recent > revision to rc.conf and the boot messages didn't appear prior to > yesterday. And I've made no manual revisions to anything in /etc/init.d > or /etc.conf.d. > > Regards, > > Colleen > > Is the date and time correct on your system? I get that on one of my old systems that the clock can't survive a reboot, therefore it thinks it is back in the year 2000 or something. If this is the case for you, change the battery on the mobo and see if that helps. Also, are you dual booting with windoze? If you are, you have to adjust it so that the two will not change the hardware clock when booting/shutting down. I don't dual boot so maybe someone else can point you to that one. Hope that helps. Dale :-) :-) -- [EMAIL PROTECTED] mailing list
[gentoo-user] Boot message re: Future Revision date
Hi all, Yesterday, I did a sync and upgraded my kernel. Now, on boot, I'm getting messages about a file in /etc/conf.d, /etc/init.d or /etc.rc.conf having a revision date in the future. Has anyone else seen this message. Is there a way to fix it. I haven't made any recent revision to rc.conf and the boot messages didn't appear prior to yesterday. And I've made no manual revisions to anything in /etc/init.d or /etc.conf.d. Regards, Colleen -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SanDisk MobileMate?
On Sun, Jul 01, 2007 at 05:58:35AM +0200, Penguin Lover Hemmann, Volker Armin squawked: > with the RAZR (hopefully the KRZR is similar) you have to go into Preferences > (or setup or however it is called in english), connection, usb-setup and > set 'standard connection' to 'memory card' - with 'data/fax connection' the > telephone will behave like an usb modem - needing the cdc-acm-driver and > accessing the memory won't work. I doubt Motorola would remove functionality from KRZR that was in the RAZR, but, I wouldn't put it above Verizon to cripple the phone. I blame Verizon for such a configuration option not existing on my phone. :( W -- 1 out of every 5 people thinks the other 4 are idiots. Sortir en Pantoufles: up 205 days, 13:36 -- [EMAIL PROTECTED] mailing list
[gentoo-user] Inotify and (f)crontabs
My apologies for triple-posting this. I can't tell which list would be most appropriate, since it is a user, development, and performance issue (albeit a minor performance issue). This is a small essay on Gentoo's setup for fcron. My issue: I just installed fcron and I have to say, I'm a little disappointed with the kludgy mechanism for implmenting: 1. easy configuration, meaning I don't have to run fcrontab personally 2. /etc/cron.{hourly,daily,weekly,monthly} These are implmented by some very silly-looking polling tricks which, even in principle, will necessarily waste 83% (that's 5/6) of their efforts and clutter the logs with useless and uninformative messages. The facts: 1. is implmented by putting the following rule in /etc/fcrontab: @mail(false),nolog(true) 10 /usr/sbin/check_system_crontabs -s 0 whose effect is to run a script, every ten minutes, to check whether I've changed any of the various configuration files /etc/{,f}crontab, /etc/cron.d/* and then add them all to the system crontab. 2. is implmented by putting the following rules in /etc/crontab: 0 * * * * rm -f /var/spool/cron/lastrun/cron.hourly 1 3 * * * rm -f /var/spool/cron/lastrun/cron.daily 15 4 * * 6 rm -f /var/spool/cron/lastrun/cron.weekly 30 5 1 * * rm -f /var/spool/cron/lastrun/cron.monthly */10 * * * * /usr/bin/test -x /usr/sbin/run-crons && /usr/sbin/run-crons whose effect is, at intevals of one hour, day, week, and month, to remove some state files for the script run-crons, and also to run said script every ten minutes. The purpose of run-crons is to run the scripts in /etc/cron.{hourly,...} at the appropriate intervals, thus saving me the effort of adding a lot of lines looking like 1 3 * * * * some-command to my crontab. Criticism: Both of these ideas are, in principle and in practice, inefficient and irritating. 1. Since I will only ever update my crontabs rarely, checking every ten minutes is likely to yield a negative result virtually 100% of the time; however, since one wants the system to respond quickly when a change is made, it is necessary to check frequently. This would seem to be a contradiction. 2. The problem is even worse: though it is conceivable that a real cron demon would be updating his crontabs willy-nilly, and thus that 1 is not actually inefficient for him, it is not possible, even in principle, for 2 to be worthwhile. run-crons runs commands at intervals of no less than one hour, but is itself run every ten minutes. Furthermore, the files /var/spool/cron/lastrun/cron.* are ALREADY handled in the run-crons script itself, so that most of the above commands would seem to be redundant. This one also has the additional unpleasant property of filling the logs with useless messages: [fcron] Job /usr/bin/test -x /usr/sbin/run-crons && /usr/sbin/run-crons started for user systab and NOT actually logging the commands which are run (since they are run by run-crons, which doesn't log)! It seems that the reason for this is that the option nolog(true) is invalid syntax for cron daemons other than fcron, and /etc/crontab is not fcron-specific so the option can't be passed there. The reason that run-crons doesn't log is unclear to me. My solution: It seems odd to me that Gentoo isn't following the advice in its own scripts, since check_system_crontabs has a big comment on top advising the user to run it with dnotify. This would be a lovely solution, since dnotify asks the kernel to inform it of directory changes and thus, will only run the script when it needs to be run. The only problem is that you have to monitor the whole directory, and as the comment notes, that will generate a lot of problems with /etc. Dnotify, however, is obsoleted by inotify, which allows you to monitor _individual_file_changes_. Inotify is already in the kernel, so there are no API changes to be made, just configuration changes to employ inotify. Furthermore, there exists a nice cron-like utility, based on inotify, which performs exactly the tasks we want with fcron. Its name is incron and its page is here: http://inotify.aiken.cz. I hardly even need to explain how it would fit in, but here it is. Rather than having /etc/fcrontab, one would simply have the following in /etc/icron.d/fcron (say): /etc/crontabIN_CLOSE_WRITE/usr/sbin/check_system_crontabs -s 0 /etc/fcrontabIN_CLOSE_WRITE/usr/sbin/check_system_crontabs -s 0 /etc/cron.dIN_CLOSE_WRITE,IN_CREATE /usr/sbin/check_system_crontabs -s 0 Rather than having /etc/crontab, one would modify check_system_crontabs to add lines like 1 3 * * * * some-command to the system crontab whenever /etc/cron.daily/some-command is modified, and then add four more lines to /etc/icron.d/fcron: /etc/cron.hourlyIN_CLOSE_WRITE,IN_CREATE /usr/sbin/check_system_crontabs -s 0 /etc/cron.daily The above problems are then all solved: the system crontab is updated exactly when changes are ma
[gentoo-user] dbus and hal problems
Hi all, I'm with thunar and xfce. I can't bring up cdrom or cdrw when I put in a cd or dvd. I must do it with a terminal, and then I get an icone on the desktop and it works well. In contrary, the usb-key works normally and an icone appears on the desktop and I can read what is in it. In ps -e I have hald, hald-runner and hald-addon-acpi but not hald-addon-stor This last one appears after mounting a cd, dvd or key-usb. It remains even after I have cd or key removed. But it disappears after reboot. How can I get hald-addon-stor remaining in ps -e? Thanks for your help. Roger -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] GUI tools for iptables?
Thanks Everyone! == I'm sorry for my poor english!!!
Re: [gentoo-user] GUI tools for iptables?
On Sunday 01 July 2007 11:42, Paul Waring wrote: > On Sun, Jul 01, 2007 at 06:05:14PM +0800, sain yan wrote: > >It`s dificulte to me for setup iptables!!! > > > > > > > >Are there any GUI tools in profiles??? > > There are plenty of GUIs out there - just google for 'iptables GUI' and > you'll find dozens of tools to help you. However, using iptables at the > command line isn't too difficult if you're only doing simple things like > closing/opening ports on your machine. It is probably simpler than what you think to understand iptables and setup a simple rule set. Have a *slow* look at: http://www.gentoo.org/doc/en/articles/linux-24-stateful-fw-design.xml which is an excellent tutorial to take you through the steps of designing and setting up your own firewall. There's also man iptables to compliment the tutorial and explain the many options that exist within iptables. If you are going to manage a production server or a machine with service ports open to the wide web, which is expected to come under considerable attack, you may also want to read this: http://www.gentoo.org/doc/en/articles/dynamic-iptables-firewalls.xml Alternatively, you can use one of the many automatic script generators and GUI rule managers. If you are used to managing GUI firewalls like you find in MS Windows, then Firewall Builder may suit your needs: http://www.fwbuilder.org/archives/cat_about.html However, the time you will spend to set up a gui and read its manual and then configured it, would probably exceed what it takes to read the iptables articles and set a manual firewall ruleset. HTH. -- Regards, Mick pgp9OUouNRKXS.pgp Description: PGP signature
Re: [gentoo-user] GUI tools for iptables?
On Sunday 01 July 2007 12:42:33 Paul Waring wrote: > On Sun, Jul 01, 2007 at 06:05:14PM +0800, sain yan wrote: > >It`s dificulte to me for setup iptables!!! > >Are there any GUI tools in profiles??? > > There are plenty of GUIs out there - just google for 'iptables GUI' and > you'll find dozens of tools to help you. However, using iptables at the > command line isn't too difficult if you're only doing simple things like > closing/opening ports on your machine. There's a IMHO really good framework helping you to setup IPTables without having to learn the IPTables syntax etc: net-firewall/shorewall Regards, Elias P. -- A really nice number: "09:F9:11:02:9D:74:E3:5B:D8:41:56:C5:63:56:88:C0" signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] GUI tools for iptables?
On Sun, Jul 01, 2007 at 06:05:14PM +0800, sain yan wrote: >It`s dificulte to me for setup iptables!!! > > > >Are there any GUI tools in profiles??? There are plenty of GUIs out there - just google for 'iptables GUI' and you'll find dozens of tools to help you. However, using iptables at the command line isn't too difficult if you're only doing simple things like closing/opening ports on your machine. Paul -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] GUI tools for iptables?
Hi sain, Sunday, July 1, 2007, 1:05:14 PM, you wrote: > It`s dificulte to me for setup iptables!!! > > Are there any GUI tools in profiles??? webmin -- Sergey -- [EMAIL PROTECTED] mailing list
[gentoo-user] GUI tools for iptables?
It`s dificulte to me for setup iptables!!! Are there any GUI tools in profiles??? -- == I'm sorry for my poor english!!!