puc and uart as modules with FreeBSD6.2-REL

2007-03-17 Thread Jonathan McKeown
I have a two-port PCI serial card. I'm running FreeBSD 6.2-RELEASE on i386 and trying to get the card working using kernel modules puc and uart (after much Googling this seems like a viable option). With the GENERIC kernel, the boot process recognises my card as simple comms, UART but can't

Re: mirror without destroying existing contents

2007-03-17 Thread Jonathan McKeown
On Friday 16 March 2007 21:48, Steve Franks wrote: On 3/16/07, John Nielsen [EMAIL PROTECTED] wrote: On Friday 16 March 2007 11:18, Steve Franks wrote: I get the following: #gmirror label -v -b split -s 1024 data ad0 can't store metadata on ad0: operation not permitted. That

Re: nss_ldap and openldap on the same server.

2007-03-13 Thread Jonathan McKeown
On Tuesday 13 March 2007 09:16, Gerhard Schmidt wrote: On Tue, Mar 13, 2007 at 12:07:15AM +0100, Pietro Cerutti wrote: On 3/12/07, Gerhard Schmidt [EMAIL PROTECTED] wrote: Hi, Hello, As I see it, nss asks all sources even if the frist one allready knows the answer. Is there a way

Re: nss_ldap and openldap on the same server.

2007-03-13 Thread Jonathan McKeown
On Tuesday 13 March 2007 10:26, Gerhard Schmidt wrote: It's a well-known problem rather than a bug, and it arises when looking up group information for a user. The system needs a list of all the groups the user is a member of. Since it's a list, not a single answer, you can't

Re: nss_ldap and openldap on the same server.

2007-03-13 Thread Jonathan McKeown
On Tuesday 13 March 2007 14:21, Gerhard Schmidt wrote: On Tue, Mar 13, 2007 at 11:13:00AM +0200, Jonathan McKeown wrote: On Tuesday 13 March 2007 10:26, Gerhard Schmidt wrote: [setting group: files ldap in nsswitch.conf] It looks as though you can instruct nss_ldap to unconditionally return

Re: reprocess mails in sendmail

2007-03-07 Thread Jonathan McKeown
On Wednesday 07 March 2007 07:28, kk kumar wrote: Hi all, Do you need to include specific commands to periodically process the queue with sendmail? With sendmail I would explicitly (via cron) rerun queue processing every 30 minutes or so. Is there any better method to do this in sendmail

Portupgrade moved: use --origin to upgrade it?

2007-03-06 Thread Jonathan McKeown
I remember seeing some weeks ago that people had run into difficulties when portupgrade moved from sysutils into ports-mgmt, and one recommendation was to deinstall portupgrade and then cd /usr/ports/ports-mgmt/portupgrade make install Possibly silly question: will I be able to avoid problems

Re: Portupgrade moved: use --origin to upgrade it?

2007-03-06 Thread Jonathan McKeown
On Tuesday 06 March 2007 15:32, Kevin Kinsey wrote: Jonathan McKeown wrote: [can I upgrade portupgrade by] portupgrade -NR --origin ports-mgmt/portupgrade portupgrade ? I'm fairly certain that /usr/ports/UPGRADING said what to do. I checked UPDATING before I posted: it doesn't, just

Re: Problems with perl script on 6.1/5.8.8

2007-02-07 Thread Jonathan McKeown
On Tuesday 06 February 2007 22:24, Don O'Neil wrote: I've got a perl script that just refuses to run on my new 6.1 box with Perl 5.8.8... Whenever I run it from the command line I get this: Can't modify single ref constructor in lock at ./caldisp.pl line 84, near *LOCKF) Execution of

Re: pb installing P5-BerkeleyDB

2006-12-07 Thread Jonathan McKeown
On Thursday 07 December 2006 15:06, Len Conrad wrote: Checksum mismatch for bdb/db-4.1.25.tar.gz. Checksum OK for bdb/patch.4.1.25.1. === Refetch for 1 more times files: bdb/db-4.1.25.tar.gz === Vulnerability check disabled db-4.1.25.tar.gz doesn't seem to exist in

Remote upgrade 4.8 to 6.0

2006-11-30 Thread Jonathan McKeown
OK, I said I was intending to try this. I've carried out the following procedure on a test box in my office: before I do it with a live server 400 miles away, can anyone see any problems I've overlooked? I have two boxes on the remote site - call them server and gateway. I have ssh access to

gmirror (was Re: It's time to bite the bullet and do a major upgrade...)

2006-11-15 Thread Jonathan McKeown
On Wednesday 15 November 2006 16:58, John Nielsen wrote: It is possible to convert regular devices into gmirror members after they have data on them, but unless you're extremely careful there's a small risk of the gmirror metadata sector overlapping a data sector. OK, I see the warning in the

Re: gmirror (was Re: It's time to bite the bullet and do a major upgrade...)

2006-11-15 Thread Jonathan McKeown
On Wednesday 15 November 2006 18:52, John Nielsen wrote: [risk that last sector of geom(4) provider is already in use] It's generally significantly less likely to even be available for use due to device sizes not dividing evenly into the block sizes used by the filesystem, etc. Depending on

Re: multiple ports trees

2006-11-14 Thread Jonathan McKeown
On Wednesday 15 November 2006 01:24, Greg 'groggy' Lehey wrote: On Thursday, 9 November 2006 at 8:46:00 -0600, Christopher M. Hobbs wrote: [sharing ports tree] Also, what about user accounts between machines? With NFS you typically have the same user ID on all related machines. I got to

Re: It's time to bite the bullet and do a major upgrade from 4.11 to 6.0

2006-11-14 Thread Jonathan McKeown
On Tuesday 14 November 2006 18:13, Scott Schappell wrote: The writing is on the wall and all that stuff. I've put this off long enough. What needs to be done to upgrade from 4.11 to 6.x? I have an extensive amount of ports installed and in googling and searching the list, it seems I need to

Re: Cacti -vs- mrtg

2006-11-07 Thread Jonathan McKeown
On Tuesday 07 November 2006 09:48, Jeff Mohler wrote: I can use MRTG, and have MRTG do what I want it to do. Id like to try cacti, but..am I alone in finding that it's a PITA? Im not trying to be negative, just looking for a reality check. I like the simplicity of mrtg, but I like the go

portupgrade wishlist (was Re: portupgrade forget package options)

2006-11-06 Thread Jonathan McKeown
On Tuesday 07 November 2006 01:26, Josh Carroll wrote: [snip: portupgrade waiting in config dialogs] Some ports have a config make target which will save options. For ports that do not, you can use pkgtools.conf and set MAKE_ARGS for that port. I know the answer is probably going to be one

Re: Fetchmail: Error message in maillog

2006-11-05 Thread Jonathan McKeown
On Saturday 04 November 2006 20:08, Gerard Seibert wrote: FreeBSD 6.1 Fetchmail release 6.3.5+RPA+SDPS+SSL+OPIE+NLS. I had been running fetchmail without incident for over a year. I then did something stupid; I updated it. Now, it produces this error message in the /var/maillog file: Nov

Re: Auto Create home directory

2006-10-27 Thread Jonathan McKeown
On Friday 27 October 2006 14:19, Ansar Mohammed wrote: Hello, I have a network based on FreeBSD and I have a centralized ldap server running OpenLDAP. I am using ldapeditor (http://www.ldapeditor.com http://www.ldapeditor.com/ ) to manage the accounts. However, ldapeditor is a Windows program

Re: mimedefang with LDAP-enabled sendmail

2006-10-17 Thread Jonathan McKeown
On Monday 16 October 2006 16:54, Jonathan McKeown wrote: On Sunday 15 October 2006 22:19, Jonathan McKeown wrote: sendmail -d0.1 -bt /dev/null gives me Version 8.13.6 Compiled with: DNSMAP LDAPMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET

Base sendmail: undefined symbol in libmilter when -DLDAPMAP set in make.conf

2006-10-17 Thread Jonathan McKeown
This summarises the conversation I have had with myself on the list over the last few days: I'm not sure whether this is really a question or a potential PR. I am running FreeBSD-6.1-RELEASE-p5 (cvsup on 6 September). One of the source files for a rebuild of /usr/src/contrib/sendmail/libmilter

Re: mimedefang with LDAP-enabled sendmail

2006-10-16 Thread Jonathan McKeown
On Sunday 15 October 2006 22:19, Jonathan McKeown wrote: sendmail -d0.1 -bt /dev/null gives me Version 8.13.6 Compiled with: DNSMAP LDAPMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF

mimedefang with LDAP-enabled sendmail

2006-10-15 Thread Jonathan McKeown
I'm hoping someone can point me in the right direction. I'm running 6.1 (the security branch) with a recently-updated ports tree (1 September). I have modified /etc/make.conf to change the options for the system sendmail, by adding these lines: SENDMAIL_CFLAGS = -I/usr/local/include -DSASL=2

Re: ports adding users

2006-10-14 Thread Jonathan McKeown
On Friday 13 October 2006 21:54, Lowell Gilbert wrote: The convention is, indeed, that users get UIDs from 1000 up. This doesn't seem to be explicitly described anywhere I can find at the moment, but it is implemented in adduser(8) -- and the porter's handbook requires hard-coded UIDs and

ports adding users

2006-10-12 Thread Jonathan McKeown
This is, I guess, a philosophical question. Twice in the last couple of weeks I have been bitten by ports adding users or groups. In setting up my laptop, I created my user account in sysinstall without creating my group. My ~ was created with the GID corresponding to my UID, but in building

Re: cheapskate webmail interface

2006-10-10 Thread Jonathan McKeown
The Subject: header has gradually grown to: Subject: Re: RE : Re: RE : Re: RE : Re: RE : Re: cheapskate webmail interface Please, please, edit it or use an email client that does. It's in danger of getting silly now. Jonathan ___

Re: no specifc dhcpd port found

2006-10-05 Thread Jonathan McKeown
On Wednesday 04 October 2006 23:46, Noah wrote: Hi there, I am unable to find the dhcpd port in /usr/ports where should I be looking? # find /usr/ports -name dhcp\* I find the easiest way to search for ports is # cd /usr/ports # make search name=dhcp | grep -A2 '^Port:' This finds every

Removing removable ATA hard drives

2006-10-05 Thread Jonathan McKeown
I recently bought a drive caddy for an ATA hard drive. The unit is in two parts: a cassette, into which can be fitted a standard ATA hard drive, and a carrier permanently fitted into a standard drive bay. The carrier includes a power keyswitch for the drive bay. I installed it, brought the box

Re: Removing removable ATA hard drives

2006-10-05 Thread Jonathan McKeown
On Thursday 05 October 2006 10:38, Olivier Nicole wrote: Hi, I'm reluctant to experiment any more than I have done: the server the drive bay has been fitted to is our live fileserver, with 120GB of user data on two drives on the other ATA channel. I know I would take time to install the

Re: Removing removable ATA hard drives

2006-10-05 Thread Jonathan McKeown
On Thursday 05 October 2006 11:00, Olivier Nicole wrote: [Power down a drive bay using its built-in keyswitch and pull the disk without dropping the whole box] Unless you need to move that disk from one machine to another, fix it in your server, keep the tray for future testing when you will

Re: Removing removable ATA hard drives

2006-10-05 Thread Jonathan McKeown
On Thursday 05 October 2006 10:34, Jonathan McKeown wrote: I recently bought a drive caddy for an ATA hard drive. The unit is in two parts: a cassette, into which can be fitted a standard ATA hard drive, and a carrier permanently fitted into a standard drive bay. The carrier includes a power

Re: USB IrDA Adapter

2006-10-02 Thread Jonathan McKeown
On Saturday 30 September 2006 13:58, Luchezar Petkov wrote: I really need your help. I've just brought my first USB IrDA adapter to conncect my phone (Sony Ericsson K300i) to my computer. It is recognized by FreeBSD (6.2 beta 1) :: ugen0: Prolific Technology Inc. USB-Serial Controller, rev

Re: Newbie Experience

2006-09-14 Thread Jonathan McKeown
On Thursday 14 September 2006 01:21, Kevin Brunelle wrote: As for the GNU tools, yes most sysadmins use some of them (although not always).  I know that BSD tar handles gzip and bzip2 just fine ( -z and -j respectively).  So I know I wouldn't download gtar just for that feature. In fact, as I

Re: Newbie Experience

2006-09-14 Thread Jonathan McKeown
On Thursday 14 September 2006 08:40, Chad Leigh -- Shire.Net LLC wrote: On Sep 14, 2006, at 12:29 AM, Jonathan McKeown wrote: In fact, as I discovered a few days ago (after all, how often does one read tar(1)'s manpage?), you only need to use -z and -j when creating a tar archive. bsdtar

Re: Using PC as serial terminal on running system

2006-09-14 Thread Jonathan McKeown
On Wednesday 13 September 2006 14:59, Jonathan McKeown wrote: I'm using my laptop and tip(1) as a serial terminal. This is working well when a machine is booted with the laptop connected to its serial port. However, I need to be able to connect the laptop to a machine which was booted without

Using PC as serial terminal on running system

2006-09-13 Thread Jonathan McKeown
I'm using my laptop and tip(1) as a serial terminal. This is working well when a machine is booted with the laptop connected to its serial port. However, I need to be able to connect the laptop to a machine which was booted without a serial console. I've set the ttyd0 line in /etc/ttys and

Re: Newbie Experience

2006-09-12 Thread Jonathan McKeown
On Tuesday 12 September 2006 15:05, Jeff Rollin wrote: That was my point, that BSD was rewritten from the ground up to avoid ATT patents. So whilst some might consider BSD real unix, it's really only emulating V7 with Berkeley extensions. My understanding was that it was copyright rather than

FreeBSD installer (was Re: Newbie Experience #2)

2006-09-11 Thread Jonathan McKeown
On Monday 11 September 2006 15:56, Jud wrote: everyone who uses FreeBSD knows that a better (meaning, at least to many folks, more simplified and graphical) installer would be nice Perhaps as an option. The problem is that you need to install a graphical environment to run a graphical

Re: building and installing world on two separate machines

2006-09-04 Thread Jonathan McKeown
On Monday 04 September 2006 08:25, Dave wrote: Hello, I have a machine that i want to upgrade from 5.x to 6.1. I've got a 6.1 world built on a much faster system and would like to just install it on this machine. I thought about nfs, but i have to drop to single user mode to do the make

Mirroring: gvinum or gmirror?

2006-08-31 Thread Jonathan McKeown
I'm setting up a remote server with two identical hard drives, running FreeBSD-6.1. I want to set the drives up as a mirror for data redundancy. I also want to be able to break the mirror when I need to update the OS or installed software, so that if anything goes wrong with the update on one

Re: include format for /etc/rc.conf

2006-08-30 Thread Jonathan McKeown
On Wednesday 30 August 2006 09:40, Dan Mahoney, System Admin wrote: Hey all, Are there any supported formats for INCLUDES in /etc/rc.conf such that I can drop default configs into /etc/rc.conf and then have files in a certain directory (ala includerc) override them? Basically, I'd like to

Re: Building ports with sorces on a local mirror?

2006-08-28 Thread Jonathan McKeown
On Saturday 26 August 2006 22:15, stan wrote: I'm in the process of seting up to build a fair number of machines behind a very restrictive firewall (and besides that the outbound link is very slow). What I have in mind is setting up a machine using mirror software to create a local mirror of

Re: Using pre-built packages with portmanager

2006-08-07 Thread Jonathan McKeown
On Saturday 05 August 2006 19:16, cpghost wrote: How do I get portmanager to upgrade ports, using 1. pre-built packages from /usr/ports/packages (ONLY), and only if there's no binary package there, 2. build from source as usual? Additional limit (preventing use of portupgrade -P) is

Re: How to change NIC IP when system is running FBSD 6.1

2006-07-18 Thread Jonathan McKeown
On Tuesday 18 July 2006 15:49, Erin Fortenberry wrote: But please, that's so, um, Windows-ish? #ifconfig xl0 down* #ifconfig xl0 192.168.0.2 netmask 255.255.255.0 Cake! Kevin Kinsey Don't forget to adjust the default route and save your changes for when the next windows-ish

require pam_deny in auth chain causes logins to fail

2006-07-03 Thread Jonathan McKeown
pam.d/README says: Note that having a sufficient module as the last entry for a particular service and module type may result in surprising behaviour. To get the intended semantics, add a required entry listing the pam_deny module at the end of the chain. But in fact auth sufficient pam_unix.so

<    1   2   3