5.2-RELEASE build snafu.
People, I've been trying to build the latest cvsup'd src for 5.2-RELEASE. make buildworld finishes without err. But buildkernel quits as shown in this cut-and-paste. make buildkernel KERNCONF=GENERIC is the make command. ---This is the first time I've had any trouble with the automated make stuff in years. Anybody know what's going on? tia! gary cc -O -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm -D__FBSDID=__RCSID -c aicasm_macro_scan.c cc -O -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm -D__FBSDID=__RCSID -o aicasm aicasm.o aicasm_symbol.o aicasm_gram.o aicasm_macro_gram.o aicasm_scan.o aicasm_macro_scan.o -ll cd /usr/obj/usr/src/sys/GENERIC; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec GROFF_BIN_PATH=/usr/obj/usr/src/i386/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/i386/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/i386/usr/share/tmac DESTDIR=/usr/obj/usr/src/i386 INSTALL="sh /usr/src/tools/install.sh" PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec:/usr/libexec make KERNEL=kernel depend make: don't know how to make /usr/src/sys/sys/_null.h. Stop *** Error code 2 Stop in /usr/src. *** Error code 1 Stop in /usr/src. -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problem starting jail
Hello, I am running FreeBSD 4.9. I am new to Unix (great learning). I have setup the jail according to the man page with no errors and upon completion while trying to start the jail I get this error: bsdbox# jail -u root /home/jail/192.168.10.3/ ecj 192.168.10.3 /bin/sh jail: execv: /bin/sh: No such file or directory I have also tried to start the box with the following invocation: bsdbox# jail /home/jail/192.168.10.3/ ecj 192.168.10.3 /bin/sh and I get the same error: "jail: execv: /bin/sh: No such file or directory" The /bin/sh file does in fact exist under the host environment. Anyone have some advice? Gerald ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrade a port
exactly what i am looking for, thx. -cs Lowell Gilbert wrote: Robert Huff <[EMAIL PROTECTED]> writes: Chiang Seng Chang writes: portupgrade wont work because ver 22 was not installed in the first place. pkg_deinstall ver 21 wont work because there are dependencies. portinstall ver 22 wont work because ver 21 is there. how do i get out of this catch-22 ? pkg_delete -f pkgdb -F# just to be sure portinstall (Crude, but effective.) Slightly less crude would be something like portupgrade -o -f ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to config CDRom to read udf files
Hi folks, FreeBSD 5.2 My CDRom could not read udf files burned with DirectCD on Windows. I made following tests; cat /etc/fstab # DeviceMountpoint FStype Options ... /dev/acd0 /usr/home/user/cdrom cd9660,udf ro,noauto $ mount_udf /dev/acd0 /usr/home/user/cdrom mount_udf: /dev/acd0: Invalid argument $ mount -t udf /dev/acd0 /usr/home/user/cdrom udf: /dev/acd0: Invalid argument cat /etc/fstab # DeviceMountpoint FStype Options ... /dev/acd0 /usr/home/user/cdrom cd9660 ro,noauto $ mount -t udf /dev/acd0 /usr/home/user/cdrom udf: /dev/acd0: Operation not permitted $ mount_udf /dev/acd0 /usr/home/user/cdrom mount_udf: /dev/acd0: Operation not permitted $ mount /dev/acd0 /usr/home/user/cdrom $ ls /usr/home/user/cdrom autorun.inf udfrchk.exe udfrinst.zl cat /etc/fstab # DeviceMountpoint FStype Options ... /dev/acd0 /cdrom udf ro,noauto /dev/acd0 /usr/home/satimis/cdrom udf ro,noauto # mount -t udf /dev/acd0 /cdrom udf: /dev/acd0: Invalid argument # mount_udf /dev/acd0 /cdrom mount_udf: /dev/acd0: Invalid argument # mount /dev/acd0 /cdrom mount: /dev/acd0: Input/output error $ mount_udf /dev/acd0 /usr/home/user/cdrom mount_udf: /dev/acd0: Invalid argument $ mount -t udf /dev/acd0 /usr/home/user/cdrom udf: /dev/acd0: Invalid argument $ mount /dev/acd0 /usr/home/user/cdrom mount: /dev/acd0: Permission denied All failed. $ kldstat -v | grep udf 10 1 0xc43e7000 6000 udf.ko 333 udf $ ls /boot/kernel/ | grep udf udf.ko udf_iconv.ko the module seems there. Kindly advise how to fix it. TIA B.R. Stephen Liu ___ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Items missing from the handbook and/or FAQs.
On Fri, Apr 23, 2004 at 04:47:01PM -0400, Charles Swiger wrote: > I'll make a try at answering the issues you raise, but the best way of > handling missing documentation is to submit PR's which update the > manpages or the Handbook with something better. When I know what something better is, sure... > ...and I could repeat this with a few other Unix systems and not find a > "iwconfig" on them, either. ifconfig ought to be used for configuring > network interfaces, IMO. Frankly, I agree with you 100%. But it isn't intuitive and documenting it wouldn't hurt. > I believe the PPP section of the handbook has a discussion of start_if. Because I'd be looking under PPP for wireless configuration? > >4. Why is xdm still listed as the way to set up X? > > > >Okay, I'm certain that a bunch of people will respond to tell me that > >gnome > >and kde are evil and should be destroyed, but the vast majority of > >people > >are expecting modern graphical interfaces. > > If so, why would they want to use X? > > Fifteen years ago, Sun with NeWS and NeXT/Adobe with Display PostScript > solved problems that still plague X-- things like transparency, or a > unified imaging model that works with printing too, or font support > that doesn't suck. Okay, so keep making my point for me. How do you enable these? ;-) (okay, so I'm just teasing you now) -- Joe Rhett Chief Geek [EMAIL PROTECTED] Isite Services, Inc. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
freebsd-questions Digest, Vol 57, Issue 20
I will be out of my office untill May 3rd. If there is any urgent stuff contact [EMAIL PROTECTED] Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Items missing from the handbook and/or FAQs.
On Fri, Apr 23, 2004 at 10:36:46PM +0200, Marc Fonvieille wrote: > > get rid of the ppp0 and sl0 interfaces. The answer was to copy related > > parameters from /etc/defaults/rc.conf to /etc/rc.conf and change them. > > > > (The handbook actually does say "modify rc.conf" but it doesn't say what > > items should be modified!) > > > > Wrong, read > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html > about sl and ppp Maybe it's just me, but would you look for bathroom cleaning information in a manual about your oven? Neither would I. If you need to edit the kernel to disable PPP, then this should be noted in the PPP configuration documentation. > > Also a note to create /etc/start_if.{ifname} to put the wireless options in > > would also have saved me reading through the rc scripts. I asusme that's a > > general case for all interfaces, but it could bear repeating in the wireless > > documentation. (when there is some...) > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bluetooth.html I'm not certain what you are trying to say here, since both of these links fail to mention what I stated above. They give you the basic commands, but leave you with the impression that you'll have to type these every time you want to configure the interface. Even just a few links to other relevant documentation would greatly improve these sections. > > 3. Choosing filesystem types > > > > During setup you can create filesystems other than FreeBSD, but you are > > supposed to magickally know their filesystem type numbers. The setup > > documenation and the fdisk tools only tell you the filesystem numbers for > > freebsd, linux and dos. An option to get a list would be nice. > > Documentation of the filesystem types would be nice too. (I had to use > > fdisk on a linux system to get the filesystem numbers I needed) > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html > especially 2.2.3.1 Disk Layouts for the i386 Naturally, I can browse the freebsd website while I'm partitioning the disk... makes sense to me. Now how about the real question I raised, which is integrated documentation? An option to see a list of disk types...? > > Suggestion: put a gdm configuration script there right next to the xdm > > configuration. The people who love twm know what to do to make it happy. > > Forcing people who aren't in love with twm and startx to hack at and make > > their own gdm startup scripts doesn't make much sense. > > > > (yes, there is an example gdm startup script, but it won't work be default > > and you have to search for it, edit it, move it to the proper directory, > > etc) > > Well XDM and KDM are covered in the Handbook, we can't cover everything. I'm not talking about documentation, I'm talking about sensible defaults. It's not a lack of documentation, it's a lack of useful setup scripts. Straight up: I'm building this system to set up a test environment for a client. When I got done with the installation and there was no usable windows environment and no usable mail client, and no usable network interface ... I was pretty much ready to tell the client to find a modern OS. I mean, hello, Unix systems came better working out the box in the mid-80s. Why are we going backwards? > > 1. How to put DHCP on the wireless card? > > > > I still haven't figured this out. I run dhclient on the interface by hand > > after every reboot and it works fine, but I'm assuming there is some > > standard method of telling the system that wi0 should be a dhcp-managed, right? > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dhcp.html Alright, on this one when I re-read it I found what I was looking for. It could be more clear, but it is there. > > 2. What is interface faith0 ? > > > > It took a ridiculous amount of searching to determine that faith0 was an > > ipv4 -> ipv6 interface. And I can find nothing about how to disable it. > > (and if you say compile a new kernel and make world, excuse me while I puke) > > > > man faith man faith returns information on what it is, with nothing at all about how to enable or disable it. -- Joe Rhett Chief Geek [EMAIL PROTECTED] Isite Services, Inc. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: updated ports tree
On Fri, Apr 23, 2004 at 11:41:36PM +, Killermink ! wrote: > I see what your saying and i suppose I have two points: > > 1) Can you install a port without installing the ports tree? I see that you and I are using terms that aren't really at odds, in what we mean; but are at odds in what they are normally used for. Let me explain: you are, in your query, and in your previous email, talking about packages. What you want to do is download a pre-compiled binary of each application you wish to use, and install each one. So no, you cannot install *from* the ports tree without installing the ports tree. But you *can* install a pre-compiled binary, entirely bypassing the ports tree. > 2) If you must install the ports tree, what is the best way to keep it up > to date? AFAIK, the best way is the only way: via a make update/kernel/world process run out of /usr/src/ and employing cvs. I suggest cd'ing to /usr/src/ and reading the Makefile there; it is well-commented. > I am still new at this, and can't seem to find packages for all the > ports in the tree... You will not find packages for any port in the ports tree. Have you looked at the various mirrors for the binary you wish to install? That's where you will find the packages you seek. There, or perhaps on one of your 5.x CDs? However, it occurs to me that the pre-compiled binaries might take up as much room as the ports tree and the distiles they fetch, if the packages are large enough. I'd bet that this is an FAQ, of sorts; and that someone might actually take a stab at answering it. They probably do not: my /usr/ports/ tree, without distfiles, comes to about 300 and some few meg out of a gigabyte...sheesh: 61M/usr/ports/distfiles/teTeX 87M/usr/ports/distfiles/gnome2 I'm almost sorry I looked. HTH, Killermink; let me know if I've made things clearer or foggier, please. > Original Message Follows > From: Joe Altman <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: Killermink! <[EMAIL PROTECTED]> > CC: [EMAIL PROTECTED] > Subject: Re: updated ports tree > Date: Fri, 23 Apr 2004 14:23:37 -0400 > > On Wed, Apr 21, 2004 at 10:04:06PM +, Killermink ! wrote: > > Hello all, > > > > I am about to (re)install FreeBSD 5.2.1, and wish to make sure I have the > > latest ports afterwards. I do not really wish to install the whole ports > > tree from sysinstall as disk space is at a premium, and i will (soon) > have > > a fast internet connection so seems pointless when i am only going to > > install like 10 ports. Also, the ports tree on the 5.2.1 ISO is out of > date > > now. > > > > I have read the manual over and over, but cannot fathom how I can make a > > port without the whole ports tree being installed... > > > > Is it possible to make a port in this way, and how is it done? > > If disk space is at a premium with an out of date ports tree, and > ports were likely added in the interim, then disk space will still be > an issue with a current ports tree, no? > > So you may want to: > > 1) use packages, and skip ports entirely > > or > > 2) install the ports tree, and update it as a part of a make world >process. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
AMD vs Intel
I'm looking at picking up the following: Intel Technology Server Chassis Intel SC1300 1U Rack MainBoard: Intel SE7501WV2SCSI Ram memory: 4 x 1 GB Processor: 2 x Xeon 3.06 Ghz Discos Duros: 3x Seagate ST336607KLC Intel: SRCZR CD-ROM: 52x Floppy: 3.5" Monitor, Mouse & Keyboard: Not Included Now, I've been hearing alot of how AMD tends to perform better, but I have zero experience with AMD ... I'm curious as to what those with experience with AMD would be considered: 1. equivalent in power to the Xeon 3.06Ghz 2. a rackmount/motherboard they would recommend for a server Thanks ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: updated ports tree
On Fri, Apr 23, 2004 at 07:38:37PM -0600, Danny MacMillan wrote: > On Fri, 23 Apr 2004 23:41:36 +, Killermink ! <[EMAIL PROTECTED]> > wrote: > > >I see what your saying and i suppose I have two points: > > > >1) Can you install a port without installing the ports tree? > > Ports can not be installed without first being built, and the ports tree > is what enables you to build a port. Short answer: no. > > Somewhat longer answer: If your concern is disk space, in theory it would > be possible, I think, to install only that subset of the ports tree > required to build the port you are interested in, but that task is > non-trivial. Most ports depend on other ports, which themselves depend on > other ports, and so on. One of the advantages of the ports tree is that > having it available means you do not have to resolve those dependencies > manually. I don't think if you install an individual port it would be > smart enough to resolve these dependencies automatically (but I've never > tried to do it that way). If not, you would have to untar the part of the > ports tree containing the port you wish to build, then attempt to install > it. Then handle each of the inevitable errors in turn, untarring > progressively more of the ports tree until you get it to the point where > it will install your port. I don't think this is the best way to go, but I > would be interested to know if and how well it works. > > If you go to http://www.freebsd.org/ports/ you can browse the ports > collection online and download individual tarballs for each port. Each > port also lists its dependencies so you can see how big of a task you > might be letting yourself in for. The portcheckout port is an easier alternative. > >I am still new at this, and can't seem to find packages for all the > >ports in the tree... > > My understanding is this: That there aren't packages for all the ports in > the tree, but that there are many more packages available on the ftp > site(s) than ship on the CD. If you browse the ports collection online > you'll be able to download packages for many (most?) of the ports. If you > would really rather not install the ports tree, I'd invest some time in > looking for the package you want to install. Odds are pretty good it's > available. There are packages for everything that can be packaged automatically and redistributed. If a port is broken, requires manual intervention to build, or may not legally be redistributed, it won't be on the FTP sites. Kris pgp0.pgp Description: PGP signature
Re: updated ports tree
On Fri, 23 Apr 2004 23:41:36 +, Killermink ! <[EMAIL PROTECTED]> wrote: I see what your saying and i suppose I have two points: 1) Can you install a port without installing the ports tree? Ports can not be installed without first being built, and the ports tree is what enables you to build a port. Short answer: no. Somewhat longer answer: If your concern is disk space, in theory it would be possible, I think, to install only that subset of the ports tree required to build the port you are interested in, but that task is non-trivial. Most ports depend on other ports, which themselves depend on other ports, and so on. One of the advantages of the ports tree is that having it available means you do not have to resolve those dependencies manually. I don't think if you install an individual port it would be smart enough to resolve these dependencies automatically (but I've never tried to do it that way). If not, you would have to untar the part of the ports tree containing the port you wish to build, then attempt to install it. Then handle each of the inevitable errors in turn, untarring progressively more of the ports tree until you get it to the point where it will install your port. I don't think this is the best way to go, but I would be interested to know if and how well it works. If you go to http://www.freebsd.org/ports/ you can browse the ports collection online and download individual tarballs for each port. Each port also lists its dependencies so you can see how big of a task you might be letting yourself in for. Alternative answer: The ports tree, while generally very efficient, is just one way of installing software on your FreeBSD system. If source is available for the software you want to install, you can try downloading it directly from the developer and building it yourself. If they haven't built with FreeBSD in mind, you may have to patch the source to get it to build and you'll still have to resolve dependencies manually. That's why most people prefer ports :) 2) If you must install the ports tree, what is the best way to keep it up to date? I use CVSup and I think most others do, too: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html I am still new at this, and can't seem to find packages for all the ports in the tree... My understanding is this: That there aren't packages for all the ports in the tree, but that there are many more packages available on the ftp site(s) than ship on the CD. If you browse the ports collection online you'll be able to download packages for many (most?) of the ports. If you would really rather not install the ports tree, I'd invest some time in looking for the package you want to install. Odds are pretty good it's available. -- Danny ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: updated ports tree
Killermink ! wrote: I see what your saying and i suppose I have two points: 1) Can you install a port without installing the ports tree? Yes, or sort of. You need things like the ports Makefiles in /usr/ports/Mk, but if you copy, say, archivers/gtar to /tmp/gtar and then deleted /usr/ports/archivers and the other categories, you could still build the gtar port by itself. Modulo dependencies. Frankly, if 300MB of disk space is an issue, using binary packages instead or else build your ports on another machine and create your own packages is probably the way to go. "make package-recursive"... 2) If you must install the ports tree, what is the best way to keep it up to date? cvsup. I am still new at this, and can't seem to find packages for all the ports in the tree... Where did you look, and what is missing? -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
1024x768 Resolution in console?
Hello list, I've posted this question before, and I've had some good tips on where to look for the right answer. I started with man pages for syscons, vidcontrol, and others. I can't figure it out. I've been toying with this for quite a while, but I'm failing. Apparently, there's a way to get a splash screen at boot with a resolution of 1024x768, but I can't figure that out, either. If anyone's willing to be a little more specific on where to go for the answers, I'd greatly appreciate it! This is for a Compaq Presario 2100 (laptop). My beef is that my console only takes up a small section of the screen (although X is full screen). I know some laptops have a 'stretch' capability, but, alas, I was a cheap bastard, and this one does not. Thanks, Eric ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: vinum requirements
On Friday, 23 April 2004 at 14:47:30 -0400, synrat wrote: > On Fri, 23 Apr 2004, Greg 'groggy' Lehey wrote: > >> On Thursday, 22 April 2004 at 11:32:22 -0400, synrat wrote: >>> >>> does vinum configuration need to be located >>> in the beginning of the drive after bootstrap or >>> is it possible to store at the end of the drive ? >> >> Currently it must be at the beginning of a drive. >> >>> the reason I ask is I only have 60kb available in the beginining and >>> the first partition is /. I should be able to shrink swap, which is >>> at the end of the drive, but I'm not sure I understand how vinum >>> stores it's configuration. Does there need to be a separate >>> partition for vinum that has at least enough space for >>> configuration, which doesn't overlap with anything else ? >> >> No, it's part of the drive. In Vinum terminology, a "drive" is a disk >> partition, the same one on which the subdisks are stored. >> >>> Is the rest of vinum partition supposed to overlap with everything >>> that I want to configure as a plex ( I'm talking about mirroring >>> exisiting partitions ) Or should there be 2 different vinum >>> partitions, one for configuration and another one for plexes ? >> >> I'd suggest you take a look at the documentation at >> http://www.vinumvm.org/cfbsd/vinum.pdf. It should clarify a number of >> things. >> >> And yes, in retrospect it was a bad idea to put the configuration at >> the front of the drive. > > Does all this mean that if I don't have ~133kb available > for Vinum in the beginning of the disk before my first ( root ) > partition, I can't use Vinum on that disk ? Well, you would have to rearrange things. > or would it write half of the configuration in that first 60kb and > the rest in whatever other freespace I have ? No, it would write half the configuration in the first 66.5 kB and the rest of the configuration directly behind it, overwriting important things like the first two superblocks. > I admit this sounds like a joke :). It sounds more like a recipe for disaster to me. 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 Note: I discard all HTML mail unseen. Finger [EMAIL PROTECTED] for PGP public key. See complete headers for address and phone numbers. pgp0.pgp Description: PGP signature
"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]"
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 l
Re: updated ports tree
I see what your saying and i suppose I have two points: 1) Can you install a port without installing the ports tree? 2) If you must install the ports tree, what is the best way to keep it up to date? I am still new at this, and can't seem to find packages for all the ports in the tree... Original Message Follows From: Joe Altman <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: Killermink! <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: updated ports tree Date: Fri, 23 Apr 2004 14:23:37 -0400 On Wed, Apr 21, 2004 at 10:04:06PM +, Killermink ! wrote: > Hello all, > > I am about to (re)install FreeBSD 5.2.1, and wish to make sure I have the > latest ports afterwards. I do not really wish to install the whole ports > tree from sysinstall as disk space is at a premium, and i will (soon) have > a fast internet connection so seems pointless when i am only going to > install like 10 ports. Also, the ports tree on the 5.2.1 ISO is out of date > now. > > I have read the manual over and over, but cannot fathom how I can make a > port without the whole ports tree being installed... > > Is it possible to make a port in this way, and how is it done? If disk space is at a premium with an out of date ports tree, and ports were likely added in the interim, then disk space will still be an issue with a current ports tree, no? So you may want to: 1) use packages, and skip ports entirely or 2) install the ports tree, and update it as a part of a make world process. _ Tired of 56k? Get a FREE BT Broadband connection http://www.msn.co.uk/specials/btbroadband ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrade a port
Robert Huff <[EMAIL PROTECTED]> writes: > Chiang Seng Chang writes: > > > portupgrade wont work because ver 22 was not installed in the > > first place. > > > > pkg_deinstall ver 21 wont work because there are dependencies. > > > > portinstall ver 22 wont work because ver 21 is there. > > > > how do i get out of this catch-22 ? > > pkg_delete -f > pkgdb -F# just to be sure > portinstall > > (Crude, but effective.) Slightly less crude would be something like portupgrade -o -f ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: microuptime() went backwards
On Fri, 23 Apr 2004 13:41:18 +0100, Matthew Seaman <[EMAIL PROTECTED]> wrote: On Fri, Apr 23, 2004 at 01:13:11PM +0100, Jez Hancock wrote: On Fri, Apr 23, 2004 at 09:04:56AM +0300, hugle wrote: > SOmetimes I see such messages in dmesg. > > perl# dmesg > uptime() went backwards (1574174.333073 -> 1573478.944788) > > what they mean? and what causes them to appear ? > is it good or bad?? :) I'd always presumed these messages occured on my machine because the ntpd (network time protocol daemon) had adjusted the system clock. I can't actually tell you for sure since the messages aren't logged by syslog here so there's no easy way of comparing the times to see if they correspond to the ntpd adjustments. ntpd can be configured to maintain a log file and does, if I recall correctly, log a warning messages each time it is forced to step rather than slew the time (see below). Check to see if you have ntpd running - if so that's probably the reason for the messages. Actually, that shouldn't happen because of ntpd(8). If ntpd detects that your system clock is fast, it will make it run slightly slower until it gradually comes back into synch. It shouldn't ever jump the system clock to the right time during normal operation, neither should it ever cause the system clock to run backwards. A partial excerpt from man ntpd(8): -x Normally, the time is slewed if the offset is less than the step threshold, which is 128 ms by default, and stepped if above the threshold. This option forces the time to be slewed in all cases. If the step threshold is set to zero, all offsets are stepped, regardless of value and regardless of the -x option. In general, this is not a good idea, as it bypasses the clock state machine which is designed to cope with large time and frequency errors Note: Since the slew rate is limited to 0.5 ms/s, each second of adjustment requires an amortization interval of 2000 s. Thus, an adjustment of many seconds can take hours or days to amortize. This option can be used with the -q option. How NTP Operates ... As the result of this behavior, once the clock has been set, it very rarely strays more than 128 ms, even under extreme cases of network path congestion and jitter. Sometimes, in particular when ntpd is first started, the error might exceed 128 ms. This may on occasion cause the clock to be set backwards if the local clock time is more than 128 s in the future relative to the server. -Danny ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Bridging Firewall
> I find no reference to MAC rules showing up in 5.2.1. Any help or advice > would be appreciated. That's because bridge(4) doesn't do Layer 2 filtering. Neither does ipfw (as well it shouldn't). I don't know if there are any plans to add this capability to FreeBSD's bridge, but I know that OpenBSD's bridge can do it. See http://www.openbsd.org/faq/faq6.html#Bridge and the man pages for bridge(4) and brconfig(8). ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 25mb vs 300mb ports
On Fri, 23 Apr 2004, Peter Leftwich wrote: > At the FreeBSD.Org ports website, however, it says the total size of > the tarball (tar/gzip) is 25mb. Is this a matter of compressed > versus uncompressed? Why the discrepancy? That's part of it, the other part is that the ports consist of a lot of small files, so you have a significant block/directory size overhead as well. KeS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Bridging Firewall
I am using this document – HYPERLINK "http://www.freebsd.org/doc/en_US.ISO8859-1/articles/filtering-bridges/filte ring-bridges-contributors.html"http://www.freebsd.org/doc/en_US.ISO8859-1/ar ticles/filtering-bridges/filtering-bridges-contributors.html I find no reference to MAC rules showing up in 5.2.1. Any help or advice would be appreciated. -- Outgoing mail is certified Virus Free. Checked by AVG Anti-Virus (http://www.grisoft.com). Version: 7.0.230 / Virus Database: 262.9.4 - Release Date: 4/21/2004 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
25mb vs 300mb ports
I gave the FreeBSD online Handbook a good read (of several chapters that walked the reader through sysinstall)... One of the prompts said to have 300mb or more of space for the ports. At the FreeBSD.Org ports website, however, it says the total size of the tarball (tar/gzip) is 25mb. Is this a matter of compressed versus uncompressed? Why the discrepancy? By the way, thank you to the many erudite and friendly faces who responded to my lament -- I am happy to see a lot of devices now supported under 5.2.1!! -- Peter Leftwich, President & Founder Video2Video Services Box 13692, La Jolla, CA, 92039, USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Specifying sort fields
On Fri, 23 Apr 2004, JJB wrote: > Thank you that worked. You know that nowhere in the 'man sort' info > does it say that to use sort command you have to use pipe commands > to feed it data. You don't have to use pipes or redirection: sort -n /etc/hosts > Don't you think the man sort info needs updating to explain this > fact? Even some examples at end of technical info would go long way > to making the 'man sort' info user friendly and meaningfully. man send-pr -Warren Block * Rapid City, South Dakota USA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrade a port
Chiang Seng Chang writes: > portupgrade wont work because ver 22 was not installed in the > first place. > > pkg_deinstall ver 21 wont work because there are dependencies. > > portinstall ver 22 wont work because ver 21 is there. > > how do i get out of this catch-22 ? pkg_delete -f pkgdb -F# just to be sure portinstall (Crude, but effective.) Robert Huff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Items missing from the handbook and/or FAQs.
On Apr 23, 2004, at 3:37 PM, Joe Rhett wrote: Sorry, it's been quite a while since I've played with FreeBSD and some things are taking a while to get used to. The configuration system has come a long way... but the documentation seems to be lacking a bit. I'll make a try at answering the issues you raise, but the best way of handling missing documentation is to submit PR's which update the manpages or the Handbook with something better. 1. How to disable ppp ? The handbook has lots of information on how to configure it. Apparently I chose to enable it during install (I don't remember this) and I'm trying to get rid of the ppp0 and sl0 interfaces. The answer was to copy related parameters from /etc/defaults/rc.conf to /etc/rc.conf and change them. You mean, setting network_interfaces? I have these interfaces disabled in the kernel config file, myself: #pseudo-device sl 1 # Kernel SLIP #pseudo-device ppp 1 # Kernel PPP ...but it's not as if they do harm if they were compiled in. 2. How to configure a wireless card? If you're coming from any other unixy OS, you're going to be looking for iwconfig and relatives. Just a note somewhere that all wireless configuration is handled through ifconfig would have saved me some time. 1-tanya% which iwconfig iwconfig not found 2-tanya% uname -a Darwin tanya 7.3.0 Darwin Kernel Version 7.3.0: Fri Mar 5 14:22:55 PST 2004; root:xnu/xnu-517.3.15.obj~4/RELEASE_PPC Power Macintosh powerpc 1-pong# which iwconfig iwconfig not found 2-pong# uname -a SunOS pong 5.8 Generic_117000-03 sun4u sparc SUNW,Ultra-4 Solaris ...and I could repeat this with a few other Unix systems and not find a "iwconfig" on them, either. ifconfig ought to be used for configuring network interfaces, IMO. Also a note to create /etc/start_if.{ifname} to put the wireless options in would also have saved me reading through the rc scripts. I asusme that's a general case for all interfaces, but it could bear repeating in the wireless documentation. (when there is some...) I believe the PPP section of the handbook has a discussion of start_if. 3. Choosing filesystem types During setup you can create filesystems other than FreeBSD, but you are supposed to magickally know their filesystem type numbers. The setup documenation and the fdisk tools only tell you the filesystem numbers for freebsd, linux and dos. An option to get a list would be nice. Agreed. 4. Why is xdm still listed as the way to set up X? Okay, I'm certain that a bunch of people will respond to tell me that gnome and kde are evil and should be destroyed, but the vast majority of people are expecting modern graphical interfaces. If so, why would they want to use X? Fifteen years ago, Sun with NeWS and NeXT/Adobe with Display PostScript solved problems that still plague X-- things like transparency, or a unified imaging model that works with printing too, or font support that doesn't suck. Aqua under MacOS X uses PDF rather than DPS, but it retains most of the advantages of DPS. 1. How to put DHCP on the wireless card? I still haven't figured this out. I run dhclient on the interface by hand after every reboot and it works fine, but I'm assuming there is some standard method of telling the system that wi0 should be a dhcp-managed, right? Add a line like: ifconfig_wi0="DHCP" ...I believe. 2. What is interface faith0 ? It took a ridiculous amount of searching to determine that faith0 was an ipv4 -> ipv6 interface. "man faith" or "apropos faith" gives useful information without having to search. And I can find nothing about how to disable it. (and if you say compile a new kernel and make world, excuse me while I puke) FreeBSD configures the OS to have IPv6 support by default. If you don't want IPv6 support, yes, you will need to recompile world. I won't say that IPv6 support is completely transparent at this time, but it usually doesn't get in the way... -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
stupid sendmail question (did not issue MAIL/EXPN/VRFY/ETRN)
Hello all: I am getting this in my /var/log/maillog: Apr 23 15:23:39 library sm-mta[169]: i3NJNd8g000169: localhost [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA when my Tomcat serlvets attempt to send an email from my web app. I only want sendmail listing on 127.0.0.1:25, and the web app is configured to use 127.0.0.1 as it's mail server. It works fine on my Red Hat implementation, but I'm guessing FreeBSD sendmail is tightened up even more. I know that sendmail is working, because I can use the 'mail' MUA and send myself a quick email. I'm guessing this is a little different that just going #mail blahblah, because I'm doing mail relaying? But why would sendmail be denying mail relaying from itself (localhost). Is this fairly simple to address? I know its probably stupid, but I haven't played with sendmail in about 3 years, and never completely understood then either. Thanks for any info. -Duane ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Items missing from the handbook and/or FAQs.
On Fri, Apr 23, 2004 at 12:37:00PM -0700, Joe Rhett wrote: > Sorry, it's been quite a while since I've played with FreeBSD and some > things are taking a while to get used to. The configuration system has > come a long way... but the documentation seems to be lacking a bit. > > This is a quick list of items that I had to struggle through without > references from the documentation. I have figured most of them out from > reading through the rc and init scripts, but that's hardly an easy way to > handle this. > > version: 4.9-stable installed from ISO images. > hardware: Sony VAIO PCG-F350 > (not relevant, because I have no hardware issues...) > > 1. How to disable ppp ? > > The handbook has lots of information on how to configure it. Apparently I > chose to enable it during install (I don't remember this) and I'm trying to > get rid of the ppp0 and sl0 interfaces. The answer was to copy related > parameters from /etc/defaults/rc.conf to /etc/rc.conf and change them. > > (The handbook actually does say "modify rc.conf" but it doesn't say what > items should be modified!) > Wrong, read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html about sl and ppp > 2. How to configure a wireless card? > > If you're coming from any other unixy OS, you're going to be looking for > iwconfig and relatives. Just a note somewhere that all wireless > configuration is handled through ifconfig would have saved me some time. > > Also a note to create /etc/start_if.{ifname} to put the wireless options in > would also have saved me reading through the rc scripts. I asusme that's a > general case for all interfaces, but it could bear repeating in the wireless > documentation. (when there is some...) > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bluetooth.html > 3. Choosing filesystem types > > During setup you can create filesystems other than FreeBSD, but you are > supposed to magickally know their filesystem type numbers. The setup > documenation and the fdisk tools only tell you the filesystem numbers for > freebsd, linux and dos. An option to get a list would be nice. > Documentation of the filesystem types would be nice too. (I had to use > fdisk on a linux system to get the filesystem numbers I needed) > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html especially 2.2.3.1 Disk Layouts for the i386 > 4. Why is xdm still listed as the way to set up X? > > Okay, I'm certain that a bunch of people will respond to tell me that gnome > and kde are evil and should be destroyed, but the vast majority of people > are expecting modern graphical interfaces. > > Suggestion: put a gdm configuration script there right next to the xdm > configuration. The people who love twm know what to do to make it happy. > Forcing people who aren't in love with twm and startx to hack at and make > their own gdm startup scripts doesn't make much sense. > > (yes, there is an example gdm startup script, but it won't work be default > and you have to search for it, edit it, move it to the proper directory, > etc) > Well XDM and KDM are covered in the Handbook, we can't cover everything. However the FreeBSD GNOME team provide some docs: http://www.freebsd.org/gnome/ > 5. Why doesn't the gdm package set up the gdm user? > > Running gdm fails because of the lack of a gdm user. Why isn't this > handled by the package installation script? > It's not a doc issue, if it's real, it's a GNOME ports issue. > LEFTOVER: > There's a few things I'm still hacking at and haven't solved yet. I'll > probably figure these out in the next few hours, but anyone who wants to > clue-by-four me would be appreciated. > > 1. How to put DHCP on the wireless card? > > I still haven't figured this out. I run dhclient on the interface by hand > after every reboot and it works fine, but I'm assuming there is some > standard method of telling the system that wi0 should be a dhcp-managed, right? > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dhcp.html > 2. What is interface faith0 ? > > It took a ridiculous amount of searching to determine that faith0 was an > ipv4 -> ipv6 interface. And I can find nothing about how to disable it. > (and if you say compile a new kernel and make world, excuse me while I puke) > man faith Marc ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MIDI (and audio) on freeBSD
> After some troubles, and a Kernel recompilation with the option "device > pcm", I found in /dev directory lots of devices related to sound. KDE > still does not sound at all: it looks for a /dev/dsp device that does > not exists; a /dev/dsp0.0 exists instead, but I haven't found the way to > instruct KDE to load the right device. Even if /dev/dsp does not appear when you list the contents of /dev, under FBSD 5.X it should still magically appear when something tries to access it, if I've understood correctly. That is how my 5.1-machines behave anyway. With this in mind, something is apparently fishy in your sound system - without being wizardly enough to say what is up, I would not bet on it working out even if you reconfigure the device. If you still want to try, though, you can point the KDE sound system (aRts) to a specific device by enabling the "Use custom sound device" setting in the KDE control center. It can be found under the "Sound I/O" tab in Sound & Multimedia -> Sound System. Good luck, -Jan Christian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Items missing from the handbook and/or FAQs.
On Fri, Apr 23, 2004 at 12:37:00PM -0700, Joe Rhett wrote: > Sorry, it's been quite a while since I've played with FreeBSD and some > things are taking a while to get used to. The configuration system has > come a long way... but the documentation seems to be lacking a bit. http://www.freebsd.org/docproj/index.html http://lists.freebsd.org/pipermail/freebsd-doc/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrade a port
portupgrade wont work because ver 22 was not installed in the first place. pkg_deinstall ver 21 wont work because there are dependencies. portinstall ver 22 wont work because ver 21 is there. how do i get out of this catch-22 ? -cs John Oxley wrote: On Fri 2004-04-23 (11:18), Chiang Seng Chang wrote: currently i have openldap client 2.1 installed. $ pkg_glob -r openldap-client-2.1.30 openldap-client-2.1.30 kdeutils-3.2.2 kdebase-3.2.2 kdenetwork-3.2.2 kdegraphics-3.2.2 kdegames-3.2.2 kdelibs-3.2.2 gnupg-1.2.4_1 samba-3.0.3.p2_1,1 if i want to use version 2.2, do i just simply: pkg_deinstall openldap-client-2.1.30 portinstall net/openldap22-client i suspect step 1 would fail because there are dependency, or switching them around would work ? as in: $ portinstall net/openldap22-client $ pkg_deinstall openldap-client-2.1.30 A better idea would be portupgrade -r openldap22-client The -r recursively upgrade all packages that are dependent on openldap22-client. if you specify -rf it will force a recompile of all ports that are dependent on it. Much better idea, although it does take longer. -Ox ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Removing wierd file
On Tue, 20 Apr 2004, Warren Block wrote: > On Tue, 20 Apr 2004, Paul English wrote: > > > On Tue, 20 Apr 2004, Warren Block wrote: > > > > > > Does ls -lo show anything unusual? > > > > Nothing that makes any sense to me, but that is not a flag I usually use: > > > > ls -lo > > total 0 > > -rwxrws--T 1 1708453043 4187987649 sappnd,uappnd 0 Oct 9 2001 10009_dir > > So 'chflags nosappnd,nouappnd "thatweirdname"' should clear them, if > they are the problem. Haven't seen them on anything, but I haven't > looked, either. It worked! Once I did chflags as above, the file responded to "rm" quite nicely. Thanks! Paul ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Items missing from the handbook and/or FAQs.
Sorry, it's been quite a while since I've played with FreeBSD and some things are taking a while to get used to. The configuration system has come a long way... but the documentation seems to be lacking a bit. This is a quick list of items that I had to struggle through without references from the documentation. I have figured most of them out from reading through the rc and init scripts, but that's hardly an easy way to handle this. version: 4.9-stable installed from ISO images. hardware: Sony VAIO PCG-F350 (not relevant, because I have no hardware issues...) 1. How to disable ppp ? The handbook has lots of information on how to configure it. Apparently I chose to enable it during install (I don't remember this) and I'm trying to get rid of the ppp0 and sl0 interfaces. The answer was to copy related parameters from /etc/defaults/rc.conf to /etc/rc.conf and change them. (The handbook actually does say "modify rc.conf" but it doesn't say what items should be modified!) 2. How to configure a wireless card? If you're coming from any other unixy OS, you're going to be looking for iwconfig and relatives. Just a note somewhere that all wireless configuration is handled through ifconfig would have saved me some time. Also a note to create /etc/start_if.{ifname} to put the wireless options in would also have saved me reading through the rc scripts. I asusme that's a general case for all interfaces, but it could bear repeating in the wireless documentation. (when there is some...) 3. Choosing filesystem types During setup you can create filesystems other than FreeBSD, but you are supposed to magickally know their filesystem type numbers. The setup documenation and the fdisk tools only tell you the filesystem numbers for freebsd, linux and dos. An option to get a list would be nice. Documentation of the filesystem types would be nice too. (I had to use fdisk on a linux system to get the filesystem numbers I needed) 4. Why is xdm still listed as the way to set up X? Okay, I'm certain that a bunch of people will respond to tell me that gnome and kde are evil and should be destroyed, but the vast majority of people are expecting modern graphical interfaces. Suggestion: put a gdm configuration script there right next to the xdm configuration. The people who love twm know what to do to make it happy. Forcing people who aren't in love with twm and startx to hack at and make their own gdm startup scripts doesn't make much sense. (yes, there is an example gdm startup script, but it won't work be default and you have to search for it, edit it, move it to the proper directory, etc) 5. Why doesn't the gdm package set up the gdm user? Running gdm fails because of the lack of a gdm user. Why isn't this handled by the package installation script? LEFTOVER: There's a few things I'm still hacking at and haven't solved yet. I'll probably figure these out in the next few hours, but anyone who wants to clue-by-four me would be appreciated. 1. How to put DHCP on the wireless card? I still haven't figured this out. I run dhclient on the interface by hand after every reboot and it works fine, but I'm assuming there is some standard method of telling the system that wi0 should be a dhcp-managed, right? 2. What is interface faith0 ? It took a ridiculous amount of searching to determine that faith0 was an ipv4 -> ipv6 interface. And I can find nothing about how to disable it. (and if you say compile a new kernel and make world, excuse me while I puke) -- Joe Rhett Chief Geek [EMAIL PROTECTED] Isite Services, Inc. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: installing kde-lite from port
* Kris Kennaway <[EMAIL PROTECTED]> [2004-04-22 17:41]: > On Thu, Apr 22, 2004 at 08:31:42PM -0400, Chiang Seng Chang wrote: > > not a question but may be its not such a good idea after all to install kde > > from port on a p2-400, still compiling after 10 hours... > > It'll be going for a while yet. The smart thing to do on slow > hardware is to install from packages. > > Kris Nothing wrong with letting the machine 'stretch it's legs' ever now and then. 'make buildworld' takes 75 hours on my 50Mhz ISA bus box. It's not a good idea because your patience runs out, but I don't believe it's necessarily a bad idea. -- Joshua OJ! Morphine! Lobo! OJ! Morphine! Lobo! -- Lisa, Bart, and Homer Simpson ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Courier-MTA/maildrop
Pardon if this is a bit off topic, but here it goes... I have a couier-mta system that is running nicely on my 4.9 box, and I wanted to add some server side mailfilter for some of my email (like put mail from this list into a specific folder automatically). I enabled maildrop in courierd, but I am unconvinced it is working. As a test, I put just this in my $HOME/.mailfilter file: to "./Maildir/.test" And the file is owned by me, and rw only by me as required for maildrop. Even so, mail is not being redirected at all. I have tried various thing (sorry didn't keep track) and searched around google to no avail. Does anyone know how to get maildrop working, and as a bonus have aliased acct names working as well? TIA -Derrick ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Slow loading websites
On Fri, Apr 23, 2004 at 02:13:13PM -0400, Charles Swiger wrote: > On Apr 23, 2004, at 1:38 PM, Jammet wrote: > >When i go to a website, say Slashdot or freshmeat, or any where that > >involves ads on the page some where, about 99% of the time it can take > >upwards of 2-3 minutes to load the entire page. [ ... ] > >I guess my main question is, anyone ever seen this, if so ever get it > >fixed? > > Most probably, you are running into delays because your browser queries > websites for an IPv6 address before trying an IPv4 address. > Reportedly, many ad-sites use broken nameservers which botch IPv6 > queries, causing the delay. The problem lies on their end, not yours, > but disabling IPv6 or using a proxy server like Squid will probably > remove the delays. Most of that is true. However, I found it to be a problem with firefox specifically - in that firefox waits for the 75 second timeout. Forced me to switch to opera :) It looks like it will be fixed in the next version of mozilla, though: http://bugzilla.mozilla.org/show_bug.cgi?id=68796 The quickest workaround is to add ::0 ad.doubleclick.com ::0 ad.doubleclick.net to /etc/hosts (not a bad thing to keep in there, really). hth, dan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Serious NWFS problems ...
On Fri, Apr 23, 2004 at 08:49:18PM +0200, Feczak Szabolcs wrote: > 4.9-Beta and 5.2.1 has this fixed, saidly 5.2.1 produces > critical kernel panic with ncpmount, so my only choice > currently is 4.9-Beta ... but If I can't resolve these > problems ... maybe none :( I ment 4.10-Beta here ... -- _(_)_ (_. o_)F3CZ0 (_,) http://feczo.nmi.rulez.org ()__ // // ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrade gone bad, please help
On Fri, Apr 23, 2004 at 01:37:59PM -0500, Joseph Koenig wrote: > At this point, I have upgraded my src as it was out of date before I > upgraded via sysinstall. The system is up and running, although far from > stable. My question is, at this point, have I done enough damage to > everything that using sysinstall to upgrade is out of the question, or can I > reboot my old kernel and try the sysinstall since my src is now up to date? > Thanks, > > Joe I cannot answer the question about damage; but I do recall something about sysinstall being deprecated for upgrades? Does the list have an opinion on this? I am sorry that damage recovery is not something I have a comprehensive tutorial on; and I dont' know if I can recommend anything actually useful. If you have networking set up, and can reach things on the internet, I'd say go for a cvs oriented upgrade and utterly skip sysinstall for upgrades. At this point, I just don't know enough about what might be going on with your system. Assuming that you have the cvs port installed, this may be what you need: >From /usr/src/Makefile # 1. `cd /usr/src' # 2. `make buildworld' # 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # 5. `reboot' (in single user mode: boot -s from the loader prompt). # 6. `mergemaster -p' # 7. `make installworld' # 8. `mergemaster' # 9. `reboot Before you run all of this, you should run 'make update'. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Serious NWFS problems ...
On Sat, Apr 24, 2004 at 01:39:14AM +0930, Malcolm Kay wrote: > This command should always give an error. If > /mnt/nwfs does not exist you can't create > /mnt/nwfs/., and if /mnt/nwfs exist then so will > /mnt/nwfs/. That was the point, to make the os admit, that it exist, so $ mkdir /mnt/nwfs/. mkdir: /mnt/nwfs/.: File exists It claims that it exist $ file /mnt/nwfs/. /mnt/nwfs/.: can't stat `/mnt/nwfs/.' (No such file or directory). It claims that it does not exist -> Confusion Anyhow, the most confusing thing is that it produces this thing : $ mount | grep nwfs /NWSERVER:ADMIN/SDI on /mnt/nwfs (nwfs) So I have the fs mounted, fine $ file /mnt/nwfs/. /mnt/nwfs/.: directory Lets check if the /mnt/nwfs/. reference works .. Since it returns that it is a directory fstat was successfull $ rm /mnt/nwfs/* rm: /mnt/nwfs/DESKTOP.AFP: is a directory rm: /mnt/nwfs/Icon: Unknown error: 35216 rm: /mnt/nwfs/Network Trash Folder: is a directory rm: /mnt/nwfs/a: is a directory rm: /mnt/nwfs/agica: is a directory rm: /mnt/nwfs/baby: is a directory rm: /mnt/nwfs/data: is a directory rm: /mnt/nwfs/deleted.sav: is a directory rm: /mnt/nwfs/fokonyv: is a directory rm: /mnt/nwfs/test: is a directory rm: /mnt/nwfs/x: is a directory Lets delete the files in the root path of the mount, but not the directories, we got some errors, but it is okay to be so $ cp /tmp/testfile1 /mnt/nwfs Lets copy a normal ascii file to the root dir of the mount $ file /mnt/nwfs/. /mnt/nwfs/.: can't stat `/mnt/nwfs/.' (No such file or directory). and whoala we have problem So it claims that it does not exist, at least the mount is unreachable $ cd /mnt/nwfs $ ls ls: .: No such file or directory And realy it is not Wait a few seconds here, and I got: $ ls DESKTOP.AFP agica fokonyv Iconbabytest Network Trash Folderdatatestfile1 a deleted.sav x $ file /mnt/nwfs/. /mnt/nwfs/.: directory So now it exist and reports that it is a directory reachable again But If I do not issue ls or the thing just a little bit lower explained here I got back an error from the file /mnt/nwfs/. command as many times I issue it unless I remount it or make the os rethink this with ls or file command trick. The above process can be repeated unlimited times, and produces the error in every case -> Thats good at least it is consequent and not a random error Looks like after file operations, the kernel or ncpmount does not refresh the stats on the fs, or has problem with it, since it can not access it for some seconds ... It always makes to behave the mounted fs right instatly If I issue the file /mnt/nwfs/a/../. which is in theory should be equivalent to file /mnt/nwfs/. but in practice it doesn't since, the first one restores the normal behaviour of the filesystem, the second one in the errorous state only returns en error (after first command is issued, the second also works, but If I issue the second one first it claims that it does not exist) You may wonder why Im I refering to /mnt/nwfs as /mnt/nwfs/. because the problem comes from, that I can not rsync it some times and rsync needs to access this directory in the above form. > I see that ncpmount is commonly used in Linux > I've been using mount_nwfs on 4.5, 4.7, 4.8 and 4.9 > releases from the standard installation without > problems. Well good maybe I will have a look with 4.9-Release again, saidly it can be only a test, since Im not able to use 4.9-Release for my purposes, as I mentioned I have to reach samba volumes as well, and 4.9-Release has the file lock problem http://www.freebsd.org/cgi/query-pr.cgi?pr=64719 4.9-Beta and 5.2.1 has this fixed, saidly 5.2.1 produces critical kernel panic with ncpmount, so my only choice currently is 4.9-Beta ... but If I can't resolve these problems ... maybe none :( I try to recompile my kenrel with higher HZ value thats my only idea at the moment -- _(_)_ (_. o_)F3CZ0 (_,) http://feczo.nmi.rulez.org ()__ // // ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrade gone bad, please help
At this point, I have upgraded my src as it was out of date before I upgraded via sysinstall. The system is up and running, although far from stable. My question is, at this point, have I done enough damage to everything that using sysinstall to upgrade is out of the question, or can I reboot my old kernel and try the sysinstall since my src is now up to date? Thanks, Joe > You should be able to hit the space bar at the appropriate time, drop > to a prompt that consists of one word: > > ok > > then, type ? > > you'll see a list of options, among them unload...so type: > > unload kernel > > then type: > > load kernel.GENERIC > > and you should be able to complete a boot...OTOH, there are > (probably?) many ways to do what you will need to do. > > BTW: did you copy the list on your reply to me? Its' a really good > idea to do so, as it may be instructive for us all; and there may be a > better way to do what your needs dictate; and someone may offer it. > > On Fri, Apr 23, 2004 at 11:51:01AM -0500, Joseph Koenig wrote: >> They are both there actually. However, my question is, what do I need to do >> to boot from them? I was able to get the network working on the machine, and >> someone on the list recommended doing a CVSup of my source, then build >> world, then build new kernel, as my source is most likely out of date (In >> fact, I'm sure it was). Does that sound reasonable? Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: vinum requirements
thanx Greg. like your book. hope there will be another edition. Does all this mean that if I don't have ~133kb available for Vinum in the beginning of the disk before my first ( root ) partition, I can't use Vinum on that disk ? or would it write half of the configuration in that first 60kb and the rest in whatever other freespace I have ? I admit this sounds like a joke :). thanx again. On Fri, 23 Apr 2004, Greg 'groggy' Lehey wrote: > On Thursday, 22 April 2004 at 11:32:22 -0400, synrat wrote: > > > > does vinum configuration need to be located > > in the beginning of the drive after bootstrap or > > is it possible to store at the end of the drive ? > > Currently it must be at the beginning of a drive. > > > the reason I ask is I only have 60kb available in the beginining and > > the first partition is /. I should be able to shrink swap, which is > > at the end of the drive, but I'm not sure I understand how vinum > > stores it's configuration. Does there need to be a separate > > partition for vinum that has at least enough space for > > configuration, which doesn't overlap with anything else ? > > No, it's part of the drive. In Vinum terminology, a "drive" is a disk > partition, the same one on which the subdisks are stored. > > > Is the rest of vinum partition supposed to overlap with everything > > that I want to configure as a plex ( I'm talking about mirroring > > exisiting partitions ) Or should there be 2 different vinum > > partitions, one for configuration and another one for plexes ? > > I'd suggest you take a look at the documentation at > http://www.vinumvm.org/cfbsd/vinum.pdf. It should clarify a number of > things. > > And yes, in retrospect it was a bad idea to put the configuration at > the front of the drive. > > 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 > Note: I discard all HTML mail unseen. > Finger [EMAIL PROTECTED] for PGP public key. > See complete headers for address and phone numbers. > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: updated ports tree
On Wed, Apr 21, 2004 at 10:04:06PM +, Killermink ! wrote: > Hello all, > > I am about to (re)install FreeBSD 5.2.1, and wish to make sure I have the > latest ports afterwards. I do not really wish to install the whole ports > tree from sysinstall as disk space is at a premium, and i will (soon) have > a fast internet connection so seems pointless when i am only going to > install like 10 ports. Also, the ports tree on the 5.2.1 ISO is out of date > now. > > I have read the manual over and over, but cannot fathom how I can make a > port without the whole ports tree being installed... > > Is it possible to make a port in this way, and how is it done? If disk space is at a premium with an out of date ports tree, and ports were likely added in the interim, then disk space will still be an issue with a current ports tree, no? So you may want to: 1) use packages, and skip ports entirely or 2) install the ports tree, and update it as a part of a make world process. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Slow loading websites
On Apr 23, 2004, at 1:38 PM, Jammet wrote: When i go to a website, say Slashdot or freshmeat, or any where that involves ads on the page some where, about 99% of the time it can take upwards of 2-3 minutes to load the entire page. [ ... ] I guess my main question is, anyone ever seen this, if so ever get it fixed? Most probably, you are running into delays because your browser queries websites for an IPv6 address before trying an IPv4 address. Reportedly, many ad-sites use broken nameservers which botch IPv6 queries, causing the delay. The problem lies on their end, not yours, but disabling IPv6 or using a proxy server like Squid will probably remove the delays. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrade gone bad, please help
You should be able to hit the space bar at the appropriate time, drop to a prompt that consists of one word: ok then, type ? you'll see a list of options, among them unload...so type: unload kernel then type: load kernel.GENERIC and you should be able to complete a boot...OTOH, there are (probably?) many ways to do what you will need to do. BTW: did you copy the list on your reply to me? Its' a really good idea to do so, as it may be instructive for us all; and there may be a better way to do what your needs dictate; and someone may offer it. On Fri, Apr 23, 2004 at 11:51:01AM -0500, Joseph Koenig wrote: > They are both there actually. However, my question is, what do I need to do > to boot from them? I was able to get the network working on the machine, and > someone on the list recommended doing a CVSup of my source, then build > world, then build new kernel, as my source is most likely out of date (In > fact, I'm sure it was). Does that sound reasonable? Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: backing up cvs files
dave wrote: Hello, I've got a cvs repository i'd like to move to another system, but i am uncertain as to how to back it up, any advice helpful. You can back up your CVS repository just like any other files. It would make sense to ensure that nobody is using it when you do so. Just find out where CVSROOT is on that machine, and back that up. Also, i've got an anonymous user in the file READERS, however he can still commit changes to the repository, i am speculating this might be a permissions issue, can anyone confirm this? Unless I remember wrong, cvs security is based on file permissions. So be sure that the anonymous user only has read access to the files in the repository (I could be wrong on this, I apologize if I lead you astray). -- 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]"
Slow loading websites
I am running FireFox right now, but this happens a lot with other browsers as well. Just basics about my system, im running a AMD k6-2 400 386mb ram and an 32meg ati video card (dont remember the exact product right now) When i go to a website, say Slashdot or freshmeat, or any where that involves ads on the page some where, about 99% of the time it can take upwards of 2-3 minutes to load the entire page. Every time it halts on waiting on some address relating to an ad some where on the net, if i jump over to my fiance's P2 400 running windows and go to the page it loads the page long before mine finishs. If i hit reload on it a few duzzon times it will generally bring up the proper page and i can go about my business. I guess my main question is, anyone ever seen this, if so ever get it fixed? How did you fix it and is there anything i should look into other than buying a faster machine. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Jail and spammass-milter (sendmail/spamassassin)
In the last episode (Apr 23), Harald Schmalzbauer said: > Am Freitag, 23. April 2004 11:27 schrieb Harald Schmalzbauer: > > Dear all, > > > > is it possible that spamass-milter doesn't work in a jail? > > Ok, I verified that it's working with the same configuration under > -stabel outside a jail, but not on -current inside a jail. > > Is there any way I can make it work? I think the problem is with the > local socket between sendmail and spamass-milter. > > Is there a sysctl to allow local sockets or is it possible to tell > sendmail to connect via localhost (127.0.0.1)? If your jail is not chrooted at /, "/var/run/spamass-milter.sock" will point to different locations inside and outside the jail, so you'll have to use inet sockets to communicate. Actually if you have a single jail, you can configure the outer processes to use /usr/myjail/var/run/spamass-milter.sock and the jailed processes to use /var/run/spamass-milter.sock, but that won't work if you have multiple jails. The sendmail syntax is "inet:[EMAIL PROTECTED]|ip-address}", so you can do something like this in your .mc file: INPUT_MAIL_FILTER(`spamassassin',`S=inet:[EMAIL PROTECTED], F=, T=C:15m;S:4m;R:4m;E:10m')dnl and then run spamass-milter with "-p inet:[EMAIL PROTECTED]". -- 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: make package from port
On Wed, Apr 21, 2004 at 09:59:19PM +, Killermink ! wrote: > Is there a way I can create a package of xfce and its dependencies, so i > can back them up, reinstall then pkg_add them/it easily? I tried a make > package but it failed as it said it was already installed? To create a package from an already installed port: # pkg_create -b pkg-name (where pkg-name is the appropriate entry in /var/db/pkg) Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
updated ports tree
Hello all, I am about to (re)install FreeBSD 5.2.1, and wish to make sure I have the latest ports afterwards. I do not really wish to install the whole ports tree from sysinstall as disk space is at a premium, and i will (soon) have a fast internet connection so seems pointless when i am only going to install like 10 ports. Also, the ports tree on the 5.2.1 ISO is out of date now. I have read the manual over and over, but cannot fathom how I can make a port without the whole ports tree being installed... Is it possible to make a port in this way, and how is it done? Thanks, killermink _ It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
bktr sloppy on 5.x
greetings: does anyone confirm sloppy video on bktr (hauppauge) on 5.2.1 if compared to 4.9? is there a solution for that? cheers, karma ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
make package from port
Hello all, I have installed a few ports, the most notable being xfce-4.0.0 I now want to reinstall BSD, mainly because I am playing, but also because I am going to delete my XP partition and use the whole disk for FreeBSD. So, after doing so I wish to be able to install Xfce again, but don't want to have to go through the ports install as it takes ages on my lowly machine and I do not want to have to remain connected to the net while doing so. Is there a way I can create a package of xfce and its dependencies, so i can back them up, reinstall then pkg_add them/it easily? I tried a make package but it failed as it said it was already installed? For those not familiar with the xfce install, I made the xfce-4.0.0 port installed from the CD, which is a meta-port for the other packages. (I say this cos it may be relevant to why make package does not work) All help thankfully received! Killermink _ Sign-up for a FREE BT Broadband connection today! http://www.msn.co.uk/specials/btbroadband ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 4.9R changing MTA to Postfix - no periodic.conf
On Apr 23, 2004, at 2:12 PM, Danny wrote: On Fri, 23 Apr 2004 11:51:28 -0400, Bill Moran wrote /etc/defaults/periodic.conf has all the default values for periodic. Defaults as a reference, or the defaults that are currently enforced even without /etc/periodic.conf? Yes, to both. The two aren't exclusive. You should _NOT_ endit /etc/defaults/periodic.conf ... the point is that /etc/periodic.conf overrides those defaults. So, in theory, IF (which I won't, don't worry) I did edit the /etc/defaults/periodic.conf, and disabled the postfix & sendmail specified settings, those changes would be enforced even without a /etc/periodic.conf? Sure. But your changes might get blown away the next time you updated the system and ran mergemaster, unless you were careful. Putting the changes in /etc/periodic.conf is the right thing to do... -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 4.9R changing MTA to Postfix - no periodic.conf
[please fix your mail program so it doesn't mangle emails by wrapping lines] Danny wrote: On Fri, 23 Apr 2004 11:51:28 -0400, Bill Moran wrote Danny wrote: Greetings, So I have installed Postfix from the ports, read the pkg-message, read the changing the MTA in the handbook, and did a bit of searching. So after the switch, I obviously get: Apr 23 03:01:00 mx1 postfix/sendmail[2175]: fatal: unsupported: -bh Apr 23 03:01:01 mx1 postfix/sendmail[2176]: fatal: unsupported: -bH Because I did not: "Also, you will want to disable some Sendmail-specific daily maintenance routines in your /etc/periodic.conf file: daily_clean_hoststat_enable="NO" daily_status_mail_rejects_enable="NO" daily_status_include_submit_mailq="NO" daily_submit_queuerun="NO"" However, I do not have a periodic.conf. How is the periodic running without a config file? Could someone please show me there periodic.conf file and why they chose the options they did, or maybe baseline. /etc/defaults/periodic.conf has all the default values for periodic. Defaults as a reference, or the defaults that are currently enforced even without /etc/periodic.conf? Both. The default values _could_ be hardcoded into the periodic program but there are good reasons not to do this. The most notable is that it's much easier for the average sysadmin to look in /etc/defaults/* to see what default values are than to look through program code. The reason you don't want to edit /etc/defaults/periodic.conf is that upgrading FreeBSD will upgrade /etc/defaults/periodic.conf, but won't change /etc/periodic.conf. That way, if new config options are added or the default values are changed, you get the updates without messing up the settings that each admin changed. You should _NOT_ endit /etc/defaults/periodic.conf ... the point is that /etc/periodic.conf overrides those defaults. So, in theory, IF (which I won't, don't worry) I did edit the /etc/defaults/periodic.conf, and disabled the postfix & sendmail specified settings, those changes would be enforced even without a /etc/periodic.conf? Yes, that would happen. Then, when you upgrade to 4.10, you'll lose your changes. If you create /etc/periodic.conf and put your override values in there, upgrading won't reset your config, but it will add new values as needed and change any defaults to match new changes in 4.10. -- 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]"
Re: 4.9R changing MTA to Postfix - no periodic.conf
On Fri, 23 Apr 2004 11:51:28 -0400, Bill Moran wrote > Danny wrote: > > Greetings, > > > > So I have installed Postfix from the ports, read the pkg-message, read the > > changing the MTA in the handbook, and did a bit of searching. > > > > So after the switch, I obviously get: > > > > Apr 23 03:01:00 mx1 postfix/sendmail[2175]: fatal: unsupported: -bh > > Apr 23 03:01:01 mx1 postfix/sendmail[2176]: fatal: unsupported: -bH > > > > Because I did not: > > > > "Also, you will want to disable some Sendmail-specific daily maintenance > > routines in your /etc/periodic.conf file: > > > > daily_clean_hoststat_enable="NO" > > daily_status_mail_rejects_enable="NO" > > daily_status_include_submit_mailq="NO" > > daily_submit_queuerun="NO"" > > > > However, I do not have a periodic.conf. How is the periodic running without a > > config file? > > > > Could someone please show me there periodic.conf file and why they chose the > > options they did, or maybe baseline. > > /etc/defaults/periodic.conf has all the default values for periodic. Defaults as a reference, or the defaults that are currently enforced even without /etc/periodic.conf? > You should _NOT_ endit /etc/defaults/periodic.conf ... the point is > that /etc/periodic.conf overrides those defaults. So, in theory, IF (which I won't, don't worry) I did edit the /etc/defaults/periodic.conf, and disabled the postfix & sendmail specified settings, those changes would be enforced even without a /etc/periodic.conf? Thank you. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MRTG from ports
In the last episode (Apr 23), Wayne Pascoe said: > Hi all, > > I've just installed mrtg from /usr/ports/net-mgmt/mrtg. I used to have > an older version of mrtg on the machine that I removed by doing > pkg_delete mrtg* > > Since the re-install, I've been getting this error: > SNMP_util version 0.97 required--this is only version 0.93 at > /usr/local/lib/perl5/5.8.0/Exporter/Heavy.pm line 116. > BEGIN failed--compilation aborted at > /usr/local/lib/perl5/site_perl/5.8.0/MRTG_lib.pm line 20. > Compilation failed in require at /usr/local/bin/mrtg line 78. > BEGIN failed--compilation aborted at /usr/local/bin/mrtg line 78 Older versions of mrtg installed local copies of SNMP_session, and I don't think they were part of the plist, so they would hang around after deinstall. Try deleting all copies of BER.pm SNMP_Session.pm SNMP_util.pm mach/auto/SNMP_Session/.packlist you see on your system, and reinstall the SNMP_Session port. -- 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: Upgrade gone bad, please help
On Fri, Apr 23, 2004 at 09:16:52AM -0500, Joseph Koenig wrote: > I have a system that was running FreeBSD 4.3. At the time I built the > system, I compiled a custom kernel, but at this time, I do not need the > modifications I made to the kernel. Turns out I never really did need them. > So, I went to upgrade the machine to 4.9 using sysinstall. All went well, > except when I rebooted, it says it can't find the kernel. It then boots up, > but nothing works. I can log into the system at the physical machine, but no > network connections work, even things such as "top" and "ps" give me 'Out of > Memory' errors. The machine has 1 GB of RAM. I did make a complete backup of > the system before upgrading. I also have my previous kernel. Will it help to > reinstall the previous kernel? If so, how do I do that? Thanks, There should be a bootable kernel, in / , no? IOW, if you didn't remove them, you should have kernel.GENERIC and kernel.old; have you tried booting either of those? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Freebsd machine as a wireless access point ?
On Fri, Apr 23, 2004 at 07:55:38AM -0500, Darryl Hoar wrote: > I have a spare PC with Freebsd installed on it. Can I configure > this machine to be a wireless access point ? Check out the handbook on your machine, in /usr/share/doc/ for the chapter on advanced networking; specifically the page labelled wireless.html. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: majordomo question
Christoph Kukulies wrote: I was trying to find out why I din't receive any mail from the freebsd-java list and sent a which command to majordomo at freebsd.org but didn't get me listed with my email address. That's strange since I'm definitely subscribed to a couple of lists and I'm receiving messages. Hmm, I'm pretty sure that we're not using majordomo any more. Head over to the web site and look for info. I know that "mailman" is now in charge of the lists, and I think that the preferred method of list management is web-based; there probably is a way to do it via email, but that's beyond the scope of my answer ;-) Kevin Kinsey DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Serious NWFS problems ...
On Saturday 24 April 2004 01:04, Feczak Szabolcs wrote: > It gets more interesting: > > $ mkdir /mnt/nwfs/. > mkdir: /mnt/nwfs/.: File exists This command should always give an error. If /mnt/nwfs does not exist you can't create /mnt/nwfs/., and if /mnt/nwfs exist then so will /mnt/nwfs/. On Friday 23 April 2004 23:01, Feczak Szabolcs wrote: ... > So I have to act as a samba and netware client. > I have also tried 5.x, but 5.x freezes with > ncpmount ... I see that ncpmount is commonly used in Linux environments and I have found some old and rather vague references to it under FBSD. But I can't find it in the FBSD ports, and it is certainly not in the base system of FBSD 4.7, 4.8 or 4.9. Where did you get it or is it standard on 5.x? I've been using mount_nwfs on 4.5, 4.7, 4.8 and 4.9 releases from the standard installation without problems. Malcolm ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Serious NWFS problems ...
Ok here gets realy interesting : $ mount /mnt/nwfs/ $ mount | grep nwfs /NWSERVER:ADMIN/SDI on /mnt/nwfs (nwfs) $ file /mnt/nwfs/. /mnt/nwfs/.: directory $ rm /mnt/nwfs/* rm: /mnt/nwfs/DESKTOP.AFP: is a directory rm: /mnt/nwfs/Icon: Unknown error: 35216 rm: /mnt/nwfs/Network Trash Folder: is a directory rm: /mnt/nwfs/a: is a directory rm: /mnt/nwfs/agica: is a directory rm: /mnt/nwfs/baby: is a directory rm: /mnt/nwfs/data: is a directory rm: /mnt/nwfs/deleted.sav: is a directory rm: /mnt/nwfs/fokonyv: is a directory rm: /mnt/nwfs/test: is a directory rm: /mnt/nwfs/x: is a directory $ cp /tmp/testfile1 /mnt/nwfs # yayy problem here $ file /mnt/nwfs/. /mnt/nwfs/.: can't stat `/mnt/nwfs/.' (No such file or directory). # here we use a little trick $ file /mnt/nwfs/a/../. /mnt/nwfs/a/../.: directory # and whoola its readable again $ file /mnt/nwfs/. /mnt/nwfs/.: directory - If after problem I go inside the /mnt/nwfs dir and repeat ls several times I got: $ file /mnt/nwfs/. /mnt/nwfs/.: can't stat `/mnt/nwfs/.' (No such file or directory). $ cd /mnt/nwfs $ ls ls: .: No such file or directory $ ls ls: .: No such file or directory $ ls ls: .: No such file or directory $ ls ls: .: No such file or directory $ ls DESKTOP.AFP a datatest Iconagica deleted.sav testfile2 Network Trash Folderbabyfokonyv x $ hm strange ... Kernel is compiled with options HZ=1000 Can be this the problem ? -- _(_)_ (_. o_)F3CZ0 (_,) http://feczo.nmi.rulez.org ()__ // // ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: IMAP server and client recommendations?
"Clarence Brown" <[EMAIL PROTECTED]> writes: > You could download Eudora for Windows and import > the outlook email into Eudora. It stores the email in > mbox format. I don't know if their mbox format is fully > unix standard, but they are the same people that maintain > the qpopper pop3 daemon, so they obviously understand > unix mbox format. When Eudora uploads to an IMAP server, it damages the message. It mutates MIME headers and puts in fake HTML which only Eudora can recognize. Been through this with a bunch of customers, lots of scripts to fix the Eudora-damaged mail, not any fun. It's stupid for them to intentionally break MIME-formatted mail but that's what they do. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 4.9R changing MTA to Postfix - no periodic.conf
Danny wrote: Greetings, So I have installed Postfix from the ports, read the pkg-message, read the changing the MTA in the handbook, and did a bit of searching. So after the switch, I obviously get: Apr 23 03:01:00 mx1 postfix/sendmail[2175]: fatal: unsupported: -bh Apr 23 03:01:01 mx1 postfix/sendmail[2176]: fatal: unsupported: -bH Because I did not: "Also, you will want to disable some Sendmail-specific daily maintenance routines in your /etc/periodic.conf file: daily_clean_hoststat_enable="NO" daily_status_mail_rejects_enable="NO" daily_status_include_submit_mailq="NO" daily_submit_queuerun="NO"" However, I do not have a periodic.conf. How is the periodic running without a config file? Could someone please show me there periodic.conf file and why they chose the options they did, or maybe baseline. /etc/defaults/periodic.conf has all the default values for periodic. You should _NOT_ endit /etc/defaults/periodic.conf ... the point is that /etc/periodic.conf overrides those defaults. You can, however, use /etc/defaults/periodic.conf as a reference to see what values are available and what their default values are. Simply create a new file called /etc/periodic.conf and put the configuration options shown above in it. Anything not in /etc/periodic.conf will be set from /etc/defaults/periodic.conf. (Copying /etc/defaults/periodic.conf to /etc/periodic.conf is NOT a good idea, as it defeats the purpose of the default file. FYI, a lot of things are handled in this manner, look at /etc/defaults/rc.conf for another example) -- 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]"
Re: upgrade a port
On Fri 2004-04-23 (11:18), Chiang Seng Chang wrote: > currently i have openldap client 2.1 installed. > > $ pkg_glob -r openldap-client-2.1.30 > openldap-client-2.1.30 > kdeutils-3.2.2 > kdebase-3.2.2 > kdenetwork-3.2.2 > kdegraphics-3.2.2 > kdegames-3.2.2 > kdelibs-3.2.2 > gnupg-1.2.4_1 > samba-3.0.3.p2_1,1 > > if i want to use version 2.2, do i just simply: > > > pkg_deinstall openldap-client-2.1.30 > > portinstall net/openldap22-client > > i suspect step 1 would fail because there are dependency, or switching them > around would work ? as in: > > $ portinstall net/openldap22-client > $ pkg_deinstall openldap-client-2.1.30 A better idea would be portupgrade -r openldap22-client The -r recursively upgrade all packages that are dependent on openldap22-client. if you specify -rf it will force a recompile of all ports that are dependent on it. Much better idea, although it does take longer. -Ox -- /~\ The ASCII ASCII stupid question, get a EBCDIC ANSI. \ / Ribbon Campaign John Oxley X Against HTMLhttp://oxo.rucus.net/ / \ Email! oxo rucus.ru.ac.za "Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy dungeon like NT." -- Thomas Scoville ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
4.9R changing MTA to Postfix - no periodic.conf
Greetings, So I have installed Postfix from the ports, read the pkg-message, read the changing the MTA in the handbook, and did a bit of searching. So after the switch, I obviously get: Apr 23 03:01:00 mx1 postfix/sendmail[2175]: fatal: unsupported: -bh Apr 23 03:01:01 mx1 postfix/sendmail[2176]: fatal: unsupported: -bH Because I did not: "Also, you will want to disable some Sendmail-specific daily maintenance routines in your /etc/periodic.conf file: daily_clean_hoststat_enable="NO" daily_status_mail_rejects_enable="NO" daily_status_include_submit_mailq="NO" daily_submit_queuerun="NO"" However, I do not have a periodic.conf. How is the periodic running without a config file? Could someone please show me there periodic.conf file and why they chose the options they did, or maybe baseline. Thank you! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Serious NWFS problems ...
It gets more interesting: $ mkdir /mnt/nwfs/. mkdir: /mnt/nwfs/.: File exists $ file /mnt/nwfs/. /mnt/nwfs/.: can't stat `/mnt/nwfs/.' (No such file or directory). Looks like we realy have problem with nwfs here ;( Any ideas to solve ? -- _(_)_ (_. o_)F3CZ0 (_,) http://feczo.nmi.rulez.org ()__ // // ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Freebsd machine as a wireless access point ?
On Fri, 23 Apr 2004, Thomas Beer wrote: > The NIC on the AP has to be able to support "Host AP" mode to work > as an access point. Netgear MA 521 *with firmware 1.3* are on > example for this. > > Cheers Tom > > > I have a spare PC with Freebsd installed on it. Can I configure > > this machine to be a wireless access point ? > > > > just curious. I do exactly this (well the Freebsd box is also a firewall and samba,web,ldap,mail and a few other things server) man wi will give a list of most of the cards that support HostAP mode if i remember rightly. > > > > -D > > ___ > > [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]"
openoffice menus
I recently installed openoffice1.1 under FBSD 4.9-release. The capability is quite impressive and it genereally seems to behave very well. But I do have a problem: I am using a high resolution 1600x1200 display and the fonts used by the base UI are are crisp and clear but rather too small for my aging eyes. I'm refering here to the fonts used in the Menu bars, Drop downs and Option dialogs. The toolbar icons are also a bit small. (The fonts in the working areas can of course be readily changed through the toolbars.) I've spent some time searching but can't discover how (or whether) this base font size can be changed. Could someone please enlighten me? Malcolm ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
upgrade a port
currently i have openldap client 2.1 installed. $ pkg_glob -r openldap-client-2.1.30 openldap-client-2.1.30 kdeutils-3.2.2 kdebase-3.2.2 kdenetwork-3.2.2 kdegraphics-3.2.2 kdegames-3.2.2 kdelibs-3.2.2 gnupg-1.2.4_1 samba-3.0.3.p2_1,1 if i want to use version 2.2, do i just simply: > pkg_deinstall openldap-client-2.1.30 > portinstall net/openldap22-client i suspect step 1 would fail because there are dependency, or switching them around would work ? as in: $ portinstall net/openldap22-client $ pkg_deinstall openldap-client-2.1.30 -cs ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to repair a system?
On 23-apr-04, at 17:01, Peter Ulrich Kruppa wrote: On Fri, 23 Apr 2004, Daan Hoogland wrote: Once again,... I have a system on which make buildworld won't work. Why doesn't it work? crunchgen: make error: cd: can't cd to /usr/obj/usr/5.2/src/rescue/rescue/../../contrib/tcsh/nls/spanish crunchgen: make error: cd: can't cd to /usr/obj/usr/5.2/src/rescue/rescue/../../contrib/tcsh/nls/ukrainian Run "make -f rescue.mk" to build crunched binary. *** Error code 1 Stop in /usr/5.2/src/rescue/rescue. *** Error code 1 Stop in /usr/5.2/src/rescue. *** Error code 1 Stop in /usr/5.2/src. *** Error code 1 Stop in /usr/5.2/src. *** Error code 1 Stop in /usr/5.2/src. I include text from an earlier posting here: On 29-mrt-04, at 11:36, Odhiambo Washington wrote: * Daan Hoogland <[EMAIL PROTECTED]> [20040329 11:56]: wrote: ls, I am building the cvs version of freebsd on a openbrick machine. My present installation is a 5.0 version with a broken su. su - gives a bus error. When i throw away usr/obj and usr/src, cvsup all possible things, and do a make build world, the machine works for a day or so and then stops. First I had with the following messages: Don't run -CURRENT. Use RELENG_5_2 for cvsup. After another day of tiring waiting I can say that this approach makes no difference, except that I now get the first error again: crunchgen: make error: cd: can't cd to /usr/obj/usr/src/rescue/rescue/../../contrib/tcsh/nls/ukrainian Run "make -f rescue.mk" to build crunched binary. *** Error code 1 as before: Some other languages preceding and some levels of nested makes following. I am asking this, because this would probably be the simpliest way to do an unattended upgrade. Uli. I am thinking of doing a binary install on the system, but my only access to the system is ssh. So I am thinking of copying an image over and running sysinstall to install a new set of binaries and libraries. Can this be done? Is it the way to go? What image should I use? (Where to find sysinstall on it?) a.i.v.d, D.A.A.N. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" +---+ |Peter Ulrich Kruppa| | Wuppertal | | Germany | +---+ a.i.v.d, D.A.A.N. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
concurrent portinstall
while portinstall is running, is it safe to do another portinstall in another tty ? or this is a sure recipe for diaster ? -cs ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: newbie question: Gnome 2.6 upgrade
On Fri, Apr 23, 2004 at 01:03:16AM -0700, Joshua Lokken wrote: > * Lucas Holt <[EMAIL PROTECTED]> [2004-04-22 11:32]: > > > > The problem only seems to be with X11. I tried running several commands in > > console mode that I can normally run from any location and they all worked > > fine. so far startx seems to be the only thing that won't run like it used > > This could be for naught, but what does 'xinit' do for you? > > > to. I read something about shells having to be rehashed to update the PATH > > lines? I run in bash if that makes a difference. > > > > If I'm not mistaken, you only need to run rehash with a csh not sh/bash. > > Besides, you said the machine rebooted. The path should be correct then. > > Right and right. Rehash is a [t]csh builtin, not present in Bourne > shells, and yep, if the machine was rebooted (or the user logged out), > then the point is moot. hash is in bash. There's a slogan in there, somewhere... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to repair a system?
On Fri, 23 Apr 2004, Daan Hoogland wrote: > Once again,... > > I have a system on which make buildworld won't work. Why doesn't it work? I am asking this, because this would probably be the simpliest way to do an unattended upgrade. Uli. > I am thinking of > doing a binary install on the system, but my only access to the system > is ssh. So I am thinking of copying an image over and running > sysinstall to install a new set of binaries and libraries. > > Can this be done? > Is it the way to go? > What image should I use? > (Where to find sysinstall on it?) > > a.i.v.d, > > D.A.A.N. > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > +---+ |Peter Ulrich Kruppa| | Wuppertal | | Germany | +---+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ports question
Dear Andri Kok, Please put your reply to the buttom and cut out text thats no longer relevant. This makes the mail more readable for others. On Thu, Apr 22, 2004 at 04:23:52PM +1000, sAndri Kok wrote: > Hi guys, > > Thx for he previous replies =) Now, u said that I may not be able to run > some new applications on old FreeSD releases (in this case 4.8), does cvsup No cvsup doesn't know that. Its posible that the port it self knows if its upgradable or not. But also this is not garanteed. > know how to handle which ports are "upgradeable" and which are not? > I assuming from the replies that I had that since all ports are the > same if they are upadated at the same time and That is correct. > I read in the mailing list the other > day that Gnome2.6 wouldn't be able to run properly on 4.8 machines. Any > pointes? Thx again =) In that case you migth want to try to download the package instead of the port from the ftp server (ftp.freebsd.org). -- 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: Specifying sort fields
At 2004-04-23T13:00:17Z, "JJB" <[EMAIL PROTECTED]> writes: > Thank you that worked. You know that nowhere in the 'man sort' info does > it say that to use sort command you have to use pipe commands to feed it > data. It doesn't because you don't. The syntax is: sort [OPTION]... [FILE]... which means that you may optionally specify the name of the file to process. For what it's worth, the wide majority of Unix commands accept input from pipes and can write output to pipes. -- Kirk Strauser "94 outdated ports on the box, 94 outdated ports. Portupgrade one, an hour 'til done, 82 outdated ports on the box." pgp0.pgp Description: PGP signature
Jailed postfix - Cannot connect to named Unix socket
Hi list, I set up a Postfix system in a jail, using mount_nullfs(8) in order to access various files it needs (libs, mailboxes, and so on...). The main goal is that I can start Postfix either in a jail or not, and it doesn't complain. Therefore I can do nearly everything from the host : exporting mailboxes using NFS, managing Postfix queues, stopping the mail system... However, I got a strange message when I use mailq(1) on a jailed Postfix that I don't have when using it on a standart Postfix : obiwan:log# mailq postqueue: warning: Mail system is down -- accessing queue directly Mail queue is empty I used ktrace(1) to see where does the problem come from and it appears that when postqueue(1) tries to connect to named Unix socket `/var/spool/postfix/public/showq' from the host and Postfix runs in a jail, it gets a ECONNREFUSED while it works perfectly when Postfix is not jailed. I read the << Jails: Confining the omnipotent root >> paper from phk@ and rwatson@ and I saw that << Jail does not prevent, nor is it intended to prevent, the use of covert channels or communications mechanisms via accepted interfaces -- for example, two processes may communicate via sockets over the IP network interface. >> Right, I understand that jail(2) tries to create a virtual machine just as it would be on a real one and therefore does not allow communication between processes from different virtual machine using Unix sockets. But I do not want to have to ssh my jail just to see mail queues. Does anyone have a solution to use mailq(1) (or postqueue(1)) from the host without "accessing queue directly" ? Regards, -- Jeremie LE HEN aka TtZ/TataZ [EMAIL PROTECTED] [EMAIL PROTECTED] Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Specifying sort fields
In the last episode (Apr 23), JJB said: > Thank you that worked. You know that nowhere in the 'man sort' info > does it say that to use sort command you have to use pipe commands to > feed it data. How is somebody without UNIX programming background > going to read that and know how to feed sort it's data to sort? Don't > you think the man sort info needs updating to explain this fact? > Even some examples at end of technical info would go long way to > making the 'man sort' info user friendly and meaningfully. Well, it does, sort of: SYNOPSIS sort [OPTION]... [FILE]... DESCRIPTION Write sorted concatenation of all FILE(s) to standard output. and a bit farther down: With no FILE, or when FILE is -, read standard input. I agree that examples would be nice. -- 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: GD from ports on FreeBSD 4.9
In the last episode (Apr 23), Wayne Pascoe said: > On Thu, Apr 22, 2004 at 10:49:33AM -0500, Dan Nelson wrote: > > In the last episode (Apr 22), Wayne Pascoe said: > > > gdft.c:485: `FT_ENCODING_MS_SYMBOL' undeclared (first use in this > > > function) > > > > Make sure your freetype is up-to-date (2.1.7_3 is the current > > version) also. > > Thanks a bunch. That actually appears to be a bit broken, but I'll > contact the gd2 maintainer. > > I was using portupgrade to update gd2, and I would have assumed that > if freetype was a dependency, portupgrade should have updated that as > well. You would need to add -R to upgrade packages required by the one you're upgrading. -r will upgrade packages depending on the one you're upgrading. They're not the default because most of the time they're not necessary, and can really slow down a build if there's a big piece of software like mozilla, jdk, or openoffice somewhere in the dependency chain. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Upgrade gone bad, please help
I have a system that was running FreeBSD 4.3. At the time I built the system, I compiled a custom kernel, but at this time, I do not need the modifications I made to the kernel. Turns out I never really did need them. So, I went to upgrade the machine to 4.9 using sysinstall. All went well, except when I rebooted, it says it can't find the kernel. It then boots up, but nothing works. I can log into the system at the physical machine, but no network connections work, even things such as "top" and "ps" give me 'Out of Memory' errors. The machine has 1 GB of RAM. I did make a complete backup of the system before upgrading. I also have my previous kernel. Will it help to reinstall the previous kernel? If so, how do I do that? Thanks, Joe Koenig Production Manager jWeb New Media Design [EMAIL PROTECTED] http://www.jwebmedia.com/ 636.928.3162 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Home server upgrade 4.9 -> 5.2.1, drop in hard diskornetworkperformance?
- Original Message - From: "Markie" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, April 23, 2004 2:21 PM Subject: Re: Home server upgrade 4.9 -> 5.2.1, drop in hard diskornetworkperformance? | | | | -Original Message- | | From: [EMAIL PROTECTED] | | [mailto:[EMAIL PROTECTED] Behalf Of Markie | | Sent: Thursday, April 22, 2004 6:15 PM | | To: [EMAIL PROTECTED] | | Subject: Re: Home server upgrade 4.9 -> 5.2.1, drop in hard disk | | ornetworkperformance? | | | | | | - Original Message - | | From: "Markie" <[EMAIL PROTECTED]> | | To: <[EMAIL PROTECTED]> | | Sent: Thursday, April 22, 2004 10:53 PM | | Subject: Home server upgrade 4.9 -> 5.2.1, drop in hard disk or | | networkperformance? | | | | | | | Hello everyone! | | | | | | I just upgraded my home server frmo 4.9-R-p3 to 5.2.1-R after | | having a | | few | | | problems with modems and random hard lockups(?). | | | | | | Well, first off the upgrade didn't solve this and I can still | | reliably | | make | | | the box freeze with a new modem I bought which I hoped would cure | | the | | | problem... when infact it's 10x worse with that modem :o) Has | | anyone got | | | any ideas as to what could be causing this? The network card for | | the | | | internal side is an fxp card and the network card the modem is | | attached | | to | | | is an older 10megabit vx card (3com Etherlink III). | | | | | | I can't really think of any other information to provide right now | | but I | | | really would be grateful for some prompting of more info and a bit | | of | | help! | | | My last few emails to questions about the hard lock ups didn't get | | any | | | replies if I remember rightly :o) | | | | | | Aside from that, I just copied a 400 meg file over samba and it | | really | | did | | | seem incredibly slow compared to when it was running 4.9. It took | | agess | | | to untar the backup 1.5gig file too! Is there anything I am | | supposed to | | | tweak here? | | | I am thinking about just reinstalling 4.9 again but I would like | | to avoid | | | that if I can, as it would be alot of time wasted :o) I don't have | | any | | | numbers for this unfortuantly either, it just feels and seems a | | hell of | | | alot slower! For instance, when I was copying this file and tried | | to ssh | | in | | | from my windows machine it just sat there for ages doing | | (apparently) | | | nothing! | | | | | | Thanks! | | | | | | | Well I was just using bmon from ports to monitor the speed and | | copying a | | file to the box over samba is dramatically slower than copying from | | it: | | | | Copying a 1.5gig backup tar from the freebsd machine to my box is | | around | | 6-7 meg a second | | Copying a 600 odd meg file to the freebsd machine from my box is | | around | | only 1-2 meg a second! | | | | I do seem to remember having this kind of problem ages ago when I | | used | | Linux. Before installing 5.2.1 I did enable plug and play in BIOS | | (it hung | | with that turned on using 4.9, not with 5.2.1 though) so I will try | | disabling that either later or tomorrow morning to see if that fixes | | my | | issue! Could it be that which is causing it? | | | | Other than that I don't think I have had any major issues with the | | install | | yet :o) Well... except for it didn't solve my hard lockup problem | | like I | | hoped it would have. Seems like it isn't a hard disk performance | | drop | | though :o) | | | | - Original Message - | From: "JJB" <[EMAIL PROTECTED]> | To: "Markie" <[EMAIL PROTECTED]> | Sent: Friday, April 23, 2004 1:33 PM | Subject: RE: Home server upgrade 4.9 -> 5.2.1, drop in hard disk | ornetworkperformance? | | | | Release 5.x uses an new file system which many people have reported | | noticeable performance problems and hard disk sector lock outs. Keep | | in mind that all the 5.x version are full of new experimental code. | | If performance and reliability is requirement you need on your | | servers then only use the stable versions of FreeBSD. 4.9 is the | | current production stable version, 4.10 beta is available now and in | | 2 weeks 4.10 is scheduled to be released becoming the official | | current production stable version. | | Yeah I realise that. I just find it a bit strange that it pulls off the | machine normal speeds but sending something over to it is really slow. I | don't remember it being so slow on 4.9! And the untar was slow from one | drive to the other... on seperate channels too (and that was before I | turned off write caching :o) | | I am now playing about trying to figure out why the box keeps locking up on | me with my new modem :o( I compiled a kernel with invarients and witness | and stuff in but... it just locks up totally! I would appreciate it if | anyone could help me out or suggest anything at all! | | At the moment I am thinking perhaps the card is just bad or something. An | old PCI 3COM Etherlink III 590 or something along those lines. I am abo
Re: microuptime() went backwards
At 01:04 AM 4/23/2004, you wrote: Hello all. SOmetimes I see such messages in dmesg. perl# dmesg uptime() went backwards (1574174.333073 -> 1573478.944788) what they mean? and what causes them to appear ? is it good or bad?? :) -- Best regards,Hugle ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Simply comment out (Disable) the device apm in your kernel and recompile. That's what fixed it for me. Peter --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.659 / Virus Database: 423 - Release Date: 4/15/2004 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Freebsd machine as a wireless access point ?
Try this URL: http://www.samag.com/documents/s=7121/sam0205a/sam0205a.htm :D cheers, Paul Tan [EMAIL PROTECTED] "As we enjoy great advantages from inventions of others, we should be glad of an opportunity to serve others by any invention of ours; and this we should do freely and generously." - Benjamin Franklin Darryl Hoar wrote: I have a spare PC with Freebsd installed on it. Can I configure this machine to be a wireless access point ? just curious. -D ___ [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: Serious NWFS problems ...
Oh btw, it is 4.10-BETA, since 4.9-RELEASE I had problems with smbfs see here : http://www.freebsd.org/cgi/query-pr.cgi?pr=64719 So I have to act as a samba and netware client. I have also tried 5.x, but 5.x freezes with ncpmount ... Any ideas appreciated ... Thanks -- _(_)_ (_. o_)F3CZ0 (_,) http://feczo.nmi.rulez.org ()__ // // ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Local (UNIX domain) Socket understanding /Jail
On Fri, 23 Apr 2004, Harald Schmalzbauer wrote: > can anybody point me to some info which can help me understand local sockets > (=? UNIX Domain sockets?)? > I have the problem that I can't get milter work in a jail and I suspect > the /var/run/milter.sock socket but don't really understand what it is and > how it works. /usr/share/doc/psd/20.ipctut/paper.ascii.gz may help. Regards Konrad Heuer ([EMAIL PROTECTED]) ___ ___ GWDG / __/__ ___ / _ )/ __/ _ \ Am Fassberg / _// __/ -_) -_) _ |\ \/ // / 37077 Goettingen /_/ /_/ \__/\__//___// Germany ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: handbook - kernel build question
On Friday 23 April 2004 06:15 am, Terry L. Tyson Jr. wrote: > In section 9.3 of the handbook just before the two procedures it > lists "If you are building a new kernel without updating the source > code (perhaps just to add a new option, such as IPFIREWALL) you can > use either procedure." > > However, after the two procedures it says "If you have not upgraded > your source tree in any way (you have not run CVsup, CTM, or used > anoncvs), then you should use the config, make depend, make, make > install sequence." which is procedure 1. > > This seems contradictory to me. Also, I have not upgraded anything on > this particular box, used procedure 2 and all seems well. > > Have I missed something here? Are the words update and upgrade the > same thing here or are they different? > > Procedure 1 uses the installed world to build the kernel and procedure 2 uses the libraries created by the buildworld but not installed to build the kernel. Once you have done an installworld, you are using the same libraries regardless of the method. 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]"
fsck: cannot find inode X
Hello, Tonight, a server crashed and, when it came up, required a manual fsck. Normally, this is not a big deal, especially on our customer web servers, where there isn't much "real" activity at the time the server crashed (~5:00am). This time, though, I saw this error for the first time, while running fsck on /dev/rccd0c (mounted normally as /usr/home): fsck: cannot find inode 71683 I searched around a bit for the error, and didn't find a whole lot, and nothing that solved the problem. I remembered the fsdb utility, and ran it, like so: fsdb /dev/rccd0c which put me in interactive mode. I poked around a bit, hoping I'd be smarter than fsck, and would find the inode on my own. Turns out, fsck was right - I couldn't find the inode. Not knowing of a better way (any suggestions are welcome, of course), I cleared the inode: clri 71683 I was then able to successfully complete a fsck on that partition, and the server booted with no problems (so far). I'm writing this mainly so that it'll go into the archives, and hopefully help someone else out later. I'm no longer on the freebsd-questions list (too much traffic for my poor brane), so CC me on replies, if you want to. -Todd ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Serious NWFS problems ...
Hi, The problem first occured with rsync : link_stat "/mnt/nwfs/." failed: No such file or directory rsync error: some files could not be transferred (code 23) at main.c(632) But I have figured out that is not rsync specific problem, I can reproduce the error, with basic system tools, such as cp Here it is: /NWSERVER:ADMIN/SDI is mounted on /mnt/nwfs (nwfs) First test: $ file /mnt/nwfs/. /mnt/nwfs/.: directory # that is okay so far $ ls -l /tmp/testfile* -rw-r--r-- 1 root wheel 2525 Apr 23 15:06 /tmp/testfile1 -rw-r--r-- 1 root wheel 2525 Apr 23 15:06 /tmp/testfile2 $ file /tmp/testfile* /tmp/testfile1: ASCII English text /tmp/testfile2: ASCII English text $ cp /tmp/testfile1 /mnt/nwfs $ cp /tmp/testfile2 /mnt/nwfs # here something wicked happend, since : $ file /mnt/nwfs/. /mnt/nwfs/.: can't stat `/mnt/nwfs/.' (No such file or directory). Second test: $ ls -l /mnt/nwfs/a total 16 drwxr-xr-x 1 root wheel 16384 Apr 23 14:28 b $ rm /mnt/nwfs/a/* zsh: sure you want to delete all the files in /mnt/nwfs/a [yn]? y rm: /mnt/nwfs/a/b: is a directory $ umount /mnt/nwfs umount: unmount of /mnt/nwfs failed: Device busy $ umount /mnt/nwfs # Second umnount is successeded # though if I execute rm, than sleep 2 for example, then # first umount also fails -- _(_)_ (_. o_)F3CZ0 (_,) http://feczo.nmi.rulez.org ()__ // // ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Local (UNIX domain) Socket understanding /Jail
Hi all, can anybody point me to some info which can help me understand local sockets (=? UNIX Domain sockets?)? I have the problem that I can't get milter work in a jail and I suspect the /var/run/milter.sock socket but don't really understand what it is and how it works. Thanks, -Harry -- Please never add my reply address to CC nor to the recipient list! If you make "answers to all" please remove my address! I'll complain if I see my reply address on any mailinglist pgp0.pgp Description: signature
Re: Home server upgrade 4.9 -> 5.2.1, drop in hard disk ornetworkperformance?
| -Original Message- | From: [EMAIL PROTECTED] | [mailto:[EMAIL PROTECTED] Behalf Of Markie | Sent: Thursday, April 22, 2004 6:15 PM | To: [EMAIL PROTECTED] | Subject: Re: Home server upgrade 4.9 -> 5.2.1, drop in hard disk | ornetworkperformance? | | | - Original Message - | From: "Markie" <[EMAIL PROTECTED]> | To: <[EMAIL PROTECTED]> | Sent: Thursday, April 22, 2004 10:53 PM | Subject: Home server upgrade 4.9 -> 5.2.1, drop in hard disk or | networkperformance? | | | | Hello everyone! | | | | I just upgraded my home server frmo 4.9-R-p3 to 5.2.1-R after | having a | few | | problems with modems and random hard lockups(?). | | | | Well, first off the upgrade didn't solve this and I can still | reliably | make | | the box freeze with a new modem I bought which I hoped would cure | the | | problem... when infact it's 10x worse with that modem :o) Has | anyone got | | any ideas as to what could be causing this? The network card for | the | | internal side is an fxp card and the network card the modem is | attached | to | | is an older 10megabit vx card (3com Etherlink III). | | | | I can't really think of any other information to provide right now | but I | | really would be grateful for some prompting of more info and a bit | of | help! | | My last few emails to questions about the hard lock ups didn't get | any | | replies if I remember rightly :o) | | | | Aside from that, I just copied a 400 meg file over samba and it | really | did | | seem incredibly slow compared to when it was running 4.9. It took | agess | | to untar the backup 1.5gig file too! Is there anything I am | supposed to | | tweak here? | | I am thinking about just reinstalling 4.9 again but I would like | to avoid | | that if I can, as it would be alot of time wasted :o) I don't have | any | | numbers for this unfortuantly either, it just feels and seems a | hell of | | alot slower! For instance, when I was copying this file and tried | to ssh | in | | from my windows machine it just sat there for ages doing | (apparently) | | nothing! | | | | Thanks! | | | | Well I was just using bmon from ports to monitor the speed and | copying a | file to the box over samba is dramatically slower than copying from | it: | | Copying a 1.5gig backup tar from the freebsd machine to my box is | around | 6-7 meg a second | Copying a 600 odd meg file to the freebsd machine from my box is | around | only 1-2 meg a second! | | I do seem to remember having this kind of problem ages ago when I | used | Linux. Before installing 5.2.1 I did enable plug and play in BIOS | (it hung | with that turned on using 4.9, not with 5.2.1 though) so I will try | disabling that either later or tomorrow morning to see if that fixes | my | issue! Could it be that which is causing it? | | Other than that I don't think I have had any major issues with the | install | yet :o) Well... except for it didn't solve my hard lockup problem | like I | hoped it would have. Seems like it isn't a hard disk performance | drop | though :o) | - Original Message - From: "JJB" <[EMAIL PROTECTED]> To: "Markie" <[EMAIL PROTECTED]> Sent: Friday, April 23, 2004 1:33 PM Subject: RE: Home server upgrade 4.9 -> 5.2.1, drop in hard disk ornetworkperformance? | Release 5.x uses an new file system which many people have reported | noticeable performance problems and hard disk sector lock outs. Keep | in mind that all the 5.x version are full of new experimental code. | If performance and reliability is requirement you need on your | servers then only use the stable versions of FreeBSD. 4.9 is the | current production stable version, 4.10 beta is available now and in | 2 weeks 4.10 is scheduled to be released becoming the official | current production stable version. Yeah I realise that. I just find it a bit strange that it pulls off the machine normal speeds but sending something over to it is really slow. I don't remember it being so slow on 4.9! And the untar was slow from one drive to the other... on seperate channels too (and that was before I turned off write caching :o) I am now playing about trying to figure out why the box keeps locking up on me with my new modem :o( I compiled a kernel with invarients and witness and stuff in but... it just locks up totally! I would appreciate it if anyone could help me out or suggest anything at all! At the moment I am thinking perhaps the card is just bad or something. An old PCI 3COM Etherlink III 590 or something along those lines. I am about to try it on my other 5.x box with just one intel card to see if it'll lock that up too. Expect more moaning from me :o) Thanks for your reply!! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Freebsd machine as a wireless access point ?
On Friday 23 April 2004 08:01 am, Jonathan T. Sage wrote: > Probably. I'm not too familiar with how the ad-hoc connections work, > but i am certain that for a single client it would work. Just get a > wireless NIC in it, play a little routing magic, maybe look at the dhcpd > port (dhcp server) > > ~j > > Darryl Hoar wrote: > > I have a spare PC with Freebsd installed on it. Can I configure > > this machine to be a wireless access point ? > > > > just curious. > > > > -D From 'man wi': "Cards based on the Intersil PRISM-II and PRISM-2.5 chips also have a host-based access point mode which allows the card to act as an access point (base station). Access points are different than operating in IBSS mode. They operate in BSS mode. They allow for easier roaming and bridge all ethernet traffic such that machines connected via an access point appear to be on the local ethernet segment. For more information on configuring this device, see ifconfig(8)." Once you get the device properly configured and working as an access point, you'll need to configure the computer as a gateway and add NAT into you're firewall. For home networking, the choice between dynamic and static ip addresses is probably a question of personal preference. Also, since different cards support difference levels of encryption, consider your security options before you purchase hardware. If you're going to use a VPN, the choice of hardware shouldn't matter as much. Best of luck, Andrew Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
handbook - kernel build question
In section 9.3 of the handbook just before the two procedures it lists "If you are building a new kernel without updating the source code (perhaps just to add a new option, such as IPFIREWALL) you can use either procedure." However, after the two procedures it says "If you have not upgraded your source tree in any way (you have not run CVsup, CTM, or used anoncvs), then you should use the config, make depend, make, make install sequence." which is procedure 1. This seems contradictory to me. Also, I have not upgraded anything on this particular box, used procedure 2 and all seems well. Have I missed something here? Are the words update and upgrade the same thing here or are they different? TIA -- Terry "Because we have been saved through the blood of Jesus, we are not free to sin with abandon; we are free to abandon sin." -Mark Brousard ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Freebsd machine as a wireless access point ?
On Fri, 23 Apr 2004, Darryl Hoar wrote: > I have a spare PC with Freebsd installed on it. Can I configure > this machine to be a wireless access point ? Install a prism 2 card and do something like (assuming fxp0 is your upstream iface and wi0 your card in AP mode). rc.conf ifconfig_wi0="inet 10.0.0.1/24 ssid myap channel 11 mediaopt hostap" gateway_enable="YES" natd_enable="YES" natd_interface="fxp0" Then install from ports isc-dhcpd with a config like: ddns-update-style none; always-broadcast on; subnet 10.0.0.0 netmask 255.255.255.0 { range 10.0.0.10 10.0.0.100; option broadcast-address 10.0.0.255; option subnet-mask 255.255.255.0; option routers 10.0.0.1; } You rpopralby want do add a crrect option domain-name-servers 10.0.0.1; etc, etc. The above is not secure in any way - so you may want to add WEP for a start and then get more serious; add ipfw packet filtering and nail things shut. DW. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: jdk14
Yep, that was the problem. When i had started the make i didn't have the linprocfs mounted. I did a make clean and a make and it compiled properly. Thanks Thu, 22 Apr 2004, Matt Navarre wrote: > You might have to make clean and restart the build. I was getting the same > error building java after I started the build without linprocfs mounted, > blowing it away and starting over built fine. > > On Thursday 22 April 2004 06:26, Martin Hudec wrote: > > Hello Radu, > > > > and do you have linux_enable="YES" set in /etc/rc.conf? > > > > > > Cheers, > > > > Martin > > > > On Thu, Apr 22, 2004 at 04:13:27PM +0300 or thereabouts, Radu MOLNAR wrote: > > > I have problems installing jdk14 from the ports. I searched for the error > > > and i found that i have to have linuxprocfs mounted so i did that: > > > linprocfs on /usr/compat/linux/proc (linprocfs, local) > > > > > > I also have installed linux_base package: > > > linux_base-7.1_7The base set of packages needed in Linux mode > > > > > > Do i have to do something else to get this to compile? > > -- > [EMAIL PROTECTED] http://badstateofgruntledness.blogspot.com > it was a hard sell, since he's a database person, and as far as I've seen, > once those database worms eat into your brain, it's hard to ever get anything > practical done again. To a database person, every nail looks like a thumb. Or > something like that. - jwz > ___ > [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: Freebsd machine as a wireless access point ?
The NIC on the AP has to be able to support "Host AP" mode to work as an access point. Netgear MA 521 *with firmware 1.3* are on example for this. Cheers Tom > I have a spare PC with Freebsd installed on it. Can I configure > this machine to be a wireless access point ? > > just curious. > > -D > ___ > [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: Freebsd machine as a wireless access point ?
Probably. I'm not too familiar with how the ad-hoc connections work, but i am certain that for a single client it would work. Just get a wireless NIC in it, play a little routing magic, maybe look at the dhcpd port (dhcp server) ~j Darryl Hoar wrote: I have a spare PC with Freebsd installed on it. Can I configure this machine to be a wireless access point ? just curious. -D ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- "Yesterday upon the stair I saw a man who wasn't there, he wasn't there again today, oh how i wish he'd go away" Rev. Jonathan T. Sage Lighting / Set Designer Professional Web Design [HTTP://theatre.msu.edu] [EMAIL PROTECTED] [See Headers for Contact Info] pgp0.pgp Description: PGP signature
Re: Re: IMAP server and client recommendations?
You could download Eudora for Windows and import the outlook email into Eudora. It stores the email in mbox format. I don't know if their mbox format is fully unix standard, but they are the same people that maintain the qpopper pop3 daemon, so they obviously understand unix mbox format. Cla. - Original Message - From: "Joshua Lokken" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 22, 2004 4:47 PM Subject: Fw: Re: IMAP server and client recommendations? > > From: Kevin Stevens <[EMAIL PROTECTED]> > Date: Wed, 21 Apr 2004 21:42:00 -0700 > To: Danny MacMillan <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: Re: IMAP server and client recommendations? > X-Mailer: Apple Mail (2.613) > > > On Apr 21, 2004, at 21:22, Danny MacMillan wrote: > > >Hello. > > > >I have six or seven hundred megabytes of email imprisoned in a few > >.pst (Microsoft Outlook "Personal Folders") files. I've been looking > >for an alternative email client lately. Of course, the issue is > >converting these old messages so that they are usable by the new > >software -- ideally so that multiple clients could access the mail. > >The thought that immediately occurred to me was that one of the > >standard Unix formats -- mbox or maildir -- would be appropriate for > >this task. > > > >After scouring the internet for possibilities for converting between > >the hated .pst format and mbox or Maildir, I found a few people who'd > >seemingly hit upon an ideal solution: add an IMAP folder to Outlook > >and copy their mail to that folder, then do the reverse inside a > >client that stores its mail in mbox or maildir format. > > Almost right, but not quite. You set up an IMAP server that stores > mail in the desired format, add the IMAP support to Outlook, and then > drag/drop the mail into the IMAP mailbox. There is no equivalent > client-side export needed. > > And yes, in my experience this is BY FAR the easiest/fastest/best > approach to get mail from a .pst file to something else. Caveat is > that you have to have an Outlook installation available to do it, not > just the .pst file. > > >Then it struck me -- =leaving= the mail in the IMAP server would give > >me even more flexibility. > > Blinding flash of the obvious? ;) > > >Is it feasible to use the IMAP server as a mail storage solution like > >this? > > Sure, that's what they're designed for. > > > Can anyone recommend a good IMAP server (for FreeBSD of course) and > >give me some tips on considerations for choosing one? I blush to say > >it, but I've never even had an IMAP account. > > The main contenders are Cyrus, Courier, and UW-IMAP. Biggest > consideration is probably what format you want to store the mail in. I > prefer mbox format, so use UW-IMAP. It is configured to pull mail from > the standard spool directory, and store it in a /mail directory of my > user account. > > The big advantage of using IMAP (for me) is that I can access my mail > from a web based server (Squirrelmail) while at work, pine when on the > road, and OS X's Mail.app when at home on my PowerBook. Even when I'm > reading mail on the server box itself the access is actually through > the IMAP server. It's an OS X G5 now, but I did the exact same thing > when it was a FreeBSD Intel box. > > KeS > > - End forwarded message - > > There's a note for future reference. If you want to run a large email > server that'll play friendly with Outlook, OS mail clients, and webmail, > use an IMAP server. Question: Is Exchange an IMAP server, or is > Exchange kinda it's own thing? Maybe, rather, does Exchange speak IMAP? > > > -- > Joshua > > "...and *no* funny stuff; and by funny stuff I mean, > handholding, goo-goo eyes, misdirected woo > (which is pretty much any John Wu film...)" >-- Homer Simpson > > ___ > [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: Specifying sort fields
Thank you that worked. You know that nowhere in the 'man sort' info does it say that to use sort command you have to use pipe commands to feed it data. How is somebody without UNIX programming background going to read that and know how to feed sort it's data to sort? Don't you think the man sort info needs updating to explain this fact? Even some examples at end of technical info would go long way to making the 'man sort' info user friendly and meaningfully. -Original Message- From: Dan Nelson [mailto:[EMAIL PROTECTED] Sent: Thursday, April 22, 2004 5:35 PM To: JJB Cc: [EMAIL PROTECTED] ORG Subject: Re: Specifying sort fields In the last episode (Apr 22), JJB said: > How to specify the fields the sort program is to sort on? > > My file has blanks between the fields and I want to sort on > field number 9 which is ip address. > > I want to sort filea and put results in fileb. > > A sample of the sort command to be used from the command line would > go an long way to understanding how to use it. Somthing like "sort -k 9bn < filea > fileb" should work, but it will end up sorting only the first octect. If you can get your addresses to be 0-padded (000.000.000.000), you can drop the 'n' from the sort command and just do a plain ascii sort. -- 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: Freebsd machine as a wireless access point ?
Darryl Hoar wrote: I have a spare PC with Freebsd installed on it. Can I configure this machine to be a wireless access point ? just curious. http://www.google.com/search?q=freebsd+wireless+access+point&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8 -- Regards, Doug ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Freebsd machine as a wireless access point ?
I have a spare PC with Freebsd installed on it. Can I configure this machine to be a wireless access point ? just curious. -D ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie:Home network mail forwarding
On Thu, Apr 22, 2004 at 07:00:48PM -0400, Peter Tokanel wrote: > > > Alex de Kruijff wrote: > > >On Wed, Apr 21, 2004 at 07:33:51PM -0400, Peter Tokanel wrote: > > > > > >>Hi, > >> > >>I am new to unix but I have managed to setup a home network using > >>Free BSD. The > >>FreeBSD box is a gateway/firewall/router for my Windows XP box and a > >>wireless access > >>point. The XP box can access the web just great using the shared > >>connection. > >>My problem is when email is used on the WindowsXP box , no messages can be > >>sent out. I can receive email from my ISP's pop-server just fine. I am > >>not sure if I need > >>to start some kind of mail daemon or what Is it my firewall > >>configuration > >>I have included some of my setup files, hopefully someone can tell me > >> > >> > > > >XP 192.168.1.0/24 <-> 192.168.1.0/24 gateway <-> internet > > > >It could be your firewall but it could also be you XP configuration. > >If you give me the output of 'ipfw sh' then i'll check if I can find > >anything that blocks sending mail. > > > > > > > > -- > Hi, > Here is the output of 'ipfw sh'..I don't pretend to understand > what all these mean. The > ipfw rules for the 'simple' case in rc.firewall were a starting point, > but then I added a few > additional rules from various spots on the net attempting to fix various > problems. Any advice > would be appreciated. I couldn't find exacly what the problem is. It looks oke for me. If you like to go on with this one you could try doing: 1. ipfw z 2. Try sending your mail 3. ipfw sh (and look where the packed gets blocked) 4. If you sloved the problem skip to the end 5. Add log to the rule and do 1-3. Then check /etc/security and look for the rigth packets and see what happens. What I like to do is offer you an alternative framework. I'll be in a better position to help you this way. For this first put these lines in your /etc/rc.conf. This will load the firewall rules from that file. firewall_enable="YES" firewall_type="/etc/firewall.conf" Then put these rules in your /etc/firewall.conf: # Select NIC (1 = internal 2 = external) add 00010 skipto 1 ip from any to any via rl0 add 00020 skipto 2 ip from any to any via vl0 add 00030 allow ip from any to any via lo0 add 0 deny ip from any to any > A packet send from the XP box to the internet passes these rule twice > because it goes through two NICs. # Internal NIC 19997 allow ip from 192.168.1.0/24 to any 19997 allow ip from any to 192.168.1.0/24 19998 reject log ip from any to any in 1 deny log ip from any to any out > reject = deny + it tells the sender that no such service exist. That > is smart for _you own_ computer. ## External NIC - Anti spoofing #add 20200 skipto 20300 ip from 192.168.1.0/24 to any in #add 20210 rejectip from any to 10.0.0.0/8 out #add 20220 rejectip from any to 172.0.0.0/12 out #add 20230 rejectip from any to 192.168.0.0/16 out #add 20240 deny ip from 10.0.0.0/8 to any in #add 20250 deny ip from 172.0.0.0/12 to any in #add 20260 deny ip from 192.168.0.0/16 to any in > Afther everything works you can place your anti spoofing rules here > and keep those packets from going into natd. Rules 200,240-260 can > block you out and are optional. # External NIC - Natd 20520 skipto 20600 ip from me to any 20530 divert 8668 ip from any to any 20540 allow ip from me to any 20550 allow ip from any to 192.168.31.0/24 > This acts like a stateful firewall (like below) for the lan. # External NIC - Stateful firewall 29800 allow tcp from me to any keep-state setup 29810 allow udp from me to any keep-state 29820 allow ip from me to any keep-state > This allows packets out and responce back in. # External NIC - deny or reject everyting else 29998 deny log ip from any to any in 2 reject log ip from any to any out -- 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: microuptime() went backwards
On Fri, Apr 23, 2004 at 01:13:11PM +0100, Jez Hancock wrote: > On Fri, Apr 23, 2004 at 09:04:56AM +0300, hugle wrote: > > > SOmetimes I see such messages in dmesg. > > > > perl# dmesg > > uptime() went backwards (1574174.333073 -> 1573478.944788) > > > > what they mean? and what causes them to appear ? > > is it good or bad?? :) > > I'd always presumed these messages occured on my machine because the > ntpd (network time protocol daemon) had adjusted the system clock. I > can't actually tell you for sure since the messages aren't logged by > syslog here so there's no easy way of comparing the times to see if they > correspond to the ntpd adjustments. > > Check to see if you have ntpd running - if so that's probably the reason > for the messages. Actually, that shouldn't happen because of ntpd(8). If ntpd detects that your system clock is fast, it will make it run slightly slower until it gradually comes back into synch. It shouldn't ever jump the system clock to the right time during normal operation, neither should it ever cause the system clock to run backwards. Of course, there is an exception: right after boot, it's usual to run ntpdate(8), and fairly common to run that with the '-b' flag so that the time gets stepped straight to the correct value. The ntpd developers have marked ntpdate for eventual retirement and have rolled its functionality into the main ntpd(8) -- so 'ntpq -q' is meant to be functionally equivalent to ntpdate. Even so, it's not clear to me that the 'step the clock' mode of operation is available from 'ntpd -q'. The OP's original query about 'microuptime went backwards' is something that has come up fairly frequently on various mailing lists. Googling for that message returns a few hundred hits. There has been quite a lot of effort to eradicate it, but apparently not with complete success yet. Most of the time it was apparently due to problems with apm on certain hardware, but it could be caused by other factors. With the switch to APCI in 5.x there have been far fewer reports of these errors appearing. Usually this is pretty innocuous. If you're only getting these messages occasionally, then you can probably just ignore them. On the other hand, if you've suddenly started to get floods of these messages for no apparent reason, it may possibly indicate that you have hardware which is starting to get a bit marginal. Keep the system under observation, backup religiously and check the log messages for clues regularly. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature