The FreeBSD Diary: 2005-07-10 - 2005-07-30

2005-07-31 Thread Dan Langille
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the

Bacula problems under 5.4

2005-07-31 Thread Anthony Wyatt
Dear All, I had bacula running on my Freebsd 5.3 system. I have upgraded my system to FreeBSD 5.4 and installed bacula from the ports tree. When I attempt to run a job I get the following error: *run Using default Catalog name=MyCatalog DB=bacula A job name must be

Re: FreeBSD Active Directory Server

2005-07-31 Thread Norberto Meijome
[EMAIL PROTECTED] wrote: Has anyone any experience trying to make FreeBSD an Active Directory Server? From my research and experiementation, I am under the impression that it is possible, but I have yet to come up with any articles where it has actual been done fully. it may be not relevant,

version 6 ?

2005-07-31 Thread Justin Wert
To whom it may concern, im just a little confused, im seeing a many referances to version 6 on your website, but i can't physically find it anywhere. is this a version currently being worked on? or released for certain architectures? some more information would be most helpful. thank you,

Re: version 6 ?

2005-07-31 Thread Glenn Dawson
At 02:10 AM 7/31/2005, Justin Wert wrote: To whom it may concern, im just a little confused, im seeing a many referances to version 6 on your website, but i can't physically find it anywhere. is this a version currently being worked on? or released for certain architectures? some more

Re: FreeBSD Active Directory Server

2005-07-31 Thread Robert Slade
On Sun, 2005-07-31 at 08:43, Norberto Meijome wrote: [EMAIL PROTECTED] wrote: Has anyone any experience trying to make FreeBSD an Active Directory Server? From my research and experiementation, I am under the impression that it is possible, but I have yet to come up with any articles where

Re: version 6 ?

2005-07-31 Thread Robert Slade
On Sun, 2005-07-31 at 09:42, Glenn Dawson wrote: At 02:10 AM 7/31/2005, Justin Wert wrote: To whom it may concern, im just a little confused, im seeing a many referances to version 6 on your website, but i can't physically find it anywhere. is this a version currently being worked on? or

Re: FreeBSD Active Directory Server

2005-07-31 Thread Norberto Meijome
Robert Slade wrote: I am currently working on setting up the network, and one of the things that is quite clear is that full ADS functionality is not necessary. My view is that for a small network, roaming profiles, printer and file sharing is all that is really necessary. It looks like Samba

bge0 : WatchDog timeout -- resetting

2005-07-31 Thread DeadMan Xia ....
I m using FreeBSD 5.3, on Dell Power Edge 6650 Quad Processor Machine, my system get stuck while i m accessing it through ssh. well after some time , when i acces the machine check , /var/log/messages ,, i can bge0: WatchDog Timedout -- resetting error. Is there any one , to tap my back get me

Re: SOLVED: scanimage -L doesn't work as normal user

2005-07-31 Thread Erik Nørgaard
On Sat, 30 Jul 2005, Marc Fonvieille wrote: Please submit a PR with these both lines. will do - I didn't do that straight away because I saw no functional difference. And then there is the other unresolved problem that sane-find-scanner no longer identifies the scanner: # sane-find-scanner -q

Hardware vendors in Australia...

2005-07-31 Thread Norberto Meijome
Hi all, Can anyone recommend a vendor / reseller of server hardware in Australia (preferrably NSW)? In particular, (dual ) Opteron based systems. Of course, it'd be great if anyone actually had suggestions on the specifics of the system that are known to work with 5.4 SMP. thanks in advance,

Re: Using a hard drive without partitions

2005-07-31 Thread Benjamin Lutz
Nikolas Britton wrote: Correct about DD... This array will NEVER be used with another OS and It will NEVER be booted from The disk array will never show it's self in DOS because it needs special drivers. In FreeBSD I want it to show up as one big disk and just mount it as /data or

Re: Can someone clarify ipfw's in/out/recv/xmit/via concepts?

2005-07-31 Thread Ian Smith
On Thu, 28 Jul 2005, Gary W. Swearingen wrote: Thanks guys. I think I've got most of it now. [..] When it tests an incoming packet it doesn't try to predict which interface it will be transmitted on (not sure why, if NAT isn't on), so in rules don't match against an xmit interface.

Re: network info

2005-07-31 Thread Eric Schuele
Chris wrote: Glenn Dawson wrote: At 08:08 AM 7/30/2005, Sean wrote: What command can display all the network parameters assigned from dhcp, such DNS? I have looked at ifconfig and netstat but unless I missed a switch I do not see them as correct choices. Not exactly one command, but you

I´ve some problems with the diskettes

2005-07-31 Thread invisible
Hi, Thru this e-mail I like to ask you for help me because I´ve tried to download the floppies images necessary to start the installation of freeBSD, but I just couldn´t... The issue is that the OS (Windows XP), shows an error referring to the space of the floppie (there´s no enough space for

Re: Reading the volume-id/label of a cd/dvd ?

2005-07-31 Thread Giorgos Keramidas
On 2005-07-30 20:34, Fabian Keil [EMAIL PROTECTED] wrote: Warren Block [EMAIL PROTECTED] wrote: On Wed, 27 Jul 2005, FreeBsdBeni wrote: Is there an easy way to get to know the volume id or disclabel of a cd or dvd ? Mounting the cd/dvd just gives me the contents of the disc, but not its name.

Deleted /var/db directory

2005-07-31 Thread zlatozar
Hi all, I accedently delete /var/db directory. Shame! I found a way to recover structure: 1) /usr/sbin/mtree -deU -f /etc/mtree/BSD.var.dist -p /var 2) and then I recreate the log files looking at the /etc/newsyslog.conf. That saved me a reinstall ! But now I can't update my ports. Is there a

Re: Deleted /var/db directory

2005-07-31 Thread Norberto Meijome
zlatozar wrote: Hi all, I accedently delete /var/db directory. Shame! I found a way to recover structure: [...] But now I can't update my ports. Is there a way to recover my db of all installed ports? from your backups. You DO keep backups, right? :)

Re: dhclient and wpa_supplicant

2005-07-31 Thread Eric Schuele
Sam Leffler wrote: Eric Schuele wrote: Sam Leffler wrote: Eric Schuele wrote: big-snip Both my APs (home and office) hide their ssids. One is a wrt54g (home), the other is linksys as well... though I forget the model at the moment (FWIW its a/b/g). What can I do to provide the info

Re: dhclient and wpa_supplicant

2005-07-31 Thread Eric Schuele
Sam Leffler wrote: Eric Schuele wrote: Sam Leffler wrote: Eric Schuele wrote: big-snip dhclient.conf contains === interface ath0 { #send option host-name myhost; #send option domain-name nxdomain.org; send dhcp-client-identifier myhost; media ### Home

Re: Using a hard drive without partitions

2005-07-31 Thread Gary W. Swearingen
Glenn Dawson [EMAIL PROTECTED] writes: The only danger in not having the slice table is that if you use non BSD tools, such as the ones that come with windows, they will potentially write over things that that you don't want them to. The FreeBSD FAQ mentions more serious dangers. Also,

Requires 'gettext-0.14.1', but 'gettext-0.14.5' is installed

2005-07-31 Thread Francisco Reyes
Doing a set of packages so when building new machines can do the whole ports installations through packages. When I did pkg_add mc-4.6.0_15 got the warning requires 'gettext-0.14.1', but 'gettext-0.14.5' is installed Is it safe to ignore these type of errors?

Re: Requires 'gettext-0.14.1', but 'gettext-0.14.5' is installed

2005-07-31 Thread Garrett Cooper
Francisco Reyes wrote: Doing a set of packages so when building new machines can do the whole ports installations through packages. When I did pkg_add mc-4.6.0_15 got the warning requires 'gettext-0.14.1', but 'gettext-0.14.5' is installed Is it safe to ignore these type of errors? With

audio - mp3 kaudiocreator replacement

2005-07-31 Thread dick hoogendijk
I once used kaudiocreator to rip some CD's and convert them to MP3 files. It had a very nice graphical interface. I know of cdda2mp3 (rip) and lame (mp3) but like the easy use of this kind of program. KAudiocreator however is a KDE program. I don't have anything of kde installed and like to keep

C program to write to the com port

2005-07-31 Thread Paul Hamilton
Hi, I am trying to write a C program that will send 3 bytes to the cuaa0 com port at 9600 baud, 8n1. I am trying to control a Northlight 8 Channel Servo motor controller: http://home.att.net/~northlightsystems/DMX512toRCservo.htm Most of the code came from this page:

RE: Dead disk? READ_DMA Failure

2005-07-31 Thread Francisco
On Fri, 29 Jul 2005, Norbert Koch wrote: I have a one year old Hitachi Travelstar 60GB/4200RPM disk. This night and since then, I get these errors: ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=48926527 ad0: TIMEOUT - READ_DMA retrying (1 retry left) LBA=48926527 ad0: FAILURE - READ_DMA

Re: C program to write to the com port

2005-07-31 Thread Giorgos Keramidas
On 2005-07-31 22:50, Paul Hamilton [EMAIL PROTECTED] wrote: Hi, I am trying to write a C program that will send 3 bytes to the cuaa0 com port at 9600 baud, 8n1. I am trying to control a Northlight 8 Channel Servo motor controller: http://home.att.net/~northlightsystems/DMX512toRCservo.htm

dmz server setup - opinions

2005-07-31 Thread Jeff
I realize this may be partial religion and then potentially bias due to the list but here goes anyway. I need to build a DMZ server, of sorts, that will sit on the public internet. It will take in data from embeded devices and in turn services from behind a firewall will pull data from it to

how to map metakey to ALT in Emacs

2005-07-31 Thread Patrick Hamal
Hi, I would like to use my META (ALT in my keyboard) key instead of ESC. I'm using uk.cp850 keyboard and my ALT key doesn't work on my console. I've tried to alter uk.cp850.kbd in /usr/share/syscons/keymaps, but I was unsuccessful. ___

Re: C program to write to the com port

2005-07-31 Thread Garrett Cooper
Paul Hamilton wrote: Hi, I am trying to write a C program that will send 3 bytes to the cuaa0 com port at 9600 baud, 8n1. I am trying to control a Northlight 8 Channel Servo motor controller: http://home.att.net/~northlightsystems/DMX512toRCservo.htm Most of the code came from this page:

php5-extensions port problem.

2005-07-31 Thread Perttu Laine
I'm using FreeBSD 5.4-RELEASE-p3 I upgraded php to 5.0.4 but extensions are 5.0.3. Now I can't update them. I try making port ports manually or portupgrade any of extensions it gives this error message: In file included from /usr/local/include/php/main/../main/php_config.h:2417,

Re: freebsd 5.4 -R install error

2005-07-31 Thread Gary W. Swearingen
A R [EMAIL PROTECTED] writes: On install i get this error : Unable to find device node for /dev/ad0s1b in /dev! The creation of filesystems will be aborted It looks like it was trying to do something (swapon?) with the swap device, but the devfs system never created a /dev/ad0s1b for it

Re: I´ve some problems with the diskettes

2005-07-31 Thread Gary W. Swearingen
(Badly formatted message omitted) I suspect that you didn't follow the README's instructions and instead tried to put the 2880k boot.flp on a 1440k floppy. You only need the other two images if you have a 1440k drive. IIRC, the big one is for a few special drives and for use on El Torito

Problems with munin

2005-07-31 Thread cell
Hello , i'm on freebsd 5.4 and i use munin-main-1.2.2 and munin-node-1.2.2 but i have a problem when i run munin.I have in log munin-graph.log that : Jul 31 18:13:18 - Unable to graph /usr/local/var/munin/linux-win.org/gw-bsd.linux-win.org-vmstat-sleep-g.rrd: Garbage ':' after command: Jul 31

Re: Deleted /var/db directory

2005-07-31 Thread Gary W. Swearingen
zlatozar [EMAIL PROTECTED] writes: Is there a way to recover my db of all installed ports? How I can reinstall all my ports? Will reinstall helps? I think your ports (eg, /usr/ports/*/*) are still installed and most of your package files (eg, /usr/local/bin/portinstall) are too, but your

Re: dmz server setup - opinions

2005-07-31 Thread Chuck Swiger
Jeff wrote: I realize this may be partial religion and then potentially bias due to the list but here goes anyway. There is nothing wrong with bias, per se, if you are aware that it exists. :-) I need to build a DMZ server, of sorts, that will sit on the public internet. It will take in data

what to do? amd64 - i386

2005-07-31 Thread dick hoogendijk
I have a well running FreeBSD-5.4 system. In a few days I get an Athlon64 based system, so I will be able to install the FreeBSD-5.4-64 version _OR_ use dump / restore to transport my system to the new drive. Personally I think it is wiser to wait for fbsd-6.x to make the transfer and use my

Re: what to do? amd64 - i386

2005-07-31 Thread Benjamin Lutz
dick hoogendijk wrote: Personally I think it is wiser to wait for fbsd-6.x to make the transfer and use my (old) FreeBSD-5.4-i386 version on my new machine. Yeah, that's a good idea. 6.0-RELEASE is currently scheduled for August 15. Or you could install 6.0-BETA1 now. It runs pretty well here,

Re: freebsd 5.4 -R install error

2005-07-31 Thread Dmitry Mityugov
On 7/31/05, Gary W. Swearingen [EMAIL PROTECTED] wrote: A R [EMAIL PROTECTED] writes: On install i get this error : Unable to find device node for /dev/ad0s1b in /dev! The creation of filesystems will be aborted It looks like it was trying to do something (swapon?) with the swap device,

Re: what to do? amd64 - i386

2005-07-31 Thread dick hoogendijk
On Sun, 31 Jul 2005 19:38:01 +0200 Benjamin Lutz [EMAIL PROTECTED] wrote: Yes. Ports that are known not to build on certain architectures have an ONLY_FOR_ARCH flag set. Eg: cd /usr/ports/www/opera; make -V ONLY_FOR_ARCH Just tried this, but got no response. Maybe it works now. There

Re: Hardware vendors in Australia...

2005-07-31 Thread Wayne Sierke
On Sun, 2005-07-31 at 22:10 +1000, Norberto Meijome wrote: Hi all, Can anyone recommend a vendor / reseller of server hardware in Australia (preferrably NSW)? In particular, (dual ) Opteron based systems. Of course, it'd be great if anyone actually had suggestions on the specifics of the

Re: Requires 'gettext-0.14.1', but 'gettext-0.14.5' is installed

2005-07-31 Thread Kent Stewart
On Sunday 31 July 2005 07:40 am, Garrett Cooper wrote: Francisco Reyes wrote: Doing a set of packages so when building new machines can do the whole ports installations through packages. When I did pkg_add mc-4.6.0_15 got the warning requires 'gettext-0.14.1', but 'gettext-0.14.5' is

Re: what to do? amd64 - i386

2005-07-31 Thread Benjamin Lutz
cd /usr/ports/www/opera; make -V ONLY_FOR_ARCH Just tried this, but got no response. Maybe it works now. Oops. Forget the S there at the end. It's ONLY_FOR_ARCHS . There are a few things that will not work at all on amd64 right now, however: OpenOffice.org, proprietary media codecs,

problem with burncd, hardware or not ?

2005-07-31 Thread guzman
Hi, When I try to burn data with burncd here what I get : written this track 136368 KB total 136368 KB only wrote -1 of 32768 bytes: Input/output error burncd: ioctl(CDRIOCFLUSH): Input/output error and in dmesg : acd0: timeout waiting for ATAPI ready after it's impossible to access cd drive

Re: what to do? amd64 - i386

2005-07-31 Thread Gary W. Swearingen
dick hoogendijk [EMAIL PROTECTED] writes: cd /usr/ports/www/opera; make -V ONLY_FOR_ARCH Just tried this, but got no response. Maybe it works now. #!/bin/ksh -o posix find /usr/ports -name Makefile | while () ; do read DIR cd ${DIR%Makefile} BBB=$(make -V BROKEN

Re: C program to write to the com port

2005-07-31 Thread David Kelly
On Jul 31, 2005, at 9:50 AM, Paul Hamilton wrote: I am trying to write a C program that will send 3 bytes to the cuaa0 com port at 9600 baud, 8n1. Oddly I found information on how to do that very easy to find for Unix. Conversely wanted to do the same thing in Windows and hit a brick

Re: problem with burncd, hardware or not ?

2005-07-31 Thread Gary W. Swearingen
[EMAIL PROTECTED] writes: only wrote -1 of 32768 bytes: Input/output error burncd: ioctl(CDRIOCFLUSH): Input/output error I got something like that on 5.4 (i386 or amd64, I forget) and cured it by using cdrecord from cdrtools port after rebuilding kernel to support it. That might tell you

HDTV card

2005-07-31 Thread Michael Pope
Is there any HDTV card supported yet under FreeBSD? What about FreeBSD6? Is anyone working on a driver? from Michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any

Re: C program to write to the com port

2005-07-31 Thread Garrett Cooper
Giorgos Keramidas wrote: On 2005-08-01 00:23, Paul Hamilton [EMAIL PROTECTED] wrote: Yes, very full on code ;-) I will see if I can get it to compile! Thanks for that. In the mean time I pondered the endianess thing, and I have tried using my original code to write 1 byte at a time, 3

Re: what to do? amd64 - i386

2005-07-31 Thread RW
On Sunday 31 July 2005 18:12, dick hoogendijk wrote: I know the OS itself will be faster, but how about ports. The benchmarks I've seen have been a mixed bag. There's one in the AMD64 list where a webserver ran twice as fast on i384 than on amd64.

linux_base install error

2005-07-31 Thread [EMAIL PROTECTED]
installing linux_base and get error: /=== linux_base-rh-7.3 depends on executable: rpm - found Linux mode is not enabled. Loading linux kernel module now... kldload: can't load linux: Exec format error The linux kernel module could not be loaded. Please enable linux mode manually and retry. / I

harddrive error?

2005-07-31 Thread [EMAIL PROTECTED]
i get a spam of errors on the screen that looks something like this ad4: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=137895 ad4: FAILURE - READ_DMA status=51READ,DSC,ERROR error=84ICRC,ABORTED LBA=293567 i have no idea ___

Re: linux_base install error

2005-07-31 Thread Michael C. Shultz
On Sunday 31 July 2005 17:25, [EMAIL PROTECTED] wrote: installing linux_base and get error: /=== linux_base-rh-7.3 depends on executable: rpm - found Linux mode is not enabled. Loading linux kernel module now... kldload: can't load linux: Exec format error The linux kernel module could not

Question about gcc

2005-07-31 Thread Kun Niu
Dear all, I'm trying to compile my program with my gcc bundled with Release 5.3 I always get the error Installation problem: exec 'as' no such file or directory. It seems that I should install the as program. Can someone tell me where I can download the tbz ball? Any help would be appreciated:)

Re: dmz server setup - opinions

2005-07-31 Thread Jeff
Chuck Swiger wrote: Jeff wrote: I realize this may be partial religion and then potentially bias due to the list but here goes anyway. There is nothing wrong with bias, per se, if you are aware that it exists. :-) I need to build a DMZ server, of sorts, that will sit on the public

Window Management system

2005-07-31 Thread kaygarme
Hello all, I am a complete newbie to Unix and am looking into which window management system to use. I want one that is lean on system resources, nice to look at but doesn't take all the fun of learning a new system away from the user (if that makes sense). I like the look of Fluxbox and

Re: cannot install ntop under freeBSD 5.5

2005-07-31 Thread PK
I sent 3 mails to the port maintainer but I didn't get any replies. That's very strange ! --- On Wed 07/27, Glenn Dawson [EMAIL PROTECTED] wrote: From: Glenn Dawson [mailto: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Wed, 27 Jul 2005 08:10:40 -0700 Subject: Re: cannot install ntop

Re: Window Management system

2005-07-31 Thread Alec Berryman
[EMAIL PROTECTED] on 2005-08-01 13:54:12 +1200: I am a complete newbie to Unix and am looking into which window management system to use. I want one that is lean on system resources, nice to look at but doesn't take all the fun of learning a new system away from the user (if that makes

cannot connect to Internet...http proxy?

2005-07-31 Thread perikillo
Hi all. In my work, we connect to the internet over one http proxy (squid) running on fedora, with windows(98/2k/xp) we dont have any problem to acces to the outside. I have my user and password, the proxy have the IP: 192.168.1.2 Port 3128 I need to access to the internet to

Re: Window Management system

2005-07-31 Thread Kevin Kinsey
[EMAIL PROTECTED] wrote: Hello all, I am a complete newbie to Unix and am looking into which window management system to use. I want one that is lean on system resources, nice to look at but doesn't take all the fun of learning a new system away from the user (if that makes sense). I like

xmlcatmgr: entry already exists

2005-07-31 Thread David LeCount
When trying to portupgrade -f sdocbook-xml, it fails with the following error: xmlcatmgr: entry already exists for `/usr/local/share/xml/sdocbook/4.1.2.5/catalog' of type `CATALOG' When I do a pkg_info | grep sdocbook, nothing shows up. I've searched and haven't been able to find this error

Freebsd patches fail

2005-07-31 Thread [EMAIL PROTECTED]
In the ports: samba3 and proftpd I recieved errors while applying Freebsd patches for the ports .. its says 1 out of * hunks failed -- , and failed to apply cleaning .. I cvsup ports right before hand. ___ freebsd-questions@freebsd.org mailing list

Re: Freebsd patches fail

2005-07-31 Thread Glenn Dawson
At 08:57 PM 7/31/2005, [EMAIL PROTECTED] wrote: In the ports: samba3 and proftpd I recieved errors while applying Freebsd patches for the ports .. its says 1 out of * hunks failed -- , and failed to apply cleaning .. I cvsup ports right before hand. I just cvsupped ports, and tried building