Re: [Lazarus] TurboPower OnGuard changes

2010-02-12 Thread Hans-Peter Diettrich
Graeme Geldenhuys schrieb: In the past days I had to replace my old CRT, and now I have left no working Linux, only Vista made the change without problems. SuSE 10.3 has lost its X configuration, 11.2 probably caused more damage to all Linux drives with disk checks (and repairs), now doesn't

Re: [Lazarus] TurboPower OnGuard changes

2010-02-12 Thread Graeme Geldenhuys
On 12 February 2010 18:16, Hans-Peter Diettrich drdiettri...@aol.com wrote: I turned out to be a combined me-monitor-driver-X11 problem. The new screen is bigger than the old one, so that the system fell back into single-monitor mode. Afterwards I managed to damage my xorg.conf, I never edit

Re: [Lazarus] TurboPower OnGuard changes

2010-02-11 Thread Graeme Geldenhuys
On 11 February 2010 09:42, Raistware raistw...@gmail.com wrote: UUID look-up can be done via /var/log/udev No such file on Debian testing. OK, so clearly the 'udev' file is not an option. But /dev/disk/by-id/ has the files, has many files! ata-ASUS-PHISON_SSD_SOQ2882217

Re: [Lazarus] TurboPower OnGuard changes

2010-02-11 Thread zeljko
On Thursday 11 February 2010 09:00, Graeme Geldenhuys wrote: On 11 February 2010 09:42, Raistware raistw...@gmail.com wrote: UUID look-up can be done via /var/log/udev No such file on Debian testing. OK, so clearly the 'udev' file is not an option. But /dev/disk/by-id/ has the files,

Re: [Lazarus] TurboPower OnGuard changes

2010-02-11 Thread Graeme Geldenhuys
zeljko wrote: hm... I think that such info in dev depends on kernel version and udev, so such thing can have problems on older distros. My answer to that is Linux is free, UPGRADE! :-) This is exactly what I tell people about FPC, Lazarus and fpGUI too. With a kernel upgrade, you also

[Lazarus] TurboPower OnGuard changes

2010-02-11 Thread tim launchbury
Hi All Mandriva (2010) has /dev/disk/ with by-id by-uuid subdirectories. by-uuid lists the disks by uuid (!!) and the by-id has entries for each disk as both ata and scsi-SATA. HTH Tim -- ___ Lazarus mailing list

Re: [Lazarus] TurboPower OnGuard changes

2010-02-11 Thread Graeme Geldenhuys
tim launchbury wrote: Mandriva (2010) has /dev/disk/ with Thanks Tim! Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ -- ___ Lazarus mailing list

Re: [Lazarus] TurboPower OnGuard changes

2010-02-11 Thread zeljko
On Thursday 11 February 2010 11:29, Graeme Geldenhuys wrote: I did a Google search for each of the big distro names with the string '/dev/disk/by-id/' and all of them came back with hits. So yes, I think all modern distros support what I need. Finally something I can work with. :) not modern

Re: [Lazarus] TurboPower OnGuard changes

2010-02-11 Thread Luca Olivetti
En/na zeljko ha escrit: On Thursday 11 February 2010 11:29, Graeme Geldenhuys wrote: I did a Google search for each of the big distro names with the string '/dev/disk/by-id/' and all of them came back with hits. So yes, I think all modern distros support what I need. Finally something I can

Re: [Lazarus] TurboPower OnGuard changes

2010-02-11 Thread zeljko
On Thursday 11 February 2010 12:14, Luca Olivetti wrote: En/na zeljko ha escrit: On Thursday 11 February 2010 11:29, Graeme Geldenhuys wrote: I did a Google search for each of the big distro names with the string '/dev/disk/by-id/' and all of them came back with hits. So yes, I think all

Re: [Lazarus] TurboPower OnGuard changes

2010-02-11 Thread Graeme Geldenhuys
Luca Olivetti wrote: Nope, not there in mandriva 2006.0 (kernel 2.6.12) Time to upgrade Luca. ;-) Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ -- ___ Lazarus mailing

Re: [Lazarus] TurboPower OnGuard changes

2010-02-11 Thread Marco van de Voort
On Wed, Feb 10, 2010 at 11:21:00AM +0200, Graeme Geldenhuys wrote: So this is really a courtesy email to anybody interested in OnGuard components. I think I will go with forking the Lazarus CCR code for now and publish my changes somewhere on the internet. The official maintainers (if there

Re: [Lazarus] TurboPower OnGuard changes

2010-02-11 Thread Graeme Geldenhuys
Luca Olivetti wrote: While I upgrade individual packages (and I backport/repackage them once the distribution is no longer supported) I don't upgrade critical servers if it isn't strictly necessary. No need to explain, I do the same thing. I have a Linux server here serving content 24/7,

Re: [Lazarus] TurboPower OnGuard changes

2010-02-11 Thread Graeme Geldenhuys
Marco van de Voort wrote: Please keep the Linux gore at arms length, so that later solutions for other platforms can be plugged in without a million ifdefs If you ever read the tiOPF newsgroups, you would see I *hate* IFDEF code. I think I have been writing cross-platform code for enough

Re: [Lazarus] TurboPower OnGuard changes

2010-02-11 Thread Mehmet Erol Sanliturk
zeljko wrote: On Thursday 11 February 2010 09:00, Graeme Geldenhuys wrote: On 11 February 2010 09:42, Raistware raistw...@gmail.com wrote: I still need information regarding the other big players: - CentOS - Mandriva - Fedora Can anybody help with these? Mandriva Linux Free

Re: [Lazarus] TurboPower OnGuard changes

2010-02-11 Thread Mehmet Erol Sanliturk
Mehmet Erol Sanliturk wrote: zeljko wrote: On Thursday 11 February 2010 09:00, Graeme Geldenhuys wrote: On 11 February 2010 09:42, Raistware raistw...@gmail.com wrote: I still need information regarding the other big players: - CentOS - Mandriva - Fedora Can anybody help with these?

Re: [Lazarus] TurboPower OnGuard changes

2010-02-11 Thread Hans-Peter Diettrich
Graeme Geldenhuys schrieb: hm... I think that such info in dev depends on kernel version and udev, so such thing can have problems on older distros. My answer to that is Linux is free, UPGRADE! :-) Never change a running system! In the past days I had to replace my old CRT, and now I

Re: [Lazarus] TurboPower OnGuard changes

2010-02-11 Thread Graeme Geldenhuys
Hans-Peter Diettrich wrote: In the past days I had to replace my old CRT, and now I have left no working Linux, only Vista made the change without problems. SuSE 10.3 has lost its X configuration, 11.2 probably caused more damage to all Linux drives with disk checks (and repairs), now

[Lazarus] TurboPower OnGuard changes

2010-02-10 Thread Graeme Geldenhuys
Hi, Who is the official maintainers of OnGuard located in the Lazarus CCR repository? The wiki page doesn't give much information about who maintains it, what is (not) working etc. http://wiki.freepascal.org/OnGuard I want to use the OnGuard components with a non-GUI projects and non-LCL

Re: [Lazarus] TurboPower OnGuard changes

2010-02-10 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said: A quick question to anybody that previously worked on OnGuard: * What is the IBO_CONSOLE defines for? What is IBO? http://www.ibobjects.com/ -- ___ Lazarus mailing list

Re: [Lazarus] TurboPower OnGuard changes

2010-02-10 Thread Graeme Geldenhuys
Marco van de Voort wrote: * What is the IBO_CONSOLE defines for? What is IBO? http://www.ibobjects.com/ Thanks Marco. Still makes no sense why there is a special DEFINE for that? If you want Console support, split the units into GUI and non-GUI packages. For security features (core code)

Re: [Lazarus] TurboPower OnGuard changes

2010-02-10 Thread Vincent Snijders
Graeme Geldenhuys schreef: Hi, Who is the official maintainers of OnGuard located in the Lazarus CCR repository? Bogusław Brandys did this port. See also his recent mail to this list: http://lists.lazarus.freepascal.org/pipermail/lazarus/2010-February/049310.html Vincent --

Re: [Lazarus] TurboPower OnGuard changes

2010-02-10 Thread Bogusław Brandys
Vincent Snijders wrote: Graeme Geldenhuys schreef: Hi, Who is the official maintainers of OnGuard located in the Lazarus CCR repository? Bogusław Brandys did this port. See also his recent mail to this list: http://lists.lazarus.freepascal.org/pipermail/lazarus/2010-February/049310.html

Re: [Lazarus] TurboPower OnGuard changes

2010-02-10 Thread Graeme Geldenhuys
Bogusław Brandys wrote: Yep.I did the port.Currently I have no time to actively maintain it.It worked some time ago and I added some new code to read HDD hardware serial number but as I not needed this components I have no strong motivation to continue the efforts. How well did you test

Re: [Lazarus] TurboPower OnGuard changes

2010-02-10 Thread Luiz Americo Pereira Camara
Graeme Geldenhuys escreveu: Query the date/time value of the '/bin' directory under Linux, or 'C:\Windows' or 'C:\WinNT' under Windows. Then work out how many seconds or milliseconds since say 1980-01-01. You then have a pretty unique value. The chances of somebody else running your software and

Re: [Lazarus] TurboPower OnGuard changes

2010-02-10 Thread Graeme Geldenhuys
On 10 February 2010 18:12, Luiz Americo Pereira Camara luiz...@oi.com.br wrote: In the other side, knowing that a cracker can change the time stamp of that folder to match other system Make no mistake, there is no single fix to ensure a product is 100% secure. This is especially true if the

Re: [Lazarus] TurboPower OnGuard changes

2010-02-10 Thread Graeme Geldenhuys
On 10 February 2010 17:12, Graeme Geldenhuys graemeg.li...@gmail.com wrote: How well did you test the reading of HDD serial number? I think I found another alternative to find the HDD serial number. Getting the boot define is fairly easy, so is the serial number for a ATA (IDE) hard disk. As I

Re: [Lazarus] TurboPower OnGuard changes

2010-02-10 Thread Juha Manninen
Option 1) UUID look-up can be done via /var/log/udev This same file also gives you ALL the information about each device, including the long and short serial number. No such file in OpenSuse 11.2. Option 2) Knowing the UUID or device (eg: /dev/sda1) one can simply do a lookup in the

Re: [Lazarus] TurboPower OnGuard changes

2010-02-10 Thread Matt Shaffer
Graeme: Query the date/time value of the '/bin' directory under Linux, or 'C:\Windows' or 'C:\WinNT' under Windows. Then work out how many seconds or milliseconds since say 1980-01-01. You then have a pretty unique value. The chances of somebody else running your software and having installed

Re: [Lazarus] TurboPower OnGuard changes

2010-02-10 Thread Graeme Geldenhuys
Matt Shaffer wrote: Is it really accurate to the millisecond? As far as Windows and MSDN documentation, the answer seems to be yes. The resolution of create time is 10 milliseconds. http://msdn.microsoft.com/en-us/library/ms724290(VS.85).aspx Anyway, also interested if OEMs like HP would

Re: [Lazarus] TurboPower OnGuard changes

2010-02-10 Thread Graeme Geldenhuys
Juha Manninen wrote: Option 1) UUID look-up can be done via /var/log/udev No such file in OpenSuse 11.2. I thought it would be to easy. :-) /dev/disk/by-id/ has some files : /dev/disk/by-id/ata-Maxtor_6B200P0_B419N81H Excellent, so your hard drive serial number is B419N81H. Two

Re: [Lazarus] TurboPower OnGuard changes

2010-02-10 Thread Raistware
El 11/02/2010 8:15, Graeme Geldenhuys escribió: UUID look-up can be done via /var/log/udev No such file on Debian testing. But /dev/disk/by-id/ has the files, has many files! ata-ASUS-PHISON_SSD_SOQ2882217 ata-ASUS-PHISON_SSD_SOQ2882217-part1 ata-ASUS-PHISON_SSD_SOQ2882259