RE: vinum concatenated raid setup problems
> > start_vinum="YES" is already in the /etc/rc.conf...see below: > > > > --- > > thegibsor# cat /etc/rc.conf > > # -- sysinstall generated deltas -- # Sun Oct 19 20:37:29 2003 > > # Created: Sun Oct 19 20:37:29 2003 > > # Enable network daemons for user convenience. > > # Please make all changes to this file, not to > /etc/defaults/rc.conf. > > # This file now contains just the overrides from > /etc/defaults/rc.conf. > > hostname="thegibsor.thebeatbox.org" > > sshd_enable="YES" > > usbd_enable="NO" > > start_vinum="YES" # set to YES to start vinum > > Doh! My faux pas. I'm reading up a bit, but this one may be > best left to > Greg. Have you verified that the vinum module has loaded > after boot? One > other thing I just noticed, you didn't use setupstate in the > volume line of > your config file...did you do an init on the second > plex/subdisk before you > newfs'd and mounted the volume? not a faux pas for me!! as i am new to this and it could be anything, I did init the second plex before newfs'ing and mounting it, but I think that the auto mounting is less of a problem than the config not being read (or vinum not starting) with the reboot. If i can get that fixed, i think i will be well on my way to getting this solved... it doesn't look like the vinum kld is being loaded, since even with the vinum config gone, it should say something like "no vinum drives found, vinum not loaded" in dmesg (i think, please correct me if im wrong) i will investigate this furthar and report back. thanks for the help roland ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Samba and ADS Support PLEASE...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 23 Oct 2003, Matt Edwards wrote: > Date: Thu, 23 Oct 2003 18:47:55 -0600 > From: Matt Edwards <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Samba and ADS Support PLEASE... > > Is it necessary to modify the Makefile of the samba-devel port on FreeBSD in order > to build the package with ADS support? I am not very familiar with the syntax of a > Makefile, but I can not seem to find anything in the FreeBSD 5.1 samba-devel > Makefile that talks of OpenLDAP, a requirement to ADS support. If it is necessary > could some one help me out with this? > > I have tried several times with still ADS support will not compile in. Also the > /usr/include/gssapi.h file must be removed before any make (even the just plain > "make") on samba completes. I have tried it about 3 times with 3 fresh installs of > FreeBSD 5.1 and a cvsup. I think there is something wrong with > the samba port but I am too inexperienced to know for sure. > > Has anyone else had this problem? i had this problem to. i've made some changes to the Makefile and added some more knobs. i've send my changes to the port maintainer. for anyone else who wants to use my modified version i've attached these files. Makefile replaces the original samba-devel/Makefile pkg-plist replaces the original samba-devel/pkg-plist patch-Makefile.in make wrepld buildable samba-devel/files/patch-Makefile.in i will rewrite the whole Makefile and the pkg-plist again to get rid of the user-definable path stuff. regards Joerg -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/mMKMSPOsGF+KA+MRAkQ+AKC7a07oyDkNwFopgDI4Nuw2TSCd0wCgh8LP Ieg+szTkWYyTb9vBV6Od92g= =H9Uc -END PGP SIGNATURE-# New ports collection makefile for:samba # Date created: 11th Feb 1995 # Whom: gpalmer # # $FreeBSD: ports/net/samba-devel/Makefile,v 1.96 2003/10/10 21:24:14 obraun Exp $ # PORTNAME= samba PORTVERSION=3.0.0 PORTEPOCH= 1 CATEGORIES= net MASTER_SITES= http://us3.samba.org/samba/ftp/%SUBDIR%/ MASTER_SITE_SUBDIR= . rc #DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/} MAINTAINER= [EMAIL PROTECTED] COMMENT=A free SMB and CIFS client and server for UNIX USE_BZIP2="YES" .if !defined(WITHOUT_CUPS) WITH_CUPS= yes .endif .if defined(WITH_CUPS) LIB_DEPENDS=cups.2:${PORTSDIR}/print/cups-base CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \ LDFLAGS=-L${LOCALBASE}/lib .endif # directories VARDIR= /var SAMBA_SPOOL=${VARDIR}/spool/samba SAMBA_LOGDIR= ${VARDIR}/log SAMBA_PRIVATE= ${PREFIX}/private SAMBA_CONFDIR= ${PREFIX}/etc # sample files STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/samba.sh.sample SAMPLE_CONFIG= ${SAMBA_CONFDIR}/smb.conf.default DOCSDIR=${PREFIX}/share/doc/samba NO_LATEST_LINK= yes USE_AUTOCONF= yes WANT_AUTOCONF_VER= 253 CONFIGURE_ARGS= --libdir=${SAMBA_CONFDIR} \ --localstatedir=${VARDIR} --with-swatdir=${PREFIX}/share/swat \ --with-sambabook=${PREFIX}/share/swat/using_samba \ --with-lockdir=${VARDIR}/lock --with-privatedir=${SAMBA_PRIVATE} \ --exec-prefix=${PREFIX} --with-pam --without-manpages-langs \ --with-piddir=${VARDIR}/run --with-logfilebase=${SAMBA_LOGDIR} \ --with-configdir=${SAMBA_CONFDIR} .include .if defined(WITH_WREPLD) ALL_TARGET+=all bin/wrepld PLIST_SUB= HAVE_WREPLD="" .else PLIST_SUB= HAVE_WREPLD="@comment" .endif .if defined(WITH_LDAP_COMPAT) .ifndef(WITH_LDAP) LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \ LDFLAGS=-L${LOCALBASE}/lib .endif CONFIGURE_ARGS+=--with-ldapsam .endif .if defined(WITH_LDAP) .ifndef(WITH_LDAP_COMPAT) LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \ LDFLAGS=-L${LOCALBASE}/lib .endif CONFIGURE_ARGS+=--with-ldap .endif .if defined(WITH_LDAP) && defined(WITH_LDAP_COMPAT) LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \ LDFLAGS=-L${LOCALBASE}/lib .endif .if defined(WITH_ADS) .ifndef(KRB5_HOME) BROKEN= "Needs KRB5_HOME=/path/to/Kerberos5_prefix" .endif .ifndef(WITH_LDAP) && !defined(WITH_LDAP_COMPAT) BROKEN= "Needs WITH_LDAP=yes or WITH_LDAP_COMPAT=yes" .endif CONFIGURE_ARGS+=--with-ads .endif .if defined(WITH_SYSLOG) CONFIGURE_ARGS+=--with-syslog .endif .if defined(WITH_QUOTAS) CONFIGURE_ARGS+=--with-quotas .endif .if defined(WITH_SYS_QUOTAS) CONFIGURE_ARGS+=--with-sys-quotas .endif .if defined(WITH_UTMP) CONFIGURE_ARGS+=--with-utmp .endif .if defined(WITH_MSDFS) CONFIGURE_ARGS+=--with-msdfs .endif .if defined(WITH_WINBIND) CONFIGURE_ARGS+=--with-winbind
Re: calcru: negative time... lots of odd "errors"
Hi, Looks like you may have a hardware fault: from /usr/src/sys/kern/kern_clock.c * 0 - every tick, bad hardware may fail with "calcru negative..." David On Thu, 23 Oct 2003, Heath Volmer wrote: > Hopefully this one will get through... > > I've searched exhaustively for an answer to this question, and can only > get answers that aren't entirely clear to me. > > I'm getting messages like: calcru: negative time of -630883 usec for pid > 537(sh). > > Getting probably 40 or so at boot and an occasional one during use. > > This a new 5.1 install on an older K6 500Mhz system that was given to > me. > > I have read something about a sysctl command (no good.) > > Also have seen something about a kernel TIMECOUNTER (I think) config > value. > > I've also seen something about PnP, bios settings, IRQ probs, etc. I'm > a bit too new at this to know where to take it. > > Help! > > Thanks, Heats > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: vinum concatenated raid setup problems
> start_vinum="YES" is already in the /etc/rc.conf...see below: > > --- > thegibsor# cat /etc/rc.conf > # -- sysinstall generated deltas -- # Sun Oct 19 20:37:29 2003 > # Created: Sun Oct 19 20:37:29 2003 > # Enable network daemons for user convenience. > # Please make all changes to this file, not to /etc/defaults/rc.conf. > # This file now contains just the overrides from /etc/defaults/rc.conf. > hostname="thegibsor.thebeatbox.org" > sshd_enable="YES" > usbd_enable="NO" > start_vinum="YES" # set to YES to start vinum Doh! My faux pas. I'm reading up a bit, but this one may be best left to Greg. Have you verified that the vinum module has loaded after boot? One other thing I just noticed, you didn't use setupstate in the volume line of your config file...did you do an init on the second plex/subdisk before you newfs'd and mounted the volume? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: vinum concatenated raid setup problems
Mike, thank you for the quick reply. > > The problems: > > 1 - I am able to build the RAID, create a filesystem, and mount to a > > directory in the tree. But I am not able to figure out how to add an > > entry to my /etc/fstab file so that it is automatically mounted on > > reboot. I have looked in the handbook and all it says is to "add the > > proper entries". I simple do not know what entry to add. > > Should be something like: > > /dev/vinum/yourvolume /mountpoint ufs rw 1 2 I will try this. Thank you > > 2 - On reboot, the vinum config is erased. (or at least > thats what it > > looks like...see dmesg output for info) It is my > understanding that on > > reboot, vinum reads it's configuration from each vinum > drive. Since I > > was able to create and mount the RAID, I assume that the > configuration > > would still be there on reboot, even thought it is not being mounted > > with fstab (see problem 1). I have tried this on several systems and > > have yet to be successful in having a vinum config survive reboot. I > > have re-read and re-read the vinum section in the handbook and have > > looked elsewhere but have had no luck :( > > Have you tried 'start_vinum="YES"' in /etc/rc.conf? start_vinum="YES" is already in the /etc/rc.conf...see below: --- thegibsor# cat /etc/rc.conf # -- sysinstall generated deltas -- # Sun Oct 19 20:37:29 2003 # Created: Sun Oct 19 20:37:29 2003 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. hostname="thegibsor.thebeatbox.org" sshd_enable="YES" usbd_enable="NO" start_vinum="YES" # set to YES to start vinum ifconfig_fxp0="inet 192.168.3.8 netmask 255.255.255.0" defaultrouter="192.168.3.1" kern_securelevel="2" kern_securelevel_enable="NO" sendmail_enable="NO" nfs_server_enable="NO" inetd_enable="YES" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Samba and ADS Support PLEASE...
Nice to know I am not alone thanks. I am really thinking this whole issue is related to that one file I removed. To remove the file I simply mv it gssapi.org and samba built successfully, though with out ADS support. I decided to look through the file and noticed that it made quite a few references to kerberos. 2+2=4 but I am still not sure why, how or even what to do to fix it. Suppose that's why I got into unix in the first place, the challenge of it all. Thanks, Matt - Original Message - From: "Jeronimo Romero" <[EMAIL PROTECTED]> To: "Matt Edwards" <[EMAIL PROTECTED]> Sent: Friday, October 24, 2003 10:41 PM Subject: RE: Samba and ADS Support PLEASE... *This message was transferred with a trial version of CommuniGate(tm) Pro* I had the same problem. I ended up downloading the source from samba.org and compiling myself. It took far less time than trying to figure out what was wrong with the port. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Edwards Sent: Thursday, October 23, 2003 8:48 PM To: [EMAIL PROTECTED] Subject: Samba and ADS Support PLEASE... Is it necessary to modify the Makefile of the samba-devel port on FreeBSD in order to build the package with ADS support? I am not very familiar with the syntax of a Makefile, but I can not seem to find anything in the FreeBSD 5.1 samba-devel Makefile that talks of OpenLDAP, a requirement to ADS support. If it is necessary could some one help me out with this? I have tried several times with still ADS support will not compile in. Also the /usr/include/gssapi.h file must be removed before any make (even the just plain "make") on samba completes. I have tried it about 3 times with 3 fresh installs of FreeBSD 5.1 and a cvsup. I think there is something wrong with the samba port but I am too inexperienced to know for sure. Has anyone else had this problem? Thanks in Advance, Matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: vinum concatenated raid setup problems
> The problems: > 1 - I am able to build the RAID, create a filesystem, and mount to a > directory in the tree. But I am not able to figure out how to add an > entry to my /etc/fstab file so that it is automatically mounted on > reboot. I have looked in the handbook and all it says is to "add the > proper entries". I simple do not know what entry to add. Should be something like: /dev/vinum/yourvolume /mountpoint ufs rw 1 2 > 2 - On reboot, the vinum config is erased. (or at least thats what it > looks like...see dmesg output for info) It is my understanding that on > reboot, vinum reads it's configuration from each vinum drive. Since I > was able to create and mount the RAID, I assume that the configuration > would still be there on reboot, even thought it is not being mounted > with fstab (see problem 1). I have tried this on several systems and > have yet to be successful in having a vinum config survive reboot. I > have re-read and re-read the vinum section in the handbook and have > looked elsewhere but have had no luck :( Have you tried 'start_vinum="YES"' in /etc/rc.conf? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Internal Cable modem support (or, recommendations for a goodexternal CM)
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 23, 2003 10:53 PM Subject: Internal Cable modem support (or, recommendations for a goodexternal CM) > Hey gang, > I think the problems I have been having lately are due to the Com21 DoxPort > cable modem. The brand spanking new FreeBSD based router is acting just like > the old NetGear router (which may be good news - the router may actually be > OK!). > > The symptoms are fairly repeatable. Under duress, the interface will appear to > go down. On the NetGear, I could recover by rebooting (via command - the > router itself, and the LAN ports, would work fine). On the FreeBSD router, I > can ifconfig xl0 down; ifconfig xl0 up - and regain connectivity. I would > suspect the card, but the same symptoms on two routers? That sounds > suspiciously like a problem with the CM. > > Also, having poked around on google, the concensus is that Com21 modems are a > load of poop - and I have one of the earliest models (I was an @home customer > before the big bang) > > That said, I'm looking to replace the Com21 modem with a new one. I'd like to > go with an Internal unit, but I'm not sure (1) whether they are any good or > not, and (2) if they are supported by FreeBSD 4.8-REL (or 4.9, which I hope > is coming soon) > > Otherwise, can anyone recommend a good DOCSIS 1.1 cable modem (with an RJ45 > port)? I'm on Comcast in Maryland, but I believe any DOCSIS modem should do > the job. > > Thanks, > Seth Henry A Toshiba 1100 (if I recall the model correctly) or a Surfborard 3100 on up should do you just fine with Comcast. Cox uses those modems generally. -- Micheal Patterson Network Administration Cancer Care Network 405-917-0600 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
vinum concatenated raid setup problems
Hello all, I have been trying without success to implement a simple vinum concatenated RAID system made up of 2 IDE drives. The boot drive is located on another physical drive and is not part of the RAID. The problems: 1 - I am able to build the RAID, create a filesystem, and mount to a directory in the tree. But I am not able to figure out how to add an entry to my /etc/fstab file so that it is automatically mounted on reboot. I have looked in the handbook and all it says is to "add the proper entries". I simple do not know what entry to add. 2 - On reboot, the vinum config is erased. (or at least thats what it looks like...see dmesg output for info) It is my understanding that on reboot, vinum reads it's configuration from each vinum drive. Since I was able to create and mount the RAID, I assume that the configuration would still be there on reboot, even thought it is not being mounted with fstab (see problem 1). I have tried this on several systems and have yet to be successful in having a vinum config survive reboot. I have re-read and re-read the vinum section in the handbook and have looked elsewhere but have had no luck :( Relevent Info: I have not made any changes to system or vinum sources. The system is a generic 5.1 installed from FTP today. >From the box: VINUM STATE BEFORE REBOOT ## vinum -> l 2 drives: D a State: up /dev/ad2A: 981/28629 MB (3%) D b State: up /dev/ad3A: 981/28629 MB (3%) 1 volumes: V core State: up Plexes: 2 Size: 27 GB 2 plexes: P core.p0 C State: up Subdisks: 1 Size: 27 GB P core.p1 C State: up Subdisks: 1 Size: 27 GB 2 subdisks: S core.p0.s0State: up D: aSize: 27 GB S core.p1.s0State: up D: bSize: 27 GB #VINUM STATE AFTER REBOOT ## vinum -> l 0 drives: 0 volumes: 0 plexes: 0 subdisks: #VINUM CONFIG FILE## thegibsor# cat vinum_config drive a device /dev/ad2 drive b device /dev/ad3 volume core plex org concat sd length 27g drive a plex org concat sd length 27g drive b RELEVANT DMESG BEFORE REBOOT ad0: 28629MB [58168/16/63] at ata0-master UDMA100 ad2: 28629MB [58168/16/63] at ata1-master UDMA100 ad3: 28629MB [58168/16/63] at ata1-slave UDMA100 acd0: CDROM at ata0-slave PIO4 Mounting root from ufs:/dev/ad0s1a vinum: drive a is up vinum: drive b is up vinum: core.p0.s0 is up vinum: core.p0 is up vinum: core is up vinum: core.p1 is faulty vinum: core.p1.s0 is reviving, not up vinum: core.p1.s0 is up by force vinum: core.p1 is up vinum: core.p1.s0 is up RELEVANT DMESG AFTER REBOOT# ad0: 28629MB [58168/16/63] at ata0-master UDMA100 ad2: 28629MB [58168/16/63] at ata1-master UDMA100 ad3: 28629MB [58168/16/63] at ata1-slave UDMA100 acd0: CDROM at ata0-slave PIO4 Mounting root from ufs:/dev/ad0s1a ###UNAME OUTPUT# $ uname -a FreeBSD thegibsor.thebeatbox.org 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i3 86 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Internal Cable modem support (or, recommendations for a good external CM)
Hey gang, I think the problems I have been having lately are due to the Com21 DoxPort cable modem. The brand spanking new FreeBSD based router is acting just like the old NetGear router (which may be good news - the router may actually be OK!). The symptoms are fairly repeatable. Under duress, the interface will appear to go down. On the NetGear, I could recover by rebooting (via command - the router itself, and the LAN ports, would work fine). On the FreeBSD router, I can ifconfig xl0 down; ifconfig xl0 up - and regain connectivity. I would suspect the card, but the same symptoms on two routers? That sounds suspiciously like a problem with the CM. Also, having poked around on google, the concensus is that Com21 modems are a load of poop - and I have one of the earliest models (I was an @home customer before the big bang) That said, I'm looking to replace the Com21 modem with a new one. I'd like to go with an Internal unit, but I'm not sure (1) whether they are any good or not, and (2) if they are supported by FreeBSD 4.8-REL (or 4.9, which I hope is coming soon) Otherwise, can anyone recommend a good DOCSIS 1.1 cable modem (with an RJ45 port)? I'm on Comcast in Maryland, but I believe any DOCSIS modem should do the job. Thanks, Seth Henry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: can't print Postscript to HP 5si/mx printer.
On Thu, Oct 23, 2003 at 04:52:32PM -0600, Warren Block wrote: > On Thu, 23 Oct 2003, Guy Middleton wrote: > > > We have an HP 5si/mx printer with PS installed, but when I try > > printing to it, the PS source is printed. The same printcap entry > > correctly prints onto an HP 5m printer. > > > > This is the printcap entry: > > > > lp:\ > > :sh:\ > > :rm=192.168.1.101:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: > > Try adding an rp entry (remote printer, or print queue name): > > lp:\ >:sh:\ >:rm=192.168.1.101:rp=raw:\ >:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: > > That may get the 5si/mx to see it; I'm not sure about the behavior when > no print queue name is specified. Thanks for the suggestion. I tried this, but no luck. I eventually gave up and installed CUPS, then grabbed an HP5SI PPD config file from the net somewhere, and everything seems to work now. pgp0.pgp Description: PGP signature
nat and ipfw
i have a freebsd server running 4.6.2 with 2 nic cards installed one for our lan (fxp0) that provides connection to the outside world via dsl and the other for an internal subnet (xl0). i have both natd and ipfw configured and running. when on the subnet, i can not connect to the outside. i tried flushing the firewall rules and adding only: ipfw add 100 divert natd all from any to any via fxp0 ipfw add 200 allow all from any to any i am then able to connect from a client on the subnet to an outside ip address. then i tried flushing the rules again and adding: ipfw add 100 divert natd all from any to any via fxp0 ipfw add 200 allow all from 192.168.53.200 to any ipfw add 300 allow all from any to 192.168.53.200 i don't understand why the above rules would stop the client on the subnet from making a connection to the outside. is there another rule i need to add? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 5.1 mfsroot floppy broken?
On Fri, Oct 24, 2003 at 09:24:25AM +1000, JacobRhoden wrote: > Hi, > > I have been trying to get an install of 5.1 using the floppies made off the > 5.1 ISO, and it seems they are broken. Has anyone else successfully achieved > an install using the boot disks? > > Regards > - Jacob > > Further Details: > After booting, custom install, and then selecting cdrom/dos > partion/floppies as the media, you receive the following error: > > Error mounting /dev/xxx on /dist: No such file for directory (2) > > (Just replace xxx with the media you have selected) I've seen something like this as well../dist didn't exist in the MFS root, but I think /mnt did. I wasn't sure if it was my fault somehow, so I didn't follow it up. This was probably with the 5.1-RELEASE fixit CD, which is the only install media I've used in the past few months. Kris pgp0.pgp Description: PGP signature
Re: restoring DOS partition from a tar file (SOLUTION)
On Tuesday 21 October 2003 04:17 pm, you wrote: > On Mon, 20 Oct 2003, Kent Hauser wrote: > > Is it possible to backup a DOS partition (bootable) & restore it from a > > tar file? I recently had a disk failure & used dump/restore on FreeBSD > > partitions & made a tar dump of the DOS one. After "newfs_msdos" & "tar > > x", the partition is not bootable. Is there a way to do this? > > This is actually a really interesting issue. The short answer to this > question is, "no." The long answer is, "I don't really know. Maybe." > I now know how to make this work. And it was a long strange journey. First, when I did "fdisk" & "newfs_msdos" from FreeBSD, neither my W98 SE distribution CD, nor my "Gateway Restore" CD would recognize the drive! (Hardware error, no drive C found.) Then when I delete all partitions, the W98 distribution disk would format the drive & install the OS, but FreeBSD would freeze during the un-tar. (Same result, 2 tries.) I was completely successful when I used the boot CD that came with the Seagate drive (downloadable from http://www.seagate.com/support/disc/drivers/discwiz.html). The "fdisk" and "format" on that CD allowed me to partition and format for W98. I created a bootable floppy which allowed my to "sys" the new C drive. The W98 was bootable. And the "tar" restore from FreeBSD worked fine. My conclusion: The FreeBSD fdisk + newfs_msdos seem to be buggy with regard to creating a primary DOS partition. The seagate tool + bootable W98 floppy allowed me to create bootable W98 partition. The tarfile restored the data. Your mileage may vary as I'm not a very good judge of when W98 is working properly. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Learning to Walk: A Linux User Migrates to FreeBSD
This is the follow up (part 2) to Babe in the Woods: A Linux User Migrates to FreeBSD. Interesting article. However I disagree with the views about handbook being written at the admin. level (and more). The article could be more positive. http://www.ofb.biz/modules.php?name=News&file=article&sid=269 __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
IPSEC tunnel issue..
Here's my situation. I've got 2 networks at different facilities that are using public routable IP's. Each end has a fbsd box in bridge mode as their firewall between the lan and the cisco routers at each end. I've been tasked to establish a secure tunnel between these two networks and I'm having some trouble. I've searched google for ipsec information on this but every thing that I have found depicts a private lan behind the public ip's of the tunnel endpoints. Has anyone been able to establish this type of tunnel successfully? If so, can you please direct me to some information on this? Thanks. -- Micheal Patterson Network Administration Cancer Care Network 405-917-0600 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Static NAT with natd and ipfw
A client wants to "expose" a host on a LAN behind a NAT firewall to the Internet at large. The host is is behind a FreeBSD machine that's functioning as (among other things) a NAT router. The host already has an unregistered internal address (which it needs to keep), but also must allow others to connect to it from the outside world via a "real" IP address that's distinct from that of the router. In other words, from the point of view of the Internet, I want the host to look as if it's outside the firewall at a separate address from the firewall itself. The natd man page mentions a -redirect_address command line option which looks as if it would do PART of the job. But what other configuration do I have to do (e.g. changes to rc.firewall, rc.conf, etc.) to make this work? I'm sure I could tinker and figure all of this out, but this week is quite busy and I need to get things set up in a hurry. (Also, it's a production system and don't want to cause unnecessary downtime while I experiment.) Advice, and sample lines from configuration files, would be much appreciated. --Brett Glass ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Samba and ADS Support PLEASE...
Is it necessary to modify the Makefile of the samba-devel port on FreeBSD in order to build the package with ADS support? I am not very familiar with the syntax of a Makefile, but I can not seem to find anything in the FreeBSD 5.1 samba-devel Makefile that talks of OpenLDAP, a requirement to ADS support. If it is necessary could some one help me out with this? I have tried several times with still ADS support will not compile in. Also the /usr/include/gssapi.h file must be removed before any make (even the just plain "make") on samba completes. I have tried it about 3 times with 3 fresh installs of FreeBSD 5.1 and a cvsup. I think there is something wrong with the samba port but I am too inexperienced to know for sure. Has anyone else had this problem? Thanks in Advance, Matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
5.1 mfsroot floppy broken?
Hi, I have been trying to get an install of 5.1 using the floppies made off the 5.1 ISO, and it seems they are broken. Has anyone else successfully achieved an install using the boot disks? Regards - Jacob Further Details: After booting, custom install, and then selecting cdrom/dos partion/floppies as the media, you receive the following error: Error mounting /dev/xxx on /dist: No such file for directory (2) (Just replace xxx with the media you have selected) ___ JacobRhoden -- http://rhoden.id.au/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrading the kernel
Ryan Thompson wrote: Robert H. Perry wrote to Ryan Thompson: In your scenario, yes, you'll definitely want to build a new kernel. In fact, I hope you elected to go with the security branch (RELENG_4_8), so that you get the 13 or so security related fixes that have been applied since 4.8 was released. Hadn't intended to, but now I'll have to consider it. This is my first upgrade and I was sticking with the basics. Yep. If you're upgrading from source anyway, upgrading to RELENG_4_8 is no harder than -RELEASE. If not, then it defaults to GENERIC. In your case, though, again, you shouldn't have any problems building from your custom conf. Just to clarify then, is the following OK: # cd /usr/src # make buildkernel KERNCONF=CUSTOM # make installkernel KERNCONF=CUSTOM CUSTOM is the name of my kernel config file. Yes. For the full how-to, follow the instructions in: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html - Ryan Ryan, Thanks for your time and assistance. Bob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
calcru: negative time... lots of odd "errors"
Hopefully this one will get through... I've searched exhaustively for an answer to this question, and can only get answers that aren't entirely clear to me. I'm getting messages like: calcru: negative time of -630883 usec for pid 537(sh). Getting probably 40 or so at boot and an occasional one during use. This a new 5.1 install on an older K6 500Mhz system that was given to me. I have read something about a sysctl command (no good.) Also have seen something about a kernel TIMECOUNTER (I think) config value. I've also seen something about PnP, bios settings, IRQ probs, etc. I'm a bit too new at this to know where to take it. Help! Thanks, Heats ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Probably dumb apache question
> > I have set up a new freebsd/apache/mod_ssl server. I want > to force all > > connections to use SSL. > > > > I know I can simply turn off listening on port 80, but > because I know people > > using this site will instinctivly type "http" instead of > "https", I'd like > > to force a redirect. > > > # Redirect *everything* to SSL. > RewriteEngine on > RewriteRule ^(.*) https://secure.foo.com$1 [R=301] > That works, except its changing the URL slightly. In the orignal http:// URI, I have a variable: &StatusOp=%3D After the rewrite, its appearing as: &StatusOp=%253D That's causing issues in the search. Any way to avoid that % being rewritten to %25? Thanks, Brent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: can't print Postscript to HP 5si/mx printer.
On Thu, 23 Oct 2003, Guy Middleton wrote: > We have an HP 5si/mx printer with PS installed, but when I try > printing to it, the PS source is printed. The same printcap entry > correctly prints onto an HP 5m printer. > > This is the printcap entry: > > lp:\ > :sh:\ > :rm=192.168.1.101:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: Try adding an rp entry (remote printer, or print queue name): lp:\ :sh:\ :rm=192.168.1.101:rp=raw:\ :sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: That may get the 5si/mx to see it; I'm not sure about the behavior when no print queue name is specified. > Is there any other option I need for this printer, such as a special escape > sequence for it to interpret Postscript? I think the PJL sequence is something like escape %12345!, but you should first check the printer menus to see if it's set to auto-detect the print job type or just interpret them all as PCL. -Warren Block * Rapid City, South Dakota USA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Ftp changing times of files.
[ CC'ing this back to -questions, and not trimming original message. Please CC [EMAIL PROTECTED] with your replies! ] Grant Peel wrote to Ryan Thompson: > OK here goes > > I have 3 machines. > > enterprise > excelsior > voyager > > each have clients /usr/bin/ftp > > the forst two are running ProFTPD daemons. > (I have since set the TimeGMT off in those two). It could be a ProFTPD issue, although I run ProFTPD, here, and was not able to reproduce the problem. One way to find out quickly is to re-enable the stock ftpd on one of the machines and retry your tests. If the problem goes away with a different server, it's a ProFTPD issue. > I can PUT a file from any server to another and the timestamp on the file > will match from the client to the server machine. > > When I GET a file, the file I GET has its timestamp set 4 hours > backwards. Hmm. That really reeks of time zone issues somewhere in the chain. Try simpler testing--the stock ftpd, rcp/scp, and see if you can obtain different results. So far, it's not obvious to *me* where the specific problem is, but further testing will help, and maybe someone else on the list has encountered this before. > Here are some clues: > > enterprise# date > Thu Oct 23 18:27:36 EDT 2003 > > excelsior# date > Thu Oct 23 18:27:03 EDT 2003 > > voyager# date > Thu Oct 23 18:27:34 EDT 2003 > > > I have a file on enterprise "ent_orig.txt" > > -rw-r--r--1 root grant0 Oct 23 17:33 orig_ent.txt > > When I log in from excelsior, and GET it, the timestamp shows: > > -rw-r--r-- 1 grant wheel 0 Oct 23 13:33 orig_ent.txt > > Yet, when I PUT if (Loggin into excelsior FROM enterprise) it shows: > > -rw-r--r-- 1 grant wheel 0 Oct 23 18:30 orig_ent.txt > > (Note, of course, it really was 18:30 when I did this, so that stamp is OK) > > Any ideas? > > -Grant > > Grant W. Peel > Server Admin > [EMAIL PROTECTED] > http://thenetnow.com > - Original Message - > From: "Ryan Thompson" <[EMAIL PROTECTED]> > To: "Grant Peel" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Thursday, October 23, 2003 6:09 PM > Subject: Re: Ftp changing times of files. > > > > Grant Peel wrote to [EMAIL PROTECTED]: > > > > > Hello all, > > > > > > The default ftp client from one of my servers > > > > You mean /usr/bin/ftp? > > > > > , seems to be changing the time and datestamps of files it gets from > > > other servers. > > > > To what? From what? Which time zones? mtime? ctime? atime? > > > > > All my servers are set to the same time (within a minute) and set to > > > the same timezone (EDT | EST). > > > > Please send us a concrete example. (screen(1) or similar, from an actual > > session showing the problem). > > > > - Ryan > > > > -- > > Ryan Thompson <[EMAIL PROTECTED]> > > > > SaskNow Technologies - http://www.sasknow.com > > 901-1st Avenue North - Saskatoon, SK - S7K 1Y4 > > > > Tel: 306-664-3600 Fax: 306-244-7037 Saskatoon > > Toll-Free: 877-727-5669 (877-SASKNOW) North America > > > > -- Ryan Thompson <[EMAIL PROTECTED]> SaskNow Technologies - http://www.sasknow.com 901-1st Avenue North - Saskatoon, SK - S7K 1Y4 Tel: 306-664-3600 Fax: 306-244-7037 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
pccardd - no PC-CARD slots on 5.1 release
Hey all, after googling for about 5 hours and trying everything I can think of on my own I hope someone can help. I just upgraded this morning from 4.9RC1 to 5.1 release and I can't seem to find my ethernet card. Laptop: Toshiba Tecra 8100 NIC: old 3Com 3C589C Kernel: Generic plus "device [tab] pcm" for soundcard Tricks I have tried (not in order): Adding "hw.pci.allow_unsupported_io_range=1" to /boot/loader.conf. Adding "irq [tab] 10" to /etc/pccard.conf Adding "device [tab] card 2" to my kernel (which made no sense to me but someone online said it worked for them) "pccardc dumpcis" - found 0 slots Manually forcing the IRQ of slot0 to 10 in device.hints Uncommenting the cbb, pcic, pccard and cardbus devices in varying combinations since someone in an old post had to turn one off for his card to work. The background is that this machine has run 4.4, 4.6, 4.7 and 4.9RC1 with the same card in the same slot. They worked this morning before the upgrade, so I'm pretty sure we can rule out hardware :). Yes I start pccardd in rc.conf and yes I recompile the kernel and install it before rebooting (without errors even!). I would love to include my entire dmesg since adding the "device pcic" actually got something loaded, but the command "mount_msdosfs /dev/fd0 /mnt" errors out since mount_msdosfs apparently wants a block device, not a char. Sigh, this is a painful painful day. Here are the lines that seems interesting from uncommenting pcic: pcic0 at port 0x3e0 iomem 0xd-0xd1fff irq 10 on isa0 pcic ident regs: 0x83 0x83 0xff 0xff pcic0: controller 0 (Intel 82365S Revision 1) has sockets A and B pccard0: <16-bit PCCard bus> on pcic0 pccard1: <16-bit PCCard bus> on pcic0 pcic0: bus_space_alloc range 0x0330-0x03ff (probed) pcic1: not probed (disabled) ... pccard1: Card has no functions! Thnx for anything and pass the bottle this way = --- Get a taste of Religion ... eat a priest! --- __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: netstat -m
hi, it may not be your mbufs in the first place. confirm the integrity of your layer 1 first. S H A N On Thu Oct 23, 2003 at 03:50:58AM SGT, Your Name wrote: > > -- > Hi all > > I increased the "kern.ipc.nmbclusters=129536" > > but still got the memory denied > > Can you help me what is the problem > > netstat -m > 41202/41440/518144 mbufs in use (current/peak/max): > 41096 mbufs allocated to data > 106 mbufs allocated to packet headers > 41095/41324/129536 mbuf clusters in use (current/peak/max) > 93008 Kbytes allocated to network (2% of mb_map in use) > 54 requests for memory denied > 0 requests for memory delayed > 0 calls to protocol drain routines > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrading the kernel
Robert H. Perry wrote to Ryan Thompson: > >In your scenario, yes, you'll definitely want to build a new kernel. > >In fact, I hope you elected to go with the security branch > >(RELENG_4_8), so that you get the 13 or so security related fixes > >that have been applied since 4.8 was released. > > Hadn't intended to, but now I'll have to consider it. This is my > first upgrade and I was sticking with the basics. Yep. If you're upgrading from source anyway, upgrading to RELENG_4_8 is no harder than -RELEASE. > > If not, then it defaults to GENERIC. In your case, though, again, > > you shouldn't have any problems building from your custom conf. > > Just to clarify then, is the following OK: > > # cd /usr/src > # make buildkernel KERNCONF=CUSTOM > # make installkernel KERNCONF=CUSTOM > > CUSTOM is the name of my kernel config file. Yes. For the full how-to, follow the instructions in: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html - Ryan -- Ryan Thompson <[EMAIL PROTECTED]> SaskNow Technologies - http://www.sasknow.com 901-1st Avenue North - Saskatoon, SK - S7K 1Y4 Tel: 306-664-3600 Fax: 306-244-7037 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trying to see website from the Internet
Hi, Well, it's not the router. I removed the router and went directly to the server. I actually installed another server on a windows box. And that didn't help. I called my ISP and they said they don't block ports. I'd be glad if anyone could point me in the right direction. I have set up everything as described from several sources and still the magic of appearing on the internet is not happening. It's like the dynamic ip is not forwarded to my network. I can't think of what else would be the problem. Thanks, Micke --- Viktor Lazlo <[EMAIL PROTECTED]> wrote: > > > On Tue, 21 Oct 2003, Micke P wrote: > > > Do you know what an ISP, earthlink, in this case, > > might do to keep you from serving pages? I'm using > > another port from 80, because I just get the ISP > modem > > status page when using the dynamic IP with the > normal > > 80 port. > > I doubt that would be the case, it is much more > likely to do with router > setup. What is the make and model of your router? > > Cheers, > > Viktor __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: d/l,compiling question
M.D. DeWar wrote to [EMAIL PROTECTED]: > Hello, > > I may have missed this. Sometimes in the docs for a application it > will say at a point " you need to be root or have superuser > permissions to do this " > > I normally login in as user then su - over to superuser. (I hope > thats the right terminology). Then I do the ./configure makes etc. > > Is that okay to do ? or should I be just plain user till its time to > make install ? Your approach is fine. - Ryan -- Ryan Thompson <[EMAIL PROTECTED]> SaskNow Technologies - http://www.sasknow.com 901-1st Avenue North - Saskatoon, SK - S7K 1Y4 Tel: 306-664-3600 Fax: 306-244-7037 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Ftp changing times of files.
Grant Peel wrote to [EMAIL PROTECTED]: > Hello all, > > The default ftp client from one of my servers You mean /usr/bin/ftp? > , seems to be changing the time and datestamps of files it gets from > other servers. To what? From what? Which time zones? mtime? ctime? atime? > All my servers are set to the same time (within a minute) and set to > the same timezone (EDT | EST). Please send us a concrete example. (screen(1) or similar, from an actual session showing the problem). - Ryan -- Ryan Thompson <[EMAIL PROTECTED]> SaskNow Technologies - http://www.sasknow.com 901-1st Avenue North - Saskatoon, SK - S7K 1Y4 Tel: 306-664-3600 Fax: 306-244-7037 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrading the kernel
Robert H. Perry wrote to FreeBSD-Questions: > I'm upgrading from 4.7 RELEASE to 4.8 RELEASE soon. My understanding > is that once you have built the world with buildworld, it's time to > build and install the new kernel. In your scenario, yes, you'll definitely want to build a new kernel. In fact, I hope you elected to go with the security branch (RELENG_4_8), so that you get the 13 or so security related fixes that have been applied since 4.8 was released. > My current kernel is customized with a sound card device and nothing > else. That's fine; you can continue to use your kernel config. (/usr/src/sys/i386/conf/WHATEVERYOUCALLEDYOURKERNELCONFIG) > The FreeBSD Handbook indicates that the safest way to do this is to > build and install a kernel based on GENERIC. After booting from > GENERIC and verifying that your system works you can then customize > your kernel. Well, you can if you want, but you won't have any issues from 4.7 -> 4.8. I'd just go with your custom kernel config. > Can I use the commands, # make buildkernel and # make installkernel, > or are #make buildkernel KERNCONF=GENERIC and # make installkernel > KERNCONF=GENERIC the correct commands? Have you specified KERNCONF in /etc/make.conf? If not, then it defaults to GENERIC. In your case, though, again, you shouldn't have any problems building from your custom conf. - Ryan -- Ryan Thompson <[EMAIL PROTECTED]> SaskNow Technologies - http://www.sasknow.com 901-1st Avenue North - Saskatoon, SK - S7K 1Y4 Tel: 306-664-3600 Fax: 306-244-7037 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: DVD drive
> Well, I did that and when I try mplayer -vo dga -dvd 2 > /dev/dvd I get the following error > > Reading config file > /usr/local/share/mplayer/mplayer.conf: No such file or > directory > Reading config file /home/bsdsys/.mplayer/config > Reading /home/bsdsys/.mplayer/codecs.conf: can't open > '/home/bsdsys/.mplayer/codecs.conf': No such file or > directory > Reading /usr/local/share/mplayer/codecs.conf: 50 audio > & 136 video codecs > font: can't open file: > /home/bsdsys/.mplayer/font/font.desc > font: can't open file: > /usr/local/share/mplayer/font/font.desc > Using usleep() timing > Can't open input config file > /home/bsdsys/.mplayer/input.conf: No such file or > directory > Input config file /usr/local/share/mplayer/input.conf > parsed: 52 binds > > Playing DVD title 2 > libdvdread: Could not open device with libdvdcss. > libdvdread: Can't open /dev/dvd for reading > Couldn't open DVD device: /dev/dvd > > > Playing /dev/dvd > File not found: '/dev/dvd' First, which is your DVD drive (i.e., acd0 or acd1)? Did you ln -s /dev/acd[n]c /dev/dvd? Are you root? If not, you'll have to chmod 666 acd[n]c. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Upgrading the kernel
I'm upgrading from 4.7 RELEASE to 4.8 RELEASE soon. My understanding is that once you have built the world with buildworld, it's time to build and install the new kernel. My current kernel is customized with a sound card device and nothing else. The FreeBSD Handbook indicates that the safest way to do this is to build and install a kernel based on GENERIC. After booting from GENERIC and verifying that your system works you can then customize your kernel. Can I use the commands, # make buildkernel and # make installkernel, or are #make buildkernel KERNCONF=GENERIC and # make installkernel KERNCONF=GENERIC the correct commands? Thank you, Bob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Blank terminals, no monitor signal, oh my...
This has happened to me 3-5 times so far, in the past two months. The ttyvs are all black, the monitor acts as though it gets no signal... kind of. Specifically, the monitor will power down the screen after a bit, as normal. However, instead of the light blinking on 1 second intervals or so, it will hardly blink -- almost looking solid, but having an ever so slight point where the led is off. I've never seen such a thing before. As for how it got this way, I'm not quite sure. This time, I plugged my USB drive, went to mount, invalid superblock.. ok, fsck it. [~]$ fsck /dev/da0" ** /dev/da0 ** Phase 1 - Read and Compare FATs hard drive reads for a considerable time (60g on usb 1.1 -- the adapter, not the enclosure). In the end, (repeat the line below in this space, thousands of times perhaps) swap_pager_getswapspace: failed pid 9907 (fsck_msdosfs), uid 0, was killed: out of swap space So now, as you can see, the da0 device is a msdosfs. There are no slices or anything else on the disk.. I created one when I made it, but it didn't show up in /dev and I was told to use da0. So I did. Works relatively well, I might add... though I somehow think it won't work so well on windows. But that's another topic. So, at this point fsck has just died, being out of swap space (192 physical + 384 swap). Arright.. mount.. it worked before, why not this time? "Invalid super block." ... ah well. Worth a shot. fsck /dev/da0 ** /dev/da0 ** Phase 1 - Read and Compare FATs *disk reads for a while, stops reading and the computer starts chunking away on the local hard drive. After a bit, it resumes reading from the USB drive* Now the fun stuff. The first time I only lost a mozilla session and abiword, being out of swap space. This time, it all goes out.. I'm still in X (where I've been doing this all from -- 1 xchat, 2 xterms, and acroread were all that were left running). Problem is, my mouse isn't moving, no keyboard response. So I ctrl-alt-F2 to the terminal I launched x from -- black. Nothing. alt F3, nothing. Alt F9, beep, no X.. so I go back to ttyv1, "startx" and x comes hopping right along. Moral of this paragraph, the consoles are still responsive, I just can't SEE them. The monitor acts somewhere in between "I'm getting a signal" and "I'm not getting a signal." At this point, I'm rather out of ideas. I've not rebooted yet as there's no real need. I know the consoles were working immediately before fsck took out my X as I was doing fsck from ttyv2 as root, rather than sudo. (all the fsck cmds above were sudo, pretty much). It had the same thing as root; run out of swap space. things to note: the file system is fat32; fdisk -s /dev/da0: /dev/da0: 7296 cyl 255 hd 63 sec PartStartSize Type Flags nothing more. fdisk by itself says all partitions are unused. I've never managed to completely fsck this file system; however, mount -t msdosfs /dev/da0 /mnt/USB does allow me to mount and use it. Not using -t will give me invalid superblock ;-) Howver, I believe ripping the USB cable out before unmounting has given me errors on the drive that fsck has fixed -- it just dies, I go to mount and it works. my kernel config is, in case you want any info about it or to see if I have any debug support built in (you'll have to tell me step-by-step if you want something done, as I've never used it before nor have I seen/found instructions), at: http://w3.uwyo.edu/~ablair/DrkAthlon.conf (copied, pasted, verified. On another note, if you can POSSIBLY not, do not attend this uni. Or if you must, avoid the dorms at all cost, unless you like the thought of the internet consisting of only WWW.*) uname -a: FreeBSD DrkAthlon 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #0: Mon Oct 20 20:30:08 MDT 2003 [EMAIL PROTECTED]:/usr/home/obj/usr/home/src/sys/DrkAthlon i386 last cvsupped approximately... 10/20/03 As for the previous times this has happened, I don't remember what I was doing. It could have been this, it is also possible it wasn't. Any more info wanted/needed, let me know. Same goes for clarification. I tried to incude all I could, but who knows. As for my intent: I want a way to get my consoles back without rebooting. If I can pin down a bug for anyone, all the better -- I'm pretty flexible in time, uptime, stability, etc etc. And last, thanks for any help. -DrkShadow lightmoogle at hotmail dot com _ Want to check if your PC is virus-infected? Get a FREE computer virus scan online from McAfee. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ATA Raid cards
Mathieu Arnold wrote: Hi, I'm in a need of such a card, but I can't find out which cards are only doing raid under windows with specific drivers, and which cards are doing real hard raid. HightPoint RocketRAID 1540 (4 ports SATA) works very well for me and is not expensive (only ~$150 CAD). Guillaume ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Ftp changing times of files.
Hello all, The default ftp client from one of my servers, seems to be changing the time and datestamps of files it gets from other servers. All my servers are set to the same time (within a minute) and set to the same timezone (EDT | EST). I have gone completely cross-eyed trying to troubleshoot this. Does anyone one of any tidbits that might lead me in the right direction? -Grant Grant W. Peel Server Admin [EMAIL PROTECTED] http://thenetnow.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Migrating from Linux: mounting ext2fs
On Wed, 2003-10-22 at 07:03, Miguel Gonçalves wrote: > How stable is the FreeBSD support for ext2fs? First, if you're planning to migrate your server permanently, you're probably better off reformatting in UFS: it's faster, and better for error recovery. And computers that mount nfs/Samba/whatever shares won't know the difference. If you insist on keeping your partitions in ext2fs: I've seen a couple of problems related to fsck. In particular, when a filesystem is dirty, fsck.ext2 sometimes finds and fixes the problems but then fails to mark the disk as clean (meaning that FreeBSD will refuse to mount it, if you've specified read/write, and it'll be checked again next time you reboot, and so forth). Personally, I've only seen this with ext3 (journaled) filesystems, but I don't know if that's universal. So, to be safe, you'll probably want an rc script that mounts -r any of your ext2 systems that were skipped. (Note that if /mnt/linux fails to mount because it was dirty, /mnt/linux/usr, etc. will also fail to mount.) This way, if the server gets hard-reset somehow, your users will still be able to access their files, even if they aren't able to update them, until you fix things. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
LINKSYS WPC11 802.1B Wireless Card, FREEBSD 4.8 STABLE, Toshiba Portege 7020 CT
Folks, I am running FreeBSD lumiere.ehr3.net 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Thu Apr 3 10:53:38 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 on a Toshiba Portege 7020CT notebook. Everything works fine. I recently looked at the supported hardware doc and found that the Linksys WPC11 wireless card was supported. I have pccard support in my configuration (as I have a 3COM 3c589 already up and running fine). I try and use the Linksys WPC11 and get the message "32 bit cardbus not supported" when I insert the card. Why? I am sure it is something silly. I apologize for any inconvenience. Ernie Rice ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Freebsd 4.8 Command to finish typing
On Thu, 23 Oct 2003 08:54:58 -0400 Robert Huff <[EMAIL PROTECTED]> wrote: > > Ruben de Groot writes: > > > > How do you have Freebsd 4.8 finish typing a line? On older > > > version I just type Ma and escape to finish typing Make. > > > > That depends on your shell. You're probably used to a > > bourne-shell variant like ksh, where is used for word > > completion. In csh, use the key. > > And note this is not "line completion" but file name completion > - it will fill in as much as uniquely possible of the path starting > with what you have already typed. > > > Robert Huff If the command is in your history, arrow-up does "line completion" (csh). -- Cogeco ergo sum pgp0.pgp Description: PGP signature
d/l,compiling question
Hello, I may have missed this. Sometimes in the docs for a application it will say at a point " you need to be root or have superuser permissions to do this " I normally login in as user then su - over to superuser. (I hope thats the right terminology). Then I do the ./configure makes etc. Is that okay to do ? or should I be just plain user till its time to make install ? Thanks Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: DVD drive
Well, I did that and when I try mplayer -vo dga -dvd 2 /dev/dvd I get the following error dev/dvd I get the following error Reading config file /usr/local/share/mplayer/mplayer.conf: No such file or directory Reading config file /home/bsdsys/.mplayer/config Reading /home/bsdsys/.mplayer/codecs.conf: can't open '/home/bsdsys/.mplayer/codecs.conf': No such file or directory Reading /usr/local/share/mplayer/codecs.conf: 50 audio & 136 video codecs font: can't open file: /home/bsdsys/.mplayer/font/font.desc font: can't open file: /usr/local/share/mplayer/font/font.desc Using usleep() timing Can't open input config file /home/bsdsys/.mplayer/input.conf: No such file or directory Input config file /usr/local/share/mplayer/input.conf parsed: 52 binds Playing DVD title 2 libdvdread: Could not open device with libdvdcss. libdvdread: Can't open /dev/dvd for reading Couldn't open DVD device: /dev/dvd Playing /dev/dvd File not found: '/dev/dvd' --- Mike Maltese <[EMAIL PROTECTED]> wrote: > > DVD drive in and took the plugs from my cd-rom > drive > > and pluged them into my dvd. I don't know shit > about > > hardware so maybe I shouldn't have done this. > Thats > > As long as it's jumpered correctly, this should be > fine > > > why I'm here. The handbook says I should ln -sf > > /dev/acd0c /dev/dvd and ln -sf /dev/racd0c > /dev/rdvd. > > Would this apply to me sence I didn't *actually* > add > > the drive I just unpluged one and pluged another > in? > > Some help would be appreciated. > > I believe the purpose of this is that programs like > mplayer expect /dev/dvd, > which of course doesn't exist in FreeBSD. I suppose > that linking to the > acd[n] device is the easiest way to make things work > without having to > remember which device is your DVD drive. You can > also manually specify the > device in mplayer, but perhaps this is a hard-wired > value in other programs. > __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: DVD drive
> DVD drive in and took the plugs from my cd-rom drive > and pluged them into my dvd. I don't know shit about > hardware so maybe I shouldn't have done this. Thats As long as it's jumpered correctly, this should be fine > why I'm here. The handbook says I should ln -sf > /dev/acd0c /dev/dvd and ln -sf /dev/racd0c /dev/rdvd. > Would this apply to me sence I didn't *actually* add > the drive I just unpluged one and pluged another in? > Some help would be appreciated. I believe the purpose of this is that programs like mplayer expect /dev/dvd, which of course doesn't exist in FreeBSD. I suppose that linking to the acd[n] device is the easiest way to make things work without having to remember which device is your DVD drive. You can also manually specify the device in mplayer, but perhaps this is a hard-wired value in other programs. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
DVD drive
I just bought a cheap ATAPI/IDE DVD drive from best buy. It's a Digital Research DRDVD1640. The box didn't say it was missing anything and I checked the box and there wasnt a IDE cable in there. It wasn't suppose to be one cause it didn't come with one. So, I was like thats fine for now I guess. So what I did was put the DVD drive in and took the plugs from my cd-rom drive and pluged them into my dvd. I don't know shit about hardware so maybe I shouldn't have done this. Thats why I'm here. The handbook says I should ln -sf /dev/acd0c /dev/dvd and ln -sf /dev/racd0c /dev/rdvd. Would this apply to me sence I didn't *actually* add the drive I just unpluged one and pluged another in? Some help would be appreciated. __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
LACP/802.3ad
Does anyone know if FreeBSD supports 802.3ad? If so, does anyone know how to set it up? Thanks, -- Doug Fee, CISSP Network Design Engineer KYMMIS Project Unisys Corporation [EMAIL PROTECTED] Work1: 502-226-2143 Work2: 502-226-1148 Cell: 859-536-7584 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
icewm port: make error
Hi, while trying to install the icewm (a window manager) port, the make command stops with the error : . . "configure: error: Xinerama can not be found" . . . . . . . the full message is reported in the output included below (see OUTPUT of the make command). Anybody can help ? Thank you Bruno OUTPUT OF 'uname -a': FreeBSD seekingjob.singles.it 4.9-RC FreeBSD 4.9-RC #0: Wed Oct 15 00:12:26 CEST 2003 root@:/usr/obj/usr/src/sys/CURRENT_WINE i386 OUTPUT of the make command: ===> icewm-1.2.13 depends on executable: gmake - found ===> icewm-1.2.13 depends on executable: pkg-config - found ===> icewm-1.2.13 depends on shared library: intl.5 - found ===> icewm-1.2.13 depends on shared library: Xft.2 - found ===> icewm-1.2.13 depends on shared library: X11.6 - found ===> icewm-1.2.13 depends on shared library: esd.2 - found ===> icewm-1.2.13 depends on shared library: glib12.3 - found ===> icewm-1.2.13 depends on shared library: gtk12.2 - found ===> icewm-1.2.13 depends on shared library: Imlib.5 - found ===> Configuring for icewm-1.2.13 checking build system type... i386-portbld-freebsd4.9 checking host system type... i386-portbld-freebsd4.9 checking target system type... i386-portbld-freebsd4.9 checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking whether the C compiler (cc) understands C++... yes checking whether we are using the GNU C++ compiler... yes checking whether cc accepts -g... yes checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ANSI C... (cached) none needed checking whether the C++ compiler (cc) accepts no_rtti... yes checking whether the C++ compiler (cc) accepts no_exceptions... yes checking whether the C++ compiler (cc) accepts warn_xxx... yes checking whether the C++ compiler (cc) accepts permissive... yes checking if we need our own C++ allocation operators... no checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/wait.h that is POSIX.1 compatible... yes checking how to run the C++ preprocessor... cc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... no checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking linux/threads.h usability... no checking linux/threads.h presence... no checking for linux/threads.h... no checking linux/tasks.h usability... no checking linux/tasks.h presence... no checking for linux/tasks.h... no checking kstat.h usability... no checking kstat.h presence... no checking for kstat.h... no checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for char... yes checking size of char... 1 checking for short... yes checking size of short... 2 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking return type of signal handlers... void checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking for gettimeofday... yes checking for putenv... yes checking for select... yes checking for socket... yes checking for strtol... yes checking for strtoul... yes checking for basename... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking types of arguments for select... int,fd_set *,struct timeval * checking for X... libraries /usr/X11R6/lib, headers /usr/X11
Re: Need some insight on error messages that I am getting.
> \From ata(4) manpage: > > man> The use of UDMA4(66MHz) and higher together with non-UDMA4 devices on the > man> same ATA channel is not recommended, unless they are run at the non-UDMA4 > man> device's lower speed. The driver has been designed to handle that kind > man> of setup but lots of older devices do not like this. This definitely would explain it. Shows how new I am to FreeBSD. Thanks! Is there a way to put the proper atacontrol command in somewhere so that it will slow the first hdd (ad0) down to UDMA33? Thank you! Marshall ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re[2]: How i can encode pcm to mp3
Hello Mike, Friday, October 24, 2003, 12:59:14 AM, you wrote: >> I wnat record radio, when i absent. >> When i use # lame , sound don't rec. MM> I'm not sure what you're using to actually record with, but lame can encode MM> pcm data to mp3. MM> __ ./SOUND_REC 3600 | lame -[some options] - out.mp3 where ./SOUND_REC - my C program which read info from /dev/dsp. In the output file the bad sound, dont bad quatly. when i enter: ./SOUND_REC 3600 | oggenc -[some options] - wav out.wav The file is normal, but file is very large. When i try to enter: ./SOUND_REC 3600 | oggenc -[some options] - wav | lame -[some options] - out.mp3 oggenc -return error. FreeBSD FOREVER, sfinks12 mailto:[EMAIL PROTECTED] OS: FreeBSD 4.7 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
sendmail
Hello We are using the latest version of sendmail on a firewall running freebsd4.7. We have set it up to accept mail for our domain then using dnsrbl check if to accept mail. If it accepts the mail it then forwards it to or virus scanner which then forwards to our mail server. Our problem is that sendmail keeps sending mail back to forged addresses for 550 errors and the like. We would like to stop sendmail from sending any mail or reply's when it encounters these errors. Any Ideals. Best Regards, Joe Hartung JADE Technologies, Inc. 262-938-5950 [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How i can encode pcm to mp3
> I wnat record radio, when i absent. > When i use # lame , sound don't rec. I'm not sure what you're using to actually record with, but lame can encode pcm data to mp3. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How i can encode pcm to mp3
Hello All. I wnat record radio, when i absent. When i use # lame , sound don't rec. I'am sory, but me english is VERY poor. -- FreeBSD FOREVER, sfinks12 mailto:[EMAIL PROTECTED] OS: FreeBSD 4.7 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Open SSH, sshd_config on FreeBSD vs. NetBSD re: X11
On Thu, Oct 23, 2003 at 01:15:40PM -0400, Joe Altman wrote: > >From the FreeBSD man page: > > X11Forwarding > Specifies whether X11 forwarding is permitted. The > argument must be ``yes'' or ``no''. The default is > ``yes''. > > >From the NetBSD page: > > X11Forwarding > Specifies whether X11 forwarding is permitted. The > argument must be ``yes'' or ``no''. The default is > ``no''. > > I don't mean to compare apples and oranges, nor to start a "My OS can > kick your OSes butt" thread; but I am wondering about the > difference. It seems the NetBSD default is safer, but I am also no > security wonk. It occurred to me that the man page for FreeBSD could > be incorrect; but I doubt that...it actually strikes me as a choice > made to reflect a balance between options. > > Is the default set to no a more secure option? Or is it something that > can be arguH^H^discussed at length? X11Forwarding is an interesting one. It doesn't expose the server where that option is set to any more security implications than having sshd(8) running anyway. On the other hand, you as a user ssh-ing into an untrusted machine are potentially exposed to having nasty things done to you. Same thing goes for servers with ForwardAgent=yes, which can lead to loss of your ssh keys. Moral of the story: never ssh into an untrusted machine without turning off X- and Agent- forwarding on the client side (that's 'ssh -a -x [EMAIL PROTECTED] ...') and remember that such things as rsync(1) default to running over ssh nowadays. netbsd seems to have specifically turned off the X11Forwarding option due to a security problem several years ago: ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2001-010.txt.asc As far as I can find, this didn't affect FreeBSD because the vulnerable version of OpenSSH was never imported into the base system. > I do note that the man page for both OSes states that UseLogin > defaults to no, and that if used, X11 forwarding is turned off. > However, in the default config file for sshd, the line for UseLogin is > commented out. Given this latter state of affairs, can I continue to > assume that X11 forwarding is in fact _not_ enabled by default in > FreeBSD? The convention in the OpenSSH config files is to show the default value of the setting, but commented out. That way it is obvious that any uncommented option in the config file is a local modification. > Oh, and what is the difference between the entry in the ssh_config > file and the sshd_config file? Incoming vs. outbound traffic? That is, > sshd_config accepts incoming X11 forwarding (that is, from a remote > host, to the localhost), and ssh_config allows outbound (from the > localhost to a remote host) X11 forwarding? It sure looks that way... Essentially yes. ssh_config(5) provides the client side defaults for a user ssh(1) session. However you can override the defaults either from the command line (ssh -X) or by having your own defaults settings in ${HOME}/.ssh/config You can't modify the sshd(8) settings as a mortal user. > Hmmmnow I'm thinking that this: serverargs="-nolisten tcp" > > in /usr/X11R6/bin/startx/ may make this a bit of a moot pointis > this correct? Turning off X's binding to tcp sockets is the default nowadays. However, that won't stop you tunnelling remote X sessions over ssh(1) -- just so long as the X11Forwarding flag is on for each end of the connection. In fact, this setup is the best and most secure way of running X applications over a network. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: Open SSH, sshd_config on FreeBSD vs. NetBSD re: X11
On Thu, Oct 23, 2003 at 01:15:40PM -0400, Joe Altman wrote: > >From the FreeBSD man page: > > X11Forwarding > Specifies whether X11 forwarding is permitted. The > argument must be ``yes'' or ``no''. The default is > ``yes''. > > >From the NetBSD page: > > X11Forwarding > Specifies whether X11 forwarding is permitted. The > argument must be ``yes'' or ``no''. The default is > ``no''. > > I don't mean to compare apples and oranges, nor to start a "My OS can > kick your OSes butt" thread; but I am wondering about the > difference. It seems the NetBSD default is safer, but I am also no > security wonk. It occurred to me that the man page for FreeBSD could > be incorrect; but I doubt that...it actually strikes me as a choice > made to reflect a balance between options. > > Is the default set to no a more secure option? Or is it something that > can be arguH^H^discussed at length? By default it's enabled in the server but disabled in the client. > I do note that the man page for both OSes states that UseLogin > defaults to no, and that if used, X11 forwarding is turned off. > However, in the default config file for sshd, the line for UseLogin is > commented out. Given this latter state of affairs, can I continue to > assume that X11 forwarding is in fact _not_ enabled by default in > FreeBSD? That's incorrect; X11 forwarding does not depend on UseLogin. > Oh, and what is the difference between the entry in the ssh_config > file and the sshd_config file? Client vs server. > Hmmmnow I'm thinking that this: serverargs="-nolisten tcp" > > in /usr/X11R6/bin/startx/ may make this a bit of a moot pointis > this correct? No, ssh's X forwarding uses a local socket to communicate to the server. Kris pgp0.pgp Description: PGP signature
Re: Need some insight on error messages that I am getting.
On Thu, 23 Oct 2003 11:24:02 -0400 Marshall Heartley <[EMAIL PROTECTED]> probably wrote: > > > Try tweaking it up to, say, WDMA2, etc. and see what happens... > > OK I changed it to WDMA2 and it seems to behave! Well I went a little > further and changed it back to UDMA33 and slowed the ad0 drive to > UDMA33. It was previously set at UDMA66. Did the copy operation again, > it did not show me any errors. > > I am assuming here that FreeBSD does not like drives with different > speeds on the same bus??? Is my assumption correct?? From what little > bit of fooling around that I did seems to support this. When putting > everything back to the defaults, I start seeing the messages again. > > Interesting huh? One of the drives ad0 is capable of ATA100 though my > motherboard is not capable of that. It uses UDMA66 and this transfer > mode works well in other OS's. The drive that is driving me nuts the > ad1 is only capable of UDMA33. > > This info may/maynot help but it might get one to thinking what could be > causing this. \From ata(4) manpage: man> The use of UDMA4(66MHz) and higher together with non-UDMA4 devices on the man> same ATA channel is not recommended, unless they are run at the non-UDMA4 man> device's lower speed. The driver has been designed to handle that kind man> of setup but lots of older devices do not like this. > Thanks for the help so far! > > Marshall > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- DoubleF One Page Principle: A specification that will not fit on one page of 8.5x11 inch paper cannot be understood. -- Mark Ardis pgp0.pgp Description: PGP signature
RE: RE: Running apache twice on the same system
too many variables to be able to give a definite answer but, 1) do other services (telnet/ftp/ssh/whatever) work on both IPs. 2) whats the output of grep ^Listen /path/to/httpd.conf(changing /path/to/ appropriately) (should just be Listen 80 ) 3) whats the output of sockstat |grep httpd should be something like www httpd 18413 tcp46 *:80 *:* www httpd 18373 tcp46 *:80 *:* www httpd 18363 tcp46 *:80 *:* www httpd 18353 tcp46 *:80 *:* www httpd 18183 tcp46 *:80 *:* I have it a similar setup and can access mine fine on both IPs. -Original Message- From: dhull [mailto:[EMAIL PROTECTED] Sent: 23 October 2003 18:56 To: Vince Hoffman Cc: [EMAIL PROTECTED] Subject: Re: RE: Running apache twice on the same system Here is my setup 1. the system has two network cards in it 2. One is connected on the outside of the network and the other is inside 3. I can get to the website on the inside IP address but not the outside Here is what I want 1. Have a website on the inside of the network 2. Have a website on the outside of the network 3. Hosted on the same system For some reasion apache doesn't want to listen on the other network card. Any ideas?? ---Original Message--- > From: Vince Hoffman <[EMAIL PROTECTED]> > Subject: RE: Running apache twice on the same system > Sent: Oct 23 2003 17:50:25 > > You shouldnt need to run it twice, use virtual host > directives to make one virtual host listen to one > IP and the other to the other. > > all in the apache docs. > http://httpd.apache.org/docs-2.0/vhosts/ip-based.html for version 2. > > otherwise create different conf files and point your apache > executable at one then the other. > > > -Original Message- > > From: dhull [mailto:[EMAIL PROTECTED] > > Sent: 23 October 2003 18:39 > > To: [EMAIL PROTECTED] > > Subject: Running apache twice on the same system > > > > > > How do I get apache to run twice on the same system? > > > > I want them to listen to different IP addresses. > > ---Original Message--- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrade to 4.8 RELEASE
Jud wrote: > > On Thu, 23 Oct 2003 09:21:13 -0400, "Jesse Guardiani" <[EMAIL PROTECTED]> > said: >> Jud wrote: >> >> > On Sat, 18 Oct 2003 20:04:39 -0400, Robert H. Perry >> > <[EMAIL PROTECTED]> wrote: >> >> [...] >> >> > Unless there is a specific reason not to do so, cvsup and make world >> > would seem to be an easier and altogether better way to go for an >> > upgrade from >> > one minor version number to the next. Many users do this quite >> > routinely >> > (e.g., I do it once every week or two). See > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html#CUTTING-EDGE-SYNOPSIS>. >> > While this section of the Handbook talks about the "cutting edge" >> > development branches, -CURRENT and -STABLE, the same process can be >> > used to upgrade to a -RELEASE. >> >> Do you find it impossible to install binary packages after such an >> update? >> Do you have to use ports after such an update? >> >> I could never get packages to install properly after cvsuping my source. >> I'm wondering if this is somehow by design, or if I did something >> wrong... ? > > Last question first: IIRC, you were a bit confused regarding ports vs. > packages, so the reason for failure of packages (or perhaps it was > ports?) to install properly may be as simple as typing commands meant for > ports when you really wanted to install a package, or vice versa. No. I wasn't confused about ports vs. packages. I was confused in that I thought the port cvsup had caused my problem. I've since discovered that it was the system source cvsup (to fix a security vulnerability) that caused my problems. I've updated ports on my laptop and I can still download and install package just fine. However, I'm sure that if I updated to -CURRENT I would no longer be able to install packages. [...] > If you cvsup the -CURRENT or 5.x base system sources and make world, then > packages expecting a 4.x base system won't install properly. However > (again, IIRC), Mr. Perry was contemplating an update from 4.7 to 4.8, so > packages built for 4.x should install fine. OK. That's what I thought. It's a shame that FreeBSD doesn't provide some sort of system to allow the use of packages with (at the very least) -STABLE. As an administrator, I find myself often torn between updating my system sources from -RELEASE to fix a security vulnerability (and thus give up my ability to install binary packages), and simply recompiling the effected program or library (and any linked programs that depend on it) by hand so I can still install binary packages. Is the ports/packages system actively maintained by anyone? If so, the above might be something to think about. For security updates, each effected package would have to be recompiled with the appropriate fix and somehow become the default choice (overriding the vulnerable package) for systems with a compatible bug fix level. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Fwd: Help: tar & find
Steve D <[EMAIL PROTECTED]> wrote: > Would the following approach also work? (Have sed surround each > item returned by the find command with single quotes?) > --- > #! /bin/bash > set +x > TAR_DIR=/home/tarbackups; > FILES_DIR=/home/common; > tar --remove-files -cvzpf $TAR_DIR/bak_files_`date +%F`.tar.gz\ > `find $FILES_DIR -xdev -type f -iname "*.bak" | sed "s/\(^.*$\)/'\1'/"`; > > or the backticks in the last line replaced with the newer > alternative "$()": > > "$( find $FILES_DIR -xdev -type f -iname "*.bak" | sed "s/\(^.*$\)/'\1'/" )" ; > --- Matthew Seaman <[EMAIL PROTECTED]> responded: > > You've apparently got double quotes inside a double quoted string. > That doesn't work. > > Trying to enclose the output of find in quote marks will sort of > work, but it's generally found to be flaky. Especially when the > filenames you're dealing with also contain quotation marks of various > types or return characters. This is exactly why the '-print0' > primitive for find(1) was invented: it puts out a list of file names > separated by ascii NULL characters, which is one of the two ascii > characters you can't get in a filename. (The other is '/' -- the > directory separator). > [...] --- Thank you Matthew for this information. Interestingly, the double quotes inside double quotes seems to work on my machine (using /usr/local/bin/bash), perhaps because the contents inside the "$( )" are processed in a subshell? Output of terminal session follows: ~/tmp/test> touch 'filename with spaces.bak' 'file two.bak' file3.txt file4.BAK ~/tmp/test> ls -l total 0 -rw-r--r-- 1 xscd xscd 0 Oct 23 11:45 file two.bak -rw-r--r-- 1 xscd xscd 0 Oct 23 11:45 file3.txt -rw-r--r-- 1 xscd xscd 0 Oct 23 11:45 file4.BAK -rw-r--r-- 1 xscd xscd 0 Oct 23 11:45 filename with spaces.bak ~/tmp/test> ~/tmp/test> echo "$(find . -xdev -type f -iname "*.bak" | sed "s/\(^.*$\)/'\1'/")" './filename with spaces.bak' './file two.bak' './file4.BAK' ~/tmp/test> Now because of your response I am motivated to read and learn more about find's -print0 option and about xargs. Thank you. Steve D Portales, NM US -- Civilization is a process in search of humanity. -Eli Khamarov ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: RE: Running apache twice on the same system
Here is my setup 1. the system has two network cards in it 2. One is connected on the outside of the network and the other is inside 3. I can get to the website on the inside IP address but not the outside Here is what I want 1. Have a website on the inside of the network 2. Have a website on the outside of the network 3. Hosted on the same system For some reasion apache doesn't want to listen on the other network card. Any ideas?? ---Original Message--- > From: Vince Hoffman <[EMAIL PROTECTED]> > Subject: RE: Running apache twice on the same system > Sent: Oct 23 2003 17:50:25 > > You shouldnt need to run it twice, use virtual host > directives to make one virtual host listen to one > IP and the other to the other. > > all in the apache docs. > http://httpd.apache.org/docs-2.0/vhosts/ip-based.html for version 2. > > otherwise create different conf files and point your apache > executable at one then the other. > > > -Original Message- > > From: dhull [mailto:[EMAIL PROTECTED] > > Sent: 23 October 2003 18:39 > > To: [EMAIL PROTECTED] > > Subject: Running apache twice on the same system > > > > > > How do I get apache to run twice on the same system? > > > > I want them to listen to different IP addresses. > > ---Original Message--- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Activesync?
Manfred Riem wrote: Possibly a newbie question, but I need to know if someone knows a utility to access a Windows CE based PDA? $ cat /usr/ports/palm/synce-libsynce/pkg-descr SynCE is a project for connecting to devices running Windows CE or Pocket PC. Libsynce provides common functions needed for communication with a Windows CE device. WWW: http://synce.sourceforge.net/ Regards. Antoine ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Running apache twice on the same system
You shouldnt need to run it twice, use virtual host directives to make one virtual host listen to one IP and the other to the other. all in the apache docs. http://httpd.apache.org/docs-2.0/vhosts/ip-based.html for version 2. otherwise create different conf files and point your apache executable at one then the other. > -Original Message- > From: dhull [mailto:[EMAIL PROTECTED] > Sent: 23 October 2003 18:39 > To: [EMAIL PROTECTED] > Subject: Running apache twice on the same system > > > How do I get apache to run twice on the same system? > > I want them to listen to different IP addresses. > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD installation smothered Windows
Hello! I installed FreeBSD 5.1-RELEASE recently, on a hard drive that's split into one 26GB Windows partition, and one 12GB FreeBSD partition (yes, I know, it's really unfair, but I use the music program Logic from Emagic a lot, so I have to keep Windows...otherwise, it would be out the door...). When I installed FreeBSD, the installation program complained that 77504/16/63 couldn't possibly be a correct geometry for the hard drive, a Western Digital WD400BB-75DEA0. I found another geometry, 5166/240/63, which I gave sysinstall, and it seemed to accept it. I don't know which one is correct. Possibly, that's the reason that my Windows partition has some trouble booting up. If I choose to boot the Windows partition, all I get is a lousy blinking cursor, and no response to input (no CTRL-ALT-DEL is accepted). I can wait forever, and then I have to pull out the power cord. Now, I want to reinstall FreeBSD and Windows altogether (after finding some way to back up my 10 GB of precious data). How should I go about it? Windows first, the FreeBSD? Which geometry should I use? /Fredrik, Stockholm ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Activesync?
Hi all, Possibly a newbie question, but I need to know if someone knows a utility to access a Windows CE based PDA? Regards, Mandfred. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Running apache twice on the same system
How do I get apache to run twice on the same system? I want them to listen to different IP addresses. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: irq conflict laptop with 5.1-current
> Date: Thu, 23 Oct 2003 13:45:28 +0200 > From: Ronald Klop <[EMAIL PROTECTED]> > Sender: [EMAIL PROTECTED] > > (Forwarding to -current; -questions and searching the net didn't give an > answer.) > > Hello, > > Running my laptop Compaq Armada 7400 with 5.1-CURRENT from about two days > ago. > The OHCI (USB) is on IRQ 11 and the PCCARD/CARDBUS also. > I now get a 'arp: unknown hardware address format (0x)' errors. > The 0x can also be 0x2063 or oxfc00 or something else. > I think it's an irq conflict, but don't know how to give the different > device other irq's. > In 5.1-RELEASE it all worked ok. > Any idea's? Is my idea about the irq conflict right or is it something > else? > How van I solve this? It's something else. On recent FreeBSD releases, both V4 and V5, PCMCIA devices share the IRQ of the CardBus bridge. This is almost fixed. You can use a sysctl to use the old ISA interrupts which are not shared, but this is NOT a good idea. Try 'vmstat -i' and notice that the various network cards and many other PCI devices are not listed. Instead there is a 'mux' device which is the shared interrupt. PCI devices may use either the shared interrupt or a unique interrupt depending on how BIOS is configured, but the PCMCIA devices (either PCcard or CardBus) have to use the same IRQ as the bridge to which they are connected. The probable cause is a memory conflict (as indicated by the dmesg). This is being worked on, but, until it is fixed, you need to specify a start address for the card's memory. It must be greater then than the highest physical address of RAM and must not conflict with that of other devices. Add 'hw.cbb.start_memory="0x2000"' to /boot/loader.conf and see if that fixes it. If it does not, try other values. (If you have large amounts of memory, you may need to start larger.) You MAY also need to add 'hw.pci.allow_unsupported_io_range="1"'. These need to be in loader.conf. sysctl.conf will not work as it loads too late in the boot sequence. You also have some major ACPI issues that may be causing the failure. If your system supports APM, try using that, instead. Or, at least boot with ACPI disabled (hint.acpi.0.disabled="1" in /boot/device.hints). If you want to use APM, load the module in /boot/loader.conf and enable it in /boot/device.hints. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: [EMAIL PROTECTED] Phone: +1 510 486-8634 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Open SSH, sshd_config on FreeBSD vs. NetBSD re: X11
>From the FreeBSD man page: X11Forwarding Specifies whether X11 forwarding is permitted. The argument must be ``yes'' or ``no''. The default is ``yes''. >From the NetBSD page: X11Forwarding Specifies whether X11 forwarding is permitted. The argument must be ``yes'' or ``no''. The default is ``no''. I don't mean to compare apples and oranges, nor to start a "My OS can kick your OSes butt" thread; but I am wondering about the difference. It seems the NetBSD default is safer, but I am also no security wonk. It occurred to me that the man page for FreeBSD could be incorrect; but I doubt that...it actually strikes me as a choice made to reflect a balance between options. Is the default set to no a more secure option? Or is it something that can be arguH^H^discussed at length? I do note that the man page for both OSes states that UseLogin defaults to no, and that if used, X11 forwarding is turned off. However, in the default config file for sshd, the line for UseLogin is commented out. Given this latter state of affairs, can I continue to assume that X11 forwarding is in fact _not_ enabled by default in FreeBSD? Oh, and what is the difference between the entry in the ssh_config file and the sshd_config file? Incoming vs. outbound traffic? That is, sshd_config accepts incoming X11 forwarding (that is, from a remote host, to the localhost), and ssh_config allows outbound (from the localhost to a remote host) X11 forwarding? It sure looks that way... Hmmmnow I'm thinking that this: serverargs="-nolisten tcp" in /usr/X11R6/bin/startx/ may make this a bit of a moot pointis this correct? -- The George W. Bush Five Point Economic Recovery Plan: Hunt, Kill, Eat, Hump, Shit. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Re: Apache on two nic's
The other network card is working. I can ssh into the server from our internall network on the outside address. I still can't connect to the website though. Apache seems to be the only thing that doesn't work on the new address. ---Original Message--- > From: Kevin D. Kinsey, DaleCo, S.P. <[EMAIL PROTECTED]> > Subject: Re: Apache on two nic's > Sent: Oct 23 2003 16:13:47 > > Damien Hull wrote: > > >I've got Apache running on 4 stable. The server started out with one > >network card plugged into our privet network. We could get to the > >website on the server just fine. > > > >Here is what we want > > > >1. access from the outside > >2. some websites will be internal and others will be public > > > > > >Here is my quick solution > >1. Added a second network card to the server > >2. connected the network card to the outside of the network > >3. tired to connect to the website on the new IP address > >4. Got nothing > >5. Added a virtual server that listened on the new address but got > >nothing. > > > > > > > You did restart Apache after making changes? > > >I've looked at the Apache config file and there is a place to put in an > >IP address but I left that alone. As fare as I can tell it's listening > >to all addresses. > > > > > > Does 'netstat -anf inet' confirm this? > > > Kevin Kinsey > DaleCo, S.P. ---Original Message--- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Dynamic Disks & FreeBSD
On Thu, 23 Oct 2003 14:35:20 +0300, "Ivailo Tanusheff" <[EMAIL PROTECTED]> said: [snip] > But still you can revert dynamic disk to basic from Disk administration > utility in Windows 2000/XP. You will want to take an image of the drive(s) or otherwise backup desired apps and data beforehand. In Win2K, reversion from dynamic to basic disks is a data-destructive process. Has that changed in XP? Jud ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ATA Raid cards
On Thu, 23 Oct 2003 15:42:25 +0200, "Mathieu Arnold" <[EMAIL PROTECTED]> said: > Hi, > > I'm in a need of such a card, but I can't find out which cards are only > doing raid under windows with specific drivers, and which cards are doing > real hard raid. Depends what you want to do with it. My experience is with my own desktop machines for RAID-0 or RAID-1, and for those the Promise cards (or equivalent onboard chips in my case) have never given me a problem beyond having to wait a few days for a bit of tweaking in -CURRENT once in a great while. These particular Promise chips don't do "real hard raid" AFAIK, but thanks to Soeren Schmidt they work fine in FreeBSD. Jud ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Any Ideas On X Freezing up with NVIDIA Drivers?
Hi, What Nvidia card are you using? What drivers are you using? Can you post your dmesg, uname -a and XF86Config? chris --- Brian Black <[EMAIL PROTECTED]> wrote: > Hi, > I am also having alot of problems, my problem is when i load the > driver and try to run X i am getting crazy matrix like characters on the > > screen. X does not come up and the char's stay present until i reboot. > > I have been reading the postings but have been unsuccessful with finding > > a solution. It seems like others are having similar problems but i dont > > see any type of solution or it there is one for this card. It would be > > nice to be able to use the new card. Any Ideas? > > > __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
IPFW + BRIDGE: network capacity question
Hello everyone. I have an Intel D815EGEW board with a single PIII 1GHZ, 256MEG RAM, 2 Intel Pro 100MB cards. This will be used as an IPFW+bridging firewall with FreeBSD 4.8 (RELENG_4_8, perhaps RELENG_4_9 when available). My message is about network capacity. Assume that it will be processing at peak all of this at once: 500 TCP connections with long lived sessions (an hour or more at a time) 500 UDP 'connections' 500 web (HTTP port 80 tcp) connections per second (graphics, small html pages) The HTTP sessions will be short lived, so lots of TCP handshakes at *least* a good portion will not utilize persistant HTTP The total bandwidth could be 20-50 megabits, mostly outbound to clients on the internet. Should I tweak the kernel at all for this? NMBCLUSTERS or NMBUFS? Something else? For IPFW, I figure that adding accept rules that catch most of the packets up front will help lower CPU usage. Is this correct? Maybe allow TCP if the session is established, allow setup of outbound TCP, allow setup of incoming TCP/80, allow outbound UDP packets to be happy, etc. Does anyone see any possible issues with this configuration and the expected network load? Thank you, folks! Any suggestions are very appreciated. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ATA Raid cards
On Thu, 23 Oct 2003, Mike Tancsa wrote: > > 3ware is the way to go in my experience. They work really well under > FreeBSD, Windows and Linux. The FreeBSD drivers were originally written by > Mike Smith and Paul Saab is now maintaining them. They are not overly > fancy in FreeBSD but they do what they are designed to do. I have used > them extensively in RAID0, 1 and 10. RAID 5 is slow, but thats more RAID5 > than anything. Also RAID 1 seems to be very intelligent about reads, using > both drives to give better read performance as compared to the stats with > just one drive. Writes on RAID 1 are not penalized at all. > > ---Mike I second that. I love 3Ware cards for IDE RAID, especially if you plan to implement IDE RAID on a server who's data is considered even remotely critical. They do run more then Promise/HighPoint/etc cards though, the 8506-4LP (4 port SATA CARD - forgive me if model # is wrong) runs ~$350 US on NewEgg, but they are worth it. I agree with Mike about the RAID 5 performance, but the SATA cards seem to be a lot faster with it then the PATA ones. -Jeremy D. Pavleck > > At 09:42 AM 23/10/2003, Mathieu Arnold wrote: > >Hi, > > > >I'm in a need of such a card, but I can't find out which cards are only > >doing raid under windows with specific drivers, and which cards are doing > >real hard raid. > > > >-- > >Mathieu Arnold > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrade to 4.8 RELEASE
On Thu, 23 Oct 2003 09:21:13 -0400, "Jesse Guardiani" <[EMAIL PROTECTED]> said: > Jud wrote: > > > On Sat, 18 Oct 2003 20:04:39 -0400, Robert H. Perry > > <[EMAIL PROTECTED]> wrote: > > [...] > > > Unless there is a specific reason not to do so, cvsup and make world would > > seem to be an easier and altogether better way to go for an upgrade from > > one minor version number to the next. Many users do this quite routinely > > (e.g., I do it once every week or two). See > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html#CUTTING-EDGE-SYNOPSIS>. > > While this section of the Handbook talks about the "cutting edge" > > development branches, -CURRENT and -STABLE, the same process can be used > > to upgrade to a -RELEASE. > > Do you find it impossible to install binary packages after such an > update? > Do you have to use ports after such an update? > > I could never get packages to install properly after cvsuping my source. > I'm wondering if this is somehow by design, or if I did something > wrong... ? Last question first: IIRC, you were a bit confused regarding ports vs. packages, so the reason for failure of packages (or perhaps it was ports?) to install properly may be as simple as typing commands meant for ports when you really wanted to install a package, or vice versa. Installing a package is as easy as typing 'pkg_add' followed by a URL, or a directory location if you've downloaded the package first. Installing a port is also quite easy - just cd to the port's directory and type 'make install clean.' If you cvsup the -CURRENT or 5.x base system sources and make world, then packages expecting a 4.x base system won't install properly. However (again, IIRC), Mr. Perry was contemplating an update from 4.7 to 4.8, so packages built for 4.x should install fine. Jud ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Apache on two nic's
Damien Hull wrote: I've got Apache running on 4 stable. The server started out with one network card plugged into our privet network. We could get to the website on the server just fine. Here is what we want 1. access from the outside 2. some websites will be internal and others will be public Here is my quick solution 1. Added a second network card to the server 2. connected the network card to the outside of the network 3. tired to connect to the website on the new IP address 4. Got nothing 5. Added a virtual server that listened on the new address but got nothing. You did restart Apache after making changes? I've looked at the Apache config file and there is a place to put in an IP address but I left that alone. As fare as I can tell it's listening to all addresses. Does 'netstat -anf inet' confirm this? Kevin Kinsey DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Apache on two nic's
Look in your apache config for # # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, in addition to the default. See also the # directive. # #Listen 12.34.56.78:80 and list all the IPs you want apache to listen on. HTH cheers Jay -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Damien Hull Sent: Thursday, October 23, 2003 11:56 AM To: [EMAIL PROTECTED] Subject: Apache on two nic's I've got Apache running on 4 stable. The server started out with one network card plugged into our privet network. We could get to the website on the server just fine. Here is what we want 1. access from the outside 2. some websites will be internal and others will be public Here is my quick solution 1. Added a second network card to the server 2. connected the network card to the outside of the network 3. tired to connect to the website on the new IP address 4. Got nothing 5. Added a virtual server that listened on the new address but got nothing. I've looked at the Apache config file and there is a place to put in an IP address but I left that alone. As fare as I can tell it's listening to all addresses. Can someone tell me what I need to do to get this working? NOTE: I don't have accesses to the proxy so I can't reprogram it to forward connections to the server. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Temporarily changing the time
Gerard Samuel wrote: Could someone point me to a man page, where I can temporarily change the time on FBSD 4.8. Im testing a php script and Im looking to see how it will handle the upcoming time change this weekend. Thanks Thanks for your replies. Time to go read... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Apache on two nic's
I've got Apache running on 4 stable. The server started out with one network card plugged into our privet network. We could get to the website on the server just fine. Here is what we want 1. access from the outside 2. some websites will be internal and others will be public Here is my quick solution 1. Added a second network card to the server 2. connected the network card to the outside of the network 3. tired to connect to the website on the new IP address 4. Got nothing 5. Added a virtual server that listened on the new address but got nothing. I've looked at the Apache config file and there is a place to put in an IP address but I left that alone. As fare as I can tell it's listening to all addresses. Can someone tell me what I need to do to get this working? NOTE: I don't have accesses to the proxy so I can't reprogram it to forward connections to the server. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gaim and MSN
I'am using amsn 0.83 and it's working fine. The ports are still to 0.82 (Not working version) You have to download amsn from sourceforge Antoine Tak Pui LOU wrote: Thanks for telling me that. I was too busy so I try to look up the reason. I don't want to use applications that depend on so many packages. So, I guess I will install aMSN 0.83. --- Lou On Wed, 22 Oct 2003, Joe Marcus Clarke wrote: On Wed, 2003-10-22 at 12:33, Tak Pui LOU wrote: Hi, I use amsn and recently am unable to login. I saved the password on it so it can't be a wrong password. I can also login from work with a PC running W2k. Does anyone know what evil thing M$ has done this time? They changed the protocol version. This has been in the news for months. You need to have gaim-0.71_5, and you should be able to login to MSN just fine. Joe --- Lou On Wed, 22 Oct 2003, Kan Cai wrote: Yeah, it works, but there is another problem. When I try to log on, I got "error reading from server". Anything wrong with it? I am sure that the password is right. ;) Thanks a lot for the suggestions. cheers, --ken On Wed, 22 Oct 2003, Joe Marcus Clarke wrote: On Tue, 2003-10-21 at 22:31, Kan Cai wrote: Hi, All: I am installing gaim 0.71. Everything goes fine, but it seems that there is some problem with MSN lib. Whe I start it, I got plug-in error on finding MSN lib. I didn't install it actually, did I? I have installed Mozilla 1.4, but it seems that it is not able to make the SSL option on. Shall I specify the location, and how? Is there anybody can help me on this? If you're installing gaim from ports, SSL will be enabled automatically. Just make sure you have the port 0.71_5, and you'll be set. Joe Thanks a lot in advance. Cheers, ken ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- PGP Key : http://www.marcuscom.com/pgp.asc ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- PGP Key : http://www.marcuscom.com/pgp.asc ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How can I set up a STABLE machien to compile Gnome apps from source?
Wonderful as the ports system is, there comes a time in life when I need to compile packages outside that system. Lately I have been totaly unable to nuild anything Gnome related. I keep getting errors about gnomeConf.sh not being found. What do I need to do to set up my achine to allow building Gnome apps from upstream sources? -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Need some insight on error messages that I am getting.
> Try tweaking it up to, say, WDMA2, etc. and see what happens... OK I changed it to WDMA2 and it seems to behave! Well I went a little further and changed it back to UDMA33 and slowed the ad0 drive to UDMA33. It was previously set at UDMA66. Did the copy operation again, it did not show me any errors. I am assuming here that FreeBSD does not like drives with different speeds on the same bus??? Is my assumption correct?? From what little bit of fooling around that I did seems to support this. When putting everything back to the defaults, I start seeing the messages again. Interesting huh? One of the drives ad0 is capable of ATA100 though my motherboard is not capable of that. It uses UDMA66 and this transfer mode works well in other OS's. The drive that is driving me nuts the ad1 is only capable of UDMA33. This info may/maynot help but it might get one to thinking what could be causing this. Thanks for the help so far! Marshall ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Temporarily changing the time
Gerard Samuel wrote: Could someone point me to a man page, where I can temporarily change the time on FBSD 4.8. Im testing a php script and Im looking to see how it will handle the upcoming time change this weekend. Thanks Hmm, I'm going to step out on a limb and recommend: $man date You can also try the following, but be sure to have a scrollable terminal, or pipe it to your favorite PAGER: $apropos time $apropos date Plenty o' readin' there. HTH, Kevin Kinsey DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Temporarily changing the time
man date, is this what you are looking for? If you are running ntp you will want to turn it off while you are changing the time. cheers Jay -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gerard Samuel Sent: Thursday, October 23, 2003 10:46 AM To: [EMAIL PROTECTED] Subject: Temporarily changing the time Could someone point me to a man page, where I can temporarily change the time on FBSD 4.8. Im testing a php script and Im looking to see how it will handle the upcoming time change this weekend. Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Probably dumb apache question
RewriteEngine on RewriteRule ^/ https://your.secure.domain.com [R] cheers Jay -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brent Wiese Sent: Wednesday, October 22, 2003 9:03 PM To: [EMAIL PROTECTED] Subject: Probably dumb apache question Probably not the most appropriate list for this, but the best of the ones I subscribe to... I have set up a new freebsd/apache/mod_ssl server. I want to force all connections to use SSL. I know I can simply turn off listening on port 80, but because I know people using this site will instinctivly type "http" instead of "https", I'd like to force a redirect. I'm guessing I'll need to use mod_rewrite, but was hoping there was an "out of box" way like "ForceSSL" directive or something. The box does not use vhosts if that matters at all... If mod_rewrite, anyone have a good rewrite rule handy? Cheers, Brent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD 5.1 release on a toshiba tecra 8000 - Sound Config?
hi gurus .. need help configuring sound card (opl3sa2) on a tecra 8000 laptop. It's been giving me hell for a while now ... Tried adding 'device pcm' and recompiled kernel ... no use. Tried adding 'options PNPBIOS' as well .. on config, it says 'unknown option PNPBIOS ...' something tells me PNPBIOS is not supported in 5.1 release ..? the laptop has a yamha opl3sa2 card .. any help here will be appreciated ... here's the kernel so far ... notice where 'device pcm' is right now, and where i've been trying to fit in 'options PNPBIOS'.. --- # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.384.2.2 2003/05/31 15:18:41 scottl Exp $ machine i386 cpu I486_CPU cpu I586_CPU cpu I686_CPU ident GENERIC #To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" #Default places to look for devices. #makeoptionsDEBUG=-g#Build kernel with gdb(1) debug symbols options SCHED_4BSD #4BSD scheduler options INET #InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support options UFS_ACL #Support for access control lists options UFS_DIRHASH #Improve performance on big directories options MD_ROOT #MD is a potential root device options NFSCLIENT #Network Filesystem Client options NFSSERVER #Network Filesystem Server options NFS_ROOT#NFS usable as root device, requires NFSCLIENT options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem (requires PSEUDOFS) options PSEUDOFS #Pseudo-filesystem framework options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 #Compatible with FreeBSD4 options SCSI_DELAY=15000#Delay (in ms) before probing SCSI options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions options KBD_INSTALL_CDEV# install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT# Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT# Print register bitfields in debug # output. Adds ~215k to driver. # Debugging for use in -current #optionsDDB #Enable the kernel debugger #optionsINVARIANTS #Enable calls of extra sanity checking options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS #optionsWITNESS #Enable checks to detect deadlocks and cycles #optionsWITNESS_SKIPSPIN#Don't run witness on spinlocks for speed # To make an SMP kernel, the next two are needed #optionsSMP # Symmetric MultiProcessor Kernel #optionsAPIC_IO # Symmetric (APIC) I/O options PNPBIOS device isa device eisa device pci device pcm # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering # SCSI Controllers device ahb # EISA AHA1742 family device ahc # AHA2940 and onboard AIC7xxx devices device ahd # AHA39320/2932
Temporarily changing the time
Could someone point me to a man page, where I can temporarily change the time on FBSD 4.8. Im testing a php script and Im looking to see how it will handle the upcoming time change this weekend. Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Fwd: Help: tar & find
On Wed, Oct 22, 2003 at 10:43:50PM -0600, Scott Gerhardt wrote: > I am having trouble combining the tar and find command. I want to > tar and > delete all .bak,.Bak,.BAK files. > > I am using the following command but keep receiving errors. [...] > The script is as follows > = > #! /bin/bash > set +x > TAR_DIR=/home/tarbackups; > FILES_DIR=/home/common; > tar --remove-files -cvzpf $TAR_DIR/bak_files_`date +%F`.tar.gz\ > `find $FILES_DIR -xdev -type f -iname "*.bak"`; > == [...] > Here is some error output returned: > > tar: jobs/ROOF: Cannot stat: No such file or directory > tar: LAYOUTS/RESIDENTIAL/FRASER/219: Cannot stat: No such file or > directory > tar: LEWIS: Cannot stat: No such file or directory > tar: CRES.bak: Cannot stat: No such file or directory [...] --- --- --- Matthew Seaman <[EMAIL PROTECTED]> replied: > The problem is that you have file/directory names like 'ROOF LAYOUTS' > which contain spaces and possibly other filenames containing > characters with syntactic significance to the shell. > > Try: > > find $FILES_DIR -xdev -type f -iname "*.bak -print0 | \ > xargs -0 tar --remove-files -cvzpf $TAR_DIR/bak_files_`date > +%F`.tar.gz > --- --- --- Would the following approach also work? (Have sed surround each item returned by the find command with single quotes?) --- #! /bin/bash set +x TAR_DIR=/home/tarbackups; FILES_DIR=/home/common; tar --remove-files -cvzpf $TAR_DIR/bak_files_`date +%F`.tar.gz\ `find $FILES_DIR -xdev -type f -iname "*.bak" | sed "s/\(^.*$\)/'\1'/"`; --- or the backticks in the last line replaced with the newer alternative "$()": "$( find $FILES_DIR -xdev -type f -iname "*.bak" | sed "s/\(^.*$\)/'\1'/" )" ; Do the characters \ * $ in sed's argument need to be quoted further, to protect them from interpretation by the shell? The "find" portion of the command works correctly, as written above, on my FreeBSD machine using /bin/sh or /usr/local/bin/bash, but I don't know why those characters in sed's argument don't need to be further escaped. --- --- --- Steve D Portales, NM US ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Migrating from Linux: mounting ext2fs
Hi Miguel! Miguel_Gonçalves écrit: > Dear BSDers, > > I am about to move a workgroup server from Linux to FreeBSD. > > How stable is the FreeBSD support for ext2fs? I am currently using it happily (for the same purpose as yours). Beware that the fsck_ext2fs needs to be re-linked if you want to automount your partition (I still have the issue - I did not figure out how to statically link it so that it does not require libc.so before mounting /usr). Any help on this one, anyone? Thanks in advance Olivier ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Probably dumb apache question
> I have set up a new freebsd/apache/mod_ssl server. I want to force all > connections to use SSL. > > I know I can simply turn off listening on port 80, but because I know people > using this site will instinctivly type "http" instead of "https", I'd like > to force a redirect. # Redirect *everything* to SSL. RewriteEngine on RewriteRule ^(.*) https://secure.foo.com$1 [R=301] Dw ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Probably dumb apache question
Probably not the most appropriate list for this, but the best of the ones I subscribe to... I have set up a new freebsd/apache/mod_ssl server. I want to force all connections to use SSL. I know I can simply turn off listening on port 80, but because I know people using this site will instinctivly type "http" instead of "https", I'd like to force a redirect. I'm guessing I'll need to use mod_rewrite, but was hoping there was an "out of box" way like "ForceSSL" directive or something. The box does not use vhosts if that matters at all... If mod_rewrite, anyone have a good rewrite rule handy? Cheers, Brent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Migrating from Linux: mounting ext2fs
Dear BSDers, I am about to move a workgroup server from Linux to FreeBSD. How stable is the FreeBSD support for ext2fs? Best regards, Miguel Gonçalves [EMAIL PROTECTED] -- http://www.fe.up.pt/~miguelg/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
IDE Drives
Hello, I have a FreeBSD 4.7 box. It has a promise raid card supporting two drives in a mirrored config. It has two drives on the IDE bus. I had to physically move the motherboard to a different case. In the old case config, the drives were connected to a ATA card to get over the 137g limit and one to the motherboard. I now connected both to the ATA card. The drives were AD1 and AD9. Now they are AD9 and AD11. I can not mount the AD11. I have done a fdisk to make sure it is on ad11: 03 DING! /etc > fdisk /dev/ad11 *** Working on device /dev/ad11 *** parameters extracted from in-core disklabel are: cylinders=24792 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=24792 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 63, size 398283417 (194474 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: I can’t fsck /dev/ad11s1 nor mount it. Are there limitations to the IDE devices? Ideas? Thanks, dave --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.528 / Virus Database: 324 - Release Date: 10/16/2003 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
can't print Postscript to HP 5si/mx printer.
We have an HP 5si/mx printer with PS installed, but when I try printing to it, the PS source is printed. The same printcap entry correctly prints onto an HP 5m printer. This is the printcap entry: lp:\ :sh:\ :rm=192.168.1.101:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: Is there any other option I need for this printer, such as a special escape sequence for it to interpret Postscript? pgp0.pgp Description: PGP signature
Re: ATA Raid cards
3ware is the way to go in my experience. They work really well under FreeBSD, Windows and Linux. The FreeBSD drivers were originally written by Mike Smith and Paul Saab is now maintaining them. They are not overly fancy in FreeBSD but they do what they are designed to do. I have used them extensively in RAID0, 1 and 10. RAID 5 is slow, but thats more RAID5 than anything. Also RAID 1 seems to be very intelligent about reads, using both drives to give better read performance as compared to the stats with just one drive. Writes on RAID 1 are not penalized at all. ---Mike At 09:42 AM 23/10/2003, Mathieu Arnold wrote: Hi, I'm in a need of such a card, but I can't find out which cards are only doing raid under windows with specific drivers, and which cards are doing real hard raid. -- Mathieu Arnold ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ATA Raid cards
Hi, I'm in a need of such a card, but I can't find out which cards are only doing raid under windows with specific drivers, and which cards are doing real hard raid. -- Mathieu Arnold pgp0.pgp Description: PGP signature
Re: Upgrade to 4.8 RELEASE
Jud wrote: > On Sat, 18 Oct 2003 20:04:39 -0400, Robert H. Perry > <[EMAIL PROTECTED]> wrote: [...] > Unless there is a specific reason not to do so, cvsup and make world would > seem to be an easier and altogether better way to go for an upgrade from > one minor version number to the next. Many users do this quite routinely > (e.g., I do it once every week or two). See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html#CUTTING-EDGE-SYNOPSIS>. > While this section of the Handbook talks about the "cutting edge" > development branches, -CURRENT and -STABLE, the same process can be used > to upgrade to a -RELEASE. Do you find it impossible to install binary packages after such an update? Do you have to use ports after such an update? I could never get packages to install properly after cvsuping my source. I'm wondering if this is somehow by design, or if I did something wrong... ? -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Freebsd 4.8 Command to finish typing
Ruben de Groot writes: > > How do you have Freebsd 4.8 finish typing a line? On older version I > > just type Ma and escape to finish typing Make. > > That depends on your shell. You're probably used to a > bourne-shell variant like ksh, where is used for word > completion. In csh, use the key. And note this is not "line completion" but file name completion - it will fill in as much as uniquely possible of the path starting with what you have already typed. Robert Huff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
IPFW Log anlysis tools
Hi, Does anyone know of any good tools for analysing the output from IPFW in /var/log/security? Thanks, Phil. - Email provided by http://www.ntlhome.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: firebird, java, artsd, sound
On Wed, 22 Oct 2003, John Nielsen wrote: > The problem I'm seeing is that when a java applet uses sound, and another > application tries to use sound, the applet crashes, soon followed by the > browser. Once the browser exits, the sound in the other application will > play. I am using KDE as my desktop, so I assume that this has something to > do with artsd. The other application in question that makes sounds in > kmess, which I use as an MSN Messenger clone. > > I don't know if this is a configuration issue or a bug, and if it's a bug I > don't know what program the bug is in. So I'm hoping someone can shed some > light on the situation--ideally one that leads to a solution. Any takers? There's probably contention over the sound devices. Have a look at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html section 16.2.3 - maybe you can get the various subsystems using different virtual sound devices? -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ You see what happens when you have fun with a stranger in the Alps? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
irq conflict laptop with 5.1-current
Hello, Running my laptop Compaq Armada 7400 with 5.1-CURRENT from about two days ago. The OHCI (USB) is on IRQ 11 and the PCCARD/CARDBUS also. I now get a 'arp: unknown hardware address format (0x)' errors. The 0x can also be 0x2063 or oxfc00 or something else. I think it's an irq conflict, but don't know how to give the different device other irq's. In 5.1-RELEASE it all worked ok. Any idea's? Is my idea about the irq conflict right or is it something else? How van I solve this? I wil include the dmesg output here. Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.1-CURRENT #0: Wed Oct 22 05:41:44 CEST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src-current/src/sys/LAPTOP Preloaded elf kernel "/boot/kernel/kernel" at 0xc074a000. Preloaded elf module "/boot/kernel/if_ep.ko" at 0xc074a1a4. Preloaded elf module "/boot/kernel/elink.ko" at 0xc074a250. Preloaded elf module "/boot/kernel/snd_ess.ko" at 0xc074a2fc. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc074a3a8. Preloaded elf module "/boot/kernel/snd_sbc.ko" at 0xc074a454. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc074a500. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (266.68-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183f9ff real memory = 100622336 (95 MB) avail memory = 92291072 (88 MB) Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 7 entries at 0xc00f0990 acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 can't fetch resources for \\_SB_.C09B - AE_AML_INVALID_RESOURCE_TYPE can't fetch resources for \\_SB_.C187 - AE_AML_INVALID_RESOURCE_TYPE can't fetch resources for \\_SB_.C188 - AE_AML_INVALID_RESOURCE_TYPE can't fetch resources for \\_SB_.C189 - AE_AML_INVALID_RESOURCE_TYPE can't fetch resources for \\_SB_.C18A - AE_AML_INVALID_RESOURCE_TYPE can't fetch resources for \\_SB_.C18B - AE_AML_INVALID_RESOURCE_TYPE can't fetch resources for \\_SB_.C18C - AE_AML_INVALID_RESOURCE_TYPE acpi_timer0: <32-bit timer at 3.579545MHz> port 0xc88-0xc8b on acpi0 acpi_cpu0: on acpi0 acpi_tz0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: _CRS resource entry has unsupported type 14 pcib0: _CRS resource entry has unsupported type 14 pcib0: _CRS resource entry has unsupported type 14 pcib1: at device 0.1 on pci0 pcib1: could not get PCI interrupt routing table for \\_SB_.C000.C013 - AE_NOT_FOUND pci1: on pcib1 pci1: at device 0.0 (no driver attached) cbb0: mem 0x7fffe000-0x7fffefff irq 11 at device 12.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [MPSAFE] cbb1: mem 0x7000-0x7fff irq 11 at device 12.1 on pci0 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 cbb1: [MPSAFE] isab0: at device 14.0 on pci0 isa0: on isab0 atapci0: port 0x1000-0x100f,0-0x3,0-0x7,0-0x3,0-0x7 at device 14.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] ohci0: mem 0x4408-0x44080fff irq 11 at device 14.2 on pci0 usb0: OHCI version 1.0 usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: (0x0e11) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered acpi_button0: on acpi0 acpi_lid0: on acpi0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_cmbat2: on acpi0 acpi_cmbat3: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 ppc0 port 0x778-0x77a,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1: configured irq 4 not in bitmap of probed irqs 0 sio1: port may not be enabled fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio1: configured irq 4 not in bitmap of probed irqs 0 sio1: port may not be enabled pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 Timecounter "TSC" frequency 266677156 Hz quality 800 Timecounters tick every 4.000 msec system power profile changed to 'economy' ep0: <3Com Megahertz 589E> at port 0x100-0x10f irq 11 function 0 config 1 on pccard0 ep0: Ethernet address 00:50:da:d1:01:25 ad0: FAILURE - SETFEATURES status=51 error=4 GEOM: create disk ad0 dp=0xc193c170 ad0: 9590MB [19485/16/63] at ata0-master BIOSPIO
Re: Fwd: Help: tar & find
On Thu, Oct 23, 2003 at 12:34:40PM +0100, Matthew Seaman wrote: > On Wed, Oct 22, 2003 at 10:43:50PM -0600, Scott Gerhardt wrote: > > > > I am having trouble combining the tar and find command. I want to tar > > and > > delete all .bak,.Bak,.BAK files. > > > > I am using the following command but keep receiving errors. The tar > > command > > appears to be receiving a truncated file/path (some of the time, but not > > always), and trying to procecss the file as two files. > > > > Any help on this would be great. > > > > The script is as follows > > = > > #! /bin/bash > > set +x > > TAR_DIR=/home/tarbackups; > > FILES_DIR=/home/common; > > tar --remove-files -cvzpf $TAR_DIR/bak_files_`date +%F`.tar.gz\ > > `find $FILES_DIR -xdev -type f -iname "*.bak"`; > > == > > The -xdev is to not desend into an external smb-mounted drive to a > > subdirectory. > > > > I have also tried substituting single quotes for the double quotes > > around the > > *.bak > > > > Here is some error output returned: > > > > tar: jobs/ROOF: Cannot stat: No such file or directory > > tar: LAYOUTS/RESIDENTIAL/FRASER/219: Cannot stat: No such file or > > directory > > tar: LEWIS: Cannot stat: No such file or directory > > tar: CRES.bak: Cannot stat: No such file or directory > > tar: /home/technical/nfsapc30-my_documents/1999: Cannot stat: No such > > file or > > directory > > tar: jobs/ROOF: Cannot stat: No such file or directory > > tar: LAYOUTS/RESIDENTIAL/FRASER/THODE: Cannot stat: No such file or > > directory > > tar: RES.bak: Cannot stat: No such file or directory > > The problem is that you have file/directory names like 'ROOF LAYOUTS' > which contain spaces and possibly other filenames containing > characters with syntactic significance to the shell. > > Try: > > find $FILES_DIR -xdev -type f -iname "*.bak -print0 | \ > xargs -0 tar --remove-files -cvzpf $TAR_DIR/bak_files_`date +%F`.tar.gz Let's try that again, and fix the typo: find $FILES_DIR -xdev -type f -iname "*.bak" -print0 | \ xargs -0 tar --remove-files -cvzpf $TAR_DIR/bak_files_`date +%F`.tar.g Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
RE: Dynamic Disks & FreeBSD
AFAIK it's impossible. The problem is that Micro$oft writes their own MBR. Although I think there are some distributions that can mount such drive, you can't boot different OS from this disk (yet). But still you can revert dynamic disk to basic from Disk administration utility in Windows 2000/XP. Regards, Ivailo Tanusheff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Sent: Thursday, October 23, 2003 6:44 AM To: [EMAIL PROTECTED] Subject: Dynamic Disks & FreeBSD Is it at all possible to use FreeBSD on hard disks that have been converted from basic to dynamic? I have two hard drives and have used Windows XP Professional to convert both to dynamic. Stephen (IST 225) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Fwd: Help: tar & find
On Wed, Oct 22, 2003 at 10:43:50PM -0600, Scott Gerhardt wrote: > > I am having trouble combining the tar and find command. I want to tar > and > delete all .bak,.Bak,.BAK files. > > I am using the following command but keep receiving errors. The tar > command > appears to be receiving a truncated file/path (some of the time, but not > always), and trying to procecss the file as two files. > > Any help on this would be great. > > The script is as follows > = > #! /bin/bash > set +x > TAR_DIR=/home/tarbackups; > FILES_DIR=/home/common; > tar --remove-files -cvzpf $TAR_DIR/bak_files_`date +%F`.tar.gz\ > `find $FILES_DIR -xdev -type f -iname "*.bak"`; > == > The -xdev is to not desend into an external smb-mounted drive to a > subdirectory. > > I have also tried substituting single quotes for the double quotes > around the > *.bak > > Here is some error output returned: > > tar: jobs/ROOF: Cannot stat: No such file or directory > tar: LAYOUTS/RESIDENTIAL/FRASER/219: Cannot stat: No such file or > directory > tar: LEWIS: Cannot stat: No such file or directory > tar: CRES.bak: Cannot stat: No such file or directory > tar: /home/technical/nfsapc30-my_documents/1999: Cannot stat: No such > file or > directory > tar: jobs/ROOF: Cannot stat: No such file or directory > tar: LAYOUTS/RESIDENTIAL/FRASER/THODE: Cannot stat: No such file or > directory > tar: RES.bak: Cannot stat: No such file or directory The problem is that you have file/directory names like 'ROOF LAYOUTS' which contain spaces and possibly other filenames containing characters with syntactic significance to the shell. Try: find $FILES_DIR -xdev -type f -iname "*.bak -print0 | \ xargs -0 tar --remove-files -cvzpf $TAR_DIR/bak_files_`date +%F`.tar.gz Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature