Starting DHCPD
Hi all, I'm making changes to my network which will require using my own DHCP server. It's all set up ready to go, but I can't find any way of getting it to start on boot up. There's nothing that I can find in /etc/defaults/rc.conf or /etc/rc.conf, no startup scripts in /usr/local/etc/rc.d I've used this DHCP server before (have recently been using a different one on the network) so I know it can work, but just can't find any way of starting it automatically. Thanks for all replies To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: glibc vs BSD libc
when making such assertions it helps to be actually correct. while it is true that *any* old binary may require COMPAT_XX options in the kernel, netbsd supports binaries back to 386bsd for i386, with shorter periods of backwards compat for the newer plaforms. i have personally run 386bsd binaries on netbsd 1.5/i386. i just downloaded the netbsd/sparc 1.0 /bin/sh and: i think you will find that netbsd cares _a whole lot_ about binary compatibility. to claim otherwise is simply fallacy. Are you sure that running such old binaries doesn't require to have any COMPAT_ option? I remember a recommendation on current-users that if you upgrade your kernel before your userland, you should always compile the COMPAT_xxx option for your previous version. I also vaguely remember failure reports from people who forgot to do this. My statement of not caring about binary compatibility was wrong, sorry. What I wanted to say was that the binary interfaces become incompatible and compatibility is provided via COMPAT_ options in the kernel or by packages containing old versions of librairies. So I really don't think that it's possible to run an old binary against a new libc (at least, the sonames wold probably mismatch). Why would otherwise the compat packages in pkgsrc exist? Please correct me if I am wrong. BTW, I believe there are some programs that search the kernel memory directly for some data. Are ps and netstat examples of this? Can old versions of such programs be successfully used on a new kernel, even if the required COMPAT_ option is present? What about special ioctls, like SCSI commands sent directly from userland? Bye Pavel To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How to cleanly remove bind before using bind9
On Thu, Jan 23, 2003 at 08:50:08PM -0600, Stephen Hilton wrote: On Thu, 23 Jan 2003 18:29:22 -0500 stan [EMAIL PROTECTED] wrote: I want to use bind 9 from the ports tree. I see how to prevent the bundled bind from being built the next time I make world, and I see how to change the init files et all to use the ports bind9. What I _don't_ see (and I'm certain it's just my lack of knowledge here), is a clean way to remove all teh traces of the existing bersion of bind which was built the last time I did a make world. Could someone enlighten me? Stan, These files would be the most important ones to rename/remove: /usr/bin/dig /usr/bin/dnsquery /usr/bin/host /usr/bin/dnskeygen /usr/libexec/named-xfer /usr/sbin/named /usr/sbin/ndc /usr/sbin/nslookup /usr/sbin/nsupdate Thanks, that's helpful. I was hopin thta I would be able to go somewhere in the source tree, and do something like make deinstll. But this list will let me do it by hand. Thanks, again. -- They that would give up essential liberty for temporary safety deserve neither liberty nor safety. -- Benjamin Franklin To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Starting DHCPD
Danny: Create a script (/usr/local/etc/rc.d/dhcpd.sh something like this: --script starts below--- case $1 in start) echo Starting DHCP Server /usr/sbin/dhcpd ;; stop) echo Stopping DHCP Server killall dhcpd ;; *) echo Usage: $0 {start|stop} exit 1 esac exit 0 --script ends above--- Make sure it is executable by root, ends in .sh and lives in /usr/local/etc/rc.d Cheers, Barry -- Barry Byrne, IT Manager, WBT Systems, Block 2, Harcourt Centre Harcourt Street, Dublin 2, Ireland Phone: +353 1 417 0150 Fax:+353 1 478 5544 Email: [EMAIL PROTECTED] Web:www.wbtsystems.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Danny Horne Sent: 24 January 2003 10:11 To: [EMAIL PROTECTED] Subject: Starting DHCPD Hi all, I'm making changes to my network which will require using my own DHCP server. It's all set up ready to go, but I can't find any way of getting it to start on boot up. There's nothing that I can find in /etc/defaults/rc.conf or /etc/rc.conf, no startup scripts in /usr/local/etc/rc.d I've used this DHCP server before (have recently been using a different one on the network) so I know it can work, but just can't find any way of starting it automatically. Thanks for all replies To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Starting DHCPD
Danny: Create a script (/usr/local/etc/rc.d/dhcpd.sh something like this: Thanks Barry, I wonder though, if this is the default way of starting it, where did my original script go 8-( To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Starting DHCPD
On Fri, Jan 24, 2003 at 10:42:26AM -, Danny Horne wrote: Danny: Create a script (/usr/local/etc/rc.d/dhcpd.sh something like this: Thanks Barry, I wonder though, if this is the default way of starting it, where did my original script go 8-( If you're using the net/isc-dhcp3 port, then you certainly should have some sample startup files installed. These files are add-ons provided by the port. You can find them in /usr/ports/net/isc-dhcp3/files -- just copy isc-dhcpd.sh.sample to /usr/local/etc/rc.d/isc-dhcpd.sh and you should be good to go. 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 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Xircom under FreeBSD 5.0 RELEASE
My Xircom RealPort CardBus Ethernet 10/100 + Modem 56 RBEM56G-100 (modem part) don't work under FreeBSD 5.0 RELEASE. What can I do?? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Xircom under FreeBSD 5.0 RELEASE
On Fri, Jan 24, 2003 at 02:52:20PM +0300, Pomozov Denis wrote: My Xircom RealPort CardBus Ethernet 10/100 + Modem 56 RBEM56G-100 (modem part) don't work under FreeBSD 5.0 RELEASE. What can I do?? write an exact failure description and post it to freebsd-mobile. (boot -v, pciconf -vl, ..) toni -- Terror ist der Krieg der Armen, | [EMAIL PROTECTED] Krieg ist der Terror der Reichen. | Toni Schmidbauer - Sir Peter Ustinov | msg16565/pgp0.pgp Description: PGP signature
tracparent proxy
Hi all, I want like to this situation, but I don't know that this is a possible: INTERNET | |__| transparent proxy port 80|---|web server port 8080| | ||web server port 8080| I mean transparent proxy for all my web servers, all world requests coming via proxy. What is the good way for building security system in this situation? 10x all To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
re: glibc vs BSD libc
when making such assertions it helps to be actually correct. while it is true that *any* old binary may require COMPAT_XX options in the kernel, netbsd supports binaries back to 386bsd for i386, with shorter periods of backwards compat for the newer plaforms. i have personally run 386bsd binaries on netbsd 1.5/i386. i just downloaded the netbsd/sparc 1.0 /bin/sh and: i think you will find that netbsd cares _a whole lot_ about binary compatibility. to claim otherwise is simply fallacy. Are you sure that running such old binaries doesn't require to have any COMPAT_ option? I remember a recommendation on current-users that if you upgrade your kernel before your userland, you should always compile the COMPAT_xxx option for your previous version. I also vaguely remember failure reports from people who forgot to do this. i never said that you don't need COMPAT_XXX options. infact, i said is true that *any* old binary may require COMPAT_XX options in the kernel. however, these options are enabled by default so unless you actually take them out this isn't an issue. the advice you have gotten from current-users is good and valid. My statement of not caring about binary compatibility was wrong, sorry. What I wanted to say was that the binary interfaces become incompatible and compatibility is provided via COMPAT_ options in the kernel or by packages containing old versions of librairies. So I really don't think that it's possible to run an old binary against a new libc (at least, the sonames wold probably mismatch). Why would otherwise the compat packages in pkgsrc exist? Please correct me if I am wrong. the compat packages exist to provide missing libraries. the netbsd libc soname has never changed -- it was libc.so.12 when the first ELF port arrived, and it is libc.so.12 today. of course you can not use an ELF libc.so to run an a.out program. that's is what the compat packages provide - a.out libraries so that old programs work. however the a.out dynamic linker *is* provided by the system so given that all relevant libraries are available, dynamic netbsd programs will run back to when shared libraries were first introduced. BTW, I believe there are some programs that search the kernel memory directly for some data. Are ps and netstat examples of this? Can old versions of such programs be successfully used on a new kernel, even if the required COMPAT_ option is present? What about special ioctls, like SCSI commands sent directly from userland? ps(1) from netbsd 1.5 and above will work. programs like netstat and other kmem/libkvm grovellers may or may not work. it all depends on the relevant kernel structures not changing (too much?) kmem grovellers do not count as portable programs -- they do not use published API's to gather info, but assume a particular format about how the kernel stores things. netbsd has been moving away from kmem grovellers in a big way for two main reasons: the binary compat issue, and, most kmem grovellers are set-id to group kmem. removing both of these issues *is* a goal, but as i meantioned above, these sorts of programs don't count for backwards compatibility. for instance, the VM system was completely replaced in netbsd 1.4. no program that tries to grovel the old VM system could possibly work today -- those data structures don't exist and more and in many cases, they don't even have something comparable. SCSI commands sent directly from userland i would expect to work. the interface for doing this doesn't change, and the SCSI spec doesn't change one hopes does this clear it all up? [sorry for being so verbose] .mrg. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How to cleanly remove bind before using bind9
On Fri, 24 Jan 2003 05:26:44 -0500 stan [EMAIL PROTECTED] wrote: On Thu, Jan 23, 2003 at 08:50:08PM -0600, Stephen Hilton wrote: On Thu, 23 Jan 2003 18:29:22 -0500 stan [EMAIL PROTECTED] wrote: I want to use bind 9 from the ports tree. I see how to prevent the bundled bind from being built the next time I make world, and I see how to change the init files et all to use the ports bind9. What I _don't_ see (and I'm certain it's just my lack of knowledge here), is a clean way to remove all teh traces of the existing bersion of bind which was built the last time I did a make world. Could someone enlighten me? Stan, These files would be the most important ones to rename/remove: /usr/bin/dig /usr/bin/dnsquery /usr/bin/host /usr/bin/dnskeygen /usr/libexec/named-xfer /usr/sbin/named /usr/sbin/ndc /usr/sbin/nslookup /usr/sbin/nsupdate Thanks, that's helpful. I was hopin thta I would be able to go somewhere in the source tree, and do something like make deinstll. But this list will let me do it by hand. Thanks, again. Stan, Thanks for the thank you, :-) One thing that I have not resolved is the issue with man pages. The Bind 9 docs are in HTML so that should be your main reference. /usr/local/share/doc/bind9/arm/Bv9ARM.html Also a very good idea is to run Bind 9 chroot , my /etc/rc.conf entry looks like this: named_flags=-u bind -t /var/chroot/named # Flags for chrooted named And then this link should help with basic setup (the file list I provided is more up2date, the email is old so some files locations to rename/remove have changed for FreeBSD 4.7) http://groups.google.com/groups?q=chroot+bind+group:mailing.freebsd.*start=10hl=enlr=ie=UTF-8oe=UTF-8selm=aadvma%24ngg%241%40FreeBSD.csie.NCTU.edu.twrnum=12 ---snip--- CHROOT OVERVIEW What chroot essentially does is to create a fake root directory - from the perspective of the daemon, the whole file system is rooted at this chroot directory. Therefore the only files/directories the daemon can see, are those located within this directory. (In some ways this is not unlike the view of the filesystem given to ftp users when the default ftp root of an ftp server is set to something other than the real root directory.) FREEBSD DETAILS On FreeBSD, the default location for Bind's configuration files is /etc/namedb. Sometimes we also use a subdirectory /etc/namedb/s, this is used to create a sandbox, which limits some of the access the named daemon has but not nearly as securely as using chroot. Bind9 now has a special feature which makes it a little easier to chroot, among other things eliminating the need to place shared libraries and other executables in the chroot jail. Since Bind already exists in the base FreeBSD system, for thoroughness we should consider renaming the existing files in order to minimize confusion and mixed versions. Here is a list of files to consider renaming or removing: /usr/bin/dig /usr/bin/dnsquery /usr/bin/host /usr/libexec/dnskeygen /usr/libexec/named-xfer /usr/sbin/named /usr/sbin/ndc /usr/sbin/nslookup /usr/sbin/nsupdate For those who regularly rebuild their system from source, once you've installed an independent version of Bind it's best to configure your system to no longer build the version in the base system. This is done by adding the following entry to /etc/make.conf (if this file doesn't exist, just create it and add the following line - like rc.conf it only contains items which override default settings): NO_BIND=true We will move our configuration and other necessary files to /var/chroot/named, which will allow us to create logfiles within the chroot jail without filling up ie the / filesystem. Create the necessary directories and permissions: mkdir /var/chroot mkdir /var/chroot/named chown bind.bind /var/chroot/named chmod 750 /var/chroot/named cd /var/chroot/named mkdir etc mkdir etc/namedb mkdir var mkdir dev Create the special files and set permissions: cp -p /etc/localtime /var/chroot/named/etc cp -p /etc/syslog.conf /var/chroot/named/etc cd /var/chroot/named/dev mknod zero c 2 12 chmod 666 zero mknod random c 2 4 chmod 644 random mknod null c 2 2 chmod 666 null Create a chrooted syslog socket by adding or editing syslog parameters in /etc/rc.conf thusly: syslogd_flags=-s -l /var/chroot/named/dev/log Build the distribution: - Extract the distribution into a suitable directory (I use /usr/local/src) - run ./configure and customize the destination paths if necessary. ./configure --sysconfdir=/etc/namedb Bear in mind that the sysconfdir is from the perspective of the chrooted daemon - thus
differentiating apache children from parents ?
Hello, Is there any way to tell, simply from /proc info and/or ps output if a certain httpd PID is a child or the parent ? If yes, is this method applicable on any OS (linux) ? thanks. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Vim+Mutt+Backspace
On Thu, Jan 23, 2003 at 11:48:07AM -0800, Michael Barrett wrote: That did it. Any idea why that would be needed for mutt but not for regular vi? not exactly. terminal handling is quite complicate. i found some hints in the vim-user-doc. it has something to do which ASCII code is generated when you hit backspace and how vi/vim interprets this code. i could be that it depends on your $TERM settings... you can find some info in the vim user doc: http://vim.sourceforge.net/htmldoc/options.html search for fixdel toni -- Terror ist der Krieg der Armen, | [EMAIL PROTECTED] Krieg ist der Terror der Reichen. | Toni Schmidbauer - Sir Peter Ustinov | msg16571/pgp0.pgp Description: PGP signature
Re: differentiating apache children from parents ?
you can look at the parent pid of the process in question wether it is 1 or not: ps xa -oppid -p _PID_ But depending on what you're trying to do afterwards (for example kill the process if you determine by some external script that there are too many apaches running and you're not satisfied with the native apache process maintanance mechanism), there can be better ways... Regards Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)118-3322, 118-3115(fax) On Fri, 24 Jan 2003, Josh Brooks wrote: Date: Fri, 24 Jan 2003 05:22:00 -0800 (PST) From: Josh Brooks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: differentiating apache children from parents ? Hello, Is there any way to tell, simply from /proc info and/or ps output if a certain httpd PID is a child or the parent ? If yes, is this method applicable on any OS (linux) ? thanks. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: differentiating apache children from parents ?
I want to kill apache children that exceed a certain memory size - but I want to make sure only to kill children. Is your method a workable way of doing that ? That is, I would test it and if it is +not+ 1 then I would be ok to kill it, since it is not the parent ? On Fri, 24 Jan 2003, Varshavchick Alexander wrote: you can look at the parent pid of the process in question wether it is 1 or not: ps xa -oppid -p _PID_ But depending on what you're trying to do afterwards (for example kill the process if you determine by some external script that there are too many apaches running and you're not satisfied with the native apache process maintanance mechanism), there can be better ways... Regards Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)118-3322, 118-3115(fax) On Fri, 24 Jan 2003, Josh Brooks wrote: Date: Fri, 24 Jan 2003 05:22:00 -0800 (PST) From: Josh Brooks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: differentiating apache children from parents ? Hello, Is there any way to tell, simply from /proc info and/or ps output if a certain httpd PID is a child or the parent ? If yes, is this method applicable on any OS (linux) ? thanks. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: differentiating apache children from parents ?
Yes you can kill it if the pid is not 1, presuming you're not killing it during of a query processing. Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)118-3322, 118-3115(fax) On Fri, 24 Jan 2003, Josh Brooks wrote: Date: Fri, 24 Jan 2003 05:33:27 -0800 (PST) From: Josh Brooks [EMAIL PROTECTED] To: Varshavchick Alexander [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: differentiating apache children from parents ? I want to kill apache children that exceed a certain memory size - but I want to make sure only to kill children. Is your method a workable way of doing that ? That is, I would test it and if it is +not+ 1 then I would be ok to kill it, since it is not the parent ? On Fri, 24 Jan 2003, Varshavchick Alexander wrote: you can look at the parent pid of the process in question wether it is 1 or not: ps xa -oppid -p _PID_ But depending on what you're trying to do afterwards (for example kill the process if you determine by some external script that there are too many apaches running and you're not satisfied with the native apache process maintanance mechanism), there can be better ways... Regards Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)118-3322, 118-3115(fax) On Fri, 24 Jan 2003, Josh Brooks wrote: Date: Fri, 24 Jan 2003 05:22:00 -0800 (PST) From: Josh Brooks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: differentiating apache children from parents ? Hello, Is there any way to tell, simply from /proc info and/or ps output if a certain httpd PID is a child or the parent ? If yes, is this method applicable on any OS (linux) ? thanks. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How to cleanly remove bind before using bind9
On Thu, Jan 23, 2003 at 06:29:22PM -0500, stan wrote: I want to use bind 9 from the ports tree. I see how to prevent the bundled bind from being built the next time I make world, and I see how to change the init files et all to use the ports bind9. What I _don't_ see (and I'm certain it's just my lack of knowledge here), is a clean way to remove all teh traces of the existing bersion of bind which was built the last time I did a make world. I have always found this to be a problem with FreeBSD: why can't sendmail, bind and the other contributed software be made optional at install time, so that the base system is not cluttered with old software when we install new versions? The tight coupling of contributed software into the base system is in my opinion not a good idea. -- Anand Buddhdev http://anand.org To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How to cleanly remove bind before using bind9
On Fri, Jan 24, 2003 at 02:39:51PM +0100, Anand Buddhdev typed: On Thu, Jan 23, 2003 at 06:29:22PM -0500, stan wrote: I want to use bind 9 from the ports tree. I see how to prevent the bundled bind from being built the next time I make world, and I see how to change the init files et all to use the ports bind9. What I _don't_ see (and I'm certain it's just my lack of knowledge here), is a clean way to remove all teh traces of the existing bersion of bind which was built the last time I did a make world. I have always found this to be a problem with FreeBSD: why can't sendmail, bind and the other contributed software be made optional at install time, so that the base system is not cluttered with old software when we install new versions? The tight coupling of contributed software into the base system is in my opinion not a good idea. This question has been asked and answered numerous times on this list. Yes, it can be done (I believe there's a project libh or something working on it amongst other things), but it's a lot of work. Are you volunteering to help? -- Anand Buddhdev http://anand.org To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: trasparent proxy
Hilmi Hilmiev wrote: Hi all, I want like to this situation, but I don't know that this is a possible: INTERNET | |__| transparent proxy port 80|---|web server port 8080| | ||web server port 8080| I mean transparent proxy for all my web servers, all world requests coming via proxy. What is the good way for building security system in this situation? squid (in the ports) is designed to do this kind of thing. Apache is also capable, but I've heard rumors that it's not as efficient as a proxy as a dedicated proxy program (such as squid). If I understand your diagram correctly, what you're really looking for is called a reverse proxy, so you'll have considerable luck searching for documentation using that term. Good luck. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How to cleanly remove bind before using bind9
On Fri, Jan 24, 2003 at 03:05:19PM +0100, Ruben de Groot wrote: I have always found this to be a problem with FreeBSD: why can't sendmail, bind and the other contributed software be made optional at install time, so that the base system is not cluttered with old software when we install new versions? The tight coupling of contributed software into the base system is in my opinion not a good idea. This question has been asked and answered numerous times on this list. Yes, it can be done (I believe there's a project libh or something working on it amongst other things), but it's a lot of work. Are you volunteering to help? Yes, I'd like to, where/if I can. How do I get involved in the project? -- Anand Buddhdev http://anand.org To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How to cleanly remove bind before using bind9
On Fri, Jan 24, 2003 at 03:38:02PM +0100, Anand Buddhdev typed: On Fri, Jan 24, 2003 at 03:05:19PM +0100, Ruben de Groot wrote: I have always found this to be a problem with FreeBSD: why can't sendmail, bind and the other contributed software be made optional at install time, so that the base system is not cluttered with old software when we install new versions? The tight coupling of contributed software into the base system is in my opinion not a good idea. This question has been asked and answered numerous times on this list. Yes, it can be done (I believe there's a project libh or something working on it amongst other things), but it's a lot of work. Are you volunteering to help? Yes, I'd like to, where/if I can. How do I get involved in the project? Not sure, but there's a dedicated mailing list (freebsd-libh), so maybe you could ask there. -- Anand Buddhdev http://anand.org To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Installing Stripped System
On Thu, 23 Jan 2003, Jens Haeusser wrote: On 1/23/03 2:30 AM, Paul Everlund [EMAIL PROTECTED] wrote: On Thu, 23 Jan 2003, Jens Haeusser wrote: I'd like to install a system lacking some of the binaries you can specify as make.conf knobs, such as NO_I4B= true NO_IPFILTER= true NOGAMES= true NOUUCP= true NO_SENDMAIL= true I have been thinking that those knobs should have their own pkg-plist which one could use for deleting the binaries. Also one must take in concern dependencies of those knobs... I've always thought that the entire base system should have it's own package/port system. That way, you could easily remove the bits you don't want (remove UUCP from a fileserver, remove gcc from a firewall, etc). As well, this would make security/other upgrades much easier. Telnet has a remote hole? Simply upgrade the base-telnet port. This can already be easily done: # cvsup -g -L2 cvs-src # cd /usr/src/usr.bin/telnet # make # make install The hard part is removing the bits and pieces you don't want, as a running system expects some parts to just be there. The system requires sendmail for an example, but if you exchange sendmail with another MTA, you do not need sendmail and hence it could be removed. But which bits and pieces makes up sendmail? That's why some sort of pkg-plist would be nice. Also the question arise, if you remove sendmail to use another MTA, then remove that newly installed MTA, you end up with a system without any MTA at all. Hence it would be very easy to break a system if one were allowed to remove things from the base system. It would anyway be nice if the possibility was there for sysadmins who knows their way. Jens Haeusser Network Manager Zoology, UBC Best regards, Paul To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Filesystem tuning for lots of small files (a Maildir)?
I'm currently facing a problem of having used Netscape (now Mozilla) for years in Windows and now trying to find something I can regularly use in FreeBSD without losing Mozilla in Windows. I've mostly settled on IMAP (courier) with procmail filters, but that raises the issue of filesystem performance for directories with large numbers of files/subdirectories in them. I have more than 32,000 emails stored. How do I calculate/see the number of available inodes? The existing filesystem was newfs'd with the sysinstall defaults. Should I re-newfs it with different values? What would I want to set them at? I know I'd need to adjust things to make sure I have enough inodes for 40,000+ files, but what about the block and fragment size? Should I use smaller values like 8192/1024 or 4096/512 or is the default 16384/2048 best? Higher values would just increase slack space, right? What are the impacts of lower values? Some folders, like the one for the postfix-users list, can have 3000-4000 messages in them. For growth, we'll say 5000 messages. The IMAP layout with Courier means all the folders sit all on one level under ~/Maildir, which means I'd have 200 or so subdirectories in one place. I have the UFS_DIRHASH option enabled for the my MP3 collection, but that's as case of 300 subdirecories in one directory, not 5000 files. What else can I do to tune for this kind of (ab)use? P.S. I really would like to stick with Maildirs and Courier-IMAP for this. I know CIMAP well and it has proven very fast and stable for what I do with it. However, if these demands are just too much to expect from an IMAP-accessed Maildir, Courier, or FreeBSD, what are my alternatives? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
top - what does sbwait mean ?
Hi to all , I've written a small perl script , when i run it it soemtimes shows in perl with sbwait state? where can i find out what sbwait ( or ither states for that matter ) mean ? --- PID USERNAME PRI NICE SIZERES STATE C TIME WCPUCPU COMMAND 9146 root 2 -20 303M 303M sbwait 1 46:34 0.00% 0.00% perl thanks Moti To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: NMBCLUSTERS and Kernel config
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, January 23, 2003 3:41 PM To: [EMAIL PROTECTED] Subject: NMBCLUSTERS and Kernel config All, Im getting ready to go with our FreeBSD production mail server and Ive been reading that to optimize network mbufs, specify the NMBCLUSTERS options in the kernel. Ive read that setting this to a quarter of your physical RAM on this is the way to go, or devising a number from a mathematical equation based upon your maximum number of connections at peak (meaning, 800 connections at peak equals an NMBCLUSTER of 25600, or mathimatical breakdown 800 connections X 32K per session = 25600KB) Does anyone have a good way to devise a number for this, or is it really even needed? Ive a GB of memory in a Compaq DL320. The FreeBSD handbook says typically this is set to 1024 - 4096, adding to my confusion of what I need to set this to, if anything. Thanks in advance for any insight, Craig - This mail sent through IMP: http://horde.org/imp/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message i guess i can't give much more insight, other to say this: i've setup a mail server under freebsd, and changed the kern.ipc.nmbclusters option to 32768. If you do a 'man tuning', it can explain a little better, though i suppose you've already done this (it suggests between 4096 and 32768 for machines with greater amounts of memory, which is why i chose 32768). i've got 4 gigs of ram in this machine, so you're mileage may vary... my netstat -m output: knappster@eeyore:~ netstat -m 258/720/131072 mbufs in use (current/peak/max): 258 mbufs allocated to data 256/680/32768 mbuf clusters in use (current/peak/max) 1540 Kbytes allocated to network (1% of mb_map in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines HTH, andy To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Changes in /bin/sh between 4.6.2 and 4.7
Has something changed in sh between these versions: I get a weird error on some of my scripts #!/bin/sh case $1 in start) [ -x /usr/local/sbin/freevrrpd ] /usr/local/sbin/freevrrpd echo -n ' freevrrpd' ;; stop) killall freevrrpd /dev/null 21 echo -n ' freevrrpd' ;; *) echo echo Usage: `basename $0` { start | stop } echo exit 64 ;; esac ha1# sh -x /home/murat/freevrrpd.sh stop /home/murat/freevrrpd.sh: 8: Syntax error: unexpected Murat Bicer [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Changes in /bin/sh between 4.6.2 and 4.7
Sorry about the question. It was in the release notes. sh(1) no longer accepts invalid constructs as command command, command, or || command. On Fri, 24 Jan 2003 10:43:22 -0500, Murat Bicer [EMAIL PROTECTED] said: Has something changed in sh between these versions: I get a weird error on some of my scripts #!/bin/sh case $1 in start) [ -x /usr/local/sbin/freevrrpd ] /usr/local/sbin/freevrrpd echo -n ' freevrrpd' ;; stop) killall freevrrpd /dev/null 21 echo -n ' freevrrpd' ;; *) echo echo Usage: `basename $0` { start | stop } echo exit 64 ;; esac ha1# sh -x /home/murat/freevrrpd.sh stop /home/murat/freevrrpd.sh: 8: Syntax error: unexpected Murat Bicer [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message Murat Bicer [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Update and mailforward.
I have freeBSD 4.7 running on my computer. Although I installed my system from the Mall CD's there have been a lot of updates relised by now. How can I update my program's on the computer and in the fututre the whole system? I have only a 90Mhz pentium processor. So downloading the source and installing the program from it would be a very hard thing for me. What do yo advice how should I upgrade my system? I use sendmail. How can I forward my messages? I have an own domain and some of my users don't want to use the system's mail service they just want to forward the messages. How can they do this? What do you think how secure is sendmail? Postfix is better... To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
protecting cvs repository
Hi does cvsweb have the ability to ask for username and passwd if web users are trying to browse the repository? i have done this in an ugly way by creating a subdir and put the cvsweb.cgi under this subdir, then in httpd.conf to protect this subdir using http authentication. is there a better way to achieve this? thanks cheng This email is confidential and intended solely for the use of the Person(s) ('the intended recipient') to whom it was addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Paterson Institute For Cancer Research or the Christie Hospital NHS Trust. It may contain information that is privileged confidential within the meaning of applicable law. Accordingly any dissemination, distribution, copying, or other use of this message, or any of its contents, by any person other than the intended recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are NOT the intended recipient please contact the sender and dispose of this e-mail as soon as possible. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Printing.
At 2003-01-24T15:14:44Z, Paul Halliday [EMAIL PROTECTED] writes: Now that the box is running free I had to play around with apsfilter to try and achieve the same performance. Have you tried CUPS yet? It's pretty easy to configure, and I use it as a server for FreeBSD, Linux, Mac OS X, and Windows 2000 machines. The output on my LaserJet 1200SE is terrific and fast. -- Kirk Strauser In Googlis non est, ergo non est. msg16590/pgp0.pgp Description: PGP signature
Re: protecting cvs repository
# [EMAIL PROTECTED] / 2003-01-24 16:15:05 -: From: Zhi Cheng Wang [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: protecting cvs repository Date: Fri, 24 Jan 2003 16:15:05 - Hi does cvsweb have the ability to ask for username and passwd if web users are trying to browse the repository? i have done this in an ugly way by creating a subdir and put the cvsweb.cgi under this subdir, then in httpd.conf to protect this subdir using http authentication. is there a better way to achieve this? do you need a feature this setup doesn't provide? i don't know about cvsweb, but i do know that Chora (www.horde.org) can authenticate users. also, take a look at ViewCVS. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: problem with sys/select.h and sys/types.h
On Fri, Jan 24, 2003 at 06:24:36PM +0100, slavomir katuscak wrote: i found this problem (maybe bug) in freebsd 4.7 stable i have two programs uses sys/select.h and sys/types.h: example 1: #include sys/select.h #include sys/types.h int main(void) { } example 2: #include sys/types.h #include sys/select.h int main(void) { } first example returns this error messages: In file included from /usr/include/sys/select.h:40, from test.c:1: /usr/include/sys/event.h:52: syntax error before `uintptr_t' /usr/include/sys/event.h:54: syntax error before `u_short' In file included from pokus.c:1: /usr/include/sys/select.h:47: syntax error before `pid_t' but second is ok. i don't have tested this in 5.0 release yet. I don't think that is a bug. I believe it is working as intended. Many header files require other header files to be included first. One common case is that sys/types.h need to be included before some other header file is included. sys/select.h apparently needs this. One might argue that each header file should include all other files it needs, but that is a policy question and the current policy is to not do it that way. -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: top - what does sbwait mean ?
On Fri, Jan 24, 2003 at 10:16:53AM -0500, Moti Levy wrote: Hi to all , I've written a small perl script , when i run it it soemtimes shows in perl with sbwait state? where can i find out what sbwait ( or ither states for that matter ) mean ? --- PID USERNAME PRI NICE SIZERES STATE C TIME WCPUCPU COMMAND 9146 root 2 -20 303M 303M sbwait 1 46:34 0.00% 0.00% perl sbwait is the name of a kernel function meaning 'socket buffer wait' --- ie. the process is waiting on data to be delivered to or drain from a socket. Or, at least that's what I gather from reading the sources: there doesn't seem to be any documentation in the whole RELENG_4 src tree mentioning that particular term: % find /usr/src -type f -print | xargs grep -i sbwait /usr/src/sys/kern/uipc_socket.c:error = sbwait(so-so_snd); /usr/src/sys/kern/uipc_socket.c:error = sbwait(so-so_rcv); /usr/src/sys/kern/uipc_socket.c:error = sbwait(so-so_rcv); /usr/src/sys/kern/uipc_socket2.c:sbwait(sb) /usr/src/sys/kern/uipc_socket2.c: (sb-sb_flags SB_NOINTR) ? PSOCK : PSOCK | PCATCH, sbwait, /usr/src/sys/kern/uipc_syscalls.c: * a race condition with sbwait(). /usr/src/sys/kern/uipc_syscalls.c: error = sbwait(so-so_snd); /usr/src/sys/kern/uipc_syscalls.c: * An error from sbwait usually indicates that we've /usr/src/sys/kern/uipc_usrreq.c: * if sbwait returns an error due to receipt /usr/src/sys/kern/uipc_usrreq.c: * of a signal. If sbwait does return /usr/src/sys/kern/uipc_usrreq.c:(void) sbwait(so-so_rcv); /usr/src/sys/nfs/nfs_socket.c: * sbwait() after someone else has received my reply for me. /usr/src/sys/sys/socketvar.h:intsbwait __P((struct sockbuf *sb)); The function definition is in /usr/src/sys/kern/uipc_socket2.c: /* * Wait for data to arrive at/drain from a socket buffer. */ int sbwait(sb) struct sockbuf *sb; { sb-sb_flags |= SB_WAIT; return (tsleep((caddr_t)sb-sb_cc, (sb-sb_flags SB_NOINTR) ? PSOCK : PSOCK | PCATCH, sbwait, sb-sb_timeo)); } 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 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Changes in /bin/sh between 4.6.2 and 4.7
Murat Bicer wrote: killall freevrrpd /dev/null 21 echo -n 'freevrrpd' The construction 'a b' has always been complete nonsense and the shell no longer accepts it. (The '' means check the output of the preceding command, which isn't possible with 'a ' being run in the background.) If you mean to wait until 'killall' finishes, use just ''. If not, use just ''. Tim Kientzle To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Update and mailforward.
Gannater Jnos wrote: How can I update my program's on the computer and in the fututre the whole system? I have only a 90Mhz pentium processor. So downloading the source and installing the program from it would be a very hard thing for me. Two choices: 1) Buy new CDs when they come out. 2) Download the source and upgrade that way. (Just plan to wait a couple of days for it to compile! ;-) If you're not having any problems, option 1 is probably the best one for you. I use sendmail. How can I forward my messages? One option is to not forward your messages. Rather, install 'qpopper' or 'popper' from the ports and let your users access their mailbox using any POP3-capable email client (e.g., Outlook Express, Netscape Mail, Eudora, etc.) Tim Kientzle To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: differentiating apache children from parents ?
Josh Brooks wrote: I want to kill apache children that exceed a certain memory size - but I want to make sure only to kill children. If you're having memory problems with Apache, this is not the way to solve it. Rather, limit the number of children using 'MaxClients' or 'ServerLimit'. That will restrict your total memory usage. (Note that restricting the number of children can considerably improve overall performance, especially if it prevents the system from swapping.) There's also a setting that limits the total number of requests handled by a particular child before that child exits on its own. That can be useful for limiting the damage from memory leaks, for example. Using some of the newer MPMs, it's also possible to designate certain children to process memory-hungry requests and manage overall memory usage that way. Probably the most important point, though, is to carefully evaluate your design choices. mod_perl, for instance, is a notorious memory pig. (It's possible to limit memory usage with mod_perl, but it requires a great deal of care.) Trying to kill children is just a bad idea. In particular, there's no way to ensure that you kill a child between requests, so you're gauranteed to lose some requests if you go this way (and quite possibly hang a few TCP connections along the way). Don't do it. Tim Kientzle To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Off topic - How to find the owner of an unhosted domain
The domain my client wants is not available. But there is no contact information in the whois database. There is a date that it was registered. Any suggestions would be appreciated. Thank you, Lorin Lund (not currently subscribed) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
gcc32 on freebsd 4.7
Hello I wondered if it's possible to compile freebsd 4.7 with gcc-3.2, as I read somewhere it generates better code than gcc 2.9.5 does. And if it's possible, would there be any drawbacks? and what could I gain by building my entire 4.7 with gcc32? Chris PS please include me in replies because I'm not on the list. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Off topic - How to find the owner of an unhosted domain
That's not really possible. Check to see if it was registered by another Registrar, you may have to query the other registrar to get the correct info. Adam - Original Message - From: Lorin Lund [EMAIL PROTECTED] To: freebsd Questions [EMAIL PROTECTED] Sent: Saturday, January 25, 2003 1:48 PM Subject: Off topic - How to find the owner of an unhosted domain The domain my client wants is not available. But there is no contact information in the whois database. There is a date that it was registered. Any suggestions would be appreciated. Thank you, Lorin Lund (not currently subscribed) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Unfortunate...
On Wed, 22 Jan 2003 15:24:26 -0700, Bill Nolastname wrote: It is unfortunate that one of the developers with freebsd.org also supports companies that hijack web browsers. I had respect for freebsd before learning this, now, I do not. dude, i'm sure any operating system out you use supports web site hacking, phreaking, killing, stealing, cracking, and etc. You didn't have to pay for it, so get over it, or try to find a 'good' OS, like Windows XP. I am sure Bill Gates doesn't authorize any 'web browser hijacking' --- doug reynolds | the maverick | [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Starting DHCPD
On Fri, 24 Jan 2003 10:10:41 - (GMT), Danny Horne wrote: Hi all, I'm making changes to my network which will require using my own DHCP server. It's all set up ready to go, but I can't find any way of getting it to start on boot up. There's nothing that I can find in /etc/defaults/rc.conf or /etc/rc.conf, no startup scripts in /usr/local/etc/rc.d I've used this DHCP server before (have recently been using a different one on the network) so I know it can work, but just can't find any way of starting it automatically. if you installed it via the ports, it should install: -r-xr-xr-x 1 root wheel 1662 Apr 14 2002 isc-dhcpd.sh.sample look for that, if not, i can email you mine --- doug reynolds | the maverick | [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Update and mailforward.
I use sendmail. How can I forward my messages? One option is to not forward your messages. Rather, install 'qpopper' or 'popper' from the ports and let your users access their mailbox using any POP3-capable email client (e.g., Outlook Express, Netscape Mail, Eudora, etc.) For Qpopper: Is it enought to install qpopper and enable it in the inetd.conf file? Should I run it somewhere? Mailforward: And how can I forward the messages? Except /etc/aliases file... To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Update and mailforward.
Gannater Jnos wrote: I use sendmail. How can I forward my messages? One option is to not forward your messages. Rather, install 'qpopper' or 'popper' from the ports and let your users access their mailbox using any POP3-capable email client (e.g., Outlook Express, Netscape Mail, Eudora, etc.) For Qpopper: Is it enought to install qpopper and enable it in the inetd.conf file? Unless you have a pretty heavily-loaded server, this should be enough Mailforward: And how can I forward the messages? Except /etc/aliases file... /etc/aliases works. You can also allow users to place .forward files in their individual home directories. Tim Kientzle To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Web based e-mail.
I want to have a web based e-mail service. So I don't have to ssh to my computer all the time just browse a web page. What I seen already is that IMP is a very good one. What do you think of it? What do you use? I have never used php and cgi things before, but these things need it. :(( I deleted these cgi releated things from my httpd.conf file. And now I am in trouble. What parts should I add to my httpd.conf file to make for example IMP work? And where should I put the (IMP) files so I can access it throught the internet? Because there is no index.html file in the package. My http.conf file: ## ## httpd.conf -- Apache HTTP server configuration file ## # # Based upon the NCSA server configuration files originally by Rob McCool. # # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See URL:http://www.apache.org/docs/ for detailed information about # the directives. # # Do NOT simply read the instructions in here without understanding # what they do. They're here only as hints or reminders. If you are unsure # consult the online docs. You have been warned. # # After this file is processed, the server will look for and process # /usr/local/conf/srm.conf and then /usr/local/conf/access.conf # unless you have overridden these with ResourceConfig and/or # AccessConfig directives here. # # The configuration directives are grouped into three basic sections: # 1. Directives that control the operation of the Apache server process as a # whole (the 'global environment'). # 2. Directives that define the parameters of the 'main' or 'default' server, # which responds to requests that aren't handled by a virtual host. # These directives also provide default values for the settings # of all virtual hosts. # 3. Settings for virtual hosts, which allow Web requests to be sent to # different IP addresses or hostnames and have them handled by the # same Apache server process. # # Configuration and logfile names: If the filenames you specify for many # of the server's control files begin with / (or drive:/ for Win32), the # server will use that explicit path. If the filenames do *not* begin # with /, the value of ServerRoot is prepended -- so logs/foo.log # with ServerRoot set to /usr/local/apache will be interpreted by the # server as /usr/local/apache/logs/foo.log. # ### Section 1: Global Environment # # The directives in this section affect the overall operation of Apache, # such as the number of concurrent requests it can handle or where it # can find its configuration files. # # # ServerType is either inetd, or standalone. Inetd mode is only supported on # Unix platforms. # ServerType standalone # # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # # NOTE! If you intend to place this on an NFS (or otherwise network) # mounted filesystem then please read the LockFile documentation # (available at URL:http://www.apache.org/docs/mod/core.html#lockfile); # you will save yourself a lot of trouble. # ServerRoot /usr/local # # The LockFile directive sets the path to the lockfile used when Apache # is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or # USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at # its default value. The main reason for changing it is if the logs # directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL # DISK. The PID of the main server process is automatically appended to # the filename. # #LockFile /var/run/httpd.lock # # PidFile: The file in which the server should record its process # identification number when it starts. # PidFile /var/run/httpd.pid # # ScoreBoardFile: File used to store internal server process information. # Not all architectures require this. But if yours does (you'll know because # this file will be created when you run Apache) then you *must* ensure that # no two invocations of Apache share the same scoreboard file. # ScoreBoardFile /var/run/httpd.scoreboard # # In the standard configuration, the server will process httpd.conf (this # file, specified by the -f command line option), srm.conf, and access.conf # in that order. The latter two files are now distributed empty, as it is # recommended that all directives be kept in a single file for simplicity. # The commented-out values below are the built-in defaults. You can have the # server ignore these files altogether by using /dev/null (for Unix) or # nul (for Win32) for the arguments to the directives. # #ResourceConfig conf/srm.conf #AccessConfig conf/access.conf # # Timeout: The number of seconds before receives and sends time out. # Timeout 300 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to Off to deactivate. # KeepAlive On # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent
Re: Web based e-mail.
Friday, January 24, 2003, 4:08:19 PM, you wrote: GJ I want to have a web based e-mail service. So I don't have GJ to ssh to my computer all the time just browse a web page. GJ What I seen already is that IMP is a very good one. What do GJ you think of it? What do you use? GJ I have never used php and cgi things before, but these GJ things need it. :(( GJ I deleted these cgi releated things from my httpd.conf file. GJ And now I am in trouble. What parts should I add to my GJ httpd.conf file to make for example IMP work? And where GJ should I put the (IMP) files so I can access it throught the GJ internet? Because there is no index.html file in the GJ package. GJ My http.conf file: //snipped// I believe IMP, part of the Horde framework (www.horde.org), uses php4 so you'll need something like mod_php. The 'index' pages iirc are index.php. -- Benmailto:[EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Web based e-mail.
For web based e-mail, I know of OpenWebMail (Perl), IMP (PHP) and SquirrelMail (PHP). All three are in /usr/ports/mail . Of the three, I find IMP hardest to install, and OpenWebMail easiest. Ports will check dependencies if you need mod_php etc. As for your Apache, if it is too clobbered up, why don't you re-install via /usr/ports/www/apache13 ? _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Filesystem tuning for lots of small files (a Maildir)?
- Original Message - From: Darren Pilgrim [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 24, 2003 07:13 Subject: Filesystem tuning for lots of small files (a Maildir)? I'm currently facing a problem of having used Netscape (now Mozilla) for years in Windows and now trying to find something I can regularly use in FreeBSD without losing Mozilla in Windows. I've mostly settled on IMAP (courier) with procmail filters, but that raises the issue of filesystem performance for directories with large numbers of files/subdirectories in them. I have more than 32,000 emails stored. How do I calculate/see the number of available inodes? ^ df -i /filesystem-in-question The existing filesystem was newfs'd with the sysinstall defaults. Should I re-newfs it with different values? What would I want to set them at? I know I'd need to adjust things to make sure I have enough inodes for 40,000+ files, but what about the block and fragment size? Should I use smaller values like 8192/1024 or 4096/512 or is the default 16384/2048 best? Higher values would just increase slack space, right? What are the impacts of lower values? The number of inodes varies with the filesystem size and bytes per inode. So if you're talking about a huge filesystem, you're probably all set as it is. However, I needed a /usr that has many inodes, so I doubled the default by doing this: newfs -b 16384 -f 2048 -i 4096 /usr -i 4096 is half as many bytes per inode compared to the default 8192, therefore, I have 2X as many inodes. See newfs(8) for more info. tuning(7) also. Some folders, like the one for the postfix-users list, can have 3000-4000 messages in them. For growth, we'll say 5000 messages. The IMAP layout with Courier means all the folders sit all on one level under ~/Maildir, which means I'd have 200 or so subdirectories in one place. I have the UFS_DIRHASH option enabled for the my MP3 collection, but that's as case of 300 subdirecories in one directory, not 5000 files. What else can I do to tune for this kind of (ab)use? Not sure. I hope at least part of this message was somewhat-kinda-sorta-maybe helpful. [Snipping mail questions; I have no idea.] -Craig To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
installworld to DESTDIR fails
Hello, I have problems with installation of 5.0 from sources. I give a command make installworld DESTDIR=/nroot/ on the running system. The process fills up 250 Mb on /nroot, 8.7 Gb on /nroot/usr and 633 Mb on /nroot/var, and stops by the following reason: === sbin/restore install -s -o root -g wheel -m 555 restore /nroot//sbin install -o root -g wheel -m 444 restore.8.gz /nroot//usr/share/man/man8 /nroot//usr/share/man/man8/rrestore.8.gz - /nroot//usr/share/man/man8/restore.8.gz install: /nroot//sbin/restore: Bad address Any help is appreciated! Thanks, Alex To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Printing.
Try CUPS. I have an article at the FreeBSDDiary (http://www.freebsddiary.org/cups.php) on the steps I took to set it up. Now I have Windows and FreeBSD sending print jobs to a Samba box, and it works great... Paul Halliday wrote: Hi. After finally converting my wife from the dark side and installing FreeBSD on her laptop I have run into a few problems. Before I ran all print services on one of my free boxes and ran samba so that she could print to it. Which works out quite well because you use the original windows drivers so maintanence/quality are a snap. Now that the box is running free I had to play around with apsfilter to try and achieve the same performance. Apsfilter is a great package but just isnt producing as I had hoped ie. slow, quality isnt 100% etc. So much to my chagrin I installed a win2000 box and hooked the printer up to that. I am just now trying to figure out how to do the reverse of b4, printing from all my nix boxes to this 2000 box using the windows drivers. I still have samba running but I am unsure how to approach this. I would love to hear anyone elses experiences with this sort of situation, even other solutions. Thanks. Paul Halliday. http://dp.penix.org --- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Gerard Samuel http://www.trini0.org:81/ http://dev.trini0.org:81/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
4.7R - Kernel Compile (old way) Error code 1
Greetings, I am trying to build a custom kernel, but I recieved a stop error after (90% sure it was) executing make - based on the old way instructions in the handbook (printed out, but it maybe a release or two old). Please let me know if any further information is required. Thank you for your time and assistance! $ uname -a FreeBSD rancid 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct 9 15:08:34 GMT 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 ---start of custom kernel - this line is not included in config- # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-c onfig.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.48 2002/08/31 20:28:26 obrien Exp $ machine i386 cpu I586_CPU cpu I686_CPU ident GENERIC maxusers 0 #makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support options UFS_DIRHASH #Improve performance on big directories options MFS #Memory Filesystem options MD_ROOT #MD is a potential root device options NFS #Network Filesystem options NFS_ROOT #NFS usable as root device, NFS required options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options CD9660_ROOT #CD-ROM usable as root, CD9660 required options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM #Rate limit bad replies options KBD_INSTALL_CDEV # install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. device isa device eisa device pci # Floppy drives device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 device fd1 at fdc0 drive 1 # ATA and ATAPI devices device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering device adv0 at isa? device adw device bt0 at isa? device aha0 at isa? device aic0 at isa? device ncv # NCR 53C500 device nsp # Workbit Ninja SCSI-3 device stg # TMC 18C30/18C50 # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device psm0 at atkbdc? irq 12 device vga0 at isa? # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? flags 0x100 # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? #options XSERVER # support for X server on a vt console #options FAT_CURSOR # start with block cursor # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines #options PCVT_SCANSET=2 # IBM keyboards are non-std # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Power management support (see LINT for more options) device apm0 at nexus? disable flags 0x20 # Advanced Power Management # Serial (COM) ports device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 device sio2 at isa? disable port IO_COM3 irq 5 device sio3 at isa? disable port IO_COM4 irq 9 # Parallel port device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device #device vpo # Requires scbus and da # PCI Ethernet NICs. device de # DEC/Intel DC21x4x (``Tulip'') device em # Intel PRO/1000 adapter Gigabit Ethernet Card (``Wiseman'') device txp # 3Com 3cR990 (``Typhoon'') device vx #
Re: 4.7R - Kernel Compile (old way) Error code 1
Hello Danny: On Fri, 24 Jan 2003, Danny wrote: Greetings, I am trying to build a custom kernel, but I recieved a stop error after (90% sure it was) executing make - based on the old way instructions in the handbook (printed out, but it maybe a release or two old). Please let me know if any further information is required. Thank you for your time and assistance! snip scsi_low.o: In function `scsi_low_cam_rescan_callback': scsi_low.o(.text+0x1e7): undefined reference to `xpt_free_path' scsi_low.o: In function `scsi_low_rescan_bus_cam': scsi_low.o(.text+0x233): undefined reference to `xpt_periph' scsi_low.o(.text+0x23c): undefined reference to `xpt_create_path' scsi_low.o(.text+0x24f): undefined reference to `xpt_setup_ccb' scsi_low.o(.text+0x26a): undefined reference to `xpt_action' *** Error code 1 It would appear you have removed critical entries to the SCSI subsystem in your kernel. If the kernel you included was the total output of your options, then you are definitely missing something from the SCSI config. Maybe this perhaps: # SCSI peripherals device scbus # SCSI bus (required) Mike To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 4.7R - Kernel Compile (old way) Error code 1
On 2003-01-24 17:32, Danny [EMAIL PROTECTED] wrote: Greetings, I am trying to build a custom kernel, but I recieved a stop error after (90% sure it was) executing make - based on the old way instructions in the handbook (printed out, but it maybe a release or two old). Please let me know if any further information is required. There is nothing wrong with the old way if you haven't touched the sources since your last buildworld. You are obviously missing stuff that is required for SCSI support. Try copying GENERIC and making modifications to it one step at a time. Your current config fil is too different for someone to check for missing options :-( opt_global.h -elf -mpreferred-stack-boundary=2 vers.c linking kernel scsi_low.o: In function `scsi_low_cam_rescan_callback': scsi_low.o(.text+0x1e7): undefined reference to `xpt_free_path' scsi_low.o: In function `scsi_low_rescan_bus_cam': scsi_low.o(.text+0x233): undefined reference to `xpt_periph' scsi_low.o(.text+0x23c): undefined reference to `xpt_create_path' scsi_low.o(.text+0x24f): undefined reference to `xpt_setup_ccb' scsi_low.o(.text+0x26a): undefined reference to `xpt_action' [...] *** Error code 1 Stop in /usr/src/sys/compile/RANCIDKRN. rancid# Right now, it seems that you're missing at least device pass and related stuff... I'd recommend starting over by: # cd /usr/src/sys/i386/conf # cp GENERIC RANCID then make a few modifications to RANCID and build your kernel: # vi RANCID # config -d /usr/obj/usr/src/sys/RANCID RANCID # cd /usr/obj/usr/src/sys/RANCID # make depend make clean make all and move on... - Giorgos To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
http://www.interhoney.com
Dear Sirs/Madam Re http://www.interhoney.com The above named site goes live on 1st February 2003, we are looking for web sites to help us promote ours. We believe after reviewing your site www.freebsd.org/news/press.html you may benefit from this request If you put our logo in a prominent position (with hyperlink ) on your web site, every time an order is completed and paid for from your referral, we will pay you a commission of 0.15 euros, although the commission itself does not seem much if we recive 100 orders from your referrals a total of 15.38 euros will be sent to you. The more hits your web site takes the more chances of a referral and commission. Payments will be made only when the total commission due is 15.38 euros or more however there is no time scale. To activate this all you need to do is copy our logo and add a hyperlink to http://www.interhoney.com. Reply to this email with the url were the link is situated and send us your postal address Or call me on 07766 768389 Our systems will cross-reference the referral and log each order to your account. We at Interhoney are proud of the work and effort gone into producing a good clean site and an honest and fast service I hope you will support us. We will of course support you with a reciprocal link. Kind Regards Richard Halsall To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: NMBCLUSTERS and Kernel config
In [EMAIL PROTECTED], [EMAIL PROTECTED] typed: Im getting ready to go with our FreeBSD production mail server and Ive been reading that to optimize network mbufs, specify the NMBCLUSTERS options in the kernel. Ive read that setting this to a quarter of your physical RAM on this is the way to go, or devising a number from a mathematical equation based upon your maximum number of connections at peak (meaning, 800 connections at peak equals an NMBCLUSTER of 25600, or mathimatical breakdown 800 connections X 32K per session = 25600KB) Does anyone have a good way to devise a number for this, or is it really even needed? Ive a GB of memory in a Compaq DL320. The FreeBSD handbook says typically this is set to 1024 - 4096, adding to my confusion of what I need to set this to, if anything. Thanks in advance for any insight, I don't have a good way to figure out what it should be, but I can make the process of changing it a lot easier. You don't need toset NMBCLUSTERS in the kernel. You can change the number in /boot/loader.conf like so: kern.ipc.nmbclusters=12288 You still have to reboot the system, but you can continue running the same kernel. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: gcc32 on freebsd 4.7
On Fri, Jan 24, 2003 at 08:03:48PM +0100, Xeon wrote: Hello I wondered if it's possible to compile freebsd 4.7 with gcc-3.2, as I read somewhere it generates better code than gcc 2.9.5 does. And if it's possible, would there be any drawbacks? and what could I gain by building my entire 4.7 with gcc32? It's not supported (it requires code changes to the base system to allow it to build). 5.0 uses gcc 3.x Kris msg16617/pgp0.pgp Description: PGP signature
RE: Subnetting or Bridging to secure different dapartments on our School LAN?
Martyn Hill wrote: Windows XP clients, which seem intent on discovering everything on the network and adding it to their own browse lists...) FYI: you can turn this 'feature' off -- it's designed for people setting up networks with just a couple of PCs in a small office. Start up Explorer, Tools -- Folder Options, View, un-check the Advanced setting 'Automatically search for network folders and printers'. There's probably a registry setting you can modify easier than this to do it on multiple machines. --- Michael Ritchie To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Problems building cyrus-sasl2 on FREEBSD-4.7-RELEASE
On Sat, Jan 11, 2003 at 12:06:11AM -0500, Jim Trigg wrote: (Note: the first two tries at sending this apparently got eaten by the ether... in case they show up, please know that I am now subscribed to the list.) I am having problems building the cyrus-sasl2 port on 4.7-RELEASE; no matter how I attempt to override it, it keeps deciding that the gssapi-dir should be /usr/local instead of /usr. (When I built world for 4.7, it placed the Heimdal-style gssapi libraries in /usr/lib, but the cyrus-sasl2 port keeps trying to link with nonexistent MIT-style gssapi libraries in /usr/local/lib.) How can I convince cyrus-sasl2 that I really do have Heimdal-style libraries in /usr/lib? I have found the answer; unfortunately, there's no easy way to fix it at the port level. (I have submitted the fix to the cyrus-sasl2 folks.) Short form: configure needs to be regenerated in the top-level and saslauthd directories after adding two lines to the aclocal.m4 files, to have LIB_CRYPT defined before the GSSAPI checks are made. Jim Trigg -- Jim Trigg, Lord High Everything Else O- /\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
I NEED HELP.
Hi, I need your help. I am student-programmer from Ukraine. In Internet I read, that it is possible to download FreeBSD 5.0 How can I do it?? In FTP needs login and pasword, (anonymous don`t work). Thanks. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: I NEED HELP.
Whitewoolf wrote: Hi, I need your help. I am student-programmer from Ukraine. In Internet I read, that it is possible to download FreeBSD 5.0 How can I do it?? In FTP needs login and pasword, (anonymous don`t work). That is the correct method. If anonymous didn't work, then you either are typing it wrong, your ftp client is broken, or (most likely) the ftp server you're trying to use is too busy to log into at the moment. FreeBSD 5.0-RELEASE was released recently, and the ftp server have been pretty busy. Try a local mirror, it will probably be less overwhelmed: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Filesystem tuning parameters
I have a confusion about apparent conflicts between the minfree setting and time/space optimization. Per the manpage: minfree - Specify the percentage of space held back from normal users; the minimum free space threshold. The default value used is 8%. This value can be set to zero, however up to a factor of three in throughput will be lost over the performance obtained at a 10% threshold. Settings of 5% and less force space optimization to always be used which will greatly increase the overhead for file writes. space/time - The filesystem can either try to minimize the time spent allocat- ing blocks, or it can attempt to minimize the space fragmentation on the disk. Optimization for space has much higher overhead for file writes. The kernel normally changes the preference automat- ically as the percent fragmentation changes on the filesystem. I have a large (120GB) drive dedicated to data storage. I don't want to commit 10% (12GB) of space to free space, and I don't need nearly that much to avoid overflowing the volume. However, I want to maintain time optimization. When it says that settings of 5% and less force space optimization to be used, is that still the case when you specify time optimization?? Also, why is up to a factor of three in throughput lost over the 10% setting? Is that another allusion to space optimization going into effect, or is there something else happening? I guess I don't understand the ramifications of the minfree setting. Any suggestions or references? Thanks! KeS To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
questions about space and RAID
Couple quick questions: At work, I just bought a new P4 Dell Server with an 80G mirrored IDE RAID. I went with IDE since it doesn't have to be a totally failsafe system (not handling a 100,000+ hit website, just interoffice file sharing etc). Supposed, it is configured (I haven't had a chance to play with it yet) to have the drives hardware mirrored. Will I need to setup FreeBSD to recognize this, aside from just loading the RAID card in the kernel? the other thing is with the 80GIG size. what kind of filesystem settings should I use? (like block size etc) and would these slice settings be good enough, mainly, it'll handle mail and some websites, along with SAMBA sharing and backups: swap:2G (1G of ram) /:1G (allow for 5.x-RELEASE when it's production ready) /var:5G /home:35G /usr:the rest ?? thanx for your insights --- doug reynolds | the maverick | [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Filesystem tuning parameters
Kevin Stevens wrote: Also, why is up to a factor of three in throughput lost over the 10% setting? Is that another allusion to space optimization going into effect, or is there something else happening? I guess I don't understand the ramifications of the minfree setting. Any suggestions or references? See /usr/share/doc/papers/diskperf.ascii.gz on your system. This is the authoritative resource as to why those settings are they way they are. The short answer is: the time/space/8% thing is a function of the way UFS actually operates under real-world circumstances. Notice how you never have to defrag a UFS partition (unlike a FAT or NTFS partition). That's because the UFS code constantly optimizes where it writes data as it's doing it, so data is _always_ written to logical places such that the UFS code can quickly retrieve it when the time comes. The downside to this ability is that the UFS code needs a certain amount of free space to write this efficiently. When you reduce the amount of free space below 8%, the space algorithm tries to allocate blocks in an efficient manner and fails, writing data in a manner that has reads jumping all over the place. Thus there is the space algorithm that kicks in when free space is scarce. It takes longer to figure out where to write file data to, in order to keep the filesystem orderly (so reads are still fast). So ... it's like this: 1) If you really want to fill your drive up past 90%, understand that UFS simply isn't designed to do that efficiently. 2) If you change the minfree setting, understand that writes are going to take longer so the reads will stay fast. 3) If you tweak it beyond that, understand that you're throwing away a considerable amount of research that others have done on UFS performance. (read the article above first, so you know what you're doing) 4) If you bought a 120G drive because you have 119.5G of data to store, I think you made a mistake and should either return it for a bigger drive or accept the performance hit. Furthermore, understand that _every_ filesystem I've ever worked with has this problem. FAT NTFS simply don't offer a way to work around it. Windows doesn't have multiple block allocation methods, so when your FAT/NTFS drive gets very full, read write performance sucks. Ever try to defrag a FAT/NTFS drive that was 90%+ full? Most defrag programs won't even try, they'll just tell you to free up some space first. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update 3 September 1999 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 or -hackers? IV: How to submit a question to FreeBSD-questions V:How to answer a question to FreeBSD-questions I: Introduction === This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the newcomers), and also those who answer the questions (the hackers). Note that the term hacker has nothing to do with breaking into other people's computers. The correct term for the latter activity is cracker, but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions == When you subscribed to FreeBSD-questions, you got a welcome message from [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions mailing list! If you ever want to remove yourself from this mailing list, you can send mail to [EMAIL PROTECTED] with the following command in the body of your email message: unsubscribe freebsd-questions Greg Lehey [EMAIL PROTECTED] Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send how to questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to FreeBSD-questions. If that's the case, you'll have to figure out which one it is and get your name taken off that one. If you're not sure which one it might be, check the headers of the messages you receive from freebsd-questions: maybe there's a clue there. If you've done all this, and you still can't figure out what's going on, send a message to [EMAIL PROTECTED], and he will sort things out for you. Don't send a message to FreeBSD-questions: they can't help you. III: Should I ask -questions, -newbies or -hackers? === Two mailing lists handle general questions about FreeBSD, FreeBSD-questions and FreeBSD-hackers. In addition, the FreeBSD-newbies list caters specifically for people
The Complete FreeBSD, second edition: errata and addenda
Errata and addenda for the Complete FreeBSD, second edition Last revision: 21 June 1999 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 Walnut Creek, is no exception. In- evitably, a number of bugs and changes have surfaced. The following is a list of modifications which go beyond simple typos. They relate to the second edition, formatted on 16 December 1997. If you have this book, please check this list. If you have the first edition of 19 July 1996, please check ftp://ftp.lemis.com/pub/cfbsd/errata-1. This same file is also available via the web link http://www.lemis.com/. This list is available in four forms: o A PostScript version, suitable for printingout,at ftp://ftp.lemis.com/pub/cfbsd/errata-2.ps. See page 222 of the book to find out how to print out PostScript. If at all possible, please take this document: it's closest to the original text. Be careful selecting this file with a web browser: it is often impossible to reload the document, and you may see a previously cached version. o An enhanced ASCII version at ftp://ftp.lemis.com/pub/cfbsd/errata-2.txt. When viewed with more or less, this version will show some highlighting and underlining. It's not suitable for direct viewing. o An ASCII-only version at ftp://ftp.lemis.com/pub/cfbsd/errata-2.ascii. This version is posted every week to the FreeBSD-questions mailing list. Only take this version if you have real problems with PostScript: I can't be sure that the lack of different fonts won't confuse the meaning. o A web version at http://www.lemis.com/errata-2.html. All these modifications have been applied to the ongoing source text of the book, so if you buy a later edition, they will be in it as well. If you find a Page 1 The Complete FreeBSD bug or a suspected bug in the book, please contact me at [EMAIL PROTECTED] General changes ___ o In a number of places, I suggest the use of the following command to find process information: $ ps aux | grep foo Unfortunately, ps is sensitive to the column width of the terminal emulator upon which it is working. This command usually works fine on a relatively wide xterm, but if you're running on an 80-column terminal, it may truncate exactly the information you're looking for, so you end up with no output. You can fix that with the w option: $ ps waux | grep foo Thanks to Sue Blake [EMAIL PROTECTED] for this information Location of the sample files On the 2.2.5 CD-ROM only, the location of the sample files does not match the specifications in the book (/book on the first CD-ROM). The 2.2.5 CD-ROM came out before the book, and it contains the files on the third (repository) CD-ROM as a single gzipped tar file /xperimnt/cfbsd/cfbsd.tar.gz. It contains the following files: drwxr-xr-x jkh/jkh 0 Oct 17 13:01 1997 cfbsd/ drwxr-xr-x jkh/jkh 0 Oct 17 13:01 1997 cfbsd/mutt/ -rw-r--r-- jkh/jkh 352 Oct 15 15:21 1997 cfbsd/mutt/.mail_aliases -rw-r--r-- jkh/jkh9394 Oct 15 15:22 1997 cfbsd/mutt/.muttrc drwxr-xr-x jkh/jkh 0 Oct 17 14:02 1997 cfbsd/scripts/ -rw-r--r-- jkh/jkh 18281 Oct 16 16:52 1997 cfbsd/scripts/.fvwm2rc -rwxr-xr-x jkh/jkh1392 Oct 17 12:54 1997 cfbsd/scripts/install-desktop -rw-r--r-- jkh/jkh 296 Oct 17 12:35 1997 cfbsd/scripts/.xinitrc -rwxr-xr-x jkh/jkh 622 Oct 17 13:51 1997 cfbsd/scripts/install-rcfiles -rw-r--r-- jkh/jkh1133 Oct 17 13:00 1997 cfbsd/scripts/Uutry -rw-r--r-- jkh/jkh1028 Oct 17 14:02 1997 cfbsd/scripts/README drwxr-xr-x jkh/jkh 0 Oct 18 19:32 1997 cfbsd/docs/ -rw-r--r-- jkh/jkh 199111 Oct 16 14:29 1997 cfbsd/docs/packages.txt Page 2 Errata and addenda for the Complete FreeBSD, second edition -rw-r--r-- jkh/jkh 189333 Oct 16 14:28 1997 cfbsd/docs/packages-by-category.txt -rw-r--r-- jkh/jkh 188108 Oct 16 14:29 1997 cfbsd/docs/packages.ps -rw-r--r-- jkh/jkh 226439 Oct 16 14:27 1997 cfbsd/docs/packages-by-category.ps -rw-r--r-- jkh/jkh 788 Oct 16 15:01 1997 cfbsd/README -rw-r--r-- jkh/jkh 248 Oct 17 11:52 1997 cfbsd/errata To extract one of these files, say cfbsd/docs/packages.txt, and assuming you have the CD-ROM mounted as /cdrom, enter: # cd /usr/share/doc # tar xvzf /cdrom/xperimnt/cfbsd/cfbsd.tar.gz cfbsd/docs/packages.txt See page 209 for more information on using tar. These files are an early version of what is described in the book. I'll put up some updated
The Complete FreeBSD, third edition: errata and addenda
Errata and addenda for the Complete FreeBSD, third edition Last revision: 2 August 1999 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 Walnut Creek, is no exception. In- evitably, a number of bugs and changes have surfaced. The following is a list of modifications which go beyond simple typos. They relate to the third edition, formatted on 17 May 1999. You'll find this information on page iv (the page before the beginning of the Table of Contents). See the end of this document for instructions on how to find the errata for an older version. You can get the current document in four forms: o A PostScript version, suitable for printingout,at ftp://ftp.lemis.com/pub/cfbsd/errata-3.ps. See page 302 of the third edition to find out how to print out PostScript. If at all possible, please take this document: it's closest to the original text. Be careful selecting this file with a web browser: it is often impossible to reload the document, and you may see a previously cached version. o An enhanced ASCII version at ftp://ftp.lemis.com/pub/cfbsd/errata-3.txt. When viewed with more or less, this version will show some highlighting and underlining. It's not suitable for direct viewing. o An ASCII-only version at ftp://ftp.lemis.com/pub/cfbsd/errata-3.ascii. This version is posted every week to the FreeBSD-questions mailing list. Only take this version if you have real problems with PostScript: I can't be sure that the lack of different fonts won't confuse the meaning. o A web version at http://www.lemis.com/errata-3.html. All these modifications have been applied to the ongoing source text of the book, so if you buy a later edition, they will be in it as well. If you find a Page 1 The Complete FreeBSD bug or a suspected bug in the book, please contact me at [EMAIL PROTECTED] Page ii ___ The instructions on page ii (opposite the title page) tell you to look at ftp://ftp.lemis.com/pub/cfbsd/errata-2 for the errata list. That's wrong. Look at this list. Pages 190 and 191 _ The description is not very clear about which text appears when booting from floppy for initial install, and which appears when booting normally. The procedure is very similar, but there are some differences. Add the following text after the heading Boot messages: You'll boot your system in at least two different ways: initially you'll boot from floppy or CD-ROM in order to install the system. Later, after the system is installed, you'll boot from hard disk. The procedure is almost identical, so we'll look at both versions in the following examples. Replace the text from the middle of page 191 with: If you're booting from 1.44 MB floppies, you will then see: Please insert MFS root floppy and press enter: When you insert the MFS root floppy and press Enter, you see more twirling batons, then the UserConfig screen appears. UserConfig: Modifying the boot configuration After the kernel has been loaded, the following screen will appear if you are installing the system, or if you have requested it with the -c option to the boot loader: Page 206 The bottom two lines on this page should be in bold constant font, indicating that this is input for your /etc/rc.config file Page 2 Errata and addenda for the Complete FreeBSD, third edition nfs_client_enable=YES # This host is an NFS client (or NO). nfs_server_enable=YES # This host is an NFS server (or NO). Page 265 The example on the second half of the page refers to the old SCSI driver. The scsi program is no longer available in FreeBSD 3.x. Instead, use the camcontrol program. Replace the text with:. Modern disks make provisions for recovering from such errors by allocating an alternate sector for the data. IDE drives do this automatically, but with SCSI drives you have the option of enabling or disabling reallocation. Usually it is turned on when you buy them, but occasionally it is not. When installing a new disk, you should check that the parameters ARRE (Auto Read Reallocation Enable) and AWRE (Auto Write Reallocation Enable) are turned on. For example, to check and set the values for disk da1, you would enter: # camcontrol modepage da1 -m 1 -e -P 3 # scsi -f /dev/rda1c -m 1 -e -P 3 This command will start up your favourite editor (either the one specified in the EDITOR environment variable, or vi by default) with the
USB Storage Adapter
Hi ! I was wondering if: ugen0: In-System Design USB Storage Adapter, rev 1.10/1.10, addr 2 which is an external USB hard drive (from Mem-Up) was supported under FreeBSD and if it was mountable as ext2fs. So far, I cannot get it to mount. Thanks in advance. Antoine To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Is the Kernel device config visual interface still necessary
In [EMAIL PROTECTED], JoeB [EMAIL PROTECTED] typed: My question, what purpose does the 'Kernel Device Configuration Visual Interface' screen serve and can people safely use the 'Skip kernel configuration and continue with installation' from the 'Kernel configuration menu'? Most people can probably skip the kernel configuration section. Not everyone can, though - which is why it needs to be there. My path when installing on new hardware is to boot without doing the kernel config. If there are problems, I try again, this time doing the kernel config to deal with the hardware that's giving me problems. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 4.7R - Kernel Compile (old way) Error code 1
From: Giorgos Keramidas [EMAIL PROTECTED] There is nothing wrong with the old way if you haven't touched the sources since your last buildworld. I think you read that wrong. I was not implying that the old way was bad in anyway, I was just qouting the handbook reference to being the old way. You are obviously missing stuff that is required for SCSI support. I do not have any SCSI, USB, PCMCIA, and RAID hardware, so I removed all that stuff, which could be part of the problem-o. :) Some of these, (even if one does not have the hardware) must be required no matter what, then? Right now, it seems that you're missing at least device pass and related stuff... I'd recommend starting over by: # cd /usr/src/sys/i386/conf # cp GENERIC RANCID then make a few modifications to RANCID and build your kernel: # vi RANCID # config -d /usr/obj/usr/src/sys/RANCID RANCID # cd /usr/obj/usr/src/sys/RANCID # make depend make clean make all Another user suggested: # cd /usr/src/sys/compile # rm -R name_of_kernel_dir To remove reminisce of the partial make? Now back to start: # cd /usr/src/sys/i386/conf # cp GENERIC MYKERNEL Edit lightly # ee MYKERNEL # /usr/sbin/config MYKERNEL # cd ../.../compile/MYKERNEL # make depend # make # make install Could you please elaborate on your differences? I am new to most of this, so I am interested in different users experiences. Thank you! Danny To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Filesystem tuning for lots of small files (a Maildir)?
Craig Reyenga wrote: - Original Message - From: Darren Pilgrim To: Sent: Friday, January 24, 2003 07:13 Subject: Filesystem tuning for lots of small files (a Maildir)? I'm currently facing a problem of having used Netscape (now Mozilla) for years in Windows and now trying to find something I can regularly use in FreeBSD without losing Mozilla in Windows. I've mostly settled on IMAP (courier) with procmail filters, but that raises the issue of filesystem performance for directories with large numbers of files/subdirectories in them. I have more than 32,000 emails stored. How do I calculate/see the number of available inodes?^^^ ^ df -i /filesystem-in-question The filesystem has about 1.4m free inodes, so I guess that's not really going to be a problem. What's the max. number of inodes I can have? 2^32? The existing filesystem was newfs'd with the sysinstall defaults. Should I re-newfs it with different values? What would I want to set them at? I know I'd need to adjust things to make sure I have enough inodes for 40,000+ files, but what about the block and fragment size? Should I use smaller values like 8192/1024 or 4096/512 or is the default 16384/2048 best? Higher values would just increase slack space, right? What are the impacts of lower values? The number of inodes varies with the filesystem size and bytes per inode. So if you're talking about a huge filesystem, you're probably all set as it is. However, I needed a /usr that has many inodes, so I doubled the default by doing this: newfs -b 16384 -f 2048 -i 4096 /usr -i 4096 is half as many bytes per inode compared to the default 8192, therefore, I have 2X as many inodes. See newfs(8) for more info. tuning(7) also. I know that one inode is used for every file (for arguement's sake we'll say everything that uses an inode is a file) in a filesystem. So the number of inodes is the number of files you can have. But what happens when the file is larger than the inode size? It still uses one inode, but the filesystem has to allocate space in blocks. I'm trying to determine the size of that block, if it's adjustable, and if I even should be adjusting it. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 4.7R - Kernel Compile (old way) Error code 1
On 2003-01-24 18:28, Danny [EMAIL PROTECTED] wrote: From: Giorgos Keramidas [EMAIL PROTECTED] There is nothing wrong with the old way if you haven't touched the sources since your last buildworld. I think you read that wrong. I was not implying that the old way was bad in anyway, I was just qouting the handbook reference to being the old way. Aye. That works too. I should bite the bullet and update the section that speaks about kernel compiles one of these days. Thanks for being patient with my previous hasty reply. You are obviously missing stuff that is required for SCSI support. I do not have any SCSI, USB, PCMCIA, and RAID hardware, so I removed all that stuff, which could be part of the problem-o. :) Not all. Looking carefully at your posted config file I could spot at least three SCSI controllers left in there :( # adv: All Narrow SCSI bus AdvanSys controllers. # bt: Most Buslogic controllers: including BT-445, BT-54x, BT-64x, BT-74x, # BT-75x, BT-946, BT-948, BT-956, BT-958, SDC3211B, SDC3211F, SDC3222F # ncr: NCR 53C810, 53C825 self-contained SCSI host adapters. Some of these, (even if one does not have the hardware) must be required no matter what, then? Some options depend on the presense of others. # cd /usr/src/sys/i386/conf # cp GENERIC RANCID then make a few modifications to RANCID and build your kernel: # vi RANCID # config -d /usr/obj/usr/src/sys/RANCID RANCID # cd /usr/obj/usr/src/sys/RANCID # make depend make clean make all Another user suggested: # cd /usr/src/sys/compile # rm -R name_of_kernel_dir To remove reminisce of the partial make? Now back to start: # cd /usr/src/sys/i386/conf # cp GENERIC MYKERNEL Edit lightly # ee MYKERNEL # /usr/sbin/config MYKERNEL # cd ../.../compile/MYKERNEL # make depend # make # make install Could you please elaborate on your differences? I am new to most of this, so I am interested in different users experiences. The makefiles in /usr/src/Makefile* include a buildkernel target that builds the kernel in /usr/obj/usr/src/sys/MYKERNEL instead of /usr/src/sys/i386/MYKERNEL. This is what the commands I suggested will do. This has the added advantage that it supposed to work fine even if /usr/src is read-only. Plus, you keep the build files outside of /usr/src and you won't risk losing them when you run CVSup again. The best way for upgrading is by far to read /usr/src/UPDATING though, especially the part near: To update from 4.0-RELEASE or later to the most current 4.x-STABLE -- I hope I havn't confused you with all this. Good luck with your next upgrade attempt :-) - Giorgos To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Ïðåäëîæåíèå.
Çäðàâñòâóéòå ãîñïîäà, íó åñëè åùå íå ãîñïîäà, òî î÷åíü ñêîðî èìè ñòàíåòå! :-) ß â òàêóþ èãðó êîãäà-òî â ñîâåòñêîå âðåìÿ øêîëüíèêîì èãðàë ñ îòêðûòêàìè. Ïîñûëàåøü äåñÿòü, ïîëó÷àåøü íåñêîëüêî ñîòåí. Ïîëó÷àëîñü. Ïîçæå èãðàë ñ ÷åðâîíöåì. Òîæå âûèãðàë íà öâåòíîé òåëåâèçîð, òåïåðü æå, êîãäà ïîÿâèëñÿ èíåò... ïðîñòî ãëóïî íå ññûãðàòü! ß íà÷àë. Âàì òîæå ïðåäëàãàþ. Ñ óâàæåíèåì, Èãîðü. Web Money Ñ÷àñòëèâ÷èê Ïðåäëàãàåò ÂÑÅÌ!!! Íîâóþ óíèêàëüíóþ èãðó ïî ñåòè èíòåðíåò, â ñèñòåìå ýëåêòðîííûõ ïëàòåæåé WebMoney Äåíüãè äåëàþò äåíüãè. Ýòî Âàø ØÀÍÑ 10 èç 10. Áåñïðîèãðûøíûé âàðèàíò. Õîòèòå, âåðüòå, õîòèòå, íåò!!! Ïðî÷òèòå âíèìàòåëüíî, è äàæå åñëè Âû, íå çàèíòåðåñóåòåñü ýòèì ïðåäëîæåíèåì, â ÷åì ÿ ãëóáîêî ñîìíåâàþñü, ðàññêàæèòå î íåì ñâîèì äðóçüÿì è çíàêîìûì, ïîäàðèòå èì âîçìîæíîñòü ïîëó÷åíèÿ äîïîëíèòåëüíûõ äåíåæíûõ ñðåäñòâ!!! Ýòî íå çàéìåò ó Âàñ ìíîãî âðåìåíè, à ðåçóëüòàò áóäåò âåñüìà çíà÷èòåëüíûì. Ñõåìà î÷åíü ïðîñòà è îñíîâàíà íà ñèñòåìå ýëåêòðîííûõ ïëàòåæåé WebMoney. Åñëè Âû ðàíåå íå èìåëè äåëà ñ WebMoney, ñõîäèòå íà ñàéò: www.webmoney.ru (íà ðóññêîì ÿçûêå) è îòêðîéòå ñâîé ñîáñòâåííûé ñ÷åò â Internet.  ïðîòèâíîì ñëó÷àå âû íå ñìîæèòå ïîëó÷èòü ñâîè äåíüãè!!! ;-))) Èíñòðóêöèÿ ïî ïîëüçîâàíèþ WebMoney ïðèëàãàåòñÿ! Äëÿ Óêðàèíû: http://www.webmoney.com.ua/, äëÿ Áåëîðóññèè: http://webmoney.by/ Êîíâåðòèðîâàòü ðóáëè â äîëëàðû è îáðàòíî âû ìîæåòå íà ðóññêîé îáìåííîé áèðæå, ðàñïîëîæåííîé ïî àäðåñó: http://www.indx.ru/obmen Èòàê, ïðåäëàãàåì Âàì íå÷òî êðàéíå ÏÐÎÑÒÎÅ è ÷ðåçâû÷àéíî ÝÔÔÅÊÒÈÂÍÎÅ äëÿ ïîëó÷åíèÿ íåìàëûõ äåíåã. Âåäü âñå ãåíèàëüíîå - ïðîñòî!!! Íèæå ïðåäñòàâëåíà òàáëèöà, â êîòîðîé íàõîäÿòñÿ 10 ñ÷åòîâ (ñèñòåìû WebMoney) ó÷àñòíèêîâ èãðû. Òàáëèöà ó÷àñòíèêîâ ID# 689539826687 Z061203285088 ID# 320168238290 Z105726404054 ID# 459749097701 Z681633655045 ID# 847187245176 Z169939855082 ID# 429702621026 Z023048323572 ID# 944157639954 Z268721908733 ID# 668467968196 Z569913140742 ID# 582495272013 Z240256045379 ID# 469754943688 Z400839248419 ID# 073422959744 Z345550201699 ÂÍÈÌÀÍÈÅ! ×åòêî âûïîëíèòå ñëåäóþùèå ïóíêòû: 1. Ïåðåâåäèòå ïî 0.01$ USD íà âñå âàëþòíûå (Z) êîøåëüêè â òàáëèöå, ñ ïîìåòêîé Web Money Ñ÷àñòëèâ÷èê. 2. Óäàëèòå ðåêâèçèòû ó÷àñòíèêà, íàõîäÿùåãîñÿ íà ñàìîì âåðõó òàáëèöû. 3. Âïèøèòå ID íîìåð è íîìåð ñâîåãî êîøåëüêà âíèçó òàáëèöû. ÂÍÈÌÀÍÈÅ! Íå ñòàâüòå ñâîé íîìåð ñ÷åòà íà äðóãîå ìåñòî (ïðèêèíüòå ñàìè - ïîñòàâèòå âûøå, âàñ áûñòðåå è ñïèøóò, âñå ðàññ÷èòàíî) è íå ìåíÿéòå íè÷åãî, ïîñêîëüêó âñå ðàññ÷èòàíî íà ðåàëüíûé çàðàáîòîê!!! Ïîñëå ïîëó÷åíèÿ äåíåã, âñå ó÷àñòíèêè òàáëèöû, êîòîðûì âû çàïëàòèòå, âñòàâÿò âàøè ðåêâèçèòû, ïîëó÷åííûå ñ ïåðåâîäîì äåíåã, â ñâîþ òàáëèöó! Äëÿ áîëåå ýôôåêòèâíîãî äåíüãîçàðàáàòûâàíèÿ, ïðåäëàãàþ âàì ñàìèì ïðèâëåêàòü ó÷àñòíèêîâ (ñîñâîèì îòêîððåêòèðîâàííûì ïèñüìîì)! Ïðèâëåêàÿ â èãðó õîòÿ áû 10 ÷åëîâåê, êîòîðûå òîæå, â ñâîþ î÷åðåäü, ïðèâëåêóò ïî 10 ÷åëîâåê è ò.ä. + 10 ïî 10 è ò. ä. - ëþäè ïðèâëå÷åííûå ïî ïèñüìàì ó÷àñòíèêîâ òàáëèöû, êîòîðûì âû çàïëàòèëè! (ýëåìåíòàðíàÿ àðèôìåòèêà - ïðèêèíüòå ñàìè)! 1. (10õ0.01)+(10õ0.01) = 0.2 $ 2. (10õ0.01)õ10+(10õ0.01)õ10 = 2 $ 3. (10õ0.01)õ100+(10õ0.01)õ100 = 20 $ 4. (10õ0.01)õ1000+(10õ0.01)õ1000 = 200 $ 5. (10õ0.01)õ1+(10õ0.01)õ1 = 2000 $ è òàê äî 10. - 200.000.000 $ Êàê âèäíî, â èòîãå äîëæíà ñëîæèòüñÿ ïèðàìèäà (äà íå ÌÌÌ, íå âîëíóéòåñü :-), ýòî ïðàâèëüíàÿ ïèðàìèäà, è åñëè êàæäûé çàïëàòèò Âàì $0.01, òî ó Âàñ áóäåò 200.000.000$! Êîíå÷íî, ýòî â èäåàëå (õîòÿ êàê çíàòü - íå êòî íå çàïðåùàåò ïðèâëå÷ü áîëüøå ëþäåé è ò.ä.) Èãðà ðàññ÷èòàíà ïðèìåðíî íà 3-4 ìåñÿöà. Ïðåäñòàâüòå òîëüêî, êàê èçìåíèòüñÿ Âàøà æèçíü ÷åðåç êàêèõ-òî òðè ìåñÿöà! ×åì áîëüøå ó÷àñòíèêîâ âû ïðèâëå÷åòå, òåì áîëüøå ñìîæåòå çàðàáîòàòü. Íå áîéòåñü îêàçàòüñÿ â êîíöå ïèðàìèäû - ýòî ïðàêòè÷åñêè íåâîçìîæíî, ò.ê. åæåäíåâíî â Internet ïðèõîäÿò îêîëî 50 000 íîâûõ ïîëüçîâàòåëåé. Ïîñëå âûáûâàíèÿ èç òàáëèöû, Âû ìîæåòå íà÷àòü èãðó ñíà÷àëà, òåì ñàìûì, äàòü øàíñ è âîçìîæíîñòü çàðàáîòàòü ñåáå è äðóãèì ó÷àñòíèêàì, è ò.ä. Ýòî ñèñòåìà áåñêîíå÷íàÿ, òàê êàê ìîæíî èãðàòü äî áåñêîíå÷íîñòè. Ýòî âûãîäíî Âàì, è âûãîäíî áàíêó Web Money. Áàíê èìååò ïðîöåíòû, Âû èìååòå äîõîä. Äåíüãè äåëàþò äåíüãè. Ñîçäà¸òñÿ ïîñòîÿííûé ïîòîê äâèæåíèÿ äåíåã. Äåíüãè íå äîëæíû ëåæàòü íà ìåñòå. Âàøè çàòðàòû - 10
A WinXP patch
This is an auto-generated response to let you know our system received your support inquiry. If your question concerns MSN Hotmail privacy issues or TRUSTe as outlined in the MSN Hotmail Privacy Statement, a Hotmail Support Representative will address your specific issues as promptly as possible. You should hear from your Support Representative soon. Remember that MSN Hotmail also has comprehensive online help available--just click Help in the upper right corner. Please note that you will not receive a reply if you respond directly to this message. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: newbie mail help
- Original Message - From: John Bleichert [EMAIL PROTECTED] To: Gary Schenk [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, January 22, 2003 9:41 PM Subject: Re: newbie mail help On Wed, 22 Jan 2003, Gary Schenk wrote: major snippage I've used lots of email clients and Pine is my favorite. However, I had the same problem you are. First I solved it by setting up postfix to do it for me (fix the return address). Then I found I could specify the headers in the pine configuration. Go to the setup section of pine (while it's running) and setup up headers as I did: customized-hdrs = Reply-To: John Bleichert [EMAIL PROTECTED] From: John Bleichert [EMAIL PROTECTED] That should clear it up. As I said earlier in this email chain, to just plain old 'get going' with email in Unix it's best to use e.g. Netscape or Mozilla mail or kmail as they work like the usual email clients. Most other Unix clients rely on the system mail to function properly which can make them tuff to set up if say your username on the box doesnt match that at your ISP. Hope that helps. I don't know balsa, never used it, but in my first several years in Linux/BSD I clung to my Netscape email like a liferaft :) JB # John Bleichert # http://vonbek.dhs.org/latest.jpg OK, I stopped being so mule-headed and when doing a fresh install, setup KDE this time. As John suggested (twice!) kmail is working great. Setting it up was quick and easy. No sendmail needed or fetchmail. This is great. Thanks to all in the group for helping. @^_^@ -- one happy former Outlook Express user I will try to setup Pine for mail with postfix at sometime. Anyone have any suggestions for a newsreader for KDE? Gary To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Hospedagem profissional de domínios e sites
HOSPEDAGEM PROFISSIONAL DE DOMÍNIOS E SITES A VirtualServ oferece o mais completo plano de hospedagem profissional do mercado. Todas as possibilidades disponíveis hoje na WEB num só plano. O melhor servidor, a melhor conexão, o melhor suporte e recursos ilimitados. Nosso serviço é top de linha entre os melhores servidores e temos como objetivo a sua satisfação e confiança. Visite-nos: http://virtualserv.com _ PAINEL DE CONTROLE - CPANEL O painel de controle oferecido pela VirtualServ simplifica todos os comandos Unix em uma interface gráfica intuitiva e fácil de usar, agilizando a manutenção de sua conta. Disponibilizamos essa ferramenta para todos os clientes. _ LOJA VIRTUAL GRÁTIS Adquirindo o plano de hospedagem profissional da VirtualServ, você ganha uma Loja virtual Grátis totalmente automatizada e com e-commerce*. Você pode oferecer qualquer produto ou serviço que quiser com divulgação permanente na internet. Você também pode modificá-la de acordo com suas necessidades. Na loja, você pode receber pelos seus produtos ou serviços através de depósito bancário, boleto ou cartão de crédito. _ Plano profissional de hospedagem com recursos ilimitados VirtualServ Valor Mensal - R$ 21,00 Taxa única de Setup - R$: 15,00 Espaço em Disco 100 MB (ampliável) Transferência Mensal 2 GB Contas de E-mail POP3 personalizadas com anti-vírus - ilimitadas Subdomínios - ilimitados Redirecionamento de domínios - ilimitados Contas de FTP individuais - ilimitadas Bancos de Dados MY SQL 3.45 - ilimitados Painel de Controle CPANEL - Sim Diretório CGI-BIN - Sim Estatísticas Completas - Sim Loja Virtual GRÁTIS - Sim ASP e tarefas CRON - Sim Suporte Técnico - Sim Software para e-commerce - Sim Divulgação permanente na internet - Sim Não perca tempo, entre hoje mesmo para a VirtualServ e obtenha o serviço mais completo do mercado ! Visite nosso site: http://www.virtualserv.com Suporte online: [EMAIL PROTECTED] - Fones: (11)6567-3684 ou (11)9443-4276 - h/c - ICQ-141826334 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
FreeBSD 5.0 Release requirements
Hey! Well I have some problems with ram, I have only 92 mb of it, and it is just simple RAM. What are the requirements for the ram? Like what would be the best? I know 1gb should be enough :) but I am always left with 2mb left... and that is just bad. One more quick question, does internet connection get slower if ram is very low like mine? I have sometimes problems with connection. Thanks guys! -mNTKz To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FreeBSD 5.0 Release requirements
On 2003-01-24 21:47, Mantas Kriauciunas [EMAIL PROTECTED] wrote: Well I have some problems with ram, I have only 92 mb of it, and it is just simple RAM. What are the requirements for the ram? 92 should be ok. Like what would be the best? I know 1gb should be enough :) but I am always left with 2mb left... and that is just bad. Fre memory is wasted memory. You will probably find a very interesting read in the following article: http://www.FreeBSD.org/doc/en_US.ISO8859-1/articles/vm-design/ One more quick question, does internet connection get slower if ram is very low like mine? I have sometimes problems with connection. It shouldn't. What problems are you having? - Giorgos To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FreeBSD 5.0 Release requirements
In the last episode (Jan 24), Mantas Kriauciunas said: Well I have some problems with ram, I have only 92 mb of it, and it is just simple RAM. What are the requirements for the ram? Like what would be the best? I know 1gb should be enough :) but I am always left with 2mb left... and that is just bad. One more quick question, does internet connection get slower if ram is very low like mine? I have sometimes problems with connection. Thanks guys! FreeBSD runs fine with 32MB. If you're going by top, you actually want as RAM in the Free column as possible. Free RAM is wasted RAM. FreeBSD uses all available RAM not used by processes as a disk cache. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Filesystem tuning parameters
On Friday, Jan 24, 2003, at 16:40 US/Pacific, Bill Moran wrote: See /usr/share/doc/papers/diskperf.ascii.gz on your system. This is the authoritative resource as to why those settings are they way they are. ?? Sure that's the correct doc? It involves throughput tests of different disk systems on VAXen, but doesn't really discuss any of these parameter changes. They do go into rotational delay a bit. So ... it's like this: 1) If you really want to fill your drive up past 90%, understand that UFS simply isn't designed to do that efficiently. Ok... and what you're confirming is that this is a percentage requirement, so it doesn't vary significantly between 120MB and 120GB filesystems? 4) If you bought a 120G drive because you have 119.5G of data to store, I think you made a mistake and should either return it for a bigger drive or accept the performance hit. My confusion came from various bits of documentation that suggest the primary purpose of minfree is to provide notification and buffer time/space for sysadmins to deal with filesystems nearing capacity. In my scenario, 12GB would be total overkill to commit for that purpose, regardless of how much data I needed to store. Understanding that it is required for filesystem overhead makes the resource usage justifiable. Thanks! KeS To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
phoenix
Ok, I am not sure why, but I can not get phoenix to work. I have untar'd it and try: [asenchi@temple:~/phoenix] $ ./phoenix ./phoenix-bin: error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: No such file or directory FreeBSD temple.attbi.com 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Mon Jan 20 06:53:53 EST 2003 [EMAIL PROTECTED]: /usr/obj/usr/src/sys/ASENCHI i386 Thanks To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
IP Changed == Problem
Hello, I recently changed my ISP - DSL provider, a new static IP, and now having problems ssh'ing in, none before. My config == ISP[DSL] ==Modem==Router/Gateway == HubLAN machine(1) |LAN machine(2) | |LAN machine(n) The LAN side machines are configured w/ NAT and the mapping are unchanged, using 192.168.x.n etc. The WAN side is configured correctly, I think. I can access the internet from the LAN, SSH Telnet. However I cannot telnet or SSH into the LAN and the Port mappings are the same as before??? The only change has been to the Gateway configuration, IP #, DNS subnetmask. What am I missing? Thanks! -- Joe -- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: IP Changed == Problem
If you are using static mappings, check to see if they are IP they are mapping from was updated (External IP) Adam - Original Message - From: Joseph Maxwell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, January 25, 2003 12:02 AM Subject: IP Changed == Problem Hello, I recently changed my ISP - DSL provider, a new static IP, and now having problems ssh'ing in, none before. My config == ISP[DSL] ==Modem==Router/Gateway == HubLAN machine(1) |LAN machine(2) | |LAN machine(n) The LAN side machines are configured w/ NAT and the mapping are unchanged, using 192.168.x.n etc. The WAN side is configured correctly, I think. I can access the internet from the LAN, SSH Telnet. However I cannot telnet or SSH into the LAN and the Port mappings are the same as before??? The only change has been to the Gateway configuration, IP #, DNS subnetmask. What am I missing? Thanks! -- Joe -- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Filesystem tuning parameters
Kevin Stevens wrote: On Friday, Jan 24, 2003, at 16:40 US/Pacific, Bill Moran wrote: See /usr/share/doc/papers/diskperf.ascii.gz on your system. This is the authoritative resource as to why those settings are they way they are. ?? Sure that's the correct doc? It involves throughput tests of different disk systems on VAXen, but doesn't really discuss any of these parameter changes. They do go into rotational delay a bit. Hmmm ... perhaps I'm wrong. I thought that was it, but I remember more information about the testing that led to decisions about the way the filesystem works. So ... it's like this: 1) If you really want to fill your drive up past 90%, understand that UFS simply isn't designed to do that efficiently. Ok... and what you're confirming is that this is a percentage requirement, so it doesn't vary significantly between 120MB and 120GB filesystems? Yes. While I don't understand the deep magic of it, the fact is the amount of free space needed to ensure efficient block allocation is a percentage of total filesystem space. 4) If you bought a 120G drive because you have 119.5G of data to store, I think you made a mistake and should either return it for a bigger drive or accept the performance hit. My confusion came from various bits of documentation that suggest the primary purpose of minfree is to provide notification and buffer time/space for sysadmins to deal with filesystems nearing capacity. Well, fact is you _can_ fill a disk past the 92% mark. But as a sysadmin, you'll definately want to be alerted to this because the write algorithm changes from time to space and performance drops dramatically. In my scenario, 12GB would be total overkill to commit for that purpose, regardless of how much data I needed to store. Understanding that it is required for filesystem overhead makes the resource usage justifiable. Thanks! I see where you're coming from. Glad I could help clear it up. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
What Now?
did a kg_add -r gnome2 did a pkg_add -r gnome2-fifth-toe All successfull. No gnome-session found How the heck do I start Gnome? Note, I'm exporting the display to another box (full screen), so I just want the command, or a script, as startx only starts X locally. My $DISPLAY is set correctly, since KDE works. Help? Adam To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message