Re: The nightmarish problem of installing a printer
On Fri, 17 Sep 2010 01:45:54 +0100 Chabane HEMDANI hemdani2...@gmail.com wrote: I've search, read, learn, follow instructions about nearly all the web-documentation about installing a new printer to work under cups without any success. I've an HP Laser Jet 1018 printer and tools given by package print/hplip don't work correctly. I'm using FreeBSD 8.1-RELEASE I've rebuild a kernel without ulpt. I modified my /etc/rc.conf to enable cupsd and hpiod and hpssd. I modified /etc/devfs.rules like suggested by cups (see pkg_info -D cups-base-1.4.4 ). I've made many other configurations like that suggested at http://diablotins.org/index.php/Imprimer,_hplip http://diablotins.org/index.php/Imprimer,_hplip%20 and finally, I've given to my students the wrong answer that no one can print under FreeBSD ! Which is wrong, all you need is a printer, that is _supported_. Please where is the problem? The LaserJet 1018 uses another protocol, so you need aditional software. Take a look at these sites: http://www.openprinting.org/printer/HP/HP-LaserJet_1018 http://foo2zjs.rkkda.com/ Before buying the next printer, see whether or not it is supported by Cups http://www.cups.org/ppd.php . Same goes for your students. Andreas -- GnuPG key : 0x2A573565|http://www.gnupg.org/howtos/de/ Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 pgpy4L8v397s2.pgp Description: PGP signature
Re: make buildkernel pre-build too long
2010/9/17 Alexander Best arun...@freebsd.org: On Thu Sep 16 10, David DEMELIER wrote: Hi there, I can't understand why this part of make buildkernel is so long on my amd64 machine (8.1-R) make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP=cc -E CC=cc xargs mkdep -a -f .newdep -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/gnu/fs/xfs/FreeBSD -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs -I/usr/src/sys/contrib/opensolaris/compat -I/usr/src/sys/dev/cxgb -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector This command takes around 5-6 minutes before continuing, on my i386 machine (which is really old) it only takes about 20 seconds. The kernel configs are almost the same for both machines. are there any differences in /etc/make.conf? cheers. alex Do you have any idea? Kind regards, -- Demelier David -- a13x No, except the KERNCONF entry it's exactly the same : # General settings. KERNCONF=Melon MASTER_SORT?= .fr .uk # Portconf. .if !empty(.CURDIR:M/usr/ports*) exists(/usr/local/libexec/portconf) _PORTCONF!=/usr/local/libexec/portconf .for i in ${_PORTCONF:S/|/ /g} ${i:S/%/ /g} .endfor .endif # Perl. PERL_VERSION=5.10.1 # No need modules. NO_MODULES=yes # Specify other directories. WRKDIRPREFIX= /usr/obj DISTDIR=/usr/distfiles -- Demelier David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: The nightmarish problem of installing a printer
On Fri, 17 Sep 2010 01:45:54 +0100 Chabane HEMDANI hemdani2...@gmail.com wrote: I've search, read, learn, follow instructions about nearly all the web-documentation about installing a new printer to work under cups without any success. I've an HP Laser Jet 1018 printer and tools given by package print/hplip don't work correctly. I'm using FreeBSD 8.1-RELEASE I've rebuild a kernel without ulpt. I modified my /etc/rc.conf to enable cupsd and hpiod and hpssd. I modified /etc/devfs.rules like suggested by cups (see pkg_info -D cups-base-1.4.4 ). I've made many other configurations like that suggested at http://diablotins.org/index.php/Imprimer,_hplip http://diablotins.org/index.php/Imprimer,_hplip%20 and finally, I've given to my students the wrong answer that no one can print under FreeBSD ! Which is wrong, all you need is a printer, that is _supported_. Please where is the problem? The LaserJet 1018 uses another protocol, so you need aditional software. Take a look at these sites: http://www.openprinting.org/printer/HP/HP-LaserJet_1018 http://foo2zjs.rkkda.com/ Before buying the next printer, see whether or not it is supported by Cups http://www.cups.org/ppd.php . Same goes for your students. Andreas -- GnuPG key : 0x2A573565|http://www.gnupg.org/howtos/de/ Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 I got an HP Laser 1018 - works perfectly fine using the foo2zjs drivers, and I do believe ultp0. I can send you my configs once I get home if you want. The real pain which I keep forgetting after a reload or on new pc, was having to initialize [cat firmware /dev/ulpt0] each time the computer is rebooted [ie @reboot in cron]. ]Peter[ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: gateway_enable
Thank you for your support. You're right, our administrator has to add a route back to the new gateway. Am Mittwoch, 15. September 2010, 21:30:08 schrieb Beat Siegenthaler: On 15.09.10 21:10, Wolfgang Riegler wrote: I thought gateway_enable=YES in /etc/rc.conf should be sufficient. But it doesn't work. Do I need something else? Looks all ok. But does 192.168.40.1 have a route to 192.168.50.0/24 via GW 192.168.40.122? Internet: DestinationGatewayFlagsRefs Use Netif Expire default192.168.40.1 UGS 00rl0 127.0.0.1 link#6 UH 00lo0 192.168.40.0/24link#2 U 1 274rl0 192.168.40.122 link#2 UHS 00lo0 192.168.50.0/24link#1 U 0 15re0 192.168.50.1 link#1 UHS 00lo0 Gruss Beat ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Problem with lagg driver at 8.1 ?
Hello I am unable to make the lagg driver to work at 8.1 , it works well on another machine that runs 7.2 is there a problem with LAGG driver and Cisco switches at 8.1 ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Need bsd make for AIX
On 09/17/10 05:14, Chuck Robey wrote: On 09/16/10 20:34, Ivan Voras wrote: On 09/16/10 08:58, srividy...@tcs.com wrote: Hi Is there any BSD make versions available for AIX platform? We require the make utility of BSD to compile few source programs. Is there any make utility compatible with AIX? Could you please give us the URL where we can get the same? FreeBSD's make is an integral part of the FreeBSD file system. It is not created to be compatible across systems, but it is also not created to prevent this kind of porting. Wow. I disagree. It's been modified over the years to depend heavily on a set of libraries that are available nowhere else but FreeBSD. This was The fact that it can be compiled with gcc '-DDEFSHELLNAME=sh' -o make *.c indicates that it in fact doesn't use any libraries except for libc... done (from what I can see) in the name of elegance ... because the actual functions ARE available elsewhere, but a bunch of modifications need to be added, no possible way is it going to compile anywhere else. Oh you're exaggerating, it's not that hard. I've made the attached patch in about 20 minutes, and most of it is including the small lc.h ad-hoc Linux compatibility header. I don't claim the patched make will work perfectly but it works for simple cases :) diff -u ../make/arch.c ./arch.c --- ../make/arch.c 2010-09-17 12:56:04.0 +0200 +++ ./arch.c2010-09-17 12:28:59.0 +0200 @@ -38,6 +38,7 @@ * @(#)arch.c 8.2 (Berkeley) 1/2/94 */ +#include lc.h #include sys/cdefs.h __FBSDID($FreeBSD$); diff -u ../make/buf.c ./buf.c --- ../make/buf.c 2010-09-17 12:56:04.0 +0200 +++ ./buf.c 2010-09-17 12:30:01.0 +0200 @@ -40,6 +40,7 @@ * @(#)buf.c 8.1 (Berkeley) 6/6/93 */ +#include lc.h #include sys/cdefs.h __FBSDID($FreeBSD$); diff -u ../make/cond.c ./cond.c --- ../make/cond.c 2010-09-17 12:56:04.0 +0200 +++ ./cond.c2010-09-17 12:30:25.0 +0200 @@ -39,6 +39,7 @@ * @(#)cond.c 8.2 (Berkeley) 1/2/94 */ +#include lc.h #include sys/cdefs.h __FBSDID($FreeBSD$); diff -u ../make/dir.c ./dir.c --- ../make/dir.c 2010-09-17 12:56:04.0 +0200 +++ ./dir.c 2010-09-17 12:30:56.0 +0200 @@ -39,6 +39,7 @@ * @(#)dir.c 8.2 (Berkeley) 1/2/94 */ +#include lc.h #include sys/cdefs.h __FBSDID($FreeBSD$); diff -u ../make/for.c ./for.c --- ../make/for.c 2010-09-17 12:56:04.0 +0200 +++ ./for.c 2010-09-17 12:31:32.0 +0200 @@ -32,6 +32,7 @@ * @(#)for.c 8.1 (Berkeley) 6/6/93 */ +#include lc.h #include sys/cdefs.h __FBSDID($FreeBSD$); diff -u ../make/hash.c ./hash.c --- ../make/hash.c 2010-09-17 12:56:04.0 +0200 +++ ./hash.c2010-09-17 12:37:44.0 +0200 @@ -39,6 +39,7 @@ * @(#)hash.c 8.1 (Berkeley) 6/6/93 */ +#include lc.h #include sys/cdefs.h __FBSDID($FreeBSD$); diff -u ../make/hash_tables.c ./hash_tables.c --- ../make/hash_tables.c 2010-09-17 12:56:04.0 +0200 +++ ./hash_tables.c 2010-09-17 12:37:58.0 +0200 @@ -4,6 +4,7 @@ * auto-generated from FreeBSD: src/usr.bin/make/parse.c,v 1.114 2008/03/12 14:50:58 obrien Exp * DO NOT EDIT */ +#include lc.h #include sys/types.h #include hash_tables.h diff -u ../make/job.c ./job.c --- ../make/job.c 2010-09-17 12:56:04.0 +0200 +++ ./job.c 2010-09-17 12:38:12.0 +0200 @@ -39,6 +39,7 @@ * @(#)job.c 8.2 (Berkeley) 3/19/94 */ +#include lc.h #include sys/cdefs.h __FBSDID($FreeBSD$); Only in .: lc.h Only in .: .lc.h.swp diff -u ../make/lst.c ./lst.c --- ../make/lst.c 2010-09-17 12:56:04.0 +0200 +++ ./lst.c 2010-09-17 12:38:23.0 +0200 @@ -36,7 +36,7 @@ * lst.c -- * Routines to maintain a linked list of objects. */ - +#include lc.h #include stdio.h #include stdlib.h diff -u ../make/main.c ./main.c --- ../make/main.c 2010-09-17 12:56:04.0 +0200 +++ ./main.c2010-09-17 12:55:03.0 +0200 @@ -37,6 +37,8 @@ * * @(#)main.c 8.3 (Berkeley) 3/19/94 */ +#include lc.h +#undef __unused #ifndef lint #if 0 @@ -372,7 +374,7 @@ rearg: optind = 1; /* since we're called more than once */ - optreset = 1; +/* optreset = 1;*/ #define OPTFLAGS ABC:D:d:E:ef:I:ij:km:nPpQqrSstV:vXx: for (;;) { if ((optind argc) strcmp(argv[optind], --) == 0) { @@ -529,7 +531,7 @@ MFLAGS_append(-q, NULL); break; case 'r': - noBuiltins = TRUE; + noBuiltins = !noBuiltins; MFLAGS_append(-r, NULL); break; case 'S': @@ -892,7 +894,7 @@ * Initialize file global variables. */ expandVars = TRUE; - noBuiltins = FALSE; /* Read the built-in rules */ + noBuiltins = TRUE; /* Read the built-in rules */
/usr/local/etc/rc.d/imapproxyd start
There seems to be a problem with starting up the IMAP proxy server imapproxyd: # /usr/local/etc/rc.d/imapproxyd start says Starting imapproxyd. but doesn't return the # prompt ... # ps -jawx | grep imap root 21490 21426 21490 64248 1 S+ 3 0:00.01 /bin/sh /usr/local/etc/rc.d/imapproxyd start root 21496 21490 21490 64218 1 S+ 3 0:00.01 /usr/local/sbin/in.imapproxyd I would expect the /bin/sh line to disappear and the # prompt to come back. If (from another terminal window) I do # /usr/local/etc/rc.d/imapproxyd stop is says Stopping imapproxyd. # (returns the prompt) If the first window, it says: Terminated /usr/local/etc/rc.d/imapproxyd: WARNING: failed to start imapproxyd ?? 1. what is wrong here and how to correct it ? 2. also, although I do have a user nobody and a group nobody in FreeBSD 8 and the config file /usr/local/etc/imapproxyd.conf specifies (default setting) proc_username nobody proc_groupname nobody I wonder why the processes (ps -jawx) show root as the process owner ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Need bsd make for AIX
On 09/17/10 12:58, Ivan Voras wrote: I don't claim the patched make will work perfectly but it works for simple cases :) Also archived here (with the lc.h missed in previous version): http://people.freebsd.org/~ivoras/diffs/make-lc.patch ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Need bsd make for AIX
On Thu, Sep 16, 2010 at 12:40 PM, srividy...@tcs.com wrote: We have some open source code for RPC calls - DCE that has c programs and corresponding makefiles. When we tried gmake or make ( AIX make) , we were getting syntax errors. We found that all the makefiles had syntax that corresponds to makeutility of BSD? Do you have any alternative? Is there any BSD make utility that can be installed in AIX machine? Srividya K Tata Consultancy Services Mailto: srividy...@tcs.com Website: http://www.tcs.com Perhaps you could contact the authors of the code you are trying to compile and ask them how they did it. They might have a straightforward solution and maybe a reason as to why they chose BSD make Also, have you tried bmake? Regards Gautham Ganapathy http://lisphacker.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Plextor PX-870A drives
On Thu, 16 Sep 2010 22:40:49 -0400, Robert Ames roberta...@hotmail.com wrote: I have a couple of Plextor PX-870A drives in different machines (see below) that I'm trying to use with atapicam. The drives mostly work (booting, reading data, etc.) but for whatever reason neither of them will play audio CDs using the cdcontrol play command. They just sit there. The drives never spin up. Have you made sure that this drive can actually play audio CDs? I assume that drive exist that can't. It's easy to check: # cdrecord -prcap -dev 0,0,0 Watch for the line Does play audio CDs. This assumes you have ATAPICAM facility loaded. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /usr/local/etc/rc.d/imapproxyd start
On Fri, Sep 17, 2010 at 01:02:03PM +0200, n dhert wrote: There seems to be a problem with starting up the IMAP proxy server imapproxyd: # /usr/local/etc/rc.d/imapproxyd start says Starting imapproxyd. but doesn't return the # prompt ... # ps -jawx | grep imap root 21490 21426 21490 64248 1 S+ 3 0:00.01 /bin/sh /usr/local/etc/rc.d/imapproxyd start root 21496 21490 21490 64218 1 S+ 3 0:00.01 /usr/local/sbin/in.imapproxyd I would expect the /bin/sh line to disappear and the # prompt to come back. And so it should. I have just installed and tested it, and it works fine. The only way I can replicate the behaviour you report is if I misspell the name of the backend IMAP server - so start checking there. If it's not a typo, it is likely some other variety of DNS error. If (from another terminal window) I do # /usr/local/etc/rc.d/imapproxyd stop is says Stopping imapproxyd. # (returns the prompt) If the first window, it says: Terminated /usr/local/etc/rc.d/imapproxyd: WARNING: failed to start imapproxyd ?? 1. what is wrong here and how to correct it ? 2. also, although I do have a user nobody and a group nobody in FreeBSD 8 and the config file /usr/local/etc/imapproxyd.conf specifies (default setting) proc_username nobody proc_groupname nobody I wonder why the processes (ps -jawx) show root as the process owner ? It will need to start as root in order to bind all the resources it needs, before dropping privileges. Remember that only root can bind ports below 1024. It works fine here. Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgp4BlcxyfoWN.pgp Description: PGP signature
RE: Plextor PX-870A drives
It claims to be able to play audio CDs. $ cdrecord -prcap -dev 2,0,0 scsidev: '2,0,0' scsibus: 2 target: 0 lun: 0 Cdrecord-Clone 2.01 (i386-unknown-freebsd8.0) Copyright (C) 1995-2004 J\xf6rg Schilling Using libscg version 'schily-0.8'. Device type: Removable CD-ROM Version: 0 Response Format: 3 Capabilities : Vendor_info: 'PLEXTOR ' Identifikation : 'DVDR PX-870A ' Revision : '1.06' Device seems to be: Generic mmc2 DVD-R/DVD-RW. Drive capabilities, per MMC-3 page 2A: Does read CD-R media Does write CD-R media Does read CD-RW media Does write CD-RW media Does read DVD-ROM media Does read DVD-R media Does write DVD-R media Does read DVD-RAM media Does write DVD-RAM media Does support test writing Does read Mode 2 Form 1 blocks Does read Mode 2 Form 2 blocks Does read digital audio blocks Does restart non-streamed digital audio reads accurately Does support Buffer-Underrun-Free recording Does read multi-session CDs Does read fixed-packet CD media using Method 2 Does not read CD bar code Does read R-W subcode information Does return R-W subcode de-interleaved and error-corrected Does read raw P-W subcode data from lead in Does return CD media catalog number Does return CD ISRC information Does support C2 error pointers Does not deliver composite A/V data Does play audio CDs Number of volume control levels: 256 Does support individual volume control setting for each channel Does support independent mute setting for each channel Does not support digital output on port 1 Does not support digital output on port 2 Loading mechanism type: tray Does support ejection of CD via START/STOP command Does not lock media on power up via prevent jumper Does allow media to be locked in the drive via PREVENT/ALLOW command Is not currently in a media-locked state Does not support changing side of disk Does not have load-empty-slot-in-changer feature Does not support Individual Disk Present feature Maximum read speed: 8468 kB/s (CD 48x, DVD 6x) Current read speed: 8468 kB/s (CD 48x, DVD 6x) Maximum write speed: 8468 kB/s (CD 48x, DVD 6x) Current write speed: 8468 kB/s (CD 48x, DVD 6x) Rotational control selected: CLV/PCAV Buffer size in KB: 2048 Copy management revision supported: 1 Number of supported write speeds: 10 Write speed # 0: 8467 kB/s CAV (CD 48x, DVD 6x) Write speed # 1: 7056 kB/s CLV/PCAV (CD 40x, DVD 5x) Write speed # 2: 5645 kB/s CLV/PCAV (CD 32x, DVD 4x) Write speed # 3: 4234 kB/s CLV/PCAV (CD 24x, DVD 3x) Write speed # 4: 2822 kB/s CLV/PCAV (CD 16x, DVD 2x) Write speed # 5: 1411 kB/s CLV/PCAV (CD 8x, DVD 1x) Write speed # 6: 0 kB/s CLV/PCAV (CD 0x, DVD 0x) Write speed # 7: 0 kB/s CLV/PCAV (CD 0x, DVD 0x) Write speed # 8: 0 kB/s CLV/PCAV (CD 0x, DVD 0x) Write speed # 9: 0 kB/s CLV/PCAV (CD 0x, DVD 0x) Date: Fri, 17 Sep 2010 14:07:23 +0200 From: free...@edvax.de To: roberta...@hotmail.com CC: freebsd-questions@freebsd.org Subject: Re: Plextor PX-870A drives On Thu, 16 Sep 2010 22:40:49 -0400, Robert Ames roberta...@hotmail.com wrote: I have a couple of Plextor PX-870A drives in different machines (see below) that I'm trying to use with atapicam. The drives mostly work (booting, reading data, etc.) but for whatever reason neither of them will play audio CDs using the cdcontrol play command. They just sit there. The drives never spin up. Have you made sure that this drive can actually play audio CDs? I assume that drive exist that can't. It's easy to check: # cdrecord -prcap -dev 0,0,0 Watch for the line Does play audio CDs. This assumes you have ATAPICAM facility loaded. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Windows AD and ntpd sync problem
On 13/09/2010 4:45 PM, Omer Faruk SEN wrote: Hi, I am trying to sync my time against a ntp server on Active Directory but no matter what i do ntpd did not sync against AD's NTP server. ntpdate works perfectly against AD but not ntpd. I think you will have trouble doing this. AD's time service is not a true NTP service - it's SNTP with a dash of smarts around increasing frequency and backing off, plus automatic selection of masters / distribution hierarchy. I'd suggest setting up the NTP server to use the NTP Pool project (pool.ntp.org, or the appropriate country subdomain) and configuring AD to synchronise to the NTP server (that should work fine). Dave. -- David Rawling PD Consulting And Security Mob: +61 412 135 513 Email: d...@pdconsec.net Please note that whilst we take all care, neither PD Consulting and Security nor the sender accepts any responsibility for viruses and it is your responsibility to scan for viruses. The contents are intended only for use by the addressee and may contain confidential and/or privileged material and any use by other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: The nightmarish problem of installing a printer
On 9/17/2010 2:14 AM, Peter wrote: On Fri, 17 Sep 2010 01:45:54 +0100 Chabane HEMDANIhemdani2...@gmail.com wrote: I've search, read, learn, follow instructions about nearly all the web-documentation about installing a new printer to work under cups without any success. I've an HP Laser Jet 1018 printer and tools given by package print/hplip don't work correctly. I'm using FreeBSD 8.1-RELEASE I've rebuild a kernel without ulpt. I modified my /etc/rc.conf to enable cupsd and hpiod and hpssd. I modified /etc/devfs.rules like suggested by cups (see pkg_info -D cups-base-1.4.4 ). I've made many other configurations like that suggested at http://diablotins.org/index.php/Imprimer,_hplip http://diablotins.org/index.php/Imprimer,_hplip%20 and finally, I've given to my students the wrong answer that no one can print under FreeBSD ! Which is wrong, all you need is a printer, that is _supported_. Please where is the problem? The LaserJet 1018 uses another protocol, so you need aditional software. Take a look at these sites: http://www.openprinting.org/printer/HP/HP-LaserJet_1018 http://foo2zjs.rkkda.com/ Before buying the next printer, see whether or not it is supported by Cups http://www.cups.org/ppd.php . Same goes for your students. Andreas -- GnuPG key : 0x2A573565|http://www.gnupg.org/howtos/de/ Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 I got an HP Laser 1018 - works perfectly fine using the foo2zjs drivers, and I do believe ultp0. I can send you my configs once I get home if you want. The real pain which I keep forgetting after a reload or on new pc, was having to initialize [cat firmware /dev/ulpt0] each time the computer is rebooted [ie @reboot in cron]. ]Peter[ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org The issue I tend to get is cups doesnt have permission to access the /dev/ulpt... i have to add an entry in devfs.conf to all it to print ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: apropos returning same item twice
On Thursday 16 September 2010 4:12:44 am Wayne Sierke wrote: On Wed, 2010-09-15 at 18:27 -0400, Steven Friedrich wrote: On Wednesday 15 September 2010 12:39:15 pm Wayne Sierke wrote: On Tue, 2010-09-14 at 00:37 +, Alexander Best wrote: On Sat Sep 11 10, Steven Friedrich wrote: Why does apropos list mysql(1) twice? It doesn't return duplicates with apropos kde... maybe you have a gzip'ed and plain version in /usr ? see PR #4419. cheers. alex Are you certain that /etc/manpath.config doesn't just still have /usr/X11R6/man configured (as well as /usr/local/man)? Admittedly the kde issue is a mystery, assuming its manpages are installed in /usr/local/man. This system has the following: OPTIONAL_MANPATH /usr/local/man # (disabled by xorg-libraries port) OPTIONAL_MANPATH /usr/X11R6/man MANPATH_MAP /usr/local/bin /usr/local/man # (disabled by xorg-libraries port) MANPATH_MAP /usr/X11R6/bin /usr/X11R6/man Is the whatis file being updated? Check the timestamp: # ls -l /usr/local/man/whatis -rw-r--r-- 1 root wheel 273178 Sep 11 04:22 /usr/local/man/whatis Wayne ad...@laptop2(/dev/pts/1)/usr/home/admin 106% apropos mysql snip ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I still have X11R6 in usr symlinked to /usr/local. This was done per entry 20070519 in /usr/ports/UPDATING. Do we still need this symlink? Yes, anything that references /usr/X11R6 gets directed to /usr/local. Well I temporarily removed it and this anomaly disappeared. Perhaps we just have to suffer until we know the symlink can be removed. I thought it was going to eventually be removed... Did you check /etc/manpath.config and the timestamp on /usr/local/man/whatis? grep -v '^#' manpath.config MANDATORY_MANPATH /usr/share/man MANDATORY_MANPATH /usr/share/openssl/man OPTIONAL_MANPATH/usr/local/man MANPATH_MAP /bin/usr/share/man MANPATH_MAP /usr/bin/usr/share/man MANPATH_MAP /usr/local/bin /usr/local/man OPTIONAL_MANPATH/usr/local/lib/perl5/5.12.2/man OPTIONAL_MANPATH/usr/local/lib/perl5/5.12.2/perl/man Another check is that the output of manpath(1) doesn't include /usr/X11R6/man. manpath /usr/share/man:/usr/local/man:/usr/local/kde4/man:/usr/share/openssl/man:/usr/local/lib/perl5/5.12.2/man:/usr/local/lib/perl5/5.12.2/perl/man Wayne -- System Name: laptop2.StevenFriedrich.org Hardware: 2.80GHz Intel Pentium 4 (HTT) with 2 GB memory OS version:FreeBSD 8.1-RELEASE i386 (6.9 MB kernel) manager(s):kde4-4.5.1 X windows: xorg-7.5X.Org X Server 1.7.5 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Latest KDE 4.5.1
Can anyone install the Fortune plasma widget? It doen't show up in my widget box, and I even tried to install the downloaded plasmoid I found in /tmp/kde-admin. No joy. I'm trying to discover if this anomaly is everywhere, or I just need to rebuild something.. -- System Name: laptop2.StevenFriedrich.org Hardware: 2.80GHz Intel Pentium 4 (HTT) with 2 GB memory OS version:FreeBSD 8.1-RELEASE i386 (6.9 MB kernel) manager(s):kde4-4.5.1 X windows: xorg-7.5X.Org X Server 1.7.5 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: The nightmarish problem of installing a printer
On Fri, Sep 17, 2010 at 01:45:54AM +0100, Chabane HEMDANI wrote: I'm computer science teacher at university of Tizi-ouzou in Algeria. I'm using FreeBSD since 2007 when I discover it by chance when searching in the Web something about Linux. Since that date, I always invited and recommended to my students to install and use this magical and my favorite system. However, all my students retort me that they have a problem of installing their printers. I have so this problem, so I can't tell good-bye definitively to winosor and Linux. I always need them for printing. I've search, read, learn, follow instructions about nearly all the web-documentation about installing a new printer to work under cups without any success. I've an HP Laser Jet 1018 printer and tools given by package print/hplip don't work correctly. I'm using FreeBSD 8.1-RELEASE I've rebuild a kernel without ulpt. I modified my /etc/rc.conf to enable cupsd and hpiod and hpssd. I modified /etc/devfs.rules like suggested by cups (see pkg_info -D cups-base-1.4.4 ). I've made many other configurations like that suggested at http://diablotins.org/index.php/Imprimer,_hplip http://diablotins.org/index.php/Imprimer,_hplip%20 and finally, I've given to my students the wrong answer that no one can print under FreeBSD ! Please where is the problem? Please help me to help others. Please help me to enlarge the FreeBSD users community. Many congratulations on your efforts to promote FreeBSD! I'm not going to tell you how to print with CUPS as it's too complicated and fragile for my liking. Have you thought about using lpd(8)? If your printer can understand Postscript (and I believe HP Laserjets can) then this can be a fairly simple process as you just send the raw PS to the printer with lpr(1) via a spool and filter. My filter: #!/bin/sh cat - echo \f # and my printcap(5) isn't overly complicated either and the format is well documented in it's manpage. Most Unix applications can produce Postscript or PDF (which can be converted to PS with ps2pdf which comes with Ghostscript) and LaTeX can produce PS with dvips. I recommend LaTeX for all users, especially university based users who are going to produce thesis/technical docs. Anyway, just a thought. Setting up lpd is documented in the Handbook of course. If your printer can't speak Postscript then you have to use Ghostscript and something like apsfilter with lpd. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Plextor PX-870A drives
On 9/17/2010 7:24 AM, Robert Ames wrote: It claims to be able to play audio CDs. There's two things I can think of. With cdcontrol on a cd-rw drive I have, it needs the cd audio cable hooked up from the drive to the motherboard or else it's silent. My dvd-rw drive doesn't have that port but I haven't tested audio cd's in it. It's possible the does play audio cd's is about reading the format rather than playing, and I believe cdcontrol tells the drive to play instead of the OS playing it. You could try another media player to see if it'll play the disc or if you can rip the tracks off. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Plextor PX-870A drives
On Sep 17, 2010, at 1:04 PM, Joshua Isom wrote: On 9/17/2010 7:24 AM, Robert Ames wrote: It claims to be able to play audio CDs. There's two things I can think of. With cdcontrol on a cd-rw drive I have, it needs the cd audio cable hooked up from the drive to the motherboard or else it's silent. My dvd-rw drive doesn't have that port but I haven't tested audio cd's in it. It's possible the does play audio cd's is about reading the format rather than playing, and I believe cdcontrol tells the drive to play instead of the OS playing it. You could try another media player to see if it'll play the disc or if you can rip the tracks off. So you should plug headphones into the front? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: The nightmarish problem of installing a printer
On Fri, 17 Sep 2010, Frank Shute wrote: I'm not going to tell you how to print with CUPS as it's too complicated and fragile for my liking. Agreed. Have you thought about using lpd(8)? If your printer can understand Postscript (and I believe HP Laserjets can) then this can be a fairly simple process as you just send the raw PS to the printer with lpr(1) via a spool and filter. My filter: #!/bin/sh cat - echo \f # That might not even be necessary; it just adds a formfeed to the job, which PostScript doesn't need. Helps with some PCL jobs, and PS printers usually do PCL also. and my printcap(5) isn't overly complicated either and the format is well documented in it's manpage. My lpd doc is an attempt to put everything about lpd in one place, with simple but complete examples: http://www.wonkity.com/~wblock/docs/html/lpdprinting.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: The nightmarish problem of installing a printer
On Fri, 17 Sep 2010 18:10:56 +0100, Frank Shute fr...@shute.org.uk wrote: I'm not going to tell you how to print with CUPS as it's too complicated and fragile for my liking. If you have a printer that understands at least SOME standards, maybe you want to look at apsfilter instead of CUPS; apsfilter is a lightweight, but still powerful collection of printer filters that supports many standards. Have you thought about using lpd(8)? If your printer can understand Postscript (and I believe HP Laserjets can) then this can be a fairly simple process as you just send the raw PS to the printer with lpr(1) via a spool and filter. If the printer can understand PCL, as many HP Laserjet products do (at least the professional ones from office class product lines), you can also use apsfilter for that. In this case, it's even to be considered an overhead as apsfilter uses gs (ghostscript) to turn the PS input into PCL. A short read of man gs should give you all you need to know about how to use PCL for your printer. Oh, and professional office-class printers usually are networked printers, so no need to mess with silly USB. :-) Most Unix applications can produce Postscript or PDF (which can be converted to PS with ps2pdf which comes with Ghostscript) and LaTeX can produce PS with dvips. Postscript is *the* default output format for printing in UNIX in general, as well as in X. For LaTeX, there's pdflatex to produce PDF output directly, a very useful tool for automated document production and printing. (Yes, you don't need Acrobat Reader to print PDF files, you can just use lpr *.pdf to get a stack of PDF files printed without any further interaction.) I recommend LaTeX for all users, especially university based users who are going to produce thesis/technical docs. Absolutely. If your printer can't speak Postscript then you have to use Ghostscript and something like apsfilter with lpd. As I mentioned. Sadly, there nowadays is a whole bunch of printing stuff, obsoleting one unified system that is to be used for printing. What comes to my mind? Of course CUPS, hpijs, Gutenprint, Foomatic, Gimp-print, several deamons and datafiles... what a mess - it's almost like WIndows. Sorry. I would like to have ONE thing that is used for printing, and that does support ALL printers, and that does not force the user to search the web (bah!) for some arbitrary binary files. Of course, that's what printer manufacturers seem to want: Incompatible, non-standard and complicated crap, requiring bloated software to run. That's not how UNIX experience should be. My take: Whenever possible, get a professional printer. Think BEFORE you buy it. Even used (!) office-class hardware is acceptable. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: The nightmarish problem of installing a printer
On Fri, Sep 17, 2010 at 06:10:56PM +0100, Frank Shute wrote: On Fri, Sep 17, 2010 at 01:45:54AM +0100, Chabane HEMDANI wrote: I'm computer science teacher at university of Tizi-ouzou in Algeria. I'm using FreeBSD since 2007 when I discover it by chance when searching in the Web something about Linux. Since that date, I always invited and recommended to my students to install and use this magical and my favorite system. However, all my students retort me that they have a problem of installing their printers. I have so this problem, so I can't tell good-bye definitively to winosor and Linux. I always need them for printing. I've search, read, learn, follow instructions about nearly all the web-documentation about installing a new printer to work under cups without any success. I've an HP Laser Jet 1018 printer and tools given by package print/hplip don't work correctly. According to http://www.openprinting.org/printer/HP/HP-LaserJet_1018 it is best to use the foo2zjs driver: http://foo2zjs.rkkda.com/ But it only works in black and white. Please where is the problem? Printers these days are by-and-large built for MS windoze, without much thought for other operating systems. So they tend to use unpublished communications protocols or only work with the driver that works on windoze. When shopping for a printer, preferably look for one that understands the PostScript page description language. Those will work in FreeBSD and Linux without problems. These tend to be more high-end models, and may be more expensive when new. Secondhand they are probably more affordable, especially for students! If that is not an option, try for a printer that is supported by ghostscript (the print/ghostscript8 port) You can see the printers it supports by running 'make config' in /usr/ports/print/ghostscript8. Printers that use the PCL (HP) or ESC/P (epson) printing protocols should work without problems. Alternatively look for a printer that is supported by the gutenprint driver; http://www.openprinting.org/driver/gutenprint/ When you are thinking about buying a certain model of printer, _always_ check the openprinting database to see if it will work _before_ buying it: http://www.openprinting.org/printers Postscript (and I believe HP Laserjets can) then this can be a fairly Some do, particularly high-end models. Most consumer-oriented stuff does not. Hope this helps! Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgp2wBiEVoDvi.pgp Description: PGP signature
Re: (no subject)
I have an old box I want to turn into a file server backup machine. Unfortunately, the mainboard has only PATA headers. I do have three PCI slots though, so I was looking at a PCI SATA controller card that will get along with FreeBSD without a fuss. Nothing fancy, just something inexpensive that I can plug a few SATA drives into. Then I'll create a graid3 with them, or mess around with ZFS. Anyone using something worth a recommendation? There are IDE to SATA converters. You plug it directly into the IDE connector and on the other end you have a SATA150 plug. This is news to me. I now have two on the way :) Thank you! -Modulok- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Plextor PX-870A drives
Ryan Coleman ryan.cole...@cwis.biz writes: On Sep 17, 2010, at 1:04 PM, Joshua Isom wrote: On 9/17/2010 7:24 AM, Robert Ames wrote: It claims to be able to play audio CDs. There's two things I can think of. With cdcontrol on a cd-rw drive I have, it needs the cd audio cable hooked up from the drive to the motherboard or else it's silent. My dvd-rw drive doesn't have that port but I haven't tested audio cd's in it. It's possible the does play audio cd's is about reading the format rather than playing, and I believe cdcontrol tells the drive to play instead of the OS playing it. You could try another media player to see if it'll play the disc or if you can rip the tracks off. So you should plug headphones into the front? If there's a headphone jack on the front of the *drive*, then yes, that will probably work. What was intended, though, was probably to suggest that instead of cdcontrol(1), you install and try a cd playing program that supports digital extraction. Most programs in ports/audio that can play CDs at all will be able to handle this. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Can I compile sendmail simply through the ports collection?
Hi, I was wondering if I can simply recompile sendmail from the ports collection for FreeBSD 7.1 server. I need to recompile the sendmail on the server to add Cyrus SASL2 support. The instructions on FreeBSD point to src /usr/src/usr.sbin/sendmail which doesn't exist and I was wondering if I could simply recompile using the ports collection. Here is the instructions about compiling the Cyrus sasl2 support: http://www.freebsd.org/doc/handbook/smtp-auth.html Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: The nightmarish problem of installing a printer
Polytropon free...@edvax.de wrote: I would like to have ONE thing that is used for printing, and that does support ALL printers ... Isn't that exactly what CUPS is supposed to be? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Can I compile sendmail simply through the ports collection?
On 17/09/2010 22:36:07, Aflatoon Aflatooni wrote: Hi, I was wondering if I can simply recompile sendmail from the ports collection for FreeBSD 7.1 server. I need to recompile the sendmail on the server to add Cyrus SASL2 support. The instructions on FreeBSD point to src /usr/src/usr.sbin/sendmail which doesn't exist and I was wondering if I could simply recompile using the ports collection. Yes. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: (no subject)
On Friday 17 September 2010 17:45:40 Modulok wrote: I have an old box I want to turn into a file server backup machine. Unfortunately, the mainboard has only PATA headers. I do have three PCI slots though, so I was looking at a PCI SATA controller card that will get along with FreeBSD without a fuss. Nothing fancy, just something inexpensive that I can plug a few SATA drives into. Then I'll create a graid3 with them, or mess around with ZFS. Anyone using something worth a recommendation? There are IDE to SATA converters. You plug it directly into the IDE connector and on the other end you have a SATA150 plug. This is news to me. I now have two on the way :) Thank you! -Modulok- You're welcome ! Let me know if you need any info on the one I have. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio YET!!] (99% winfoes FREE) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: why is the PHP stuff line off by default in ports/lang/php5?
I don't for sure, but I'd say it's off by default because not everyone runs PHP with Apache, and mod_php5/libphp5.so is strictly for Apache. Lots of people use PHP with FastCGI or other purposes. If you always want it to be on, add the option to /etc/make.conf. Or, if you're using portupgrade or some other port management utility for upgrades, there are ways to set the default options for the ports you use. Hindsight is 20/20, but I'll go out on a limb here and say that it's generally considered good practice to test software after upgrading -- particularly if it's a web server running websites. Another thing to consider would be running something like Nagios to monitor your systems/sites to make sure things are working properly. Patrick On Thu, Sep 16, 2010 at 6:45 PM, Gary Kline kl...@thought.org wrote: Guys, Tell me if I'm wrong to be ticked off. I just learned that my website has been down for weeks. My KVM switch doesn't work to let me have control of the console of my server [ns1|ethic].thought.org. Whether it was a cheap KVM switch or whether the '09 Dell 550 is defective is unknown. I have a new KVM switch. I do need direct control of the console for many reasons, but mostly to portupgrad ports. In the months since I first got ethic working, everything _but_ X11 worked. In late August I upgraded apache and php5, rebooted, and just-assumed {TM} that apache22 was working. Weeks ago I did read and edit my non-blog blog; further reason to assume that everything worked. A couple hours ago my web server was not running. I traced it to a missing libphp5.so. I checked the makefile and found the php stuff defaults to off. ...I am thinking this is a security risk, but most of us are reasonably sophisticated about such things Comments, anybody? -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Anyone familiar with authsmtp service and Sendmail.
I am trying to configure my sendmail to send out the emails generated locally on the server using the authsmtp service. But all their documentations and all my tweaking has been completely useless. I get the following errors in the log: Sep 18 00:03:25 zara sm-mta[58380]: STARTTLS=client, relay=mail.authsmtp.com., version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256 Sep 18 00:03:35 zara sm-mta[58380]: o8I43OdE058378: to=aaflat...@yahoo.com, delay=00:00:11, xdelay=00:00:11, mailer=relay, pri=30260, relay=mail.authsmtp.com. [62.13.128.188], dsn=5.0.0, stat=Service unavailable Here is the content of my freebsd.mc divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.34.2.3.4.1 2009/04/15 03:14:26 kensmith Exp $') OSTYPE(freebsd6) DOMAIN(generic) FEATURE(access_db, `hash -o -TTMPF /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') define(`SMART_HOST', `[mail.authsmtp.com]')dnl dnl FEATURE(`authinfo')dnl define(`RELAY_MAILER_ARGS', `TCP $h 25')dnl define(`confCW_FILE', `-o /etc/mail/local-host-names') dnl Enable for both IPv4 and IPv6 (optional) DAEMON_OPTIONS(`Name=IPv4, Family=inet') dnl DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') define(`confBIND_OPTS', `WorkAroundBroken') define(`confNO_RCPT_ACTION', `add-to-undisclosed') define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') MAILER(local) MAILER(smtp) TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl Please help as I am going crazy I just can't get it to work! Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: sysinstall vs gmirror
Adam Vande More amvandem...@gmail.com wrote: On Sun, Sep 12, 2010 at 11:14 PM, per...@pluto.rain.com wrote: The part I don't know how to do is partitioning gm0 by hand. (I suppose it would require some sort of arcane incantations involving bsdlabel.) For all its limitations, sysinstall seems at least to know how to translate a reasonably human- readable representation of the desired slice and partition layout into the necessary fdisk and bsdlabel commands. I don't know of any exact howto, but the general principles are laid out here: http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror I finally had time to (try to) read through that, and I'm having trouble locating a description of how to partition a gmirror. (The page seems oriented almost entirely to ZFS and gpart, the only mention of gmirror being in connection with swap.) I'm quite sure I don't want to attempt ZFS on a machine with only 512MB, and I'm not at all sure that a BIOS of this age would understand gpart. It shows how to load geom modules from usb stick I had already figured out that part :) Fixit# ln -s /dist/boot/kernel /boot Fixit# gmirror load which is all I think I need until I get the mirror partitioned. Next fdisk/gpart accordingly (don't forget to make it bootable). This is where I get stuck. I've partitioned the physical drives using sysinstall, but how do I go about partitioning gm0? If your setup if GPT compatible, I recommend using it. How do I find out whether this setup is GPT compatible? IMO, it's significantly more straightforward than the old mbr style. I sure did not get that impression from reading gpart(8) :( For starters there seem to be at least 6 kernel options, of which I guess I may need 3: GEOM_PART_BSD, GEOM_PART_GPT, and GEOM_PART_MBR; there's apparently no edit function; and one has to puzzle out what is meant by a protective MBR as part of understanding how to make a GPT partition bootable. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: sysinstall vs gmirror
On Fri, Sep 17, 2010 at 11:09 PM, per...@pluto.rain.com wrote: Next fdisk/gpart accordingly (don't forget to make it bootable). This is where I get stuck. I've partitioned the physical drives using sysinstall, but how do I go about partitioning gm0? Your problem is that you are still using sysinstall. You can't for your purposes(this was pointed out earlier). Fixit only! Notice in the example it creates some basic filesystems/diretories and then chroot's and extracts the dist's manually. You must do the same after you do the gmirror/gjournal setup to your liking and have created the appropriate fs's and mounted them. If your setup if GPT compatible, I recommend using it. How do I find out whether this setup is GPT compatible? Hardware(BIOS) dependent. For starters there seem to be at least 6 kernel options, of which I guess I may need 3: GEOM_PART_BSD, GEOM_PART_GPT, and GEOM_PART_MBR; there's apparently no edit function; and one has to puzzle out what is meant by a protective MBR as part of understanding how to make a GPT partition bootable. Yeah, there is no label editor or resize functionality, yet anyway. You don't need to worry about any of those kernel options yet, just get it working by loading from loader.conf. You can customize your kernel later. I think the protective MBR part relates to GPT/MBR hybrid style which is not what I think you should do, but maybe it works haven't tried it. You'll use gpart to create(and label) at least 3 parttitions, the boot, swap, and freebsd-ufs filesystem. You'll have to create more if you want seperate /usr /var /tmp etc. Once the fs's are created and mounted, extract, edit the /boot/loader.conf in the chroot to load gmirror, gjournal, and anything else you need, Note about the bootloader part, use gpart to install the boot code to the boot partition you create, I don't think you'll need to do anything special other than that. This example may also be helpful because it deals with GPT/UFS manual install, but doesn't use any other geom classes. http://wiki.freebsd.org/RootOnZFS/UFSBoot -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org