Re: batch rename
In the last episode (Jan 05), Jeff Laine said: My goal is to rename several files in such a way as to decapitalize starting letters in their names. The solution seems to be simple but I'm stuck. What should I use? awk/sed or write some shell-script? Best way is with ports/misc/mmv: mmv ?* =l1=2 If you use zsh, you can use the zmv function to do the same thing: autoload -U zmv zmv '([A-Z])(*)' '${(L)1}$2' Both of the above will detect filename collisions and tell you what won't work. If you know there aren't any collisions, you could do this (zsh again): for i in [A-Z]* ; do mv $i ${i[1]:l}${i[2,-1]} done -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
7.0-PRERELEASE installworld fails
Hi all Please note: I have posted this on freebsd-current. I'm sorry for that. I went again thru the Rebuilding world section in the Handbook and saw at the end if there are problems I should post to freebsd-questions. Kindly reply on this post. I'm making a kernel upgrade on 7.0-BETA4 with the today's sources downloaded by cvsup. make installworld fails with following error: -- Installing everything -- cd /usr/src; make -f Makefile.inc1 install === share/info (install) === lib (install) === lib/csu/i386-elf (install) cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/csu/i386-elf/../common -I/usr /src/lib/csu/i386-elf/../../libc/include -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arit h -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunu sed-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno -pointer-sign -c /usr/src/lib/csu/i386-elf/crt1.c /usr/src/lib/csu/i386-elf/crt1.c:33:20: error: stdlib.h: No such file or directory In file included from /usr/src/lib/csu/i386-elf/crt1.c:35: /usr/src/lib/csu/i386-elf/../../libc/include/libc_private.h:178:24: error: sys/_types.h: No such file or directory Please note, make buildworld, make kernel-toolchain, make buildkernel and make installkernel works without an error. The machine is even getting boot up to single-user mode without an issue with the new kernel. Btw, I'm new to FreeBSD, but I'm not new to Unix. I have attempted the kernel upgrade as per the Handbook and UPDATING. I can provide more detail on my steps if necessary. What have I missed? Does the make installworld work without an error for others. Appreciate an reply on this issue. Best Regards Unga Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Install order?
On Fri, 04 Jan 2008 22:51:51 -0600 David Reedy Jr wrote: I'm very new to FreeBSD, just installed it for the first time maybe a week ago. Great, welcome. But please, don't start a new thread hitting a reply to and existing thread. First of, the thread history is not clean. And you won't get an answer from a person not interested in the thread you'd interfered... WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 7.0-PRERELEASE installworld fails
On Sat, 5 Jan 2008 00:13:30 -0800 (PST) Unga wrote: Please note: I have posted this on freebsd-current. I'm sorry for that. I went again thru the Rebuilding world section in the Handbook and saw at the end if there are problems I should post to freebsd-questions. Kindly reply on this post. I'm making a kernel upgrade on 7.0-BETA4 with the today's sources downloaded by cvsup. Upgrade to what? (RELENG_7, RELENG_7_0, HEAD, etc.) What architecture do you use (i386, amd64, etc.) Did you use startdard make.conf (i.e. empty)? Did you use GENERIC kernel? make installworld fails with following error: -- Installing everything -- cd /usr/src; make -f Makefile.inc1 install === share/info (install) === lib (install) === lib/csu/i386-elf (install) cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/csu/i386-elf/../common -I/usr /src/lib/csu/i386-elf/../../libc/include -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arit h -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunu sed-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno -pointer-sign -c /usr/src/lib/csu/i386-elf/crt1.c /usr/src/lib/csu/i386-elf/crt1.c:33:20: error: stdlib.h: No such file or directory In file included from /usr/src/lib/csu/i386-elf/crt1.c:35: /usr/src/lib/csu/i386-elf/../../libc/include/libc_private.h:178:24: error: sys/_types.h: No such file or directory This may be caused by incorrect system clocks. Please note, make buildworld, make kernel-toolchain, make buildkernel and make installkernel works without an error. The machine is even getting boot up to single-user mode without an issue with the new kernel. Btw, I'm new to FreeBSD, but I'm not new to Unix. I have attempted the kernel upgrade as per the Handbook and UPDATING. I can provide more detail on my steps if necessary. What have I missed? Does the make installworld work without an error for others. Yep. ;-) Appreciate an reply on this issue. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Install order?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Boris Samorodov wrote: On Fri, 04 Jan 2008 22:51:51 -0600 David Reedy Jr wrote: I'm very new to FreeBSD, just installed it for the first time maybe a week ago. Great, welcome. But please, don't start a new thread hitting a reply to and existing thread. First of, the thread history is not clean. And you won't get an answer from a person not interested in the thread you'd interfered... I would not jump to conclusion so fast: 1. That quote is from the OP 2. The OP did not jump into an old thread according to the headers on the original message - -- Aryeh M. Friedman FloSoft Systems, Java Developer Tools http://www.flosoft-systems.com Developer, not business, friendly. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHf1axjRvRjGmHRgQRAtW7AJ4upz4NeS3VBR8npfVRUzvqxxXQlgCdGMAA 5x3X8YP4aeNAO3aFVCOB/aI= =4+Cn -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Install order?
On Sat, 05 Jan 2008 05:06:41 -0500 Aryeh M. Friedman wrote: Boris Samorodov wrote: On Fri, 04 Jan 2008 22:51:51 -0600 David Reedy Jr wrote: I'm very new to FreeBSD, just installed it for the first time maybe a week ago. Great, welcome. But please, don't start a new thread hitting a reply to and existing thread. First of, the thread history is not clean. And you won't get an answer from a person not interested in the thread you'd interfered... I would not jump to conclusion so fast: Please, do what you write. 1. That quote is from the OP Is he Paul Schmehl? 2. The OP did not jump into an old thread according to the headers on the original message http://lists.freebsd.org/pipermail/freebsd-questions/2008-January/thread.html and search for Install order. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: outgoing mail STOPPED.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Gary Kline wrote: Anybody know how I messed up? ---This is no excuse, but because of the recent build problems I did wholesale ``portupgrades -af'' (**sigh**) Why cannot creat the queue files?? At a guess, either the queue directories for either or both the MSP and MTA sendmail instances have the wrong permissions or one or other of MSP, MTA sendmail instances is running with the wrong user credentials. You shouldn't get that by doing portupgrade -- certainly I've done a few 'portupgrade -af' jobs as part of 6.x - 7.0 upgrading and not seen anything similar. Anyhow, you can check that files and directories have the correct ownership etc. by: # mtree -p / -ef /etc/mtree/BSD.sendmail.dist # mtree -p /var -ef /etc/mtree/BSD.var.dist You can fix any problems by: # mtree -p / -U /etc/mtree/BSD.sendmail.dist # mtree -p /var -U /etc/mtree/BSD.var.dist The other thing to check is that you are running sendmail using the correct users and groups. You should see something like this: # ps -o ruser,rgroup,svuid,svgid,command -p `head -1 /var/run/sendmail.pid` -p `head -1 /var/spool/clientmqueue/sm-client.pid` RUSER RGROUP SVUID SVGID COMMAND root wheel 025 sendmail: accepting connections (sendmail) smmsp smmsp 2525 sendmail: Queue [EMAIL PROTECTED]:30:00 for /var/spool/clientm And that you have the following lines somewhere in /etc/master.passwd: smmsp:*:25:25::0:0:Sendmail Submission User:/var/spool/clientmqueue:/usr/sbin/nologin mailnull:*:26:26::0:0:Sendmail Default User:/var/spool/mqueue:/usr/sbin/nologin and the following in /etc/group: smmsp:*:25: mailnull:*:26: and that the actual sendmail binary (assuming you're using the base system sendmail and not one from ports) has the following ownership and permissions: # ls -l /usr/libexec/sendmail/ total 688 - -r-xr-sr-x 1 root smmsp 686268 Dec 30 13:50 sendmail* Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHf2DR8Mjk52CukIwRCCdDAJ97dbwlBhHeL8s+97C3dGy5DI7KwQCeKA9L cBqEBEfLO5hHwq65cDvZrYI= =DKg1 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Log archiving question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Walt Pawley wrote: I've had no difficulties with the change made on my Mac OS X Jaguar system - if it affects something, the something is something I apparently don't do. So, all that preamble brings me to my question. Are there things that modifying the archived log data file names would interfere with? There shouldn't be -- the archived log files are only there for reference. Any live logging action should go to the base (unnumbered) log file. However, it is possible to get into a state where a program is logging to a file that has no directory entry -- the symptoms there tend to be /var filling up according to df(1) but with plenty of space left according to du(1). That happens when the process doing the logging does not get signalled to close and reopen the log file - -- newsyslog will signal processes for you, but it defaults to signalling syslogd in the absence of any other instructions. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHf2Yt8Mjk52CukIwRCLfoAJ91oGyEKOsXtgwdBq8RoOyfx8+f4gCgiQQA cAQWIYASzkgVf0MZRJoAnV8= =QYkv -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: batch rename
Aryeh M. Friedman wrote: My goal is to rename several files in such a way as to decapitalize starting letters in their names. The solution seems to be simple but I'm stuck. What should I use? awk/sed or write some shell-script? This assumes tcsh: foreach i (`ls [A-Z][a-z]*`) mv $i `echo $i|tr 'A-Z' 'a-z'` end This will disfunction if the names have embedded white spaces. I happen to batch rename songs etc. which almost invariably have white spaces and other horrors. So i use something like mv $i `echo $i|sed -e 's/ */_/g' -e '.' ` Sed has the advantage you can do several transformations at one stroke, and fine tune the transformations. Double quotes avoid that the shell breaks names on white space. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Install order?
On Fri, 04 Jan 2008 22:51:51 -0600 David Reedy Jr [EMAIL PROTECTED] wrote: [snip] I'm setting this machine up as a local internet test server. I need to get Apache, MySQL and PHP installed, and I'm worried if there's a preferred /required order to get it to work right / at all. FWIW - I've checked the handbook, apache.org, php.net, and mysql.com. I keep feel like I'm going round in circles. First, make sure to run 'make config' in each port prior to installing them. All three have extensive options that you may want to get acquainted with. IMHO, I would install MySQL first to insure you get the version you wanted installed. Get MySQL up and running and then install Apache. Apache has lots of options and knobs. Read the documentation thoroughly. Finally, install PHP. Installing PHP last will insure that the proper information is added to the Apache 'httpd.conf' file. Check the PHP documentation. there are several other entries that you might well want included in the 'httpd.conf' file. -- Gerard [EMAIL PROTECTED] Barker's Proof: Proofreading is more effective after publication. signature.asc Description: PGP signature
Re: OT: fixing a broken key
On Fri, 4 Jan 2008 13:49:20 -0500 Aryeh Friedman [EMAIL PROTECTED] wrote: After cleaning my keyboard by removing the keys and using a damp paper towel to clean the keys and the area between contacts (there is a barrier between the area under the keys and the contact so it is very unlikely the contacts got wet) my r key now registers as being constantly pressed any ideas on how to correct this? I have spilled coffee on many keyboards myself. Quite frankly, unless you have an expensive keyboard, why not just replace it? You can get a generic KB for less than $10. Even if you have an expensive one, it might well still be under warranty, in which case I would simply return it for a replacement. IMHO, the time and effort, not to mention the mental anguish spent on this venture is not time well spent. Good Luck, you will probably need it. -- Gerard [EMAIL PROTECTED] Simulations are like miniskirts, they show a lot and hide the essentials. Hubert Kirrman signature.asc Description: PGP signature
Re: batch rename
On 05/01/08 Aryeh M. Friedman said: This assumes tcsh: foreach i (`ls [A-Z][a-z]*`) mv $i `echo $i|tr 'A-Z' 'a-z'` end sh version: for i in * do mv $i `echo $i | tr 'A-Z' 'a-z'` done Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein pgpfuDJn7M03a.pgp Description: PGP signature
Re: 7.0-PRERELEASE installworld fails
--- Boris Samorodov [EMAIL PROTECTED] wrote: Hi Boris, thanks for the reply. I'm making a kernel upgrade on 7.0-BETA4 with the today's sources downloaded by cvsup. Upgrade to what? (RELENG_7, RELENG_7_0, HEAD, etc.) RELENG_7 What architecture do you use (i386, amd64, etc.) i386 Did you use startdard make.conf (i.e. empty)? Yep, startdard make.conf. cat /etc/make.conf # added by use.perl 2007-12-23 12:18:54 PERL_VER=5.8.8 PERL_VERSION=5.8.8 Did you use GENERIC kernel? Yep, its GENERIC. make installworld fails with following error: cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/csu/i386-elf/../common -I/usr /src/lib/csu/i386-elf/../../libc/include -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arit h -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunu sed-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno -pointer-sign -c /usr/src/lib/csu/i386-elf/crt1.c /usr/src/lib/csu/i386-elf/crt1.c:33:20: error: stdlib.h: No such file or directory In file included from /usr/src/lib/csu/i386-elf/crt1.c:35: /usr/src/lib/csu/i386-elf/../../libc/include/libc_private.h:178:24: error: sys/_types.h: No such file or directory This may be caused by incorrect system clocks. My CMOS and date matches, date shows the time-zone correctly, therefore, these are the steps I did after reboot to singe-user: fsck -p mount -u / mount -a swapon -a /usr/local/bin/bash cd /usr/src/ adjkerntz -i /usr/src/usr.sbin/mergemaster/mergemaster.sh -p env -i make installworld installworld.log Regards Unga Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 7.0-PRERELEASE installworld fails
On Sat, 5 Jan 2008 05:25:29 -0800 (PST) Unga wrote: --- Boris Samorodov [EMAIL PROTECTED] wrote: I'm making a kernel upgrade on 7.0-BETA4 with the today's sources downloaded by cvsup. Upgrade to what? (RELENG_7, RELENG_7_0, HEAD, etc.) RELENG_7 What architecture do you use (i386, amd64, etc.) i386 Did you use startdard make.conf (i.e. empty)? Yep, startdard make.conf. cat /etc/make.conf # added by use.perl 2007-12-23 12:18:54 PERL_VER=5.8.8 PERL_VERSION=5.8.8 Did you use GENERIC kernel? Yep, its GENERIC. Hm, all this is just plain generic... make installworld fails with following error: ...but none should be compiled at installworld stage: cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/csu/i386-elf/../common -I/usr /src/lib/csu/i386-elf/../../libc/include -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arit h -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunu sed-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno -pointer-sign -c /usr/src/lib/csu/i386-elf/crt1.c /usr/src/lib/csu/i386-elf/crt1.c:33:20: error: stdlib.h: No such file or directory In file included from /usr/src/lib/csu/i386-elf/crt1.c:35: /usr/src/lib/csu/i386-elf/../../libc/include/libc_private.h:178:24: error: sys/_types.h: No such file or directory This may be caused by incorrect system clocks. My CMOS and date matches, date shows the time-zone Did you by any chance change time while source updating or world building? correctly, therefore, these are the steps I did after reboot to singe-user: fsck -p mount -u / mount -a swapon -a /usr/local/bin/bash cd /usr/src/ adjkerntz -i /usr/src/usr.sbin/mergemaster/mergemaster.sh -p env -i make installworld installworld.log This may be an overkill but should do the job: # rm -r /usr/src /usr/obj restore sources # cd /usr/src # make buildworld # make kernel # mergemaster -p # make installworld # mergemaster -i WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
compact portsnap db
Hello. Is there any way to compact /var/db/portsnap other than deleting it and doing postsnap fetch? -- С уважением, Michael mailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 7.0-PRERELEASE installworld fails
--- Boris Samorodov [EMAIL PROTECTED] wrote: Hm, all this is just plain generic... ...but none should be compiled at installworld stage: My buildworld.log shows following programs are already compliled in this order without any error: /usr/src/lib/csu/i386-elf/crt1.c /usr/src/lib/csu/i386-elf/crti.S /usr/src/lib/csu/i386-elf/crtn.S and make installworld also try to compile /usr/src/lib/csu/i386-elf/crt1.c. Did you by any chance change time while source updating or world building? This is highly probable. I can remember after the year change my system time was strangely wrong. I corrected it, but cannot remember was it during while source updating or world building. This may be an overkill but should do the job: # rm -r /usr/src /usr/obj restore sources # cd /usr/src # make buildworld # make kernel # mergemaster -p # make installworld # mergemaster -i Sure, I'll delete /usr/src, /usr/obj and download again the sources and give it a retry. Regards Unga Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Users login configuration
Hi list, i have a freebsd server connected in local network behind a router. is there a way to configure the sshd to allow to login some (group of) users with their passwords only from the local network and to allow login other (and part of these) users only with key pairs from the internet (on that side of the router)? Best Regards ivan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Upgrading the system: via sources or freebsd-update?
Hi all, I have a FreeBSD box and I’d like to know the pros and cons of the base system maintenance using the sources vs freebsd-update. At this time, I’m using cvsup, following the steps described in the handbook http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ cutting-edge.html and it works fine, but I’m curious about the possible advantages of freebsd-update, in particular the rollback feature. Is freebsd-update a better way to keep your system up to date? Should I stick with the source approach? Thank you in advance -- Giorgio Valoti ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 7.0-PRERELEASE installworld fails
On Sat, 5 Jan 2008 06:55:10 -0800 (PST) Unga wrote: Did you by any chance change time while source updating or world building? This is highly probable. I can remember after the year change my system time was strangely wrong. I corrected it, but cannot remember was it during while source updating or world building. OK, than that is the culprit. Than as a first option you may try to remove only /usr/obj: This may be an overkill but should do the job: # rm -r /usr/src /usr/obj restore sources # cd /usr/src # make buildworld # make kernel # mergemaster -p # make installworld # mergemaster -i Sure, I'll delete /usr/src, /usr/obj and download again the sources and give it a retry. BTW, if you are limited by traffic amount/speed you may install sources from a CD (if you have any) and then do a c(v)sup. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7.0-PRE/AMD64: missing f77/Fortran compiler ...
O. Hartmann wrote: Kris Kennaway wrote: O. Hartmann wrote: Sorry about the noise, but I miss g77 or f77 on my FreeBSD 7.0-PRE box. Where is it? Hasn't gcc 4.2 as incorporated in FreeBSD as the native compiler also a native fortran 90 compiler? No, you need to install the gfortran port. This is presumably documented in the release notes. Kris Thank you for the answer. Wouldn't it be more convenient for all having both the C/C++ and Fortran compiler aboard the operating system since the compiler suite is a whole piece? Well, no offense, but this remembers me on the time when SUN split the C-Compiler apart the OS or it looks like the behaviour of many Linux distribution even splitting header files apart from the OS. Hope FreeBSD will not tend to take apart header files and even the C compiler ... No, it's not convenient. There is a large maintenance cost for keeping the fortran compiler in the base system for little gain (nothing in FreeBSD uses it), and it is also only of use to a small subset of FreeBSD users, so this is a perfect situation where moving it to the ports collection made sense. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7.0-PRE/AMD64: missing f77/Fortran compiler ...
Kris Kennaway wrote: O. Hartmann wrote: Sorry about the noise, but I miss g77 or f77 on my FreeBSD 7.0-PRE box. Where is it? Hasn't gcc 4.2 as incorporated in FreeBSD as the native compiler also a native fortran 90 compiler? No, you need to install the gfortran port. This is presumably documented in the release notes. Kris Thank you for the answer. Wouldn't it be more convenient for all having both the C/C++ and Fortran compiler aboard the operating system since the compiler suite is a whole piece? Well, no offense, but this remembers me on the time when SUN split the C-Compiler apart the OS or it looks like the behaviour of many Linux distribution even splitting header files apart from the OS. Hope FreeBSD will not tend to take apart header files and even the C compiler ... Regards, Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: one solved ; yet one new issue.
Gary Kline wrote: no diff. i also filled in smart-host in the .mc file. i did a make install. no difference... gary Those would have no effect. Send the file to me. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: software raid 1 and recovery
On Fri, 2008-01-04 at 10:56 -0500, Brian A. Seklecki wrote: Google: nagios + seklecki + check_raid_gmirror Also check out sysutils/smartmontools/ Also, I recently updated the plugin code to r270 with some patches from Scott Swanson. You can see a small screenshot of it in action here: http://people.collaborativefusion.com/~seklecki/images/check_raid_gmirror_fbsd_nagiosWeb.png ~BAS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How do I get sendmail working again
HI, I've gotten myself into a real fix at this point. (This is a continuation of the thread I started, sendmail is broken, how do I fix?) I was trying to setup authentication based relaying using istructions at http://www.puresimplicity.net/~hemi/freebsd/sendmail.html. I must first say that I was trying to get authentication based relaying working by using the instructions in the handbook under the title SMTP Authentication. The two set of instructions do overlap slightly. Well, after following the instructions at the former link, sendmail will no longer start and is complaining with errors as follows from the /var/log/maillog file: Jan 4 17:36:42 whitbap sm-mta[975]: starting daemon (8.13.8): [EMAIL PROTECTED]:30:00 Jan 4 17:36:42 whitbap sm-mta[975]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Jan 4 17:36:42 whitbap sm-mta[975]: daemon MTA: problem creating SMTP socket Jan 4 17:36:42 whitbap sm-msp-queue[979]: starting daemon (8.13.8): [EMAIL PROTECTED]:30:00 Jan 4 17:36:42 whitbap sm-mta[978]: m010sNBM004564: to=[EMAIL PROTECTED], delay=3+23:42:19, xdelay=00:00:00, mailer=esmtp, pri=2555114, relay=mail02.interchangeusa.com. [63.251.210.81], dsn=4.0.0, stat=Deferred: Connection refused by mail02.interchangeusa.com. Jan 4 17:36:47 whitbap sm-mta[975]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Jan 4 17:36:47 whitbap sm-mta[975]: daemon MTA: problem creating SMTP socket Jan 4 17:36:52 whitbap sm-mta[975]: NOQUEUE: SYSERR(root): pendaemonsocket: daemon MTA: cannot bind: Address already in use Jan 4 17:36:52 whitbap sm-mta[975]: daemon MTA: problem creating SMTP socket Jan 4 17:36:57 whitbap sm-mta[975]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Jan 4 17:36:57 whitbap sm-mta[975]: daemon MTA: problem creating SMTP socket Jan 4 17:37:02 whitbap sm-mta[975]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Jan 4 17:37:02 whitbap sm-mta[975]: daemon MTA: problem creating SMTP socket Jan 4 17:37:07 whitbap sm-mta[975]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Jan 4 17:37:07 whitbap sm-mta[975]: daemon MTA: problem creating SMTP socket Jan 4 17:37:12 whitbap sm-mta[975]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Jan 4 17:37:12 whitbap sm-mta[975]: daemon MTA: problem creating SMTP socket Jan 4 17:37:17 whitbap sm-mta[975]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Jan 4 17:37:17 whitbap sm-mta[975]: daemon MTA: problem creating SMTP socket Jan 4 17:37:22 whitbap sm-mta[975]: NOQUEUE: SYSERR(root): pendaemonsocket: daemon MTA: cannot bind: Address already in use Jan 4 17:37:22 whitbap sm-mta[975]: daemon MTA: problem creating SMTP socket Jan 4 17:37:27 whitbap sm-mta[975]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Jan 4 17:37:27 whitbap sm-mta[975]: daemon MTA: problem creating SMTP socket Jan 4 17:37:32 whitbap sm-mta[975]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Jan 4 17:37:32 whitbap sm-mta[975]: daemon MTA: problem creating SMTP socket Jan 4 17:37:32 whitbap sm-mta[975]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: server SMTP socket wedged: exiting Someone asked me to post the result of doing, sockstat | grep :25 just after starting the sendmail process. Well, here's that output: whitbap# /etc/rc.d/sendmail start Starting sendmail. whitbap# sockstat | grep :25 root sendmail 1133 3 tcp4 *:25 *:* root sendmail 1133 5 tcp6 *:25 *:* whitbap# sockstat | grep :25 root sendmail 1133 3 tcp4 *:25 *:* root sendmail 1133 5 tcp6 *:25 *:* whitbap# sockstat | grep :25 root sendmail 1133 3 tcp4 *:25 *:* root sendmail 1133 5 tcp6 *:25 *:* whitbap# sockstat | grep :25 root sendmail 1133 3 tcp4 *:25 *:* root sendmail 1133 5 tcp6 *:25 *:* whitbap# sockstat | grep :25 root sendmail 1133 3 tcp4 *:25 *:* root sendmail 1133 5 tcp6 *:25 *:* whitbap# sockstat | grep :25 root sendmail 1133 3 tcp4 *:25 *:* root sendmail 1133 5 tcp6 *:25 *:* whitbap# sockstat | grep :25 whitbap# I do know for a fact that it's sendmail that's killing itself. Without anything else running related to mail (sendmail or dovecot) I wrote a little C program to open a socket and bind to port 25 and it works ok. Please help me. I have got to get this working for the church and at this point, I'm not sure how to make it work. Andy
RE: How do I get sendmail working again
Wanted to post the contents of my hostname.mc file: whitbap# cat whitbap.mc divert(-1) # # Copyright (c) 1983 Eric P. Allman # Copyright (c) 1988, 1993 # The Regents of the University of California. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright #notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright #notice, this list of conditions and the following disclaimer in the #documentation and/or other materials provided with the distribution. # 3. All advertising materials mentioning features or use of this software #must display the following acknowledgement: # This product includes software developed by the University of # California, Berkeley and its contributors. # 4. Neither the name of the University nor the names of its contributors #may be used to endorse or promote products derived from this software #without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # # # This is a generic configuration file for FreeBSD 5.X and later systems. # If you want to customize it, copy it to a name appropriate for your # environment and do the modifications there. # # The best documentation for this .mc file is: # /usr/share/sendmail/cf/README or # /usr/src/contrib/sendmail/cf/README # divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.30.2.2 2006/08/23 03:31:00 gshapiro Exp $') OSTYPE(freebsd6) DOMAIN(generic) FEATURE(access_db, `hash -o -TTMPF /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') dnl Uncomment to allow relaying based on your MX records. dnl NOTE: This can allow sites to use your server as a backup MX without dnl your permission. dnl FEATURE(relay_based_on_MX) dnl DNS based black hole lists dnl dnl DNS based black hole lists come and go on a regular basis dnl so this file will not serve as a database of the available servers. dnl For that, visit dnl http://directory.google.com/Top/Computers/Internet/Abuse/Spam/Blacklists/ dnl Uncomment to activate Realtime Blackhole List dnl information available at http://www.mail-abuse.com/ dnl NOTE: This is a subscription service as of July 31, 2001 dnl FEATURE(dnsbl) dnl Alternatively, you can provide your own server and rejection message: dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `550 Mail from ${client_addr} rejected, see http://mail-abuse.org/cgi-bin/lookup?; ${client_addr}') dnl Dialup users should uncomment and define this appropriately dnl define(`SMART_HOST', `your.isp.mail.server') dnl Uncomment the first line to change the location of the default dnl /etc/mail/local-host-names and comment out the second line. dnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw') define(`confCW_FILE', `-o /etc/mail/local-host-names') dnl Enable for both IPv4 and IPv6 (optional) DAEMON_OPTIONS(`Name=IPv4, Family=inet') DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') define(`confBIND_OPTS', `WorkAroundBroken') define(`confNO_RCPT_ACTION', `add-to-undisclosed') define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') FEATURE(`no_default_msa') MAILER(local) MAILER(smtp) dnl set SASL options dnl TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl dnl define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(`confAUTH_MECHANISMS',`PLAIN LOGIN')dnl TRUST_AUTH_MECH(`PLAIN LOGIN')dnl define(`CERT_DIR', `/etc/mail/certs')dnl define(`confCACERT_PATH', `CERT_DIR')dnl define(`confCACERT', `CERT_DIR/whitbap_cert.pem')dnl define(`confSERVER_CERT', `CERT_DIR/whitbap_cert.pem')dnl define(`confSERVER_KEY', `CERT_DIR/whitbap_key.pem')dnl define(`confCLIENT_CERT', `CERT_DIR/whitbap_cert.pem')dnl define(`confCLIENT_KEY', `CERT_DIR/whitbap_key.pem')dnl DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA')dnl Andy ___
Anyone using dovecot deliver for virtual users
Hi, Is anyone on this list, who's using dovecot, using dovecot deliver to deliver mail to virtual users? If so, what's the key to setting up the deliver process in sendmail? Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
My sendmail appears to be fixed, advice needed though
Hi everybody, Sorry for this flurry of e-mail from me over the last few days. This has been highly frustrating. At any rate, I think I've worked it out. Although, I'd like to have some folks look over this hostname.mc file and tell me if the fix is legitimate. Basically, the instructions for setting up SSL and Authentication (from http://www.puresimplicity.net/~hemi/freebsd/sendmail.html) instruct to have the following lines in the hostname.mc file: define(`confAUTH_MECHANISMS',`PLAIN LOGIN')dnl TRUST_AUTH_MECH(`PLAIN LOGIN')dnl define(`CERT_DIR', `/etc/mail/certs')dnl define(`confCACERT_PATH', `CERT_DIR')dnl define(`confCACERT', `CERT_DIR/mycert.pem')dnl define(`confSERVER_CERT', `CERT_DIR/mycert.pem')dnl define(`confSERVER_KEY', `CERT_DIR/mykey.pem')dnl define(`confCLIENT_CERT', `CERT_DIR/mycert.pem')dnl define(`confCLIENT_KEY', `CERT_DIR/mykey.pem')dnl DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')dnl I deleated this line: DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl And all is working ok now (at least it seems so). I also went over Josh's instructions with a finer tooth comb than before (I skipped a couple of steps because they looked identical to what was in the FreeBSD handbook for this, but found there were some very subtle differences). After recompiling and installing a new sendmail binary per Josh's instructions at the above line, I actually still have the can't bind to port problems, but things are now working as I said, without that line in the *.mc file. Is this a viable fix or will I be missing something? I was able to telnet to port 25 and send mail that way. I cannot relay without logging in, so I think it's fixed. Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: fixing a broken key
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gerard wrote: On Fri, 4 Jan 2008 13:49:20 -0500 Aryeh Friedman [EMAIL PROTECTED] wrote: After cleaning my keyboard by removing the keys and using a damp paper towel to clean the keys and the area between contacts (there is a barrier between the area under the keys and the contact so it is very unlikely the contacts got wet) my r key now registers as being constantly pressed any ideas on how to correct this? I have spilled coffee on many keyboards myself. Quite frankly, unless you have an expensive keyboard, why not just replace it? You can get a generic KB for less than $10. Even if you have an expensive one, it might well still be under warranty, in which case I would simply return it for a replacement. IMHO, the time and effort, not to mention the mental anguish spent on this venture is not time well spent. 1. Already replaced it 2. Even though it is inexpensive it is by far the most comfortable keyboard I have ever owned (and the replacement is designed for someone with toothpicks for fingers I think) - -- Aryeh M. Friedman FloSoft Systems, Java Developer Tools http://www.flosoft-systems.com Developer, not business, friendly. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHf+RajRvRjGmHRgQRAhOeAJ91lrbofOfmDvYcJApjgu4o4pKj1ACfQDIQ T+m1lzIXVcCaVwQjMHhkysA= =rdfk -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
xf86-video drivers
I'm running FBSD6 stable and using portupgrade to manage my ports. I was wondering how do you stop all of these video drivers from building and installing when all I need is xf86-video-nv? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PF and fitering statefull on GIF interface
Hi all, im using FreeBSD 6.2-p9 on my server which acts as IPSec router using ipsec-tools. This works fine... But now i need to filter traffic which comes from the local private network to the vpn private network. I tried todo this with pf and using keep state. The return packets just get dropped. So I reread the gif manpage and read about the IPSEC_FILTERGIF option. I rebuilded the kernel with the option and tried it again. No luck! So I suspect this option is only valid for ipfw and ipf ? Any idea how i can use pf + ipsec ( over gif interface ) to filter the needed stuff. This for example not work: LOCAL_NET = 10.0.0.0/24 VPN_REMOTE_NET = 192.168.10.0/28 pass proto tcp from $LOCAL_NET to $VPN_REMOTE_NET port 22 flags S/SA keep state This works: LOCAL_NET = 10.0.0.0/24 VPN_REMOTE_NET = 192.168.10.0/28 pass proto tcp from $LOCAL_NET to $VPN_REMOTE_NET port 22 pass proto tcp from $VPN_REMOTE_NET port 22 to $LOCAL_NET Thx for the help bye Norman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
xf86-video drivers
E. J. Cerejo writes: I'm running FBSD6 stable and using portupgrade to manage my ports. I was wondering how do you stop all of these video drivers from building and installing when all I need is xf86-video-nv? pd /usr/ports/x11-drivers/xorg-drivers make config Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xf86-video drivers
On Sat, Jan 05, 2008 at 03:49:42PM -0500, E. J. Cerejo wrote: I'm running FBSD6 stable and using portupgrade to manage my ports. I was wondering how do you stop all of these video drivers from building and installing when all I need is xf86-video-nv? # cd /usr/ports/x11-drivers/xorg-drivers # make config Uncheck all the ones you don't want, then # make deinstall reinstall to unregister the drivers you just removed, and finally uninstall all the unwanted ones from the system. Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpulwDxKTwyF.pgp Description: PGP signature
Re: My sendmail appears to be fixed, advice needed though
On 2008-01-05 13:08, Andrew Falanga [EMAIL PROTECTED] wrote: Hi everybody, Sorry for this flurry of e-mail from me over the last few days. This has been highly frustrating. You should post *more* details, not less. One of the things which was missing from the older posts (or at least, one thing which I didn't see) was a *FULL* copy of your local *.mc configuration file. Basically, the instructions for setting up SSL and Authentication (from http://www.puresimplicity.net/~hemi/freebsd/sendmail.html) instruct to have the following lines in the hostname.mc file: define(`confAUTH_MECHANISMS',`PLAIN LOGIN')dnl TRUST_AUTH_MECH(`PLAIN LOGIN')dnl define(`CERT_DIR', `/etc/mail/certs')dnl define(`confCACERT_PATH', `CERT_DIR')dnl define(`confCACERT', `CERT_DIR/mycert.pem')dnl define(`confSERVER_CERT', `CERT_DIR/mycert.pem')dnl define(`confSERVER_KEY', `CERT_DIR/mykey.pem')dnl define(`confCLIENT_CERT', `CERT_DIR/mycert.pem')dnl define(`confCLIENT_KEY', `CERT_DIR/mykey.pem')dnl DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')dnl I deleated this line: DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl That doesn't sound right. I think it's because you have the options listed above *after* the MAILER() calls. This means that the options are not `set' at the time the MAILER() calls generate your configuration. So you probably end up with several instances of the `MTA' and `TLSMTA' daemon definitions in the final `sendmail.cf' file. This could very well be the explanation of why your Sendmail *is* listening on port :25 and it *also* tries to listen again, logging the failures in syslog. Is this a viable fix or will I be missing something? I was able to telnet to port 25 and send mail that way. I cannot relay without logging in, so I think it's fixed. See my previous post about moving MAILER() calls to the end of the file, and give it another spin. You are *very* close to figuring it all out and having a fully working setup, AFAICT :) Regards, Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Finally, Flash seems to be working for Me :)
On 2008-01-04 00:42, Aryeh Friedman [EMAIL PROTECTED] wrote: On 1/4/08, Robert Huff [EMAIL PROTECTED] wrote: Rudy writes: I do do more than watch youtube videos, but people send me links and I'm always bummed if I have to reboot into Ubuntu just to see a stupid video :) What you need is www/youtube-dl. Deposits the content in a form that can be played by mplayer (and presuably others). I forget the exact name of it (away from my desktop machine) but there is an extension for firefox that wraps all video plugins to use an external player like mplayer Lots of them, in fact. The one I use is called UnPlug. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HOW-TO get Flash7 working!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rudy wrote: With all this talk about FLASH, I found something out by trial and error and want to post again to the list so that others searching can get the FLASH player working in their brower: THIS STEP IS NEEDED OR FLASH WILL NOT WORK: sysctl compat.linux.osrelease=2.6.20 I am using 8-current (amd64) and found all I needed to do was install www/linux-flashplugin7 then do a nspluginwrapper -v -a -i and flash works fine (as far I can tell)... does this add any functionality I am not aware of? (namely some sites seem to partially load like the graphs at whos.among.us [the easiest way to test this is go to the site in my signature then click on the 3rd icon at the bottom and then click on graphs]) Better yet, add this to your /etc/sysctl.conf file and reboot: compat.linux.osrelease=2.6.20 NOTE: I just picked 2.6.20 kinda at random... seems like that is the linux kernel number (which I know nothing about) for the Fedora 7 release. Oh, and I installed Fedora 7 instead of the default Fedora Core 4 on my desktop. Why does the linux emulation pick 2.4.2 as the kernel version number to report (by default) and not 2.6.11 (their kernel version shipped with Fedora 4)? Seems like the ports should and linux module should be updated... Rudy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] - -- Aryeh M. Friedman FloSoft Systems, Java Developer Tools http://www.flosoft-systems.com Developer, not business, friendly. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHf/9jjRvRjGmHRgQRAtysAJwMxduZXiwaWysp3rZ6Lwp4pzBu0wCggGIj zudbR20t8JOEJMiWL0G6agk= =VM8Y -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Finally, Flash seems to be working for Me :)
Robert Huff wrote: What you need is www/youtube-dl. Deposits the content in a form that can be played by mplayer (and presuably others). That seems like an extra step... People that want to be more efficient with their time -- even when watching youtube :) -- don't want to mess around with extra steps. I guess if people have time to care about the fact that they don't want to use a corporate produced plugin but still want to watch content created for that corporate plugin, then they have time to mess with that youtube plugin. Frankly, I -- and the majority of Internet users -- just need to be able to access Flash content -- youtube and other sites -- to get work done quickly and efficiently. The less time I spend on the 'puter, the better. Speaking of, time to go bake some apple tarts, I'm outta here. :) Happy New Year, RUdy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
HOW-TO get Flash7 working!
With all this talk about FLASH, I found something out by trial and error and want to post again to the list so that others searching can get the FLASH player working in their brower: THIS STEP IS NEEDED OR FLASH WILL NOT WORK: sysctl compat.linux.osrelease=2.6.20 Better yet, add this to your /etc/sysctl.conf file and reboot: compat.linux.osrelease=2.6.20 NOTE: I just picked 2.6.20 kinda at random... seems like that is the linux kernel number (which I know nothing about) for the Fedora 7 release. Oh, and I installed Fedora 7 instead of the default Fedora Core 4 on my desktop. Why does the linux emulation pick 2.4.2 as the kernel version number to report (by default) and not 2.6.11 (their kernel version shipped with Fedora 4)? Seems like the ports should and linux module should be updated... Rudy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
oss port
Hi! I like to install port oss on FreeBSD 7 beta4 and I got an error: make = oss-v4.0-build1012-src-bsd.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. = Attempting to fetch from http://www.opensound.com/developer/sources/stable/bsd/. fetch: http://www.opensound.com/developer/sources/stable/bsd/oss-v4.0-build1012-src-bsd.tar.bz2: size mismatch: expected 1273559, actual 1258967 = Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/oss-v4.0-build1012-src-bsd.tar.bz2: File unavailable (e.g., file not found, no access) = Couldn't fetch it - please try to retrieve this = port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop in /usr/ports/audio/oss. Thanks in advance. Mitja -- Honk if you hate bumper stickers that say Honk if ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Paging Matthew Seaman
On 2008-01-04 09:59, Paul Schmehl [EMAIL PROTECTED] wrote: I figure if anyone knows the answer to this off the top of their head, Matthew will. I'm sure Matthew knows the answer, but you should use a more relevant subject. This way the archived posts will be more useful to future posters. I've been reading the man pages for du and df, but I can't find the right combination. I'd like to get the type of output that df -h gives you but only for one mount point or even one directory. Is there a tool that can do that? (IOW, I'd like to run du -h but only get the totals for directories.) Use the -s option of the `du' utility: [EMAIL PROTECTED]:/home/keramida$ du -sk tmp/emacs-src 187436 tmp/emacs-src [EMAIL PROTECTED]:/home/keramida$ du -sh tmp/emacs-src 183Mtmp/emacs-src [EMAIL PROTECTED]:/home/keramida$ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
unpack win32 exe file
Hi I have a Windows executable file (.exe) which in a Windows environment would be run to extract some files which it contains. Is there any way I can extract the files on my FreeBSD system? I've tried unzip, gunzip and archivers/upx with various extensions, zip, exe, gz etc but they all fail in one way or another. I know I could find a windows machine but I would really like to know if it's possible. Unzip looks as if it ought to do it but I get End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of iata78_enu.exe or iata78_enu.exe.zip, and cannot find iata78_enu.exe.ZIP, period. Thanks Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: oss port
aJTiM wrote: Hi! I like to install port oss on FreeBSD 7 beta4 and I got an error: make = oss-v4.0-build1012-src-bsd.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. = Attempting to fetch from http://www.opensound.com/developer/sources/stable/bsd/. fetch: http://www.opensound.com/developer/sources/stable/bsd/oss-v4.0-build1012-src-bsd.tar.bz2: size mismatch: expected 1273559, actual 1258967 = Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/oss-v4.0-build1012-src-bsd.tar.bz2: File unavailable (e.g., file not found, no access) = Couldn't fetch it - please try to retrieve this = port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop in /usr/ports/audio/oss. Thanks in advance. Mitja Talk to the maintainer, it looks like the distfile was changed by the vendor so the port will need to be adapted to fix it. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HOW-TO get Flash7 working!
On Saturday 05 January 2008 22:06:27 Aryeh M. Friedman wrote: I am using 8-current (amd64) and found all I needed to do was install www/linux-flashplugin7 then do a nspluginwrapper -v -a -i and flash works fine (as far I can tell)... does this add any functionality I am not aware of? (namely some sites seem to partially load like the graphs at whos.among.us [the easiest way to test this is go to the site in my signature then click on the 3rd icon at the bottom and then click on graphs]) Does one download the flashplugin for Linux (version 7) from the Macromedia website? I was unable to install it from within FreeBSD because the necessary files are not available. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do I get sendmail working again
On 2008-01-05 11:18, Andrew Falanga [EMAIL PROTECTED] wrote: Wanted to post the contents of my hostname.mc file: whitbap# cat whitbap.mc [...] FEATURE(`no_default_msa') MAILER(local) MAILER(smtp) This part seems ok. dnl set SASL options dnl TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl dnl define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(`confAUTH_MECHANISMS',`PLAIN LOGIN')dnl TRUST_AUTH_MECH(`PLAIN LOGIN')dnl define(`CERT_DIR', `/etc/mail/certs')dnl define(`confCACERT_PATH', `CERT_DIR')dnl define(`confCACERT', `CERT_DIR/whitbap_cert.pem')dnl define(`confSERVER_CERT', `CERT_DIR/whitbap_cert.pem')dnl define(`confSERVER_KEY', `CERT_DIR/whitbap_key.pem')dnl define(`confCLIENT_CERT', `CERT_DIR/whitbap_cert.pem')dnl define(`confCLIENT_KEY', `CERT_DIR/whitbap_key.pem')dnl DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA')dnl But I'm not sure it is a good idea to keep options like these *AFTER* the MAILER() macros. The `README' file of Sendmail's macros says: % Beware: MAILER declarations should only be followed by LOCAL_* % sections. The general rules are that the order should be: % % VERSIONID % OSTYPE % DOMAIN % FEATURE % local macro definitions % MAILER % LOCAL_CONFIG % LOCAL_RULE_* % LOCAL_RULESETS % % There are a few exceptions to this rule. Local macro definitions which % influence a FEATURE() should be done before that feature. For example, % a define(`PROCMAIL_MAILER_PATH', ...) should be done before % FEATURE(`local_procmail'). You can read the entire `README' file at: /usr/share/sendmail/cf/README But first give it a try, and move the last part of your *.mc file before the MAILER() macro calls. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: oss port
Kris Kennaway wrote: aJTiM wrote: Hi! I like to install port oss on FreeBSD 7 beta4 and I got an error: make = oss-v4.0-build1012-src-bsd.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. = Attempting to fetch from http://www.opensound.com/developer/sources/stable/bsd/. fetch: http://www.opensound.com/developer/sources/stable/bsd/oss-v4.0-build1012-src-bsd.tar.bz2: size mismatch: expected 1273559, actual 1258967 = Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/oss-v4.0-build1012-src-bsd.tar.bz2: File unavailable (e.g., file not found, no access) = Couldn't fetch it - please try to retrieve this = port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop in /usr/ports/audio/oss. Thanks in advance. Mitja Talk to the maintainer, it looks like the distfile was changed by the vendor so the port will need to be adapted to fix it. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] You can get the package directly from the Open Sound System web site and simply add with the command pkg_add name.of.the.package. In that case you do not need to oss_enable=YES in your /etc/rc.conf. It is enough that you just reboot computer so that OSS pick up the devices. Good Luck, Predrag ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HOW-TO get Flash7 working!
Aryeh M. Friedman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rudy wrote: With all this talk about FLASH, I found something out by trial and error and want to post again to the list so that others searching can get the FLASH player working in their brower: THIS STEP IS NEEDED OR FLASH WILL NOT WORK: sysctl compat.linux.osrelease=2.6.20 I am using 8-current (amd64) and found all I needed to do was install www/linux-flashplugin7 then do a nspluginwrapper -v -a -i and flash works fine (as far I can tell)... does this add any functionality I am not aware of? (namely some sites seem to partially load like the graphs at whos.among.us [the easiest way to test this is go to the site in my signature then click on the 3rd icon at the bottom and then click on graphs]) Better yet, add this to your /etc/sysctl.conf file and reboot: compat.linux.osrelease=2.6.20 NOTE: I just picked 2.6.20 kinda at random... seems like that is the linux kernel number (which I know nothing about) for the Fedora 7 release. Oh, and I installed Fedora 7 instead of the default Fedora Core 4 on my desktop. Why does the linux emulation pick 2.4.2 as the kernel version number to report (by default) and not 2.6.11 (their kernel version shipped with Fedora 4)? Seems like the ports should and linux module should be updated... Rudy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] - -- Aryeh M. Friedman FloSoft Systems, Java Developer Tools http://www.flosoft-systems.com Developer, not business, friendly. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHf/9jjRvRjGmHRgQRAtysAJwMxduZXiwaWysp3rZ6Lwp4pzBu0wCggGIj zudbR20t8JOEJMiWL0G6agk= =VM8Y -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Thank You! I tried getting flash to work in FreeBSD so many times and failed. It wasn't a big deal but it was annoying to have to boot into another system if there is content I needed to see that happens to be flash. I'm running FreeBSD 7 Beta4. I just did what you said: cd /usr/ports/www/linux-flashplugin7 make config-recursive install clean nspluginwrapper -v -a -i After that a flash content was playing in firefox. Unfortunately my AudigyLS soundcard only works with oss, which is having some problems now, so I was not able to verify that sound works well. By the way, I had some problems installing flash7 from ports a few days ago. It didn't like the size of the file and would fail even if you downloaded from Adobe and copied to ports/disfiles. I later did a 'portsnap fetch update' that must have gotten updated makefiles and fixed that problems. Anybody else with that issue should try updating the ports collection. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: My sendmail appears to be fixed, advice needed though
Well, oddly enough I moved those additional lines to a position before the MAILER macros (I'll post the whitbap.mc file below as it exists now). However, I still got those error messages: Jan 5 18:29:10 whitbap sm-mta[6207]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Jan 5 18:29:10 whitbap sm-mta[6207]: daemon MTA: problem creating SMTP socket Jan 5 18:29:15 whitbap sm-mta[6207]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Anyway, I'm going to remove that line I mentioned before as this seems to make things work. Please help me to resolve this and thanks very much for the help, this is great. Andy whitbap# cat whitbap.mc divert(-1) # # Copyright (c) 1983 Eric P. Allman # Copyright (c) 1988, 1993 # The Regents of the University of California. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright #notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright #notice, this list of conditions and the following disclaimer in the #documentation and/or other materials provided with the distribution. # 3. All advertising materials mentioning features or use of this software #must display the following acknowledgement: # This product includes software developed by the University of # California, Berkeley and its contributors. # 4. Neither the name of the University nor the names of its contributors #may be used to endorse or promote products derived from this software #without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # # # This is a generic configuration file for FreeBSD 5.X and later systems. # If you want to customize it, copy it to a name appropriate for your # environment and do the modifications there. # # The best documentation for this .mc file is: # /usr/share/sendmail/cf/README or # /usr/src/contrib/sendmail/cf/README # divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.30.2.2 2006/08/23 03:31:00 gshapiro Exp $') OSTYPE(freebsd6) DOMAIN(generic) FEATURE(access_db, `hash -o -TTMPF /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') dnl Uncomment to allow relaying based on your MX records. dnl NOTE: This can allow sites to use your server as a backup MX without dnl your permission. dnl FEATURE(relay_based_on_MX) dnl DNS based black hole lists dnl dnl DNS based black hole lists come and go on a regular basis dnl so this file will not serve as a database of the available servers. dnl For that, visit dnl http://directory.google.com/Top/Computers/Internet/Abuse/Spam/Blacklists/ dnl Uncomment to activate Realtime Blackhole List dnl information available at http://www.mail-abuse.com/ dnl NOTE: This is a subscription service as of July 31, 2001 dnl FEATURE(dnsbl) dnl Alternatively, you can provide your own server and rejection message: dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `550 Mail from ${client_addr} rejected, see http://mail-abuse.org/cgi-bin/lookup?; ${client_addr}') dnl Dialup users should uncomment and define this appropriately dnl define(`SMART_HOST', `your.isp.mail.server') dnl Uncomment the first line to change the location of the default dnl /etc/mail/local-host-names and comment out the second line. dnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw') define(`confCW_FILE', `-o /etc/mail/local-host-names') dnl Enable for both IPv4 and IPv6 (optional) DAEMON_OPTIONS(`Name=IPv4, Family=inet') DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') define(`confAUTH_MECHANISMS',`PLAIN LOGIN')dnl TRUST_AUTH_MECH(`PLAIN LOGIN')dnl define(`CERT_DIR', `/etc/mail/certs')dnl define(`confCACERT_PATH', `CERT_DIR')dnl define(`confCACERT', `CERT_DIR/whitbap_cert.pem')dnl define(`confSERVER_CERT', `CERT_DIR/whitbap_cert.pem')dnl define(`confSERVER_KEY',
Re: My sendmail appears to be fixed, advice needed though
On Saturday 05 January 2008 15:06:59 Giorgos Keramidas wrote: On 2008-01-05 13:08, Andrew Falanga [EMAIL PROTECTED] wrote: Hi everybody, Sorry for this flurry of e-mail from me over the last few days. This has been highly frustrating. You should post *more* details, not less. One of the things which was missing from the older posts (or at least, one thing which I didn't see) was a *FULL* copy of your local *.mc configuration file. Basically, the instructions for setting up SSL and Authentication (from http://www.puresimplicity.net/~hemi/freebsd/sendmail.html) instruct to have the following lines in the hostname.mc file: define(`confAUTH_MECHANISMS',`PLAIN LOGIN')dnl TRUST_AUTH_MECH(`PLAIN LOGIN')dnl define(`CERT_DIR', `/etc/mail/certs')dnl define(`confCACERT_PATH', `CERT_DIR')dnl define(`confCACERT', `CERT_DIR/mycert.pem')dnl define(`confSERVER_CERT', `CERT_DIR/mycert.pem')dnl define(`confSERVER_KEY', `CERT_DIR/mykey.pem')dnl define(`confCLIENT_CERT', `CERT_DIR/mycert.pem')dnl define(`confCLIENT_KEY', `CERT_DIR/mykey.pem')dnl DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')dnl I deleated this line: DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl That doesn't sound right. I think it's because you have the options listed above *after* the MAILER() calls. This means that the options are not `set' at the time the MAILER() calls generate your configuration. So you probably end up with several instances of the `MTA' and `TLSMTA' daemon definitions in the final `sendmail.cf' file. This could very well be the explanation of why your Sendmail *is* listening on port :25 and it *also* tries to listen again, logging the failures in syslog. Is this a viable fix or will I be missing something? I was able to telnet to port 25 and send mail that way. I cannot relay without logging in, so I think it's fixed. See my previous post about moving MAILER() calls to the end of the file, and give it another spin. You are *very* close to figuring it all out and having a fully working setup, AFAICT :) Regards, Giorgos Glad to see that I'm on the right track. I think, after seeing the full contents of my whitbap.mc file, you'll see that the problem is that put these lines *after* the MAILER lines. At any rate, here's the full whitbap.mc file and sorry for not posting it completely before: whitbap# cat whitbap.mc divert(-1) # # Copyright (c) 1983 Eric P. Allman # Copyright (c) 1988, 1993 # The Regents of the University of California. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright #notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright #notice, this list of conditions and the following disclaimer in the #documentation and/or other materials provided with the distribution. # 3. All advertising materials mentioning features or use of this software #must display the following acknowledgement: # This product includes software developed by the University of # California, Berkeley and its contributors. # 4. Neither the name of the University nor the names of its contributors #may be used to endorse or promote products derived from this software #without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # # # This is a generic configuration file for FreeBSD 5.X and later systems. # If you want to customize it, copy it to a name appropriate for your # environment and do the modifications there. # # The best documentation for this .mc file is: # /usr/share/sendmail/cf/README or # /usr/src/contrib/sendmail/cf/README # divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.30.2.2 2006/08/23 03:31:00 gshapiro Exp $') OSTYPE(freebsd6) DOMAIN(generic) FEATURE(access_db, `hash -o -TTMPF /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') dnl
Re: unpack win32 exe file
Ave! Sat, 05 Jan 2008 23:10:03 + Chris Whitehouse wrote: Is there any way I can extract the files on my FreeBSD system? A version: 1. install wine port: cd /usr/ports/emulators/wine/ make install clean 2. download and install under wine TC: http://www.ghisler.com/download.htm 3. use MSI Plus 0.5 plugin for TC: http://www.totalcmd.net/plugring/msiplus.html or use MSI 1.2 plugin for TC: http://www.totalcmd.net/plugring/msi.html B version: 1. install wine port: cd /usr/ports/emulators/wine/ make install clean 2. download and install under wine Universal Extractor: http://legroom.net/software/uniextract -- Üdvözlettel:The server is unwilling Cemasko Viktor. to process the request... © MS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Future development of Jail (was Re: corporate backers of freebsd)
-Original Message- From: Andy Dills [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 02, 2008 9:29 AM To: Ted Mittelstaedt Cc: freebsd-questions@freebsd.org Subject: RE: Future development of Jail (was Re: corporate backers of freebsd) On Wed, 2 Jan 2008, Ted Mittelstaedt wrote: I don't. In the entire history of computers every time there has been a horsepower increase, the normal software that people run on the system has bloated to consume all available additional horsepower. Really? So how has the amount of horsepower required to handle centralized radius authentication, or provide DNS resolution, or static web service grown over the years? Good question and one that I'd suggest you as Microsoft. You have apparently never run the Microsot authentication server. I'm not talking about the normal software that people run on a system. So am I. I've watched for a decade as the load generated by certain services has stayed flat, however for security considerations they should not be combined onto the same operating envrionment. Are you trying to tell me that your shell server's utilization has just continued to grow over the years, that you've had to continuously upgrade the hardware to keep up with the demands of pine, tin, emacs, mutt, vim, irc, eggdrop, ezbounce, or whatever your customers are running? Please. I have watched as over the years the number of shell customers has continued to drop. Today I think we have no more than 5 left. And not for the lack of current versions of those utilities being available on the shell server. What you are doing is akin to saying that since the modern CPU can virtualize hundreds of 1MB 8086 real-mode sessions that we ought to be able to run hundreds of instances of WordPerfect for DOS on a typical modern PC. Well guess what - WE COULD! If someone wrote the software to do it, of course. I'm talking about professionally hosted services, you're talking about WordPerfect. Amateur hour starts at 5PM, the signups are over there. No, YOUR talking WordPerfect. When was the last time you saw a Linux user running a NON-graphical program? Programs like pine and tin are not what the VAST MAJORITY of UNIX users are running. They are running Gnome programs or Aqua programs on MacOS X. This in no way should be construed as a comment that programs like Pine are no good. On the contrary. I like it a lot. But, my life would be a lot easier if our customers were all running it instead of the bloatware that they run that does the same job, and that gets bigger, slower and fatter every new version that comes out. In the future I predict that ordinary standard desktop software is going to require: numerous processors with numerous cores and several gigs of memory, fast busses and standard multiple gige ports, inexpensive solid state disks as a MINIMUM system configuration, and people will think NOTHING of it. Code always bloats to fill all available machine power. Desktop software? Shouldn't you be posting on a linux mailing list? You are talking about running multiple sessions being inevitable. If your going to restrict this to ONLY server programs - why then you have your answer as to why jail is a dead-end. Incidentally, that is NOT what most people are doing with multiple sessions. Do you even know? The biggest market for multisession software today is Microsoft Terminal Server. They aren't running multiple sessions of server programs on it. They are running multiple sessions of DESKTOP SOFTWARE on it. What use is a program like jail if it can't be used to centralize user computing to a big powerful system like your talking? The ordinary administrators big headaches today AREN'T the server software. They are the USER software. UNIX has had X-Windows for years that allow you to do this. Windows now has it with MS Terminal Server. That's what is hot in multisession computing these days. Not 20 year old character mode programs. We seem to be very close to having the ability to completely segregate the control-plane from the data-plane (using router terminology). We had that ability with commodity cheap desktop hardware a decade ago. But, nobody wrote software to take advantage of the commodity cheap desktop hardware to do this back then, for the same reasons that the jail developer lost interest today. Actually, somebody was paying the jail developer, and then wasn't. More to the point, no, we didn't have the ability a decade ago to seperate CP from DP. A decade ago we were dealing with silly things like the maximum size of a partition, how to handle USB, how to scale to multiple processors, how to acheive line rate on gige, etc. Sure, sure. Believe what you want. I brought up my first PRODUCTION FreeBSD server in a commercial corporate network over 13 years ago. And that doesen't count the years prior to this spend on FreeBSD, and the
module loads from kldload, but gives Unsupported file type from loader.conf
I successfully built snd_hda on my 6.3amd64 system, so I placed it in loader.conf (snd_hda_load=YES), when I boot, dmesg shows: kldload: Unsupported file type If I sudo kldload snd_hda, dmesg shows: kldload: Unsupported file type kldload: Unsupported file type pcm0: Intel 82801G High Definition Audio Controller mem 0xfdff8000-0xfdffbfff irq 16 at device 27.0 on pci0 pcm0: HDA Codec: Realtek ALC883 pcm0: HDA Driver Revision: 20071129_0050 Note: on startup, there is one unsupported, after kldload, there is two, but the module loads sucessfully! Anyone heard of this ?!? Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: My sendmail appears to be fixed, advice needed though
On 2008-01-05 17:13, Andrew Falanga [EMAIL PROTECTED] wrote: Well, oddly enough I moved those additional lines to a position before the MAILER macros (I'll post the whitbap.mc file below as it exists now). However, I still got those error messages: Jan 5 18:29:10 whitbap sm-mta[6207]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Jan 5 18:29:10 whitbap sm-mta[6207]: daemon MTA: problem creating SMTP socket Jan 5 18:29:15 whitbap sm-mta[6207]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Anyway, I'm going to remove that line I mentioned before as this seems to make things work. Please help me to resolve this and thanks very much for the help, this is great. Ok, not can you show us the contents of `/etc/rc.conf' related to Sendmail? It's the next thing we have to check to ensure you are not starting up multiple Sendmail listeners on the default smtp port. % grep -i sendmail /etc/rc.conf should do it :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[HOW-TO] cvsup for ports -- Re: compact portsnap db
Michael Lednev wrote: Hello. Is there any way to compact /var/db/portsnap other than deleting it and doing postsnap fetch? I don't like portsnap -- granted I've never typed the portsnap command in my 10 years of FreeBSD use. I use cvsup! More info: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html QUick HOW-TO Make a file called /usr/src/ports-supfile - #/usr/src/ports-supfile *default host=cvsup8.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix *default compress ports-all - Then, run this command: cvsup /usr/src/ports-supfile If you don't have cvsup installed, run this command: # pkg_add -r cvsup-without-gui For more info on the supfile, look at this file on your FreeBSD machine: /usr/share/examples/cvsup/ports-supfile Preferring cvsup to portsnap is kinda like preferring vim over emacs... It's a holy war and the vi/cvsup side uses less disk space. - Rudy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: My sendmail appears to be fixed, advice needed though
On Saturday 05 January 2008 19:26:30 Giorgos Keramidas wrote: On 2008-01-05 17:13, Andrew Falanga [EMAIL PROTECTED] wrote: Well, oddly enough I moved those additional lines to a position before the MAILER macros (I'll post the whitbap.mc file below as it exists now). However, I still got those error messages: Jan 5 18:29:10 whitbap sm-mta[6207]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Jan 5 18:29:10 whitbap sm-mta[6207]: daemon MTA: problem creating SMTP socket Jan 5 18:29:15 whitbap sm-mta[6207]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Address already in use Anyway, I'm going to remove that line I mentioned before as this seems to make things work. Please help me to resolve this and thanks very much for the help, this is great. Ok, not can you show us the contents of `/etc/rc.conf' related to Sendmail? It's the next thing we have to check to ensure you are not starting up multiple Sendmail listeners on the default smtp port. % grep -i sendmail /etc/rc.conf should do it :) You bet. whitbap# grep -i sendmail /etc/rc.conf #20071229 A. Falanga; these two are needed to allow for sendmail to listen sendmail_enable=YES Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HOW-TO get Flash7 working!
By the way, I had some problems installing flash7 from ports a few days ago. It didn't like the size of the file and would fail even if you downloaded from Adobe and copied to ports/disfiles. I later did a 'portsnap fetch update' that must have gotten updated makefiles and fixed that problems. Anybody else with that issue should try updating the ports collection. Super you got it running. PS, I had to do that as well... rm /usr/ports/distfiles/flashplugin/fp7_archive.zip From full original instructions: http://lists.freebsd.org/pipermail/freebsd-questions/2008-January/165920.html Updating your ports (with portsnap or the cvsup) when trying to fix problems is always a good idea. Sometimes when everything seems busted the portupgrade tool can be helpful in rebuilding all your ports. Set it running before you go to bed, and ta-da, in the morning everything is working -- or completely broken :) Rudy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HOW-TO get Flash7 working!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greg Mars wrote: Aryeh M. Friedman wrote: Rudy wrote: With all this talk about FLASH, I found something out by trial and error and want to post again to the list so that others searching can get the FLASH player working in their brower: THIS STEP IS NEEDED OR FLASH WILL NOT WORK: sysctl compat.linux.osrelease=2.6.20 I am using 8-current (amd64) and found all I needed to do was install www/linux-flashplugin7 then do a nspluginwrapper -v -a -i and flash works fine (as far I can tell)... does this add any functionality I am not aware of? (namely some sites seem to partially load like the graphs at whos.among.us [the easiest way to test this is go to the site in my signature then click on the 3rd icon at the bottom and then click on graphs]) Better yet, add this to your /etc/sysctl.conf file and reboot: compat.linux.osrelease=2.6.20 NOTE: I just picked 2.6.20 kinda at random... seems like that is the linux kernel number (which I know nothing about) for the Fedora 7 release. Oh, and I installed Fedora 7 instead of the default Fedora Core 4 on my desktop. Why does the linux emulation pick 2.4.2 as the kernel version number to report (by default) and not 2.6.11 (their kernel version shipped with Fedora 4)? Seems like the ports should and linux module should be updated... Rudy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Thank You! I tried getting flash to work in FreeBSD so many times and failed. It wasn't a big deal but it was annoying to have to boot into another system if there is content I needed to see that happens to be flash. I'm running FreeBSD 7 Beta4. I just did what you said: cd /usr/ports/www/linux-flashplugin7 make config-recursive install clean nspluginwrapper -v -a -i After that a flash content was playing in firefox. Unfortunately my AudigyLS soundcard only works with oss, which is having some problems now, so I was not able to verify that sound works well. I don't use OSS so have no idea on the issue there. By the way, I had some problems installing flash7 from ports a few days ago. It didn't like the size of the file and would fail even if you downloaded from Adobe and copied to ports/disfiles. I later did a 'portsnap fetch update' that must have gotten updated makefiles and fixed that problems. Anybody else with that issue should try updating the ports collection. The problem a few days ago was because the distfiles had been updated one way to fix this (which is what I did) is do a make makesum which will recalculate the checksums found in the distinfo file. - -- Aryeh M. Friedman FloSoft Systems, Java Developer Tools http://www.flosoft-systems.com Developer, not business, friendly. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHgEhQjRvRjGmHRgQRAgRmAJ419cS9s5zgldXbErZBu5Kwp64VrACfV5Ei wz9rqqj5RsTblwVjz1bkCAE= =zvih -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HOW-TO get Flash7 working!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rudy wrote: By the way, I had some problems installing flash7 from ports a few days ago. It didn't like the size of the file and would fail even if you downloaded from Adobe and copied to ports/disfiles. I later did a 'portsnap fetch update' that must have gotten updated makefiles and fixed that problems. Anybody else with that issue should try updating the ports collection. Super you got it running. PS, I had to do that as well... rm /usr/ports/distfiles/flashplugin/fp7_archive.zip From full original instructions: http://lists.freebsd.org/pipermail/freebsd-questions/2008-January/165920.html Updating your ports (with portsnap or the cvsup) when trying to fix problems is always a good idea. Sometimes when everything seems busted the portupgrade tool can be helpful in rebuilding all your ports. Set it running before you go to bed, and ta-da, in the morning everything is working -- or completely broken :) An other way to fix it in some ways is to run a make makesum to update the distfile checksums - -- Aryeh M. Friedman FloSoft Systems, Java Developer Tools http://www.flosoft-systems.com Developer, not business, friendly. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHgEkBjRvRjGmHRgQRAnAHAJ9KR+ety4Fua48dxBYYDx/qX3bSrACfUZ9t 2+ZcjSruc6orky2W1E9dB34= =Sj1r -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [HOW-TO] cvsup for ports -- Re: compact portsnap db
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rudy wrote: Michael Lednev wrote: Hello. Is there any way to compact /var/db/portsnap other than deleting it and doing postsnap fetch? I don't like portsnap -- granted I've never typed the portsnap command in my 10 years of FreeBSD use. I use cvsup! More info: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html QUick HOW-TO Make a file called /usr/src/ports-supfile Your better off using /usr/share/examples/cvsup/ports-supfile because it is pre-debuggeg... also even though I don't use it because the nearest cvsup mirror is 5 miles away is install fastest_cvsup to find the fastest host. - #/usr/src/ports-supfile *default host=cvsup8.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix *default compress ports-all - Then, run this command: cvsup /usr/src/ports-supfile Note if your not going to use the local cvs repository method I use then you should use csup not cvsup because it comes with the base system (the semantics are identical to those of cvsup) [the only difference is csup can't handle raw cvs commands thus the cvs-supfile doesn't work with it] Make an alias for this that way when you update your sources you won't lose the host settings if /usr/share/examples/cvsup gets overwritten... for example my alias is: (I keep a complete local copy of the cvs repo so I use cvs-supfile instead of ports or standard [note 1]): alias cvsup cvsup -h cvsup9.us.freebsd.org /usr/share/examples/cvs-supfile If you don't have cvsup installed, run this command: # pkg_add -r cvsup-without-gui It is better to use all ports or all packages so either do: cd /usr/ports/net/cvsup-without-gui make install clean or after doing the above do a pkg_delete -a (assuming that your working with a clean machine [no ports/packages instaleld except cvsup] For more info on the supfile, look at this file on your FreeBSD machine: /usr/share/examples/cvsup/ports-supfile Preferring cvsup to portsnap is kinda like preferring vim over emacs... It's a holy war and the vi/cvsup side uses less disk space. Actually it is not like that at all.. cvsup/csup is the officially preferred method and any other method is a short cut of some kind... many of them have very subtle issues that the typical end-user should not notice but should be aware of... - Rudy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Notes: 1. I keep a local cvs repository because unlike cvsup/csup straight cvs will not over write locally modified files (it will do it's best to merge in newer changes while persevering your local ones) - -- Aryeh M. Friedman FloSoft Systems, Java Developer Tools http://www.flosoft-systems.com Developer, not business, friendly. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHgEuRjRvRjGmHRgQRAj/4AJ9rAd/rSZOPBDgtMfDjMzBEf8OCgQCgslO6 EPONuz7Tj7TMPQuvDhCHCdI= =lxH2 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The FreeBSD Diary: 2007-12-16 - 2008-01-05
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. These are the articles posted during this period: 17-Dec : PC-BSD PC-BSD has a lot going for it http://freebsddiary.org/pcbsd.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]