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 bsd.port.pre.mk .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 .endif .if
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: can't print Postscript to HP 5si/mx printer.
In the last episode (Oct 23), Guy Middleton said: 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. Are you _positive_ the 5si has a postscript card in it? I don't believe they came with one. We have one and bought a PS card off eBay, and have no problems printing postscript to it. -- Dan Nelson [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
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. So you've checked kldstat following boot? Does the vinum kld load when you manually start vinum? What about with kldload? I just loaded it and it did indeed complain of no drives being found. What do the contents of /dev/vinum look like? ___ [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
On Friday, 24 October 2003 at 0:27:03 -0700, Mike Maltese wrote: 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. So you've checked kldstat following boot? Does the vinum kld load when you manually start vinum? What about with kldload? I just loaded it and it did indeed complain of no drives being found. What do the contents of /dev/vinum look like? Given the output he showed at the beginning, it's clear that the kld is being loaded correctly. Watch for the next reply. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgp0.pgp Description: PGP signature
Re: vinum concatenated raid setup problems
[Format recovered--see http://www.lemis.com/email/email-format.html] Computer output wrapped. On Thursday, 23 October 2003 at 23:10:01 -0500, [EMAIL PROTECTED] wrote: 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. Looks like this question has been answered. 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 CONFIG FILE## thegibsor# cat vinum_config drive a device /dev/ad2 drive b device /dev/ad3 Vinum drives should be partitions, not disks. This is why Vinum is not finding anything after 'vinum start'. From the man page: DRIVE LAYOUT CONSIDERATIONS vinum drives are currently BSD disk partitions. They must be of type vinum in order to avoid overwriting data used for other purposes. Use disklabel -e to edit a partition type definition. The following display shows a typical partition layout as shown by disklabel(8): 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a:81920 3440644.2BSD0 0 0 # (Cyl. 240*- 297*) b: 26214481920 swap# (Cyl. 57*- 240*) c: 42267250unused0 0 # (Cyl.0 - 2955*) e:8192004.2BSD0 0 0 # (Cyl.0 - 57*) f: 190 4259844.2BSD0 0 0 # (Cyl. 297*- 1626*) g: 1900741 2325984 vinum0 0 0 # (Cyl. 1626*- 2955*) In this example, partition ``g'' may be used as a vinum partition. Par- titions ``a'', ``e'' and ``f'' may be used as UFS file systems or ccd partitions. Partition ``b'' is a swap partition, and partition ``c'' represents the whole disk and should not be used for any other purpose. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgp0.pgp Description: PGP signature
can I install a port with a different (previous) version ?
Hi, I periodically update the port collection.However,sometimes may happen that I need to install a different (previous) version of a port,for example when the current version fails to build. (This happened recently with the latest version of wine,a windows emulator). How can achieve this ? Thank you Bruno --- [Quipo ISP - Questa E-mail e' stata controllata dal programma Declude Virus] [Quipo ISP - This E-mail was scanned for viruses by Declude Virus] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[no subject]
! - , , . mailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nat and ipfw
Do you have a natd.conf file? What does your rc.conf file look like? You have to turn on nat for the packets to be translated. Telling the firewall to send the packets to natd is one thing, what the happens to them after that is another. You ARE missing the setup for natd. Check this out: http://www.freebsddiary.org/ipfw.php Please read this link. I sent you something similar in my previous reply. And you are still asking the same question. It is very self-explanatory. Cheers, Alhagie. --- Michelle [EMAIL PROTECTED] wrote: 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] __ 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]
Replacing drive with root file system on
Hi - I have a system with two IDE drives on it and I need more disk space than I have . The current situation is : Filesystem 1K-blocksUsed Avail Capacity Mounted on /dev/ad0s1a257998 36308 20105215%/ /dev/ad0s1f498398 424568 3396093%/usr /dev/ad3s1e 7939980 6610848 69393491%/usr/home /dev/ad0s1e2267342542 206054 1%/var procfs 4 4 0 100%/proc I would like to swop the 1Gb ad0 drive for a larger drive. As you can see the other IDE drive is almost full. Can anyone suggest how to move what's on ad0 to a larger disk ? I wondered about 1. disconnecting the ad3 and putting a new drive in its place 2. then (in some way) backuping up the entirety of ad0, restoring it to the 'fake' ad3 3. then taking out the original ad0 and replacing with ad3 4. then (in some way) persuading machine to boot off new, larget drive, with root on it ... would that work ? Can anyone fill in the details ? It it wouldn't work can anyone suggset an alternative bearing in in mind I can only have two drives and the largest each can be is 8Gb (old BIOS). regards richard shea. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problem with motherboard se7505VB2(onboard SATA RAID Sil 3112A) and FreeBSD 5.1
I can't install FreeBSD 5.1 on Intel se7505VB2(onboard SATA RAID Sil 3112A), I did not find any notice about SATA RAID Sil 3112A in Hardware Notes for FreeBSD 5.1. What can I do? Please help! ___ [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 - SOLVED
Mike, Thanks for the pointers on the fstab file, they solved that part of the puzzle. (and trying to help with the other issues) Greg, Thanks for pointing me to the right part of the vinum manpage...it was indeed the simple fact that I was trying to build the configuration on disk's rather than partitions that was sabotaging the mission! A little about me and FreeBSD, I am the (volunteer) director of a youth center, The Beatbox (http://www.thebeatbox.org), in Fairfield Iowa, USA and am new to FreeBSD, I am working to switch the network infrastructure entirely to FreeBSD over the next couple months. We currently host 50+ websites for users and have 20+ workstations as well as 6 network server for internal and external purposes. Although I hope that I don't have to bother everyone on the list too much in the coming months, it is certianly enjoyable to be part of this wonderful FreeBSD community. I will do my best to represent this great operating system and all the great people who make it happen. Thanks again for your time and help. Roland Wells Director The Beatbox http://www.thebeatbox.org FTEC http://www.fftechcenter.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can I install a port with a different (previous) version ?
typicaly what I will do is just fall back to the pacage available on the lattest CD set if it is available. I think portupgrade may have the ability to restore back the backed up version of the port. Thus effectivly allowing you to roll off of a bad build. Might want to check it out. On Fri, 24 Oct 2003, [EMAIL PROTECTED] wrote: Hi, I periodically update the port collection.However,sometimes may happen that I need to install a different (previous) version of a port,for example when the current version fails to build. (This happened recently with the latest version of wine,a windows emulator). How can achieve this ? Thank you Bruno --- [Quipo ISP - Questa E-mail e' stata controllata dal programma Declude Virus] [Quipo ISP - This E-mail was scanned for viruses by Declude Virus] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-newbies 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]
IPFW + BRIDGE: network capacity question
Christopher Schulte writes: ... I have an Intel D815EGEW board with a single PIII 1GHZ, ... Assume that it will be processing at peak all of this at once: 500 TCP connections with long lived sessions ... 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 It's been a while since I was inside HTTP, but you may have a problem. When the remote end drops a TCP connection, you may re-use the port immediately. When you drop it, the protocol stack on your side must wait 120 seconds (check the number!) before reusing that port number. If you try to drop and re-use 500 connections per second, you will run into this as there are only 65536 ports per address, and some of them are reserved or wired down. Someone else please check me on this. Mark Terribile __ 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: Need some insight on error messages that I am getting.
On Thu, 23 Oct 2003 15:20:37 -0400 Marshall Heartley [EMAIL PROTECTED] probably wrote: snip \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? Perhaps a script in /usr/local/etc/rc.d... but before it is run, ad0 will be UDMA66. Wherever you put an atacontrol command, ad0 will be UDMA66 before that (outside of modifying the kernel), which might cause some trouble. A solution might be to first set all drives into PIO (by adding hw.ata.ata_dma=0 in the loader config) and `atacontrol' them in rc.d to their speeds (both to UDMA33). This may cause the boot to be somewhat slower. Thank you! Marshall -- DoubleF Nondeterminism means never having to say you are wrong. pgp0.pgp Description: PGP signature
UDP protokol in 5.1 RELEASE
Hi all I have this problem. I have 5.1 RELEASE and I would like to provide BIND. But if I look netstat -an so I don't look that BIND bind in my ip adress I mean via UDP protokol (via TCP is this ok) and if I write sockstat -4 I look the same as above. When a trye nslookup and I write some machine DNS server doesn't respond. Any parametrs I right setting. When I try via nc to bind 53 UDP port I get negative response. My kernel is kompiled with IPFW and IPF but all incomming and outgoing traffic is enable. I mean default rule is accept. My konfiguration files is empty. TCP ports are works property. I can't send information uname -a because I'am in the office and the FreeBSD is in my home. Will you help me? Thanks in advance Have a nice weekend. --- Odchoz zprva neobsahuje viry. Zkontrolovno antivirovm systmem AVG (http://www.grisoft.cz). Verze: 6.0.530 / Virov bze: 325 - datum vydn: 22.10.2003 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: UDP protokol in 5.1 RELEASE
hi, this seems to be more of a bind issue then FreeBSD :) S H A N On Fri Oct 24, 2003 at 07:16:17PM SGT, Vop?nka Radek wrote: Hi all I have this problem. I have 5.1 RELEASE and I would like to provide BIND. But if I look netstat -an so I don't look that BIND bind in my ip adress I mean via UDP protokol (via TCP is this ok) and if I write sockstat -4 I look the same as above. When a trye nslookup and I write some machine DNS server doesn't respond. Any parametrs I right setting. When I try via nc to bind 53 UDP port I get negative response. My kernel is kompiled with IPFW and IPF but all incomming and outgoing traffic is enable. I mean default rule is accept. My konfiguration files is empty. TCP ports are works property. I can't send information uname -a because I'am in the office and the FreeBSD is in my home. Will you help me? Thanks in advance Have a nice weekend. --- Odchozí zpráva neobsahuje viry. Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz). Verze: 6.0.530 / Virová báze: 325 - datum vydání: 22.10.2003 ___ [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: Replacing drive with root file system on
On Fri, Oct 24, 2003 at 10:47:45PM +1300, Richard Shea wrote: Hi - I have a system with two IDE drives on it and I need more disk space than I have . The current situation is : Filesystem 1K-blocksUsed Avail Capacity Mounted on /dev/ad0s1a257998 36308 20105215%/ /dev/ad0s1f498398 424568 3396093%/usr /dev/ad3s1e 7939980 6610848 69393491%/usr/home /dev/ad0s1e2267342542 206054 1%/var procfs 4 4 0 100%/proc I would like to swop the 1Gb ad0 drive for a larger drive. As you can see the other IDE drive is almost full. Can anyone suggest how to move what's on ad0 to a larger disk ? I wondered about 1. disconnecting the ad3 and putting a new drive in its place 2. then (in some way) backuping up the entirety of ad0, restoring it to the 'fake' ad3 3. then taking out the original ad0 and replacing with ad3 4. then (in some way) persuading machine to boot off new, larget drive, with root on it ... would that work ? Can anyone fill in the details ? It it wouldn't work can anyone suggset an alternative bearing in in mind I can only have two drives and the largest each can be is 8Gb (old BIOS). You have pretty much the right idea. I'd do the job something like this: i) Edit your /etc/fstab and comment out the line that mounts /usr/home. ii) Shutdown and remove the current ad3 drive. Add your new 8Gb disk in it's place. iii) Reboot to single user mode, mounting all of the partition from ad0, much as you would for doing a {build,install}world cycle: # fsck -p # swapon -a # mount -a iv) Set up the fdisk(8) slice table on your new drive: presumably you want the whole disk to be devoted to FreeBSD. This also sets up the boot sector so that you can eventually boot from the disk. # fdisk -B -b /boot/mbr -I ad3 Once you're done, modulo the exact size/cylinders/heads/sectors of the disk you should see output something like this: # fdisk ad3 Password: *** Working on device /dev/ad3 *** parameters extracted from in-core disklabel are: cylinders=4462 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=4462 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 71681967 (35000 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED v) Set up FreeBSD partitions on your new drive using disklabel(8) -- decide before hand what partitions and what sizes you want: # disklabel -e ad3s1 This will pop you into an editor -- you need to add lines at the end after where it says '8 partitions:' -- don't touch the line for c:, but add lines for a: (/), b: (swap), e: (/usr), f: (/var) etc. Set fstype to 4.2BSD (or swap for the swap partition). Some calculation will be necessary here. Sizes are given in numbers of sectors, which are usually 512bytes apiece. Eventually you should end up with something that looks rather like this: #size offsetfstype [fsize bsize bps/cpg] a: 26214404.2BSD 1024 819216 # (Cyl.0 - 16*) b: 2097152 262144 swap# (Cyl. 16*- 146*) c: 716819670unused0 0 # (Cyl.0 - 4461*) e: 262144 23592964.2BSD 1024 819216 # (Cyl. 146*- 163*) f: 12582912 26214404.2BSD 1024 819216 # (Cyl. 163*- 946*) g: 56477615 152043524.2BSD 1024 819216 # (Cyl. 946*- 4461*) You need to fill in the first three columns -- you can fill in the fsize, bsize and bps/cpg fields if you want, but the newfs(8) command used in the next step will fill in the blanks for you. The stuff after the '#' on each line is automatically generated. vi) Create filesystems on the new partitions using newfs(8). There are any number of parameters to play with when creating filesystems which is all very confusing. If you don't have a specific need for a specially laid out FS, then just take the defaults. These will be fine for general purpose filesystems of the sort of size you'll be needing: # newfs -v /dev/ad3s1a
using /usr/ports between jails
Hi: I want to share my /usr/ports between some jails. /usr/ports and jails are running on the same machine. AFAIK I have two options: 1. nfs (export /usr/ports through nfs) 2. mount_union: # mount_union /usr/ports /usr/jail/jail1/usr/ports Is there anyone using any of this options? Can you share with me your experiences? Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problem with SE7505VB2
Hello! I can't install FreeBSD 5.1 on Intel motherboard SE7505VB2 with onboard Sil 3112A SATA Raid, also I can't find any information in Hardware Notes for FreeBSD 5.1. What can I do? Please help. ___ [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.
snip Is there a way to put the proper atacontrol command in somewhere so that it will slow the first hdd (ad0) down to UDMA33? Perhaps a script in /usr/local/etc/rc.d... but before it is run, ad0 will be UDMA66. Wherever you put an atacontrol command, ad0 will be UDMA66 before that (outside of modifying the kernel), which might cause some trouble. A solution might be to first set all drives into PIO (by adding hw.ata.ata_dma=0 in the loader config) and `atacontrol' them in rc.d to their speeds (both to UDMA33). This may cause the boot to be somewhat slower. Thanks! I will look into this. I appreciate the help in this matter! Marshall ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Membership disabled?
On Thu, Oct 09, 2003 at 03:56:47PM -0500, Charles Howse wrote: Hi, I received the following from [EMAIL PROTECTED] earlier today: -- Your membership in the mailing list freebsd-questions has been disabled due to excessive bounces The last bounce received from you was dated 09-Oct-2003. You will not get any more messages from this list until you re-enable your membership. You will receive 3 more reminders like this before your membership in the list is deleted. [snip] -- I did everything in the instructions to re-enable my membership, it all failed. I finally un-subscribed, and re-subscribed, and now I am receiving the list again. I was wondering what caused this msg to be sent to me? I get my mail from my ISP's pop server, I haven't received any notifications of my emails to the list bouncing. If mail from the list to me bounces off my ISP's SMTP server, it's not my fault. What's up with this? Its not about fault. Its not a punchement or something like that. Its about stopping the bounces. Mail bounces trigger a mechanisme that send this message amoung other things. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Learning to Walk: A Linux User Migrates to FreeBSD
On Thu, Oct 23, 2003 at 07:17:20PM -0700, peter lageotakes wrote: 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=Newsfile=articlesid=269 I say this is prity positive considering his previous article about 5.0. I feel that he gives _his_ fair point of view on FreeBSD. Strainge that top didn' run, i didn't had this happening to me. P.S. I change the maillist from questions@ to advocacy@ -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ADSL modem ip addresses
On Fri, Oct 10, 2003 at 11:29:08PM +0930, Ian Moore wrote: Hi, I'm organising an ADSL connection and I'm a bit confused about our options. We need to provide web, ssh and mail access to our network for users from home across the Internet with an ADSL connection. I figure the best way to do this is to setup a new machine to act as a firewall and run a web server sendmail on this box. (or I have seen something about using socket to divert these services to our existing server which has a private address). The firewall would have a NIC with a private IP address to connect to the rest of our network. What's the best way then to connect it to the ADSL line? I feel its best to have a hardware modum that also knows how to build up the connection. I've set my ADSL modum up so that it builds the connection and then route the packets to my gateway computer. Do we have a second NIC in the firewall machine with a real IP address You do need a second NIC on the gateway. Either the gateway or the modum needs to have the public (real) IP. connected to an ADSL modem and use ppp -natd on that interface? You like to run natd yes. If you go for a build up of the connection with ppp then this is the way to go. If you don't then you can enable it in rc.conf. Does that mean we'd need 2 static IP addresses - one for the firewall one for the modem? (We really don't want to pay for 2 addresses) You don't need that. Natd forwards work fine with one public IP adress. Or can we use a USB connection instead - are there FBSD drivers for ADSL modems? I can't see any in the supported hardware list. I wound't go for a USB connection. Or do we use a combined modem/router device to do the nat firewalling and have it redirect mail, web ssh access to our main server? (is that possible or do such devices not allow access into the network from the 'net?) Having a modum that know how to build up the connection and route it is the soluiton in my view. I feel that its better to have a *BSD box being the router, because router have a limmited memory. (Mine only had 256 slots for routing which was not suffecient in my case, because i run mldonky or posibly kazza. This problem doesn't accoure with a BSD box.) As a side not. If you care about security assume your gateway has bin comprimised at all time. So also setup firewall on you other machines. This way you are better protected. -- Alex ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ADSL modem ip addresses
On Fri, Oct 10, 2003 at 11:29:08PM +0930, Ian Moore wrote: Hi, I'm organising an ADSL connection and I'm a bit confused about our options. We need to provide web, ssh and mail access to our network for users from home across the Internet with an ADSL connection. I figure the best way to do this is to setup a new machine to act as a firewall and run a web server sendmail on this box. (or I have seen something about using socket to divert these services to our existing server which has a private address). The firewall would have a NIC with a private IP address to connect to the rest of our network. What's the best way then to connect it to the ADSL line? I feel its best to have a hardware modum that also knows how to build up the connection. I've set my ADSL modum up so that it builds the connection and then route the packets to my gateway computer. Do we have a second NIC in the firewall machine with a real IP address You do need a second NIC on the gateway. Either the gateway or the modum needs to have the public (real) IP. connected to an ADSL modem and use ppp -natd on that interface? You like to run natd yes. If you go for a build up of the connection with ppp then this is the way to go. If you don't then you can enable it in rc.conf. Does that mean we'd need 2 static IP addresses - one for the firewall one for the modem? (We really don't want to pay for 2 addresses) You don't need that. Natd forwards work fine with one public IP adress. Or can we use a USB connection instead - are there FBSD drivers for ADSL modems? I can't see any in the supported hardware list. I wound't go for a USB connection. Can you or anyone on the list recoment a good, supported ADSL modem as i will be getting adsl with a static IP which i want assigned to my freebsd firewall not a adsl router. Or do we use a combined modem/router device to do the nat firewalling and have it redirect mail, web ssh access to our main server? (is that possible or do such devices not allow access into the network from the 'net?) Having a modum that know how to build up the connection and route it is the soluiton in my view. I feel that its better to have a *BSD box being the router, because router have a limmited memory. (Mine only had 256 slots for routing which was not suffecient in my case, because i run mldonky or posibly kazza. This problem doesn't accoure with a BSD box.) As a side not. If you care about security assume your gateway has bin comprimised at all time. So also setup firewall on you other machines. This way you are better protected. -- Alex ___ [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: 5.1 installation panics with highpoint RAID
On Wed, Oct 08, 2003 at 08:19:55PM -0700, bubble swarm wrote: FreeBSD 5.1 installation panics with HighPoint drivers for the RocketRaid 133 host adapter with the following error message: hpt37x20: HPT372A UDMA/ATA133 RAID Controller port 0x8800-0x88ff,0x9000-0x9003,0x9400-0x9407,0x9800-0x9803,0xa000-0xa007 irq 3 at device 9.0 on pci0 Fatal trap 12: page fault while in kernel mode fault virtual address= 0x4c2425ff fault code = supervisor read, page not present instruction pointer = 0x8:0x4c2425ff stack pointer= 0x10:0xc0829b94 frame pointer= 0x10:0xc0829bb0 code segment = base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 (swapper) trap number = 12 panic: page fault Uptime: 1s Is there something I should do differently, or are there updated drivers available? I sent this message to highpoint where I got the drivers, but I haven't heard back yet. Thanks You proberbly could best forward this mail to [EMAIL PROTECTED] since 5.1 is still a current release instead of stable. You could also try 4.x wich is a stable release. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
wrong name on emails
Hello, When I first setup from FreeBSD 4.8 box I gave it one name, badboy. Then later to due to dns issues I changed it to match DNS. Now when I get an email from the box it says [EMAIL PROTECTED] instead of the new name. I searched every file I can think of. rc.local,rc.conf , resolv.conf and other files but with no luck. I tried egrep -iR badboy / to find it but it was taking a long long time. So killed it. Were do I find it and change it or is it permanently at the original hostname. Thanks Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wrong name on emails
- Original Message - From: M.D. DeWar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 24, 2003 9:03 AM Subject: wrong name on emails Hello, When I first setup from FreeBSD 4.8 box I gave it one name, badboy. Then later to due to dns issues I changed it to match DNS. Now when I get an email from the box it says [EMAIL PROTECTED] instead of the new name. I searched every file I can think of. rc.local,rc.conf , resolv.conf and other files but with no luck. I tried egrep -iR badboy / to find it but it was taking a long long time. So killed it. Were do I find it and change it or is it permanently at the original hostname. Thanks Mark Use the command hostname to verify that it's using the new name. If it shows the old name there, do a hostname new name to correct it.. Provided it's correct in your rc.conf file as well. -- Micheal Patterson TSG Network Administration 405-917-0600 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nat and ipfw
On Friday, October 24, 2003, at 02:35 AM, Alhagie Puye wrote: Do you have a natd.conf file? What does your rc.conf file look like? You have to turn on nat for the packets to be translated. Telling the firewall to send the packets to natd is one thing, what the happens to them after that is another. You ARE missing the setup for natd. Check this out: http://www.freebsddiary.org/ipfw.php Please read this link. I sent you something similar in my previous reply. And you are still asking the same question. It is very self-explanatory. yes, I have read that link. i have followed the instructions very carefully. i do have the setup for natd. i have checked and re-checked all my configurations. i have been working with a security engineer who set up our ipfw rules and he has also checked and rechecked the natd and ipfw configuration and rules. i have included both my /etc/natd.conf files and /etc/rc.conf files below. i have also added option IPDIVERT to the kernel and rebuilt the kernel. i'm sorry if my last e-mail was not clear, but this is not the same question because i am now asking why i am able to get out from a client on the subnet with ip 192.168.53.200 when i open up the ipfw rules to allow everything, but am not able to get out when i specify in the ip rules to allow all traffic in and out only for ip 192.168.53.200. if natd was not working properly, how could i get to the outside world from the client using 192.168.53.200 since 192 addresses are not routable outside of our network? with the below rule i can get to websites, ssh, and telnet from a client on the subnet to the outside world: ipfw add 100 divert natd all from any to any via fxp0 ipfw add 200 allow from any to any but when i flush the rules and add the following giving access specifically to 192.168.53.200, i can no longer access websites, ssh, or telnet to the outside world: 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 if the first set of ipfw rules is not a way to check that natd is working, please let me know a better way. if there is any other information i need to provide, please let me know. here are the natd.conf and rc.conf files: /etc/natd.conf: interface fxp0 use_sockets yes same_ports yes /etc/rc.conf file: defaultrouter=64.x.x.x hostname=domain.com ifconfig_fxp0=inet 64.x.x.x netmask 255.255.255.248 ifconfig_xl0=inet 192.168.53.1 netmask 255.255.255.0 inetd_enable=NO kern_securelevel_enable=NO linux_enable=YES moused_enable=YES nfs_client_enable=NO nfs_reserved_port_only=YES sendmail_enable=NO sshd_enable=YES sshd_program=/usr/local/sbin/sshd usbd_enable=YES start_vinum=YES portmap_enable=NO nfs_server_enable=NO nfs_client_enable=NO # syslog stuff syslogd_enable=YES syslogd_flags=-ss # process accounting (lastcomm) accounting_enable=YES # nuke /tmp/* on boot clear_tmp_enable=YES # don't clobber /etc/motd with default message update_motd=NO #NATD Stuff natd_enable=YES natd_interface=fxp0 natd_flags=-f /etc/natd.conf gateway_enable=YES # firewall stuff firewall_enable=YES firewall_script=/etc/ipfw.conf firewall_logging=YES icmp_drop_redirect=YES #ntp stuff xntpd_enable=YES xntpd_flags=-g -p /var/run/ntpd.pid #bind stuff named_enable=YES named_flags=-u bind -g bind -t /etc/namedb/sandbox #DHCP stuff ifconfig_xl0=DHCP Cheers, Alhagie. --- Michelle [EMAIL PROTECTED] wrote: 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] __ 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]
Networking
I would like a tutorial on how to newtork freebsd to windowsXP via linksys modem. i can ping the windowsXP but i can't connect nor can i install mozilla. it seems that it's not connecting to the internet. the handbook gives good descriptions but not step by step instructions. please help a newbie. thanks __ 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: Networking
Which machine, FreeBSD or XP, is connected to the Internet? If it is XP select 'share internet connection' in the advance settings for the network settings to make XP the gateway for the FreeBSD machine. Then in /etc/rc.conf add (or modify) defaultrouter=ip.to.xp.box and in /etc/resolv.conf make sure you have your name servers listed, you can use the XP box as the first one. domain yourmaindomain.com nameserver ip.toa.dns.box nameserver ip.toa.dns.box HTH, cheers Jay -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sandbox Video Productions Sent: Friday, October 24, 2003 10:55 AM To: [EMAIL PROTECTED] Subject: Networking I would like a tutorial on how to newtork freebsd to windowsXP via linksys modem. i can ping the windowsXP but i can't connect nor can i install mozilla. it seems that it's not connecting to the internet. the handbook gives good descriptions but not step by step instructions. please help a newbie. thanks __ 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] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Networking
At 10:55 AM 10/24/2003, Sandbox Video Productions wrote: I would like a tutorial on how to newtork freebsd to windowsXP via linksys modem. i can ping the windowsXP but i can't connect nor can i install mozilla. it seems that it's not connecting to the internet. the handbook gives good descriptions but not step by step instructions. please help a newbie. thanks We need a bit more clarification as to the setup. For example, does the Linksys connect to the ISP and BOTH FreeBSD and XP? Or are you trying to use the Internet connection sharing from XP to support FBSD? Not sure what installing Mozilla has to do with your network. ___ [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...
Joerg, That makefile looks like it will work much better, however I having some trouble getting it to configure completely as well. The config process stops and the error says: checking for memory keytab support...yes configure: error: libkrb5 is needed for Active Directory Support (report problem instructions) *** Error Code 1 Stop in /usr/ports/net/samba-devel I copied the three files to the locations you specified. When I attempted the make I used these params: make WITH_ADS=yes WITH_LDAP=yes KRB5_HOME=/usr/local I have OpenLDAP22 installed and went with the KRB5 port (this port is installed with all of the defaults) I have configured KRB5 so that I CAN get a valid ticket from my ADS server using kinit. Please let me know if there is anything further I need to do on my end! I am more than willing to work this issue out! Thanks, Matt - Original Message - From: Joerg Pulz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 24, 2003 12:11 AM Subject: 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. Makefilereplaces the original samba-devel/Makefile pkg-plistreplaces 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- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wrong name on emails
M.D. DeWar wrote: Hello, Thanks. Yes it reports the correct hostname. And its correct in the rc.conf. Here is a copy of the FROM on a email sent by the cron [EMAIL PROTECTED] (Cron Daemon) and hostname shows spiderman.wirelesscommunitynetworks.com This could be either an /etc/mail/sendmail.cf file issue... or an /etc/hosts issue. Mark - Original Message - From: Micheal Patterson [EMAIL PROTECTED] To: M.D. DeWar [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, October 24, 2003 10:13 AM Subject: Re: wrong name on emails - Original Message - From: M.D. DeWar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 24, 2003 9:03 AM Subject: wrong name on emails Hello, When I first setup from FreeBSD 4.8 box I gave it one name, badboy. Then later to due to dns issues I changed it to match DNS. Now when I get an email from the box it says [EMAIL PROTECTED] instead of the new name. I searched every file I can think of. rc.local,rc.conf , resolv.conf and other files but with no luck. I tried egrep -iR badboy / to find it but it was taking a long long time. So killed it. Were do I find it and change it or is it permanently at the original hostname. Thanks Mark Use the command hostname to verify that it's using the new name. If it shows the old name there, do a hostname new name to correct it.. Provided it's correct in your rc.conf file as well. -- Micheal Patterson TSG Network Administration 405-917-0600 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. ___ [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] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PS2 Mouse Problems And ACPI?? Are They Related?
hi OS: 5.1R Mouse: Logitech optical wireless (the one with the rechargeable base station and like 7 buttons) *(This Mouse Is a usb mouse but i have a usb2ps2 connector that i have.)* After my install finished (gone well and returned no errors, but i did not set up the mouse yet). So i am going to try to configure the ps2 mouse port. device /dev/psm0 port auto flags -z 4 After this i usually reboot the machine,(need to learn how to stop and start the moused from the command line ). Now weather i set the mouse up this way or using /stand/sysinstall, i get the same effect. If i move the mouse around in console mode i notice that it disappears while i am moving it and then reappears in its new position when i stop moving it. So when i startx i cannot follow where my mouse is at because of the blinking problem. This really [EMAIL PROTECTED] Now i notice if i disable acpi at startup the mouse works correctly in the console mode, but i loose the ability to use my usb ports(figures), and when i try to startx with acpi disabled my mouse is stuck in the top right corner jumping around. Finally I try to use the mouse in the usb port, so i configure the mouse such as (rc.conf) usb_enable=YES moused_port=/dev/ums0 //This Number Came From dmesg. moused_type=auto moused_enable=YES after a reboot i can c my mouse in console mode and it moves around, but an error occured during init of the rc.config file that reads something like cant open /dev/ums0, device busy. X will not run returns with an error something like no core pointer available. So I have no mouse available in new 5.x series. I have no idea how to fix this, any advice would help out thanx. bj _ Enjoy MSN 8 patented spam control and more with MSN 8 Dial-up Internet Service. Try it FREE for one month! http://join.msn.com/?page=dept/dialup ___ [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, In order to eliminate the router as a cause, I made a direct connection from the DSL to the computer (no router). But I wasn't able to reach the DSL modem page from my FreeBSD box. So I installed Apache on my Windows box and ran the line to it. I am able to see the running website from the ISP-assigned LAN in this case, but still not able to reach it from the ISP-assigned dynamic IP. This leads me to believe that the problem has nothing specific to do with settings on the FreeBSD box or the router. The Windows box has no firewall, so there's no issue of blocked ports, I guess. I keep thinking it's the ISP, since I don't really understand how requests could / or could not go from the dynamic IP to the ISP-assigned LAN IP without their router or whatever. Micke --- Viktor Lazlo [EMAIL PROTECTED] wrote: On Thu, 23 Oct 2003, Micke P wrote: 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. What do you mean you installed another server on a windows box--that you tried running apache under windows and it didn't work their either? 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]
howto dissallow upgrade for specific port?
Howdy list, I have a port that I do NOT want to upgrade: python-2.2.2 If I do upgrade it, some of the software on my system will not work correctly. However, I'd still like to use portupgrade -R on a few ports to upgrade all dependencies EXCEPT python. Is there a way to mark a port as non-upgradable? Thanks. -- 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: wrong name on emails
On Fri, Oct 24, 2003 at 10:37:44AM -0400, M.D. DeWar typed: Hello, Thanks. Yes it reports the correct hostname. And its correct in the rc.conf. Here is a copy of the FROM on a email sent by the cron [EMAIL PROTECTED] (Cron Daemon) and hostname shows spiderman.wirelesscommunitynetworks.com Did you restart sendmail *after* you changed the hostname? Mark - Original Message - From: Micheal Patterson [EMAIL PROTECTED] To: M.D. DeWar [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, October 24, 2003 10:13 AM Subject: Re: wrong name on emails - Original Message - From: M.D. DeWar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 24, 2003 9:03 AM Subject: wrong name on emails Hello, When I first setup from FreeBSD 4.8 box I gave it one name, badboy. Then later to due to dns issues I changed it to match DNS. Now when I get an email from the box it says [EMAIL PROTECTED] instead of the new name. I searched every file I can think of. rc.local,rc.conf , resolv.conf and other files but with no luck. I tried egrep -iR badboy / to find it but it was taking a long long time. So killed it. Were do I find it and change it or is it permanently at the original hostname. Thanks Mark Use the command hostname to verify that it's using the new name. If it shows the old name there, do a hostname new name to correct it.. Provided it's correct in your rc.conf file as well. -- Micheal Patterson TSG Network Administration 405-917-0600 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. ___ [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] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: howto dissallow upgrade for specific port?
hello, Read the portupgrade manpage. I think the --exclude parameter is what you want. cheers, tom On Fri, Oct 24, 2003 at 11:23:03AM -0400, Jesse Guardiani wrote: Howdy list, I have a port that I do NOT want to upgrade: python-2.2.2 If I do upgrade it, some of the software on my system will not work correctly. However, I'd still like to use portupgrade -R on a few ports to upgrade all dependencies EXCEPT python. Is there a way to mark a port as non-upgradable? Thanks. -- 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] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: howto dissallow upgrade for specific port?
On Fri, Oct 24, 2003 at 11:23:03AM -0400, Jesse Guardiani typed: Howdy list, I have a port that I do NOT want to upgrade: python-2.2.2 If I do upgrade it, some of the software on my system will not work correctly. However, I'd still like to use portupgrade -R on a few ports to upgrade all dependencies EXCEPT python. Is there a way to mark a port as non-upgradable? Yes, see /usr/local/etc/pkgtools.conf HOLD_PKGS = [ 'bsdpan-*', 'x11*/XFree86*', 'portupgrade', 'python-*', ] Thanks. -- 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] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Patchlevel 4 report.
Roberto de Iriarte writes: I could not help but notice the complaints about the difficulties to get native Java running on FreeBSD. For a change, i wanted to say just thanks for the excellent work, i've found the new patchlevel to be very stable (on libc_r and libkse) and excellent performing (especially on libkse) Sorry, but this is apples and oranges. I had to install jdk-1.4.1 as part of OpenOffice 1.1; having done so, I don't actually know that I'll _use_ any of the Java components. I am prepared to believe once installed Java works perfectly. But that's worth diddly if installing it takes dynamite, heavy machinery, and industrial epoxy* ... and there's no listed way to build OpenOffice without it. Don't get me wrong: I'm thankful for the work the maintainers have put in. And I have no problem agreeing to the licenses and downloading various tarballs. But having done so, I expect this to be as smooth as any other port build. Instead, it's been one of the least pleasant builds I've ever experienced and - yeah, I'm less than thrilled. Robert Huff * - compared to 5 minutes puttering with most other ports. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kernal panic when trying to recompile world or kernel
Check that the CPU fans are functioning correctly. You may have a cooling problem that only appears under load. Seeya...Q On Wed, 2003-10-22 at 23:51, Lowell Gilbert wrote: Hicks, Raymond [EMAIL PROTECTED] writes: I was hoping to get some insight into what could be causing these issues. Any thing you can do to help is appreciated. Here is the situation: I have an asus A7M-266D with dual athalon MP 1800+ and 1.5G of DDR 2100 RAM. The machine has 3 120GIG IDE drives, one floppy and one CD drive. Drives are western digital. The kernel is compiled for SMP and the release is FREEBSD-5.1-RELEASE although sources were current till about June at which time I moved and did not do much to system. Now I have gotten the system out of storage and set it up .. it runs fine but I have recently tried to cvsup then recompile world and I get: KERNEL PANIC with CPUID = 0 lapic.id = It seems like a random error in that it sometimes does it in 2 minutes and other times it will go for almost 10 minutes. Once it happens, the machine reboots. I originally thought this could be due to heat from processors so I took measures to reduce heat. There are currently 2 fans pushing air into the case and 3 fans plus 1 blower pulling air out of the case. Each CPU has a new amd cpu fan with bearings and the temp is well within the limits of normal operation. I am at a loss for this and was wondering if anyone had any ideas on ways to fix / mitigate. Still sounds like some kind of hardware problem, because it runs fine as long as it isn't under pressure and fails in a different way each time. If it's always the same CPU, that may be a hint. Bad RAM is the most frequent culprit for such unpredictable problems, though. If you have the opportunity to disable SMP and try again (e.g., you have a GENERIC kernel around that matches your userland), that would be worth a shot. ___ [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: howto dissallow upgrade for specific port?
Ruben de Groot wrote: On Fri, Oct 24, 2003 at 11:23:03AM -0400, Jesse Guardiani typed: [...] Is there a way to mark a port as non-upgradable? Yes, see /usr/local/etc/pkgtools.conf HOLD_PKGS = [ 'bsdpan-*', 'x11*/XFree86*', 'portupgrade', 'python-*', ] Thanks! That's exactly what I was looking for! -- 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]
Compaq DL380 ciss error with FreeBSD 5.1
Hi, I'm running FreeBSD 5.1 RELEASE on a Compaq DL380 with a built in RAID controller. When I boot or shutdown the machine, I get these errors: da0 at ciss0 bus 0 target 0 lun 0 da0: COMPAQ RAID 5 VOLUME OK Fixed Direct Access SCSI-0 device da0: 135.168MB/s transfers da0: 104996MB (215032320 512 byte sectors: 255H 32S/T 26352C) ciss0: invalid command, offense size 0 at 0, value 0x0 (da0:ciss0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0xff ciss0: invalid command, offense size 0 at 0, value 0x0 (da0:ciss0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0xff The message: ciss0: invalid command, offense size 0 at 0, value 0x0 (da0:ciss0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0xff is repeated several times. There are no problems with the server, other than that. I'm guessing that the ciss driver isn't an exact match for this controller. Does anyone have any insight on this matter? Regards, Nicholas ___ [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 - SOLVED
I see this has been solved, but i'll throw one more gotcha to watch for out there. Use of 'vinum saveconfig' is a good thing. From the vinum man page: saveconfig Save the current configuration to disk. Normally this is not necessary, since vinum automatically saves any change in configu- ration. If an error occurs on startup, updates will be disabled. When you reenable them with the setdaemon command, vinum does not automatically save the configuration to disk. Use this command to save the configuration. As I was learning to use vinum I made frequent mistakes, disabling updates, then built the system, rebooted, and nothing survived ;) Had to rtfm a couple of times before I caught that. Alvin Mike, Thanks for the pointers on the fstab file, they solved that part of the puzzle. (and trying to help with the other issues) Greg, Thanks for pointing me to the right part of the vinum manpage...it was indeed the simple fact that I was trying to build the configuration on disk's rather than partitions that was sabotaging the mission! ___ [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, 22 Oct 2003 15:03:17 +0100 Miguel Gonçalves [EMAIL PROTECTED] wrote: Dear BSDers, I am about to move a workgroup server from Linux to FreeBSD. How stable is the FreeBSD support for ext2fs? It should be able to read it with out probs. Not sure about writeing. Just mount the drive and copy the contects over the the bsd one. ___ [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...
Ok here is what I have done thus far: 1) After I recieved Joerg's files and installed them I moved the gssapi.org file back to it's original location: /usr/include/gssapi.h 2) ran make clean twice in /usr/ports/samba-devel directory 3) I did not build krb5 with ldap so I went back to /usr/ports/security/krb5/ and ran: make deinstall, then I ran make clean twice followed by: make WITH_LDAP=yes then after a succesfull build I ran: make WITH_LDAP=yes install 4) I went back to /usr/ports/net/samba-devel and ran: make KRB5_HOME=/usr/local WITH_ADS=yes WITH_LDAP=yes 5) I have verified that the file /usr/lib/libkrb5.so exists So far the make does not complete it still stops in the location here: checking for memory keytab support...yes configure: error: libkrb5 is needed for Active Directory Support (report problem instructions) *** Error Code 1 Stop in /usr/ports/net/samba-devel I am totally open to trying anything at all to get this to work. Please let me know if I can make any other changes. I can also post my config.log file if that may help. Matt - Original Message - From: Alexander Kühn [EMAIL PROTECTED] To: Matt Edwards [EMAIL PROTECTED] Cc: Joerg Pulz [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, October 24, 2003 9:31 AM Subject: Re: Samba and ADS Support PLEASE... When you build kerberos make sure you build it with WITH_LDAP=yes as well! Quoting Matt Edwards [EMAIL PROTECTED]: Joerg, That makefile looks like it will work much better, however I having some trouble getting it to configure completely as well. The config process stops and the error says: checking for memory keytab support...yes configure: error: libkrb5 is needed for Active Directory Support (report problem instructions) *** Error Code 1 Stop in /usr/ports/net/samba-devel I copied the three files to the locations you specified. When I attempted the make I used these params: make WITH_ADS=yes WITH_LDAP=yes KRB5_HOME=/usr/local I have OpenLDAP22 installed and went with the KRB5 port (this port is installed with all of the defaults) I have configured KRB5 so that I CAN get a valid ticket from my ADS server using kinit. Please let me know if there is anything further I need to do on my end! I am more than willing to work this issue out! Thanks, Matt - Original Message - From: Joerg Pulz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 24, 2003 12:11 AM Subject: 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. Makefilereplaces the original samba-devel/Makefile pkg-plistreplaces 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- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Alexander Kuehn Papendorf Software Engineering Cell phone: +49 (0)177 6461165 Cell fax: +49 (0)177 6468001 Tel @Calw: +49 (0)7051 936980 Fax @Calw: +49 (0)7051 9369822 Mail @Calw mailto:[EMAIL PROTECTED] This message was sent using IMP, the Internet Messaging Program. ___ [EMAIL PROTECTED] mailing list
portupgrade auto deinstall+reinstall?
Howdy list, Sorry if this is an obvious question, but I didn't find anything in the portupgrade manpage. I'm in the process of upgrading the ports on my 5.1-RELEASE laptop, and I just executed the following command: portupgrade -R 'grip*' And it's giving me the following message: -- === Checking if x11/libgnome already installed === An older version of x11/libgnome is already installed (libgnome-2.2.0.1) You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of x11/libgnome without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/x11/libgnome. *** Error code 1 Now, I know how to get around this manually: pkg_delete -f 'libgnome-*' And then rerun `portupgrade -R 'grip*'`. However, is there a way to automate this process? It's happened three times already on this one port, and I'm getting a bit annoyed. I was hoping it would be done the first time I came back from lunch. :) Thanks! -- 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: portupgrade auto deinstall+reinstall?
On Friday 24 October 2003 10:41 am, Jesse Guardiani wrote: Howdy list, Sorry if this is an obvious question, but I didn't find anything in the portupgrade manpage. I'm in the process of upgrading the ports on my 5.1-RELEASE laptop, and I just executed the following command: portupgrade -R 'grip*' And it's giving me the following message: -- === Checking if x11/libgnome already installed === An older version of x11/libgnome is already installed (libgnome-2.2.0.1) You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of x11/libgnome without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/x11/libgnome. *** Error code 1 Now, I know how to get around this manually: pkg_delete -f 'libgnome-*' And then rerun `portupgrade -R 'grip*'`. However, is there a way to automate this process? It's happened three times already on this one port, and I'm getting a bit annoyed. I was hoping it would be done the first time I came back from lunch. :) Thanks! You can use -Rf but that will update everything that is a dependancy for grip. What you did is probably much faster than that :). That includes the time you spent eating lunch. I come from the programming world and to update a library and not update the codes that use it really bothers me. I do what you did but I keep thinking about all of the problems that I could be causing. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [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 Fri, 24 Oct 2003, Matt Edwards wrote: Date: Fri, 24 Oct 2003 11:31:05 -0600 From: Matt Edwards [EMAIL PROTECTED] To: Alexander Kühn [EMAIL PROTECTED] Cc: Joerg Pulz [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: Samba and ADS Support PLEASE... Ok here is what I have done thus far: 1) After I recieved Joerg's files and installed them I moved the gssapi.org file back to it's original location: /usr/include/gssapi.h 2) ran make clean twice in /usr/ports/samba-devel directory 3) I did not build krb5 with ldap so I went back to /usr/ports/security/krb5/ and ran: make deinstall, then I ran make clean twice followed by: make WITH_LDAP=yes then after a succesfull build I ran: make WITH_LDAP=yes install 4) I went back to /usr/ports/net/samba-devel and ran: make KRB5_HOME=/usr/local WITH_ADS=yes WITH_LDAP=yes 5) I have verified that the file /usr/lib/libkrb5.so exists So far the make does not complete it still stops in the location here: checking for memory keytab support...yes configure: error: libkrb5 is needed for Active Directory Support (report problem instructions) *** Error Code 1 Stop in /usr/ports/net/samba-devel I am totally open to trying anything at all to get this to work. Please let me know if I can make any other changes. I can also post my config.log file if that may help. Matt, sorry, but i've never tried to compile samba-devel with krb5 from the ports tree. i only use the heimdal stuff from plain FreeBSD-5.1 and i specified KRB5_HOME=/usr configure is running great and make too. joerg -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/mWl5SPOsGF+KA+MRAtBeAJ43VSKRUBFTWzOI0RN+sd2Q2tSz+ACgqFkz kG9eINDfgIOArvkj+Rm+4x4= =n8cM -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
IPV6 help needed
Hi all. I am trying to get an ipv6 network setup and I am running into snags. I have 2 server and a cisco router. The servers that get their addresses via nd prefix advertisements from the router. The two servers can ping each other but not the router. I suspect it is something simple as the servers are seeing the router to get their addresses. My network is native ipv6. From the router I can get to the outside world. All help is very much appreciated. TIA, Jeff My configs are as such: router: ! ipv6 unicast-routing ! interface fastethernet0 ipv6 address 2001:530:DEAD::/64 eui-64 ipv6 nd prefix 2001:530:DEAD::/64 servers: rc.conf: ipv6_enable=YES ifconfig -a output: (first server) inet6 fe80::202:b3ff:fe10:ee05%fxp0 prefixlen 64 scopeid 0x1 inet6 2001:530:dead:0:202:b3ff:fe10:ee05 prefixlen 64 autoconf ifconfig -a output: (second server) inet6 fe80::2a0:c9ff:fea2:6ec5%fxp0 prefixlen 64 scopeid 0x1 inet6 2001:530:dead:0:2a0:c9ff:fea2:6ec5 prefixlen 64 autoconf ping results: % ping6 2001:530:dead:0:202:b3ff:fe10:ee05 PING6(56=40+8+8 bytes) 2001:530:dead:0:202:b3ff:fe10:ee05 -- 2001:530:dead:0:202:b3ff:fe10:ee05 16 bytes from 2001:530:dead:0:202:b3ff:fe10:ee05, icmp_seq=0 hlim=64 time=0.079 ms 16 bytes from 2001:530:dead:0:202:b3ff:fe10:ee05, icmp_seq=1 hlim=64 time=0.071 ms 16 bytes from 2001:530:dead:0:202:b3ff:fe10:ee05, icmp_seq=2 hlim=64 time=0.164 ms router trace: rhsc-7206#traceroute ipv6 www4.us.freebsd.org Type escape sequence to abort. Tracing the route to freebsd.n.flirble.org (2001:6F8:0:102::1000:1) 1 2001:530:1:1::9 0 msec 0 msec 0 msec 2 2001:470:1FFF:2::20 84 msec 84 msec 84 msec 3 fe0-0-2-0.gr0.bwnyc.us.easynet.net (2001:458:26:2::580) 452 msec 452 msec 452 msec 4 so0-1-1-0.gr0.hsnyc.us.easynet.net (2001:6F8::18:11:1) 456 msec 456 msec 452 msec 5 fe0-1-0.gr3.hsnyc.us.easynet.net (2001:6F8:0:101::3) 476 msec 456 msec 460 msec 6 freebsd.n.flirble.org (2001:6F8:0:102::1000:1) 456 msec 456 msec 456 msec --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.529 / 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]
Re: Samba and ADS Support PLEASE...
Yep that did the trick. I removed the krb5 port and added the heimdal port. Everything is ok now! Thanks a whole heap Joerg! I certainly appreciate all the support. Matt - Original Message - From: Joerg Pulz [EMAIL PROTECTED] To: Matt Edwards [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, October 24, 2003 12:03 PM Subject: Re: Samba and ADS Support PLEASE... -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 24 Oct 2003, Matt Edwards wrote: Date: Fri, 24 Oct 2003 11:31:05 -0600 From: Matt Edwards [EMAIL PROTECTED] To: Alexander Kühn [EMAIL PROTECTED] Cc: Joerg Pulz [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: Samba and ADS Support PLEASE... Ok here is what I have done thus far: 1) After I recieved Joerg's files and installed them I moved the gssapi.org file back to it's original location: /usr/include/gssapi.h 2) ran make clean twice in /usr/ports/samba-devel directory 3) I did not build krb5 with ldap so I went back to /usr/ports/security/krb5/ and ran: make deinstall, then I ran make clean twice followed by: make WITH_LDAP=yes then after a succesfull build I ran: make WITH_LDAP=yes install 4) I went back to /usr/ports/net/samba-devel and ran: make KRB5_HOME=/usr/local WITH_ADS=yes WITH_LDAP=yes 5) I have verified that the file /usr/lib/libkrb5.so exists So far the make does not complete it still stops in the location here: checking for memory keytab support...yes configure: error: libkrb5 is needed for Active Directory Support (report problem instructions) *** Error Code 1 Stop in /usr/ports/net/samba-devel I am totally open to trying anything at all to get this to work. Please let me know if I can make any other changes. I can also post my config.log file if that may help. Matt, sorry, but i've never tried to compile samba-devel with krb5 from the ports tree. i only use the heimdal stuff from plain FreeBSD-5.1 and i specified KRB5_HOME=/usr configure is running great and make too. joerg -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/mWl5SPOsGF+KA+MRAtBeAJ43VSKRUBFTWzOI0RN+sd2Q2tSz+ACgqFkz kG9eINDfgIOArvkj+Rm+4x4= =n8cM -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re[2]: [Good News] PS2 Mouse Problems And ACPI?? Are They Related?
On Fri, 24 Oct 2003 19:31:43 +0300 Ion-Mihai Tetcu [EMAIL PROTECTED] wrote: On Fri, 24 Oct 2003 11:17:17 -0400 Brian Black [EMAIL PROTECTED] wrote: hi OS: 5.1R Same here. It manifest it self on AWARD BIOSes. See http://www.freebsd.org/cgi/query-pr.cgi?pr=55473 Please tell me your BIOS version and revision. This really [EMAIL PROTECTED] Agree. Now i notice if i disable acpi at startup the mouse works correctly in the console mode, but i loose the ability to use my usb ports(figures), and when i try to startx with acpi disabled my mouse is stuck in the top right corner jumping around. On PS/2 it's working OK without ACPI. I've just updated my BIOS to 7VT600F.F4 (The MB is a Gigabyte GA-7VT600) and the mouse is working with ACPI enabled. -- IOnut FreeBSD unregistered ;) user ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernelpath arplookup.
[I'm moving this to [EMAIL PROTECTED], because that is the correct list for this type of question] Peter Terpstra wrote: Dear readers, A few weeks ago I installed FreeBSD an I liked it very much, its easier than Linux I think. No problems with installing/configuring X or ssh or Postfix. My questions: I compiled a new (lighter) kernel and it works great but I found the path mentioned in dmesg or `uname -v' a bit strange, its the place of compile: [EMAIL PROTECTED]:~:0uname -v FreeBSD 5.1-RELEASE #0: Fri Oct 24 01:12:56 CEST 2003 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/MYKERNEL-K6 Does that mean I cannot remove the old kernel-source? No. I did a `configure MYKERNEL-K6;make depend;make; make install' just as mentioned in the on-line FreeBSD handbook. Why isn't the path something with /boot/kernel? Because it's the path of your kernel config file. The actual, compiled kernel is always in /boot/kernel, so it's not really mentioned. arp: Frequently I get this message on the first console: arplookup 213.84.240.105 failed: host is not on local network This means your network is configured strangely, although a lot of ISPs seem to think this is the way to do it. I searched the inter-net, but I did not found a satisfying answer. 213.84.240.105 is hanging on the inter-net, an FreeBSD has a local IP-adres. So why this arplookup? What causes this lookup? You have computers on your hub that have a network number that doesn't jive with the IP/netmask you've assigned to the network card. If you don't care, you can ignore the messages. All it means is that ARP was not able to turn the IP address into a MAC address. I believe there is a way to disable these messages, but I don't remember for sure. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How can I reprobe an USB bus?
I've just set up a Lex barebone (http://www.lex.com.tw/) with a built-in USB wireless adapter. (The board is built into the case and attached to an internal USB connector), with a -current from yesterday: [EMAIL PROTECTED]:~# uname -a FreeBSD diesel.lassitu.de 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Fri Oct 24 19:43:36 CEST 2003 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/DIESEL i386 I've downloaded and integrated the driver for the Atmel AT76C503A chip that Stuart Walsh posted a couple of days back on -current, added the appropriate entries to dev/usb/usbdevs, rebuilt with Makefile.usbdevs, and went through a full make buildkernel/installkernel. usbdevs(8) lists it OK: [EMAIL PROTECTED]:~# usbdevs -dv Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x), VIA(0x), rev 1.00 uhub0 port 1 powered port 2 powered Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x), VIA(0x), rev 1.00 uhub1 port 1 powered port 2 addr 2: full speed, power 500 mA, config 1, AT76C503A 802.11b adapter(0x7605), Atmel(0x03eb), rev 1.00 ugen0 At boot, ugen attaches: uhci1: VIA 83C572 USB controller port 0xc800-0xc81f irq 12 at device 7.3 on pc i0 usb1: VIA 83C572 USB controller on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ugen0: Atmel AT76C503A 802.11b adapter, rev 1.10/1.00, addr 2 The question is: how do I make the USB subsystem reprobe with the kernel module loaded? Or would that happen automatically, and I've just messed up the probe entry in the module? I've tried restarting usbd, but that doesn't seem to change anything. I can't just unplug it, then plug it back in again (at least not permanently, with the board installed inside the case...) Thanks in advance, Stefan -- Stefan Bethke [EMAIL PROTECTED] Fon +49 170 346 0140 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade auto deinstall+reinstall?
Kent Stewart wrote: On Friday 24 October 2003 10:41 am, Jesse Guardiani wrote: Howdy list, Sorry if this is an obvious question, but I didn't find anything in the portupgrade manpage. I'm in the process of upgrading the ports on my 5.1-RELEASE laptop, and I just executed the following command: portupgrade -R 'grip*' And it's giving me the following message: -- === Checking if x11/libgnome already installed === An older version of x11/libgnome is already installed (libgnome-2.2.0.1) You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of x11/libgnome without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/x11/libgnome. *** Error code 1 Now, I know how to get around this manually: pkg_delete -f 'libgnome-*' And then rerun `portupgrade -R 'grip*'`. However, is there a way to automate this process? It's happened three times already on this one port, and I'm getting a bit annoyed. I was hoping it would be done the first time I came back from lunch. :) Thanks! You can use -Rf but that will update everything that is a dependancy for grip. What you did is probably much faster than that :). That includes the time you spent eating lunch. I come from the programming world and to update a library and not update the codes that use it really bothers me. I do what you did but I keep thinking about all of the problems that I could be causing. Ah. I see. It's binary compatibility thing. Portupgrade has no way of knowing if the new package is binary compatible with the old package, so it builds the new package, uninstalls the old package, and installs the new one. Grrr... OK. I guess I'll just have to rebuild my entire ports tree if I want it done right. Thanks. -- 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: portupgrade auto deinstall+reinstall?
On Friday 24 October 2003 01:38 pm, Jesse Guardiani wrote: Kent Stewart wrote: On Friday 24 October 2003 10:41 am, Jesse Guardiani wrote: Howdy list, Sorry if this is an obvious question, but I didn't find anything in the portupgrade manpage. I'm in the process of upgrading the ports on my 5.1-RELEASE laptop, and I just executed the following command: portupgrade -R 'grip*' And it's giving me the following message: -- === Checking if x11/libgnome already installed === An older version of x11/libgnome is already installed (libgnome-2.2.0.1) You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of x11/libgnome without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/x11/libgnome. *** Error code 1 Now, I know how to get around this manually: pkg_delete -f 'libgnome-*' And then rerun `portupgrade -R 'grip*'`. However, is there a way to automate this process? It's happened three times already on this one port, and I'm getting a bit annoyed. I was hoping it would be done the first time I came back from lunch. :) Thanks! You can use -Rf but that will update everything that is a dependancy for grip. What you did is probably much faster than that :). That includes the time you spent eating lunch. I come from the programming world and to update a library and not update the codes that use it really bothers me. I do what you did but I keep thinking about all of the problems that I could be causing. Ah. I see. It's binary compatibility thing. Portupgrade has no way of knowing if the new package is binary compatible with the old package, so it builds the new package, uninstalls the old package, and installs the new one. Grrr... OK. I guess I'll just have to rebuild my entire ports tree if I want it done right. Not all of the time. For example, the only one in recent time was the gettext library problem. The other thing is why are you telling portupgrade to recursively build all of grip's dependancies when you may not need to. I look at what portversion tells me is out of date first. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
usb pendrive problems
Howdy list, A co-worker of mine has a neat little usb pen drive. I set it up properly in /etc/usbd.conf with this entry: - # The entry below mounts Todd's Pendrive when the Pendrive is plugged in. # It then umount's the Pendrive when the device disappears. # device pendrive devname umass[0-9]+ attach sleep 1 /sbin/mount /home/todd/pendrive detach /sbin/umount -f /dev/da0s1 /home/todd/pendrive - And it's set up in fstab with this entry: - /dev/da0s1 /home/todd/pendrive msdosfs rw,noauto 0 0 - But, the problem with all of the above is that the detach command doesn't work because the device is already removed before it can run umount! Frequently, I've found myself with two pendrives mounted: - /dev/da0s1122M43M79M35%/usr/home/todd/pendrive /dev/da1s1122M43M79M35%/usr/home/todd/pendrive - But the first one is a ghost, and if either are umount'd, my kernel panics and my system reboots! Is there a way to reliably umount an already disconnected umass0 SCSI-2 device? Thanks! -- 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: portupgrade auto deinstall+reinstall?
Kent Stewart wrote: On Friday 24 October 2003 01:38 pm, Jesse Guardiani wrote: Kent Stewart wrote: On Friday 24 October 2003 10:41 am, Jesse Guardiani wrote: [...] I come from the programming world and to update a library and not update the codes that use it really bothers me. I do what you did but I keep thinking about all of the problems that I could be causing. Ah. I see. It's binary compatibility thing. Portupgrade has no way of knowing if the new package is binary compatible with the old package, so it builds the new package, uninstalls the old package, and installs the new one. Grrr... OK. I guess I'll just have to rebuild my entire ports tree if I want it done right. Not all of the time. For example, the only one in recent time was the gettext library problem. The other thing is why are you telling portupgrade to recursively build all of grip's dependancies when you may not need to. I look at what portversion tells me is out of date first. You mean portupgrade won't recursively upgrade my ports that are out of date? It rebuilds ALL of them? Hmmm... I never noticed that before. That stinks! I'm looking for an automated upgrade proceedure here. portupgrade doesn't seem to be giving it to me. -- 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]
Linux port.....
dear FreeBSD team: I am a new user to both Linux and FreeBSD. I installed both system (4.8 and slackware 9) under VMware for windows they are working ok. Before parting my HD and do a real installation , without VMware emulator. I am interested to know which of one runs faster. What about Linux program under FreeBSD, will they run slower or same speed as native Linux OS. Hope you can answer my Q. Thanx in advance. Alessio Caffi. __ 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: portupgrade auto deinstall+reinstall?
On Friday 24 October 2003 02:41 pm, Jesse Guardiani wrote: Kent Stewart wrote: On Friday 24 October 2003 01:38 pm, Jesse Guardiani wrote: Kent Stewart wrote: On Friday 24 October 2003 10:41 am, Jesse Guardiani wrote: [...] I come from the programming world and to update a library and not update the codes that use it really bothers me. I do what you did but I keep thinking about all of the problems that I could be causing. Ah. I see. It's binary compatibility thing. Portupgrade has no way of knowing if the new package is binary compatible with the old package, so it builds the new package, uninstalls the old package, and installs the new one. Grrr... OK. I guess I'll just have to rebuild my entire ports tree if I want it done right. Not all of the time. For example, the only one in recent time was the gettext library problem. The other thing is why are you telling portupgrade to recursively build all of grip's dependancies when you may not need to. I look at what portversion tells me is out of date first. You mean portupgrade won't recursively upgrade my ports that are out of date? It rebuilds ALL of them? It didn't in the past. You only had to create packages and you would see them with 1-2 minute differences in creation times. That is only long enough to re-package the large tarball, which is what I see it doing. Hmmm... I never noticed that before. That stinks! I could be also wrong. When it comes to computers, truth is a sliding window. I'm looking for an automated upgrade proceedure here. portupgrade doesn't seem to be giving it to me. You are also looking for a quick solution and that is what portupgrade doesn't always provide. It can't make the decision of rebuilding what has been updated versus rebuilding everything is needed. There isn't any magic flag in the port tree to tell portupgrade that all of the dependant ports need to be updated. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wrong name on emails
Have you restarted sendmail (if you're running a sendmail server on badboy to handle your outgoing mail?) Have you checked /etc/mail/submit.cf and /etc/mail/sendmail.cf to ensure that the old hostname wasn't hard-coded in your sendmail configuration? Matt - Original Message - From: M.D. DeWar [EMAIL PROTECTED] To: Micheal Patterson [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, October 24, 2003 10:37 AM Subject: Re: wrong name on emails Hello, Thanks. Yes it reports the correct hostname. And its correct in the rc.conf. Here is a copy of the FROM on a email sent by the cron [EMAIL PROTECTED] (Cron Daemon) and hostname shows spiderman.wirelesscommunitynetworks.com Mark - Original Message - From: Micheal Patterson [EMAIL PROTECTED] To: M.D. DeWar [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, October 24, 2003 10:13 AM Subject: Re: wrong name on emails - Original Message - From: M.D. DeWar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 24, 2003 9:03 AM Subject: wrong name on emails Hello, When I first setup from FreeBSD 4.8 box I gave it one name, badboy. Then later to due to dns issues I changed it to match DNS. Now when I get an email from the box it says [EMAIL PROTECTED] instead of the new name. I searched every file I can think of. rc.local,rc.conf , resolv.conf and other files but with no luck. I tried egrep -iR badboy / to find it but it was taking a long long time. So killed it. Were do I find it and change it or is it permanently at the original hostname. Thanks Mark Use the command hostname to verify that it's using the new name. If it shows the old name there, do a hostname new name to correct it.. Provided it's correct in your rc.conf file as well. -- Micheal Patterson TSG Network Administration 405-917-0600 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. ___ [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] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ssh keys - howto?
Okay, I'm stumped. Just need to get ssh keys working. I have FBSD-5.1 web server with sshd running. I have a workstation running W2K with WinSCP3. I have tried Puttygen to create the keys and copied the key to .ssh directory on FBSD, renamed it authorized_keys but it don't work. I then ran ssh_keygen on the BSD box, but don't know what to do with the two files it created, there are no instructions about that part in the man file. Does anyone have a how-to on settup of ssh between w2k and fbsd? Thanks, -- Chip ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Boot
Hi, questions. I wana boot my FreeBSD using loader from XP. How can i do this? I have include C:\bootsec.bsd=FreeBSD to my boot.ini where bootsec.bsd is a boot1 from FreeBSD. But i steel can not load FreeBSD. I have try all boot (boot0, boot1 and boot2) but it's steel not work. My XP on ad0 and FreeBSD on ad1. Someone help me. -- With regards, Vladimir mailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update $Date: 2003/03/09 22:09:31 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. = Contents: I:Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions, -newbies or -hackers? IV: How to submit a question to FreeBSD-questions V:How to answer a question to FreeBSD-questions I: Introduction === This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the newcomers), and also those who answer the questions (the hackers). Note that the term hacker has nothing to do with breaking into other people's computers. The correct term for the latter activity is cracker, but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions == When you subscribed to FreeBSD-questions, you got a welcome message from [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions mailing list! If you ever want to remove yourself from this mailing list, you can send mail to [EMAIL PROTECTED] with the following command in the body of your email message: unsubscribe freebsd-questions Greg Lehey [EMAIL PROTECTED] Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send how to questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to FreeBSD-questions. If that's the case, you'll have to figure out which one it is and get your name taken off that one. If you're not sure which one it might be, check the headers of the messages you receive from freebsd-questions: maybe there's a clue there. If you've done all this, and you still can't figure out what's going on, send a message to [EMAIL PROTECTED], and he will sort things out for you. Don't send a message to FreeBSD-questions: they can't help you. III: Should I ask -questions, -newbies or -hackers? === Two mailing lists handle general questions about FreeBSD, FreeBSD-questions and FreeBSD-hackers. In addition, the FreeBSD-newbies list caters
The Complete FreeBSD: errata and addenda
The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. The Complete FreeBSD has been through a total of five editions, including its predecessor Installing and Running FreeBSD. Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm constantly updating it. Greg ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Website up, then down, then up, etc.
Hi, For the past week or so I've been pulling my hair out trying to diagnose what's going on with my website. Prior to that, everything was working perfectly. I've made no changes that I was aware of. There is no pattern to this...sometimes I can connect to the web server over the Internet, sometimes not. I can always connect to the FTP server over the Internet, so DNS services appear to be working. I have just written my Dynamic DNS service, DYNdns.org, no reply yet. I called my ISP, they're not blocking inbound connections on port 80. lynx localhost always works on the web server. host howse.homeunix.net always resolves correctly. apachectl restart doesn't help. Rebooting the web server doesn't help. I can force an IP update successfully with ddclient. On my WinXP box, http://curly always works. Try it yourself: http://howse.homeunix.net Not working as of 19:05 this date, CDT (UTC -6:00). What in the world could be happening? The software setup: Apache2 vsftpd FreeBSD 4.8-RELEASE-p13 The network setup: Dynamic DNS service: DYNdns.org ISP: Charter Communications Cable Modem: Motorola Surfboard 4-port Cable/DSL Router: SpeedStream SS2604 (port forwarding enabled) Thanks, Charles Got a computer with idle CPU time? Join [EMAIL PROTECTED] and help make history! http://setiathome.ssl.berkeley.edu/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linux port.....
On Fri, 2003-10-24 at 14:44, Alessio Caffi wrote: dear FreeBSD team: I am a new user to both Linux and FreeBSD. I installed both system (4.8 and slackware 9) under VMware for windows they are working ok. Before parting my HD and do a real installation , without VMware emulator. I am interested to know which of one runs faster. What about Linux program under FreeBSD, will they run slower or same speed as native Linux OS. The short answer is that most linux programs run at about the same speed under linux and FreeBSD. Running linux software on FreeBSD is also about the same speed as recompiling the source for FreeBSD native. This is what you'd expect, and this is _usually_ what you get. There are a few exceptions (all of which have nothing to do with the linux emulation, but which will still affect you). I should mention that I'm certainly not an expert--until the past few weeks, I hadn't used a BSD operating system in years. Also, I'm using FreeBSD 5.1 vs. various Mandrake versions, and (briefly) Redhat 6.2 and 8.1. But I can offer some observations from my (limited) experience. 1. Multimedia may be much slower on FreeBSD, if you have hardware for which acceleration is either non-existent or harder to get working on FreeBSD. On my ATI Rage, for example, I can't get DRI, or Xv, or vidix working on FreeBSD. This means that full-screen games, OpenGL apps, mplayer, etc. all run very slow on FreeBSD. If you don't have hardware for which this is an true, or don't plan to do much multimedia/gaming, this won't affect you; otherwise, it's a huge difference. 2. UFS seems to write significantly faster than ext3 in some cases. Things like squid proxies, mail servers, web browsers, GNOME programs that do too much gconf'ing, etc. seem noticeably faster in FreeBSD. This only matters if you spend a lot of time running apps that don't play well with ext3 (in which case you should be usin Reiser, XFS, or whatever's best for your usage in linux anyway). 3. FreeBSD's swapping may also be smarter or faster. Or maybe not. I know that, e.g., working with gigantic files in gimp seems to be a little faster than under linux, and the memory-leak bug in SMAC doesn't make the game slow to a crawl quite as quickly. This may be a consequence of /tmp, etc. being on UFS, or something completely different. 4. While running a similar set of services, FreeBSD may be using less background processing time. Or maybe not. I definitely see significantly lower CPU usage (idling under X, FreeBSD shows about 2-10% CPU, linux about 15-35%). However, this may just be an artifact of linux's notoriously bad reporting, or the fact that I'm using the O(1) kernel and preemptible kernel patches, or maybe something stupid some GNOME applet is doing because I configured it wrong under linux; who knows CPU-bound processes certainly don't seem to run a whole lot faster (as they should, if this were something real). Other than these cases, for the most part, I haven't seen much speed difference with linux apps--or ports to FreeBSD. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Website up, then down, then up, etc.
Try it yourself: http://howse.homeunix.net I connected without any problem at 20:58 24 Oct (UTC -4:00). I am running the same 4.8 version you are. Not working as of 19:05 this date, CDT (UTC -6:00). What in the world could be happening? The software setup: Apache2 vsftpd FreeBSD 4.8-RELEASE-p13 The network setup: Dynamic DNS service: DYNdns.org ISP: Charter Communications Cable Modem: Motorola Surfboard 4-port Cable/DSL Router: SpeedStream SS2604 (port forwarding enabled) Thanks, Charles Got a computer with idle CPU time? Join [EMAIL PROTECTED] and help make history! http://setiathome.ssl.berkeley.edu/ ___ [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: Website up, then down, then up, etc.
Hi Charles, --On Friday, October 24, 2003 07:14:21 PM -0500 Charles Howse [EMAIL PROTECTED] wrote: Try it yourself: http://howse.homeunix.net Not working as of 19:05 this date, CDT (UTC -6:00). What in the world could be happening? I just logged on without a problem, and very quickly. Looks good.. Strange Looking at the header from your email, you came from: mygirlfriday.info That resolves to 65.64.145.209 I see no record of that in /var/log/httpd-access.log. Could you please confirm the IP address, and convert the time you connected to UTC? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Website up, then down, then up, etc.
Try it yourself: http://howse.homeunix.net I connected without any problem at 20:58 24 Oct (UTC -4:00). I am running the same 4.8 version you are. Not working as of 19:05 this date, CDT (UTC -6:00). Check my math here... You connected at 20:58 + 4:00 = 00:58 UTC I was down at 19:05 + 6:00 = 01:05 UTC So you connected before I noticed I was down...? I'm not positive it was down then. Currently down at 20:20 CDT = 02:20 UTC What in the world could be happening? The software setup: Apache2 vsftpd FreeBSD 4.8-RELEASE-p13 The network setup: Dynamic DNS service: DYNdns.org ISP: Charter Communications Cable Modem: Motorola Surfboard 4-port Cable/DSL Router: SpeedStream SS2604 (port forwarding enabled) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Website up, then down, then up, etc.
Hi Charles, --On Friday, October 24, 2003 08:40:09 PM -0500 Charles Howse [EMAIL PROTECTED] wrote: Strange Looking at the header from your email, you came from: mygirlfriday.info That resolves to 65.64.145.209 The above is the address of my remote mail/DNS server. My static IP that I connected to your port 80 is reflected at 65.41.216.204 I see no record of that in /var/log/httpd-access.log. Could you please confirm the IP address, and convert the time you connected to UTC? I do not remember what time it was, but it will be in your logs. If not, I will log on again. Both of your questions were available in the email headers from the email originally sent to you. Both of my IP addresses were in the headers, as well as the time. -- Gary ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Core dumps not containing Symbols
On Sat, Oct 25, 2003 at 07:31:12AM +1000, Adam Carmichael wrote: Greetings all, I have a box that is dumping cores, and I would like to look into the matter further, but my output in gdb does not appear to contain symbols. I modified GENERIC so that it contains the following line: makeoptions DEBUG=-g I have also tried with and without the following two options: options DDB options DDB_UNATTENDED without success. I read in Absolute BSD, and the FreeBSD Developers Handbook that my makeoptions line should be all that is required. This code is from the 4-STABLE source at about 01:20 AEST, Sat Oct 25, 2003 (about 15:20, Fri Oct 24 2003 UTC [sorry if I'm an hour out - I don't know whether I subtract 10 hours or 11 hours for daylight savings/winter time] ). What other stages are there to get the relevant source to appear in gdb when i run 'where'? You need to use the right kernel image. The installed kernel (/kernel) is stripped of debugging symbols. The kernel in /usr/src/sys/compile/WHATEVER/kernel.debug contains the debugging symbols and can be used with gdb -k. Kris pgp0.pgp Description: PGP signature
Statically Linked IceWM
hi , Can some one tell me if it is possible to build IceWM statically linked ( FreeBSD as well as linux i am using FreeBSD 5.0).i downloaded the source tar and made changes to the make script by adding the -static parameter but still the executable produced is not statically linked but dynamically linked. Please tell me the way to go ahead. ( tell me if it is possible also) Thanks in advance. Abhijeet Sane [EMAIL PROTECTED] Pune ( India ) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Website up, then down, then up, etc.
Hi Charles, --On Friday, October 24, 2003 08:40:09 PM -0500 Charles Howse [EMAIL PROTECTED] wrote: Strange Looking at the header from your email, you came from: mygirlfriday.info That resolves to 65.64.145.209 The above is the address of my remote mail/DNS server. My static IP that I connected to your port 80 is reflected at 65.41.216.204 I see no record of that in /var/log/httpd-access.log. Could you please confirm the IP address, and convert the time you connected to UTC? I do not remember what time it was, but it will be in your logs. If not, I will log on again. Both of your questions were available in the email headers from the email originally sent to you. Both of my IP addresses were in the headers, as well as the time. Thanks for that clarification. I do indeed see you in the logfile at 19:31. Now I'm getting spooked! Could I be blocked from my own site? I've been portscanning it a few times, moving it inside and outside the firewall. I don't have anything installed that would block an IP from using port 80. It's down now at 10:34 CDT, moving it outside the firewall didn't help. Sheshwhat's going on? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Website up, then down, then up, etc.
Hi Charles, On Fri, 24 Oct 2003 22:36:17 -0500 GMT (10/24/2003, 10:36 PM +0500 GMT my time), Charles Howse wrote: C Thanks for that clarification. You are welcome. C I do indeed see you in the logfile at 19:31. Good, at least WAN wise, you are fine. C Now I'm getting spooked! Could I be blocked from my own site? Maybe a tcpdump with focus on port 80 will yield some answers. C I've been portscanning it a few times, moving it inside and outside the C firewall. I take it no problems there. That is to say, it shows up. C I don't have anything installed that would block an IP from using port C 80. It's down now at 10:34 CDT, moving it outside the firewall didn't C help. Sheshwhat's going on? What comes to mind is DNS. Is your www address resolvable from inside your LAN to your IP address? What do your logs say? -- Gary ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Website up, then down, then up, etc.
On Friday 24 October 2003 08:36 pm, Charles Howse wrote: Hi Charles, --On Friday, October 24, 2003 08:40:09 PM -0500 Charles Howse [EMAIL PROTECTED] wrote: Strange Looking at the header from your email, you came from: mygirlfriday.info That resolves to 65.64.145.209 The above is the address of my remote mail/DNS server. My static IP that I connected to your port 80 is reflected at 65.41.216.204 I see no record of that in /var/log/httpd-access.log. Could you please confirm the IP address, and convert the time you connected to UTC? I do not remember what time it was, but it will be in your logs. If not, I will log on again. Both of your questions were available in the email headers from the email originally sent to you. Both of my IP addresses were in the headers, as well as the time. Thanks for that clarification. I do indeed see you in the logfile at 19:31. Now I'm getting spooked! Could I be blocked from my own site? I've been portscanning it a few times, moving it inside and outside the firewall. I don't have anything installed that would block an IP from using port 80. It's down now at 10:34 CDT, moving it outside the firewall didn't help. Sheshwhat's going on? Are you using nat? Could you be losing your dhcp lease and then renew it and get access to apache back. I have 2 NICs in crystal and http://crystal always works on the internal network. I don't do that very often because I have a router after the DSL modem and use the external address for even my internal accesses. Crystal's firewall does the nat translation for the 6 machines connected through it. Topaz (this machine) has its own IP and doesn't do nat. The firewall is also much tighter and anyone using the IP address is trying to break in. I log everything on this system. It cost me more for 2 static IPs but that was a lot less trouble. You don't always have that choice. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Website up, then down, then up, etc.
How often do you reboot your router? My router flakes out every few months and I need to reboot it. On Oct 24, 2003, at 8:14 PM, Charles Howse wrote: Hi, For the past week or so I've been pulling my hair out trying to diagnose what's going on with my website. Prior to that, everything was working perfectly. I've made no changes that I was aware of. There is no pattern to this...sometimes I can connect to the web server over the Internet, sometimes not. I can always connect to the FTP server over the Internet, so DNS services appear to be working. I have just written my Dynamic DNS service, DYNdns.org, no reply yet. I called my ISP, they're not blocking inbound connections on port 80. lynx localhost always works on the web server. host howse.homeunix.net always resolves correctly. apachectl restart doesn't help. Rebooting the web server doesn't help. I can force an IP update successfully with ddclient. On my WinXP box, http://curly always works. Try it yourself: http://howse.homeunix.net Not working as of 19:05 this date, CDT (UTC -6:00). What in the world could be happening? The software setup: Apache2 vsftpd FreeBSD 4.8-RELEASE-p13 The network setup: Dynamic DNS service: DYNdns.org ISP: Charter Communications Cable Modem: Motorola Surfboard 4-port Cable/DSL Router: SpeedStream SS2604 (port forwarding enabled) Thanks, Charles Got a computer with idle CPU time? Join [EMAIL PROTECTED] and help make history! http://setiathome.ssl.berkeley.edu/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Lucas Holt [EMAIL PROTECTED] FoolishGames.com (Jewel Fan Site) JustJournal.com (Free blogging) Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. - Albert Einstein (1879-1955) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh keys - howto?
On Fri, 2003-10-24 at 17:28, [EMAIL PROTECTED] wrote: Okay, I'm stumped. Just need to get ssh keys working. I have FBSD-5.1 web server with sshd running. I have a workstation running W2K with WinSCP3. I have tried Puttygen to create the keys and copied the key to .ssh directory on FBSD, renamed it authorized_keys but it don't work. I then ran ssh_keygen on the BSD box, but don't know what to do with the two files it created, there are no instructions about that part in the man file. Does anyone have a how-to on settup of ssh between w2k and fbsd? I'm not aware of a How-To, but you have to create the files on FBSD. Then copy them to Putty. There should be an option in Putty to convert the OpenSSH keys to Putty keys. Once converted, they will work. See the Putty Help files of web site for more info. Hope this helps, Frank signature.asc Description: This is a digitally signed message part
Re: Fwd: Help: tar find
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 23 October 2003 15:34, Matthew Seaman wrote: On Wed, Oct 22, 2003 at 10:43:50PM -0600, Scott Gerhardt wrote: [skipped] 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 It'll have some _bad_ features: If ``find'' will found to many files (default number of arguments to be passed by xargs to the ``utility'' (the tar command) is 5000, the default size of the command line is MAX_ARG (2048 bytes) //from man xargs), then xargs will run the ``utility'' twice, or more times,... consider it will be a very small differenses in time, you'll get that the last tar invocation 'll replace your archievs with that time stamp. IMHO. WBR, CBuH. - -- CBuH. CG[CX] XVyGYjau [EMAIL PROTECTED], ICQ#70929413 GnuPG(PGP) public key is: http://ccclike.chat.ru/my_public_key.asc -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/mf0L5Cj3gqxcdCoRAtvPAJ98ygwLGD1Oxprvl+TlOEEP99R7ygCeL8tR L5loOfn5U3sJDVpRzVG4MvY= =mJGX -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help: tar find
On Friday, October 24, 2003, at 10:33 PM, CBuH. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 23 October 2003 15:34, Matthew Seaman wrote: On Wed, Oct 22, 2003 at 10:43:50PM -0600, Scott Gerhardt wrote: [skipped] 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 It'll have some _bad_ features: If ``find'' will found to many files (default number of arguments to be passed by xargs to the ``utility'' (the tar command) is 5000, the default size of the command line is MAX_ARG (2048 bytes) //from man xargs), then xargs will run the ``utility'' twice, or more times,... consider it will be a very small differenses in time, you'll get that the last tar invocation 'll replace your archievs with that time stamp. IMHO. WBR, CBuH. - -- Thanks for the response, but what would be a better solution? Thanks, -- Scott A. Gerhardt, P.Geo. Gerhardt Information Technologies ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]