extended/logical slices

2005-12-17 Thread Hanspeter Roth
Hello,

FreeBSD 6 seems to recognize logical slices in extended ones. The
appropriate entries /dev/ad0sN appear. At least this works with
logical slices that contain VFAT or ext2fs.
Just 'fdisk' doesn't list the logical slices. Is there a tool that
can list these?

-Hanspeter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


strange lease with isc-dhcp3-client

2005-11-19 Thread Hanspeter Roth
Hello,

since I upgraded to 6.0-Release the dhclient.conf doesn't work
anymore. So I installed the isc-dhcp3-client and set
/etc/rc.conf:dhclient_program to /usr/local/sbin/dhclient.

When the program executes at boot it gets an address 0.0.0.0. When
it is stopped and restarted it gets a normal address.
What's wrong? How can I get a normal address at boot time?

-Hanspeter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


hpijs drivers in cups

2005-11-07 Thread Hanspeter Roth
Hello,

I have Cups installed and the HPIJS driver package.
But when selecting the Model/Driver in Cups the drivers of HPIJS are
not available.
What else is required? How are they made available in Cups?

-Hanspeter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


entropy

2005-08-31 Thread Hanspeter Roth
Hello,

what is entropy for?
What are the consequences if one sets rc.conf/entropy_file and
rc.conf/entropy_dir to NO?

-Hanspeter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: growisofs: no mkisofs options are permitted with =, aborting

2005-08-03 Thread Hanspeter Roth
  On Aug 01 at 22:31, Hanspeter Roth spoke:

 
 Hello,
 
 I'm trying to burn an iso image onto a DVD+RW. 
 I'm trying: 
 
 growisofs -Z /dev/cd0=image.iso
 
 This yields:
 
 growisofs: no mkisofs options are permitted with =, aborting...

I must have been drunk!
I had also an additional option `-v' on the command-line.
Without this option it works.

Sorry for the noise!

-Hanspeter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: growisofs: no mkisofs options are permitted with =, aborting

2005-08-02 Thread Hanspeter Roth
  On Aug 01 at 22:08, Carl Delsey spoke:

 Finally, if none of those things work, you might try:
 growisofs -Z /dev/cd0=/dev/fd/0  image.iso

Ok, I tried this too, but the result is the same.
And I also tried with -dvd-compat.
I also tried on NetBSD and OpenBSD. I got the same message:

growisofs: no mkisofs options are permitted with =, aborting...

When I tried on Linux it worked.
Also on FreeBSD it works with `burncd' (with it's own syntax).

-Hanspeter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


growisofs: no mkisofs options are permitted with =, aborting

2005-08-01 Thread Hanspeter Roth

Hello,

I'm trying to burn an iso image onto a DVD+RW. 
I'm trying: 

growisofs -Z /dev/cd0=image.iso

This yields:

growisofs: no mkisofs options are permitted with =, aborting...

`dmesg | grep cd0` is:

acd0: CDRW HL-DT-ST DVD+RW GCA-4040N/1.15 at ata1-master PIO4
cd0 at ata1 bus 0 target 0 lun 0
cd0: HL-DT-ST DVD+RW GCA-4040N 1.15 Removable CD-ROM SCSI-0 device 
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray 
closed

FreeBSD is 6.0-BETA1. Growisofs is version 5.21 and mkisofs is 2.01
(cdrtools is 2.01).

How can one burn an iso image onto a DVD+RW by growisofs?

-Hanspeter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Editing the boot menu

2005-06-09 Thread Hanspeter Roth
  On Jun 08 at 17:42, Jos de Paula Rodrigues spoke:

 Did you try using Grub instead? It now supports UFS2, and is a great
 bootloader, with lots of features. You can find it in your ports tree.

Grub is heavy. The FreeBsd boot selector is much more efficient. It
is more suited for an old laptop.

The FreeBsd boot selector allows a one keystroke selection.
Grub forces you to press arrow keys until the curser is over the
desired option.

I put the FreeBsd boot selector into the MBR and for Linux Grub or
Lilo into a primary or extended slice (partition).

-Hanspeter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Editing the boot menu

2005-06-08 Thread Hanspeter Roth
  On Jun 08 at 14:17, Paul Schmehl spoke:

 When you use FreeBSD's boot manager, you get a menu like this at bootup:
 
 F1 DOS
 F2 FreeBSD
 F3 Linux
 F4 ??
 F5 Drive 1
 
 Default: F2
 
 Is there a way to edit the list?  Or is that fixed when boot manager is 
 installed and not configurable?
 
 By edit, I mean, for example, change F4 ?? to F4 MyOS.

This boot selector has no configuration file. It resides within the
512 Byte MBR.
You may change Lables by editing
/usr/src/sys/boot/i386/boot0/boot0.S.
It's probably easier if you don't touch the length of the label.
After making boot0 copy it to /boot and run boot0cfg.

-Hanspeter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: beeps at shutdown

2005-02-23 Thread Hanspeter Roth
  On Feb 23 at 04:56, scott spoke:

 man kbdcontrol
 
 you can also add 
 
 keybell=off 
 
 to your /etc/rc.conf file

Ok, thanks!

I'll try kbdcontrol since a setting in /etc/rc.conf will affect the
whole uptime.

-Hanspeter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


beeps at shutdown

2005-02-21 Thread Hanspeter Roth
Hello,

at shutdown there occur two beeps.
How can I turn them off or change their volume?

-Hanspeter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bittorrent secure?

2005-01-27 Thread Hanspeter Roth
  On Jan 25 at 16:58, Chuck Swiger spoke:

 Hanspeter Roth wrote:
   On Jan 25 at 14:48, Chuck Swiger spoke:
 You need to have an external source of information which specifies a 
 checksum or MD5 hash to confirm that the file has not been tampered with. 
 
 That to say I should download CHECKSUM.MD5 from one of the public
 FTP-servers by hand and do the MD5 checks myself, right?
 
 Yes indeed, or use the files in a context like the ports tree, which does 
 this sort of checking for you.

Ok, I forgot to mention that I thought of the ISO images of
4.11-RELEASE (or ISO images of future releases).
This has probably noting to do with the ports tree.
So the CHECKSUM.MD5 file from an FTP-server is still required.

-Hanspeter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Bittorrent secure?

2005-01-26 Thread Hanspeter Roth
Hello,

how secure is Bittorrent? How can one know how trustworthy the stuff
downloaded from other Bittorrent fellows is?

-Hanspeter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bittorrent secure?

2005-01-25 Thread Hanspeter Roth
  On Jan 25 at 14:48, Chuck Swiger spoke:

 Hanspeter Roth wrote:
 how secure is Bittorrent?
 
 It's not secure.
 
 How can one know how trustworthy the stuff
 downloaded from other Bittorrent fellows is?
 
 You need to have an external source of information which specifies a 
 checksum or MD5 hash to confirm that the file has not been tampered with.  

That to say I should download CHECKSUM.MD5 from one of the public
FTP-servers by hand and do the MD5 checks myself, right?

 If you trust the Torrent tracker file, then BitTorrent has this part 
 built-in.  Otherwise, you would use something like the distinfo files in 
 /usr/ports to help confirm the validity of files.

BitTorrent doesn't get some public checksums from some public
servers transparently, does it?

 On the other hand, Torrent doesn't do any worse than FTP or HTTP.

The FTP-servers should be more or less official and should contain
more or less uncompromised data.
Hosts that offer BitTorrent probably are less official.

-Hanspeter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Tracing Disk Activity

2004-11-21 Thread Hanspeter Roth
Hello,

I have set an idle timeout for the hard-disk. But when there is no
user activity there are frequent disk accesses.
How can one trace disk access?
I'd like to know the kind of access and on which files/directories/
nodes. I'd like to log on the console or on a memory disk file.

-Hanspeter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Tracing Disk Activity

2004-11-21 Thread Hanspeter Roth
  On Nov 21 at 14:00, David Jenkins spoke:

 On Sun, 21 Nov 2004 10:33:47 +0100, Hanspeter Roth [EMAIL PROTECTED] wrote:
  Hello,
  
  I have set an idle timeout for the hard-disk. But when there is no
  user activity there are frequent disk accesses.
  How can one trace disk access?
  I'd like to know the kind of access and on which files/directories/
  nodes. I'd like to log on the console or on a memory disk file.
 
 There may be a much better way of doing this but have a look at fstat(1).

Fstat(1) seems to take snapshots only and doesn't show # of bytes
transfered. Using fstat by polling frequently misses programs run
between poll.

I'd like a tool that displays in real-time (similar to tcpdump).

-Hanspeter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Tracing Disk Activity

2004-11-21 Thread Hanspeter Roth
  On Nov 21 at 10:50, Chuck Swiger spoke:

 Hanspeter Roth wrote:
 I have set an idle timeout for the hard-disk. But when there is no
 user activity there are frequent disk accesses.
 
 Yes, this is Unix.  Even when there is no user activity, a Unix system 
 normally is still running a number of daemons such as syslogd which 
 regularly write to the filesystem.  Beyond that, the syncer mechanism tries 
 to reduce the number of dirty memory buffers every thirty seconds or so.

I guess that some daemons are causing disk access. But it must be
not only syslogd.
Is the syncer causing the disk to spin up even if there is nothing
to flush?

[...]
 Instead you probably will need to mount filesystems read-only and create 
 RAM disks in a fashion similar to booting off limited-write media like 

My idea is to transfer those files that are written also when the
user is idle to a RAM disk (some from /var/log and dhclient.leases).
But I don't want to mount the filesystems read-only.

 Compact Flash.  Either that, or simply shutdown the system or run zzz to 
 suspend the system via APM/APCI.

This is less convenient and probably doesn't work on my laptop. (I
have to check whether the upgrade to 5.3R has changed something in
this respect.)

-Hanspeter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: throttling cpu speed to run cooler

2004-11-01 Thread Hanspeter Roth
  On Oct 31 at 21:42, jason spoke:

 This is what you could do to check your info.
 
 $ sysctl -a |grep thermal
 hw.acpi.thermal.min_runtime: 0
 hw.acpi.thermal.polling_rate: 10
 hw.acpi.thermal.tz0.temperature: 2950
[...]
 hw.acpi.thermal.tz0._ACx: 3732 -1 -1 -1 -1 -1 -1 -1 -1 -1
 $

I have some acpi stuff but no thermal:

hw.acpi.supported_sleep_state: S3 S4 S5
hw.acpi.power_button_state: S5
[...]
 
 If there is no thermal you may not have support for it.  I read on the 
 list where centrino now has full powernow(or something) support on BSD.  
 Also search the acpi list for your board and/or bios.  There are some 
 black listed products because acpi is broke on them.  I seem to remember 

Which balcklist do you mean? This one?
http://acpi.sourceforge.net/documentation/blacklist.html

One is an HP pavilion zt3030AE and the other one is a Gigabyte
7VT600P-RZ which don't seem to be listed here.

 some asus products mentioned.  Read the handbook about fixing or forcing 
 acpi to load too if it is note black listed. 
 
 Acpi is on in the bios and being loaded as a module right?

`kldstat` shows 'acpi.ko' and `sysctl hw.acpi` shows some stuff. So
the acpi module should be loaded.

-Hanspeter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


disk2.iso: rescue disk

2004-08-23 Thread Hanspeter Roth
Hello,

is the disk2.iso mainly a rescue disk?
Or does it contain further stuff for installation?

-Hanspeter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


kernel module configuration

2004-08-15 Thread Hanspeter Roth
Hello,

in the kernel configuration one can enable various devices by the
respective 'device' statement. It seems that most drivers go into
the kernel directly. Some drivers such as 'acpi' produce a kernel
module.
How is determined which modules become built in and which become
modules?
Can I have 'ohci' as a kernel module?

-Hanspeter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5, chroot and /dev

2004-08-12 Thread Hanspeter Roth
  On Aug 11 at 17:33, Henrik W Lund spoke:

 I may be wrong here, but I think that in the 5.x system, /dev is 
 populated at boottime, courtesy of the GEOM layer and the devfs 
 filesystem. These two operate together, GEOM detecting hardware and 
 giving it proper device nodes in the special devfs filesystem (which is 
 mounted under /dev, if you check your fstab).

Greetings!

ok, I have shown the short paths as of the mounted harddisk. They
should all be prefixed with /mnt/ufs.1/. So when a filesystem
usually containing /dev is mounted the /dev directory becomes
/mnt/ufs.1/dev. So this directory had no entries. A had then tried
to create a few entries by hand which are then visible after `chroot
/mnt/ufs.1'.

 So, messing with device nodes in a chrooted 5.x system is not possible 
 (someone correct me here, if I'm wrong). What happens when you try to 
 boot it normally?

Well, I had specified the wrong cpu type in the kernel konfig. I
encountered some page fault and dropped to the debugger.
I'm now about to 'upgrade' to 5.2.1-release and shall retry with the
proper cpu type.

-Hanspeter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5, chroot and /dev

2004-08-11 Thread Hanspeter Roth
Hello,

I have built a new kernel on a FreeBSD 5.2 system which doesn't boot
anymore. So I took a Freesbee and mounted the filesystems from the
harddisk and changed root to the harddisk's one. But there were no
devices in /dev. I tried some of /etc/rc.d/dev*. This only created a
/dev/null.
Trying to build the kernel (with a different configuration) fails.
A regular file /dev/stdout has been created.

What is the recommended way to create the device nodes in /dev in a
chroot environment?

-Hanspeter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5, chroot and /dev

2004-08-11 Thread Hanspeter Roth
  On Aug 11 at 11:25, Bill Moran spoke:

 Hanspeter Roth [EMAIL PROTECTED] wrote:
 
  What is the recommended way to create the device nodes in /dev in a
  chroot environment?
 
 This isn't a direct answer to your question, but it should help you
 work around your problem.
 
 After booting the CD, look in the /boot directory on the HDD.  If you
 move the contents of /boot/kernel.old to /boot/kernel, you'll have
 restored your previous kernel, and can then reboot off the HDD to
 attempt to build a working kernel again.

Ok. Thanks.
I have now created /mnt/ufs.1/dev/fd/[012] by mknod and the links
/mnt/ufs.1/dev/std{err,in,out}.
Another build is now in progress which has come further than the
first one.
If this fails too I'll move /boot/kernel.old to /boot/kernel.

Thanks.

-Hanspeter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.2-current: device pcm

2004-08-07 Thread Hanspeter Roth
Hello,

I have upgraded from 5.2.1-release to 5.2-current.
On 5.2.1-release there was a device pcm for the sound module. This
doesn't seem to be accepted anymore in 5.2-current.
Is there an equivalent device?

-Hanspeter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.2-current: device pcm

2004-08-07 Thread Hanspeter Roth
  On Aug 07 at 17:41, Radek Kozlowski spoke:

 Read /usr/src/UPDATING:
 
 20040716:
 The sound device drivers are renamed.  `sound' is always required,
 while `snd_*' should be configured accordingly to your hardware.
 Refer to NOTES for the detail of the drivers.

I have now added `device sound' to the kernel configuration. But
this doesn't make the sound module available. Also there isn't a
/dev/mixer*.

What does snd_* mean?
I tried to add `device snd_pcm'. But this isn't accepted by config.
Dmesg shows:

pci0: multimedia, audio at device 31.5 (no driver attached)

What else is required?

-Hanspeter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.2-current: device pcm

2004-08-07 Thread Hanspeter Roth
  On Aug 07 at 18:34, Radek Kozlowski spoke:

 You didn't refer to the NOTES file (/usr/src/sys/conf/NOTES that is)
 like you were supposed to, did you? There's a section called Sound
 drivers that should explain everything.

Yes, I checked only the NOTES in /usr/src/sys/i386/conf.

Now it works with 'sound' and 'snd_ich' devices. Thanks!

-Hanspeter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mounting NetBSD FFS

2004-03-17 Thread Hanspeter Roth
Hello,

ist it possible to mount a NetBSD FFS under FreeBSD 4.9 where the slice
has sysid 169 (0xA9)?
Maybe something like 
mount -t ufs /dev/ad1s2a /mnt
?

-Hanspeter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


dropping dhclient lease

2004-02-19 Thread Hanspeter Roth
Hello,

is there a means to stop dhclient and drop the lease at the DHCP
server at the same time?

-Hanspeter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Changing Boot Location

2004-02-13 Thread Hanspeter Roth
  On Feb 12 at 09:42, Adam Seniuk spoke:

 I have some Desktop archtechture pc's that is running my servers. 
  
 I went out and got dell 1650's and the dell servers run there IDE chain on
 the secondary channel. 
 So my installs which are based on the primary IDE channel do not boot up in
 the dell. 
  
 How do I change the boot from ad0 to ad2?

Hello Adam Seniuk,

first you need to adjust the entries in /etc/fstab. Boot a rescue CD
(FreeBSD CD #2) and mount /dev/ad2s1a (or ad2s{2,3,4}a) on /mnt and
edit /mnt/etc/fstab.

If there are no disks ad0 and ad1 you must tell the BIOS to boot
drive E.

If there are disks ad0 and ad1 you might install the boot manager on
ad0 and ad1 with boot0cfg. This allows you to jump via ad0 and ad1
to ad2 during boot. But depending what the MBRs of ad0 and ad1
already contain (other boot managers?) this may not be what you
want.

 Adam Seniuk
 [EMAIL PROTECTED]
 -
 System Administrator |
 Server Administrator ||
 Database Administrator ||
 Website Administrator ||
 
 Techweavers Inc.
  http://www.techweavers.net/ www.techweavers.net
 Your Website Solution

You are a website administrator?
Maybe you have write access on a web server?
Why not put these 9 lines on a web page and put the single URL here
instead?

-Hanspeter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: beastie in 5.2 boot menu

2004-01-24 Thread Hanspeter Roth
  On Jan 23 at 19:06, John Mills spoke:

 Hanspeter -
 
 On Sat, 24 Jan 2004, Hanspeter Roth wrote:
 
  how can I turn off (delete) the beastie in the boot menu in 5.2?
 
 The ASCII image is part of a text file. I think it is found in /boot and 
 named similar to beastie2nd.[something]. Go with your favorite ASCII 
 editor and make it what you want. Run 'find /boot -name beast\* -print' 
 and you should find it.

Yes, it is /boot/beastie.4th. Thanks.

-Hanspeter
--- boot/beastie.4th.orig   Sun Jan 11 03:48:00 2004
+++ boot/beastie.4thThu Jan 22 22:55:01 2004
@@ -94,6 +94,7 @@
 ;
 
 : print-beastie ( x y -- )
+   exit
s loader_color getenv
dup -1 = if
drop
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


beastie in 5.2 boot menu

2004-01-23 Thread Hanspeter Roth
Hello,

how can I turn off (delete) the beastie in the boot menu in 5.2?

-Hanspeter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: configure/autoconf is missing getloadavg on 5.2

2004-01-17 Thread Hanspeter Roth
  On Jan 17 at 00:29, Melvyn Sopacua spoke:

 On Friday 16 January 2004 19:51, Hanspeter Roth wrote:
 
  in icewm-1.2.14pre8 configure on FreeBSD 5.2 claims that
  getloadavg() be not available:
 
 
  configure:6804: checking for getloadavg
  configure:6847: gcc -o conftest -fpermissive -Wall -Wpointer-arith
  -Wconversion -Wwrite-strings -Winline -Woverloaded-virtual -W
  -fno-exceptions -fno-rtti -I/usr/local/include -I/usr/local/include
  -L/usr/local/lib conftest.cc  5 configure:6819: error: declaration of C
  function `char getloadavg()' conflicts with
  /usr/include/stdlib.h:258: error: previous declaration `int
  getloadavg(double*, int)' here
  [...]
 
  However when trying a tiny configure.in getloadavg() is found:
 
  AC_INIT(configure.in)
  AC_PREREQ([2.50])
 
 Insert here:
 
 AC_LANG(C++)
 
  AC_CHECK_FUNCS(failed getloadavg sysctlbyname)
  AC_OUTPUT(Makefile)
 
 Then try again.
 I think this is the gcc 3.x compiler getting stricter about types (char and 
 int conflict, but gcc 2.9x which is in -STABLE doesn't care).

Yes AC_LANG(C++) makes the difference. After inserting this
getloadavg() is no more found. The same result is achieved with
AC_LANG_CPLUSPLUS.
So is getloadavg() useless in a gcc 3.x environment?
Or else how does one check for/use getloadavg() with gcc 3.x?

-Hanspeter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


configure/autoconf is missing getloadavg on 5.2

2004-01-16 Thread Hanspeter Roth
Hello,

in icewm-1.2.14pre8 configure on FreeBSD 5.2 claims that
getloadavg() be not available:


configure:6804: checking for getloadavg
configure:6847: gcc -o conftest -fpermissive -Wall -Wpointer-arith -Wconversion 
-Wwrite-strings -Winline -Woverloaded-virtual -W -fno-exceptions -fno-rtti 
-I/usr/local/include -I/usr/local/include -L/usr/local/lib conftest.cc  5
configure:6819: error: declaration of C function `char getloadavg()' conflicts 
   with
/usr/include/stdlib.h:258: error: previous declaration `int getloadavg(double*, 
   int)' here
[...]

However when trying a tiny configure.in getloadavg() is found:

AC_INIT(configure.in)
AC_PREREQ([2.50])
AC_CHECK_FUNCS(failed getloadavg sysctlbyname)
AC_OUTPUT(Makefile)


On FreeBSD 4.9 getloadavg() is found.
Why doesn't icewm's configure find getloadavg() on 5.2?

Icewm-1.2.14pre8 may be found at:
http://prdownloads.sourceforge.net/icewm/icewm-1.2.14pre8.tar.gz?download


-Hanspeter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I can not boot my FreeBSD-5.2 partition, please help

2004-01-16 Thread Hanspeter Roth
  On Jan 16 at 12:30, Juan Rodriguez Hervella spoke:

 Hello,
 
 I've got a 40 GBytes hard disk on an old Pentium MMX 266 MHz.
 The first time I plugged it into the motherboard my BIOS didn't recognize
 the drive, but fortunately there is a jumper that reduces the size of the
 disk to 32 GBytes, and that's enough for my BIOS at this moment.
 
 So I've got something like this:
 
 10 GBytes for Windows 2000
 10 GBytes for Linux
 10 GBytes for FreeBSD-5.2
 
 The big problem is that the FreeBSD boot manager that I've
 got installed on my MBR is only able to boot the Windows partition.

Hello Juan,

I assume that you have installed all OSes on primary partitions, if
not you should mention it.
FreeBSD's bootmanager has an option `packet' which is required to
boot from cylinder  1023. Unfortunately it is set off by default.

There are two (or more) possibilities to recover. 

1. install the FreeBSD bootmanager into MBR and Lilo/Grub into the
   Linux partition (/dev/hda2). In order to install the FreeBSD
   bootmanager with the packet option you should boot the FreeBSD
   recovery disk. This is the second disk. And then choose Fixit
   from the install menu. After you have the root prompt issue the
   following command:

   boot0cfg -vB -o packet /dev/ad0

   (This assumes you have a IDE disk.)

2. launch the Linux recovery CD/floppy and setup Lilo or Grub
   accordingly.
   You would need to install it in the MBR (/dev/hda) and create
   entries for Windows and FreeBSD as well.

-Hanspeter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: share internet with win xp

2004-01-16 Thread Hanspeter Roth
  On Jan 16 at 15:38, Carvalho Paulo spoke:

 I do not want to change the connetion to the
 internet to the freebsd box. I like to leave it in the
 winxp box.

This would require winxp to route. Is winxp able to route? FreeBSD
is.
I have a FreeBSD box with one network card that's connected to the
internet. I have also an alias on the NIC with a private address
that allows me to route other hosts.

-Hanspeter

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: identity using send-pr with dynamic address

2003-12-18 Thread Hanspeter Roth
  On Dec 17 at 02:57, Simon Barner spoke:

 although you seem to already have set up your email mail, the following
 article of mine might help you anyway:
 
 http://home.leo.org/~barner/freebsd/articles/mailsetup/article.html

Hi Simon,

yes, it's a very interesting article!
Especially 2.3 Address Rewriting which mentions the genericstable
feature helped me. Obviously it's the genericstable which is
effective for outbound aliases.

 (Yes, I really should do the final tweaks RSN and submit it to the
 documentation project)

So what is RSN?
Or you might submit it as version 0.9?

-Hanspeter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: identity using send-pr with dynamic address

2003-12-18 Thread Hanspeter Roth
  On Dec 16 at 19:01, Lowell Gilbert spoke:

 You should be able to send PRs with *any* DNS name that maps to your
 address.  If you want a permanent one, there are some free dynamic
 DNS services out there.  If you just want to set the hostname
 automatically, note that dhclient will do it automatically if the DHCP
 server sends the hostname to it (and if not, you can probably script
 something up fairly easily).

Yes, but the hostnames that result from the dynamic address are
often quite long and ugly. That's why I don't allow dhclient to set
the hostname automatically.

My host doesn't offer any service to the internet. Thus I'm not
interested to have an accessible dynamic hostname which is
resolvable in the internet.

But as shown in Simon Barner's article 
http://home.leo.org/~barner/freebsd/articles/mailsetup/article.html
the _genericstable_ feature can be used for outbound aliases.
That's what I'm using now.

-Hanspeter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


identity using send-pr with dynamic address

2003-12-15 Thread Hanspeter Roth
Hello,

I have a system which has a dialup internet connection. That is it
has a different IP address and a different real hostname each time a
connection is established. Since it doesn't need any access from the
internet it only has a local hostname which has no meaning in the
internet.
Using mutt/sendmail I can send mail outbound using an address which
is located on a public server.
Using send-pr I can set a From: field. But sendmail can't forward
the message to an external smarthost since the local
username/hostname seems to be used (in the envelope?).
I only succeeded to send a problem report after setting the hostname
to the current public internet hostname (according the dialup IP
address).
Is there a better way to send prs from system with dynamic IP
address?

-Hanspeter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


i18n with foreign package

2003-05-29 Thread Hanspeter Roth
Hello,

I'm trying to install a foreign package with i18n with a specific
prefix. The package is icewm-1.2.8pre2 and the prefix is
/usr/opt/icewm-1.2.8pre2.
So the locale directory becomes
/usr/opt/icewm-1.2.8pre2/share/locale . Here are several language
directories. Their names are be.po, ca.po, cs.po and so forth.
Below there is de.po/LC_MESSAGES/icewm.mo for example.
But starting this icewm with LANG=de_DE has no effect. LANG=C is
used.
How can I run this icewm with the German local without copying
the icewm.mo into the public place /usr/share/locale/... ?

-Hanspeter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't start X

2003-05-29 Thread Hanspeter Roth
  On May 28 at 18:26, Socketd spoke:

 Hi all
 
 Just got a new laptop and install FreeBSD 4.8-release (mini) on it. Next
 I installed gnome2 and then Xfree86-server. I configured x with
 xf86config and tried running x with startx, but got this error:
 
 could not open default font 'fixed'
 

Hello,

prabably you need XFree86-fontDefaultBitmaps-4.3.0 as well.

-Hanspeter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fc-cache got killed with 100dpi

2003-04-01 Thread Hanspeter Roth
  On Mar 31 at 16:48, Joe Marcus Clarke spoke:

 Yeah, it is.  Can you try removing the 100dpi directory, then uninstall
 XFree86-font100dpi-4.3.0, then reinstall XFree86-font100dpi-4.3.0.  You
 shouldn't see this problem anymore.  If you do, please let me know.

It behaves still the same after uninstalling and reinstalling.

-Hanspeter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


fc-cache got killed with 100dpi

2003-03-31 Thread Hanspeter Roth
Hello,

while upgrading fontconfig fc-cache tried to run. While 100dpi was
present fc-cache got killed after running a while.
After I hid 100dpi fc-cache completed without problem. But it's just
a strange behavior.

-Hanspeter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


determining active console

2003-02-27 Thread Hanspeter Roth
Hello,

how can I determine the active console?

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: determining active console

2003-02-27 Thread Hanspeter Roth
  On Feb 27 at 15:48, Giorgos Keramidas spoke:

 On 2003-02-27 12:39, Hanspeter Roth [EMAIL PROTECTED] wrote:
  Hello,
  how can I determine the active console?
 
 Use the tty(1) command:

But this seems to yield the tty from which the command was launched.
So if I do

sleep 9; tty

and then switch to an another console, that `tty` yields the tty
that was active when the command line was started.
But I'd like to know the console that has got the keyboard focus by
switching with ctrl-alt-fN.

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


blank_sever doesn't reset from stanby

2003-02-26 Thread Hanspeter Roth
Hello,

for the text consoles I have setup blank_saver but for X DPMS.
The X DPMS values are as follows:

DPMS (Energy Star):
  Standby: Suspend: 0Off: 0
  DPMS is Enabled

Sometimes when I return to the station after X has switched to
standby mode I can wake X and start a new session.
But when I switch to a text console it is like in standby mode and
can't be woken up again even though I have only blank_saver running.
Thereafter I can't switch back to the X session on console 9.

On the console 9 there is gdm running. Sometimes I have a secondary
X session on console 10 launched by startx.
The X sessions will be terminated by xautolock.
The console sessions have autologout activated.

Has anybody an idea why the text consoles can lock in standby mode?

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: login.conf tc=default

2003-01-20 Thread Hanspeter Roth
  On Jan 20 at 07:24, Aaron Burke spoke:

 Perhaps there is, I am guessing that you want a custom message for
 a specific user. I had to do this for a user named dustman on my

Yes, exactly.

 machine. It was as simple as adding the name dustman (also in
 login.conf) to the password database file.
 
 I have pasted in two entries from vipw, notice the word dustman
 in both of them. One is for user test2, the other for user dustman.
 
 dustman:*:1011:1011:dustman:0:0:Dustin D Brand:/home/dustman:/usr/local/bin/bash
  ___

Aha. I didn't realize that a `login class' is required. 
I'm now using the login class in login.conf rather than the login name.
And this works!

Thank you!

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: login.conf tc=default

2003-01-18 Thread Hanspeter Roth
  On Jan 17 at 16:57, Joe Marcus Clarke spoke:

 On Fri, 2003-01-17 at 16:43, Hanspeter Roth wrote:
  Hello,
  
  I'm trying to setup an alternate welcome file for a specific user.
  I have the following entry in login.conf:
  
  user:\
  :welcome=/etc/resolv.conf:\
  :tc=default:
  
  But the user is presented the default /etc/motd at login.
  How will he see /etc/resolv.conf?
 
 After you modified this, did you run cap_mkdb?

Well, I failed to notice that this is necessary.
But also now as I've done it I still get the default /etc/motd.
Is there something more to consider?

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Sound Issue

2003-01-18 Thread Hanspeter Roth
  On Jan 18 at 10:56, Quinn Ellis spoke:

 /usr/libexec/ld-elf.so.1: Shared object libusb.so.0 not found

Is `file /usr/lib/libusb.so.0` reasonable?
Else you might need to reinstall it.

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: About Dual Homed Hosts

2003-01-18 Thread Hanspeter Roth
  On Jan 18 at 22:14, Steven Lam spoke:

 Dear Sir, 
 
 I will setup Dual Homed Hosts, how about forward packets between the two 
 interface?  Please give me more Information.

`sysctl net.inet.ip.forwarding` should be 1.
You might also have a look at 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/routing.html

Best regards

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Sound Issue

2003-01-18 Thread Hanspeter Roth
  On Jan 19 at 00:46, Quinn Ellis spoke:

 On Sun, 19 Jan 2003 00:17, Hanspeter Roth wrote:
 
  Is `file /usr/lib/libusb.so.0` reasonable?
  Else you might need to reinstall it.
 
 Oh, yes it does appear to be a problem, in that it's not there.
 Is it a port? How does one install it.

I think ports shouln't install their libraries in /usr/lib they
should use /usr/local/*.
It depends whether your base system has been upgraded since you have
installed it.
If you have already upgraded by source you might do
cd /usr/src  make installworld

If you haven't and you had installed from CD you might try:
cd /  cat /cdrom/bin/bin.* | tar xzvf - usr/lib/libusb.so.0


-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: opie stable in 4.7?

2003-01-17 Thread Hanspeter Roth
  On Jan 16 at 17:44, Kris Kennaway spoke:

 On Thu, Jan 16, 2003 at 11:11:35PM +0100, Hanspeter Roth wrote:
  is OPIE stable in Freebsd 4.7?
 
 OPIE support works well.  S/Key is considered deprecated and has been
 removed from 5.0.

The others are given permission to read /etc/opiekeys. I don't feel
comfortable with this. 

I have only `permit 127.0.0.1 255.255.255.255' in opieaccess. But
with ssh from another address I can also login via the Unix
password.
Should I enable `sshd   authrequiredpam_opieaccess.so'
in pam.conf?

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



login.conf tc=default

2003-01-17 Thread Hanspeter Roth
Hello,

I'm trying to setup an alternate welcome file for a specific user.
I have the following entry in login.conf:

user:\
:welcome=/etc/resolv.conf:\
:tc=default:

But the user is presented the default /etc/motd at login.
How will he see /etc/resolv.conf?

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



opie stable in 4.7?

2003-01-16 Thread Hanspeter Roth
Hello,

is OPIE stable in Freebsd 4.7?
Or should one better go for S/Key?

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Zope does not start on boot-up

2003-01-13 Thread Hanspeter Roth
  On Jan 13 at 05:31, P. U. Kruppa spoke:

   File /usr/local/www/Zope/z2.py, line 690, in ?
 IOError: [Errno 13] Permission denied: '/usr/local/www/Zope/var/Z2.pid'


Hi Uli,

maybe zope switches to a specific user which has no write permission
on /usr/local/www/Zope/var ?
Maybe `-u www' tells zope to switch to www?
You might try to change the owner of /usr/local/www/Zope/var to www.

When you start it manually (/usr/local/www/Zope/start) do you use
root or some dedicated user?

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: linked twice against libintl.so

2003-01-13 Thread Hanspeter Roth
  On Jan 13 at 11:41, Dan Nelson spoke:

 In the last episode (Jan 13), Hanspeter Roth said:
  Is gettext's application programming interface changing so often?
  (Without staying compatible.)
 
 Apparently so.  If the API doesn't change there's no reason to bump the
 version number.  Actually I should say ABI (API is the C-level
 interface, ABI is the object-level interface).  If some internal

What does ABI mean?

 gettext structure changes, the ABI may change without the API changing.

Is this new stuff in gettext really so useful?
Wouldn't it be enough to insert a new version of gettext into the
ports once a year?

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



linked twice against libintl.so

2003-01-12 Thread Hanspeter Roth
Hello,

I'm trying to build the ElectricEyes port. The executable is linked
against two versions of libintl.so:

libintl.so.4 = /usr/local/lib/libintl.so.4 (0x284c2000)
libintl.so.2 = not found (0x0)

Gettext is 0.11.5_1.
Is there a solution except of creating a link?

I found also two versions of libintl.so in /usr/local/lib/compat/pkg:

lrwxr-xr-x  1 root  wheel   10 Dec 16 00:16 libintl.so.1 - libintl.so
lrwxr-xr-x  1 root  wheel   10 Jan  8 01:03 libintl.so.2 - libintl.so

Do they matter? How have they come here?


-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Zope does not start on boot-up

2003-01-12 Thread Hanspeter Roth
  On Jan 11 at 21:15, P. U. Kruppa spoke:

 The rc.d-script that came with the port does not do anything -
 neither manually - nor on boot-up (besides echoing  Zope).
[...]
/usr/local/www/Zope/var/zope-output 21 

Does /usr/local/www/Zope/var/zope-output tell you something?

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: linked twice against libintl.so

2003-01-12 Thread Hanspeter Roth
  On Jan 12 at 16:23, Mike Meyer spoke:

 Yes. Find port that's using the old version of libintl, and upgrade
 it. Unfortunately, there's not an easy way to find the port. See the

I found 109 executables in /usr/X11R6/bin using libintl.so.2. So I'm
afraid upgrading all the respective ports will take hours. So I'll
defer it for some other time. :-)

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Gtk+ not installed

2003-01-10 Thread Hanspeter Roth
Hello,

I'm trying to install the xmms port. I get:

checking for GTK - version = 1.2.2... no
*** Could not run GTK test program, checking why...
[...]
***rpm --erase --nodeps gtk gtk-devel
configure: error: *** GTK+ = 1.2.2 not installed - please install first ***
===  Script configure failed unexpectedly.

My gtk port is Version 1.2.10_7.
So is 10  2?
Are GTK+ and the gtk port something different?

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Split DNS, LAN, DMZ

2003-01-10 Thread Hanspeter Roth
  On Jan 10 at 11:18, [EMAIL PROTECTED] spoke:

 Hello all
 
 I am setting up a network at home, and I'd like the following configuration:
 
 outside--DHCP--firewall (trihomed)--(10 net)--LAN
|___DMZ (private IP?)
 
 Is this feasible?  I saw some references that said the DMZ has to be a public IP, 
and others that [I think] said it was possible to use a private IP for  the DMZ.  
Could someone clear this up for me?

The DMZ may be in a private address space.
But if clients from outside should be able to connect to some hosts
in the DMZ they must be made available by a public address of yours
on the outside interface of the firewall. You can accomplish this by
NAT.

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Gtk+ not installed

2003-01-10 Thread Hanspeter Roth
  On Jan 10 at 14:29, Joe Marcus Clarke spoke:

 Looks like it might be a problem with your GTK install.  Either that or
 a hidden problem.  Can you send the config.log from xmms?

Maybe there's a problem with concerning libintl.so.2?

-Hanspeter

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:796: checking host system type
configure:834: checking for a BSD compatible install
configure:887: checking whether build environment is sane
configure:944: checking whether gmake sets ${MAKE}
configure:990: checking for working aclocal
configure:1003: checking for working autoconf
configure:1016: checking for working automake
configure:1029: checking for working autoheader
configure:1042: checking for working makeinfo
configure:1166: checking for gcc
configure:1279: checking whether the C compiler (cc -O -pipe -march=pentium ) works
configure:1295: cc -o conftest -O -pipe -march=pentium -I/usr/local/include  
conftest.c -L/usr/local/lib 15
configure:1321: checking whether the C compiler (cc -O -pipe -march=pentium ) is a 
cross-compiler
configure:1326: checking whether we are using GNU C
configure:1335: cc -E conftest.c
configure:1354: checking whether cc accepts -g
configure:1386: checking for POSIXized ISC
configure:1407: checking whether byte ordering is bigendian
configure:1425: cc -c -O -pipe -march=pentium -I/usr/local/include conftest.c 15
configure:1440: cc -c -O -pipe -march=pentium -I/usr/local/include conftest.c 15
configure: In function `main':
configure:1435: syntax error before `big'
configure: failed program was:
#line 1429 configure
#include confdefs.h
#include sys/types.h
#include sys/param.h
int main() {

#if BYTE_ORDER != BIG_ENDIAN
 not big endian
#endif
; return 0; }
configure:1497: checking for inline
configure:1511: cc -c -O -pipe -march=pentium -I/usr/local/include conftest.c 15
configure:1537: checking for working const
configure:1591: cc -c -O -pipe -march=pentium -I/usr/local/include conftest.c 15
configure:1624: checking for a BSD compatible install
configure:1677: checking whether ln -s works
configure:1698: checking whether gmake sets ${MAKE}
configure:1760: checking for Cygwin environment
configure:1776: cc -c -O -pipe -march=pentium -I/usr/local/include conftest.c 15
configure: In function `main':
configure:1772: `__CYGWIN32__' undeclared (first use in this function)
configure:1772: (Each undeclared identifier is reported only once
configure:1772: for each function it appears in.)
configure: failed program was:
#line 1765 configure
#include confdefs.h

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:1793: checking for mingw32 environment
configure:1805: cc -c -O -pipe -march=pentium -I/usr/local/include conftest.c 15
configure: In function `main':
configure:1801: `__MINGW32__' undeclared (first use in this function)
configure:1801: (Each undeclared identifier is reported only once
configure:1801: for each function it appears in.)
configure: failed program was:
#line 1798 configure
#include confdefs.h

int main() {
return __MINGW32__;
; return 0; }
configure:1822: checking how to run the C preprocessor
configure:1843: cc -E -I/usr/local/include conftest.c /dev/null 2conftest.out
configure:1948: checking build system type
configure:1977: checking for ld used by GCC
configure:2045: checking if the linker (/usr/libexec/elf/ld) is GNU ld
GNU ld version 2.12.1 [FreeBSD] 2002-07-20
configure:2062: checking for /usr/libexec/elf/ld option to reload object files
configure:2074: checking for BSD-compatible nm
configure:2112: checking how to recognise dependant libraries
configure:2295: checking for object suffix
configure:2301: cc -c -O -pipe -march=pentium -I/usr/local/include conftest.c 15
configure:2321: checking for executable suffix
configure:2331: cc -o conftest -O -pipe -march=pentium -I/usr/local/include  
conftest.c -L/usr/local/lib 15
configure:2362: checking command to parse /usr/bin/nm -B output
configure:2442: cc -c -O -pipe -march=pentium -I/usr/local/include conftest.c 15
configure:2445: /usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ 
]\([ABCDGISTW][ABCDGISTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p'  
conftest.nm
configure:2496: cc -o conftest -O -pipe -march=pentium -I/usr/local/include  
conftest.c conftstm.o 15
configure:2545: checking for dlfcn.h
configure:2555: cc -E -I/usr/local/include conftest.c /dev/null 2conftest.out
configure:2723: checking for ranlib
configure:2790: checking for strip
configure:3033: checking for objdir
configure:3060: checking for cc option to produce PIC
configure:3212: checking if cc PIC flag -fPIC works
configure:3226: cc -c -O -pipe -march=pentium -fPIC -DPIC -I/usr/local/include 
conftest.c 15
configure:3278: checking if cc static flag -static works
configure:3293: cc -o conftest -O -pipe -march=pentium -I/usr/local/include  -static 
conftest.c -L/usr/local/lib 15

Re: Gtk+ not installed

2003-01-10 Thread Hanspeter Roth
  On Jan 10 at 14:44, Joe Marcus Clarke spoke:

 On Fri, 2003-01-10 at 14:42, Hanspeter Roth wrote:
  Maybe there's a problem with concerning libintl.so.2?
 
 Yep.  You need to first remove all versions of gettext on your machine,
 then install the latest version of devel/gettext.  After that, rebuild
 and reinstall x11-toolkits/gtk12, and you should be set.

Yes, this has worked! Thanks!

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



/etc/opiekeys readable for others?

2003-01-07 Thread Hanspeter Roth
Hello,

I just tried opiepasswd. Now opiekeys is readable for all? Shouldn't
it be hidden for others?
(This is on a 4.6.2-Release system.)

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: cdrecord problems: too many coasters

2002-12-24 Thread Hanspeter Roth
  On Dec 23 at 14:56, paul beard spoke:

 wavplay and they're fine). I get one track to record, but all 
 subsequent tracks won't play in a CD player or computer. I just 
 noise (sounds like the digital equivalent of a record skipping).
 
 here's the command I have used:
 
 sudo /usr/local/bin/cdrecord -pad -audio -vv speed=0 -eject 
 dev=0,1,0 *wav

Maybe you need -doa.
What does -toc say?

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



green- or apm-saver

2002-12-24 Thread Hanspeter Roth
Hello,

what's the difference of the green and apm-console-saver?
Are there restrictions when running X11?

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Mail clients

2002-12-24 Thread Hanspeter Roth
  On Dec 23 at 17:21, Ernest H. Rice spoke:

 Si u decided to try and use another mail program.
 k-mail doesnt look for my email in /var/mail/... which is a problem

Some mail clients expect a POP3 or IMAP4 service even on the local
host.

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



media change notification

2002-11-13 Thread Hanspeter Roth
Hello,

can I get a notification in Tcl/Tk upon a media change (audio-CD
loaded) in a CD-drive?
Can I get a notification in a C-program?
Or can I get an entry in syslog?

(Mounting a RockRidge CD produces an entry in syslog, but only upon
mounting.)

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



/dev/* permissions

2002-10-19 Thread Hanspeter Roth
Hello,

it seems to me that after the last upgrade the permission of the
devices /dev/* have become more restrictive. /dev/*random and
/dev/tty were not accessible by ordinary users.

How can I restore the permissions on the devices to `reasonable'
values (as they were before the upgrade)?

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



boot selector and extended partitions

2002-10-16 Thread Hanspeter Roth

Hello,

can I make the Freebsd boot selector chain to an extended partition
similar like switching to an alternate disk?

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Silicon Image ATA controllers for ATAPI?

2002-10-10 Thread Hanspeter Roth

Hello,

has anyone experiance in running Silicon Image ATA or RAID
controllers (Sil 0648, 0649, 0860A)?
Do some of them support ATAPI?

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: VIRUS in ISO images?

2002-10-04 Thread Hanspeter Roth

  On Oct 04 at 23:13, Olivier Boniteau spoke:

 I've taken a virus (bloodhound.mbr) in the following
 mirror:

Where is the virus claimed to be located?

I had an installation with the FreeBSD boot selector. And one 
scanner (maybe norton 2 or 4) claimed there were a virus in the MBR.
When I booted from another disk that scanner installation didn't
complain about any virus...

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: portupgrade, freetype2 and freetype.9

2002-09-21 Thread Hanspeter Roth

  On Sep 20 at 17:21, Hanspeter Roth spoke:

 Then there's a claim 
 ===   XFree86-libraries-4.2.0_3 depends on shared library: freetype.9 - not found
 ===Verifying install for freetype.9 in /usr/ports/print/freetype2

I had commented out ports-print from the ports-supfile. Thus the new
version of freetype2 was unknown.

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: problem with /usr/ports/print/cups-pstoraster

2002-09-21 Thread Hanspeter Roth

  On Sep 21 at 11:55, jason spoke:

 cc  -DHAVE_MKSTEMP -O -pipe  -I/usr/local/include/glib-1.2
 -I/usr/local/lib/glib/include -Wall -Wstrict-prototypes

You might make it to also include /usr/local/include.

 its complaining about  jpeglib.h but I do have jpeg installed from the
 ports.

Is /usr/local/include/jpeglib.h readable?

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



portupgrade, freetype2 and freetype.9

2002-09-20 Thread Hanspeter Roth

Hello,

pkg_version -vs freetype2 tells me
freetype2-2.0.6 =   up-to-date with port

As of XFree86-libraries I have 4.1.0_1. Now I want to upgrade
XFree86-libraries using portupgrade.

Then there's a claim 
===   XFree86-libraries-4.2.0_3 depends on shared library: freetype.9 - not found
===Verifying install for freetype.9 in /usr/ports/print/freetype2
===  Extracting for freetype2-2.0.6

And later:
===  Installing for freetype2-2.0.6
===  freetype2-2.0.6 is already installed - perhaps an older version?
  If so, you may wish to ``make deinstall'' and install
  this port again by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of freetype2-2.0.6
  without deleting it first, set the variable FORCE_PKG_REGISTER
  in your environment or the make install command line.

Then I did ``make deinstall'' and ``make reinstall'' in
/usr/ports/print/freetype2 and retried ``portupgrade
XFree86-libraries''.
But the result is the same.
How do I solve this?

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Sendmail configuration question

2002-09-20 Thread Hanspeter Roth

  On Sep 19 at 08:46, stan spoke:

 I find myself in a position where I need to set up sendmail in the following
 fashion. I need it to deliver all (except machine local email) to a
 smarthost. Now this _should_ be straightforward, except that at the moment I
 can only access the machine by IP address, since the DNS server for our

Have you tried DS[ip.of.smarthost]?

 part of the merged company still does not have entries for the merged
 domain name.

Have you tried putting the hostnames in /etc/hosts?

Maybe you can configure local DNS with two domains, one which is the
hostname of your client and one which is the hostname of the
smarthost. (Something like client.company1.com and
smarthost.company2.com.)
The domains probably need A and NS records.
Then make the local DNS the first one in resolv.conf.

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: recovering ufs after fat games

2002-09-18 Thread Hanspeter Roth

  On Sep 18 at 14:13, Kevin Oberman spoke:

  From: Daemon [EMAIL PROTECTED]

If I choose F4 I get nothing but a beep.  If I choose F3 it
boots into windows.  Any suggestions?
 
 Is this a big disk? If the FreeBSD partition starts at a cylinder 
 1023, this is what you  will see.
 
 If this is the case, try:
 boot0cfg -o packet -B ad0 (or whatever your boot disk is).

Probably `-o packet' is what also would had helped in my case.
My FreeBSD partition also is located beyond the 1023rd cylinder.
But I had overlooked the packet option in the manpage.
Thanks.

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Linux Flash-plugin in Mozilla

2002-07-18 Thread Hanspeter Roth

Hello,

how can one activate the Linux-Flash-plugin in Mozilla?

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message