Re: Flash in freebsd
My note, it works well on my freebsd 6.1 firefox 1.5, 2.0. please remember to add the following line into /etc/rc.conf: linux_enable=YES FreeBSD FireFox Flash Plugin Installation Guide: a) install www/linuxpluginwrapper b) install www/linux-flashplugin7 c) cp /usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD6 /etc/libmap.conf d) ln -s /usr/local/lib/npapi/linux-flashplugin/* /usr/local/lib/firefox/plugins e) use sysinstall to install the source of system programs (/usr/src/libexec) f) Execute: # cd /usr/src # fetch http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diffhttp://people.freebsd.org/%7Enork/rtld_dlsym_hack.diff # patch rtld_dlsym_hack.diff # cd libexec/rtld-elf/ # make clean # make obj # make depend # make make install g) restart firefox. B.Regs, Janvier Pang. - International Domain Name for sale. http://www.中央电视台.tv/http://www.%e4%b8%ad%e5%a4%ae%e7%94%b5%e8%a7%86%e5%8f%b0.tv/(China Central Television, CCTV in China) http://www.湖南卫视.tv/ http://www.%e6%b9%96%e5%8d%97%e5%8d%ab%e8%a7%86.tv/(Hunan Satellite TV, *Super Voice Girls* (超��女��) contest presented by) On 12/27/06, RW [EMAIL PROTECTED] wrote: On Tue, 26 Dec 2006 15:29:18 -0500 Dan Sikorsky [EMAIL PROTECTED] wrote: How? I've heard stories of linux-opera and linux-flashplayer7 didnt work for me do I have to mess with plug in files ? Just install the www/linux-flashplugin7 port ___ 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]
change password without shell access
Hello! I'm looking tool for freebsd that allows user to change their password without access to server. If there are any? We're running mail server with nologin account and would like to let users change their password. From www would be preferred way. And possibly to change their .forward file too. So are there any tools for this? -- kpn @ IRCnet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
chroot, performance security
Hi I have made partations on my web server like at very outer edges of the disks, I have /, then /var, /tmp, /usr and in the end /home. Since I read that Data modified used often should be placed at close to outer edges as possible. So, I am having all logs (apache, ftp, mysql and other logs) under /var/logs I have all my mysql DBs under /var/mysql/db But if for Security reseasons, I want to chroot apache, mysql and ftp under /home, then along with all executables and liberaries I have to move all logs, DBs under /home/chroot But then I think, If I move all these data from /var... I miss performance? Please comment? -- Thanks! BR / vj ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: limit descriptors
Hello Dima, Why do you need to change it? is it for IRCD server ? If yes..then you have to change many things, not only the output of ulimit -a, However, vi /etc/sysctl.conf kern.maxfiles=16384 kern.maxfilesperproc=8192 which will set: Number of max filedescriptors for the kernel and max number of filedescriptors per process respectively. these changes will change the output you are asking for.. If it does, then please let me know about it, as last time i have done these changes was in FreeBSD 4.8R Best Luck. - Marwan Sultan. Hello. How to change permanently a value of ulimit -n (limit descriptors)? -- dima 7509107*mail,ru 2:550/112 _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: change password without shell access
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Perttu Laine wrote: Hello! I'm looking tool for freebsd that allows user to change their password without access to server. If there are any? We're running mail server with nologin account and would like to let users change their password. From www would be preferred way. And possibly to change their .forward file too. So are there any tools for this? No tools are present that I know of, but using a little Perl/CGI or PHP to execute passwd is pretty simple. Just be sure to use a series of checks so people don't send in chars that can be interpreted for execution or have special purpose uses by shells. Don't suggest this solution as it is insecure, but it's an example: http://www.cyberciti.biz/tips/change-linux-or-unix-system-password-using-php-script.html. Don't remember how to change the password using command line arguments either, but I know it can be done somehow (pw? passwd?), some way.. - -Garrett -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.1 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFkkfxEnKyINQw/HARAnHbAJ48STx6HSweC70knqKg0jTqO4sMygCgrWhJ sumICGu1LY1AIzHtW2uZrgo= =ios+ -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: chroot, performance security
On Wed, Dec 27, 2006 at 10:16:31AM +0100, VeeJay wrote: Hi I have made partations on my web server like at very outer edges of the disks, I have /, then /var, /tmp, /usr and in the end /home. Since I read that Data modified used often should be placed at close to outer edges as possible. So, I am having all logs (apache, ftp, mysql and other logs) under /var/logs I have all my mysql DBs under /var/mysql/db But if for Security reseasons, I want to chroot apache, mysql and ftp under /home, then along with all executables and liberaries I have to move all logs, DBs under /home/chroot But then I think, If I move all these data from /var... I miss performance? You need not have created so many partitions because it is going to hurt you now when you have to chroot. :) Apache running under chroot means lot of things. OpenBSD has done it by default and it means that all the files that users host have to be under the chroot. All the DSOs have to be accessible as well. chrooting ftp or sftp is not much trouble. I think a simple google search will tell you how to run sftp under chroot. I would suggest that along with chrooting ftp. mysql should not give u much trouble but then I never use it. I am a postgresql guy... Best of luck! regards, Girish - When your mind is purified like a mirror knowledge is reflected in it. Adi Sankaracharya, Hindu saint ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flash in freebsd
Read these instructions from Arjan van Leeuwen. It works perfectly !! Hi Henry, others, As of the latest weekly development release of Opera (see http://my.opera.com/desktopteam/blog/), it's now possible to use any Linux plugin in the native Opera for FreeBSD version, including Flash and Acrobat Reader. The feature will be included in the upcoming Opera 9.1. For now, it'll require some actions to get it to work, but if you'd like to experiment with this, this might help: 0) Make sure you have the x11/linux-xorg-libs port installed. 1) Download and extract the latest weekly release for both FreeBSD and Linux: http://snapshot.opera.com/unix/Weekly-507/intel-freebsd/opera-9.10-20061205.4-shared-qt.i386.freebsd-en-507.tar.bz2 http://snapshot.opera.com/unix/Weekly-507/intel-linux/opera-9.10-20061205.1-static-qt.i386-en-507.tar.bz2 (FreeBSD package is for FreeBSD 6.x and requires Qt installed) 2) Copy operapluginwrapper from the Linux package over to the FreeBSD package: $ cd opera-9.10-20061205.4-shared-qt.i386.freebsd-en-507 $ cp ../opera-9.10-20061205.1-static-qt.i386-en-507/plugins/operapluginwrapper plugins/ Now, if you want to run the Opera weekly directly from the package without installing (will use a fresh, empty profile, recommended): 3) Copy libnpp.so within the FreeBSD package to a new location: $ cp plugins/libnpp.so bin/libnpp.so 4) Run Opera $ ./opera If instead you want to install Opera for all users (will overwrite existing installations and use your default profile, not recommended with development releases like this): 3) Run install $ ./install.sh 4) Copy libnpp.so manually to the Opera binary directory $ cp plugins/libnpp.so /usr/local/share/opera/bin/ 5) Run Opera $ /usr/local/bin/opera The actions described here do not affect Java; you'll still be able to run Java applets with the native version of Java (such as diablo-jdk or diablo-jre). We appreciate any reports on whether this feature works as expected (or doesn't at all). On Tue, 21 Nov 2006 15:31:30 +0100, Henry Lenzi [EMAIL PROTECTED] wrote: Thanks for you support. I have posted on the forum, on ocasion. The main issues, for me, are 1) Java (idiablo-jdk - it doesn't work, even though the path is right); I'm using it here - the path to use is /usr/local/diablo-jdk1.5.0/jre/lib/i386/. You can post on the forum if you have more problems with this. It could be that you're using a package that's compiled for a different version of FreeBSD; use the .4 package if you're on FreeBSD 6. 2) the Flash plugin. Is there a way to use the Linux emulation layer in order to get the plug-in working? See above :) 3) Cyrillic fonts look small, and you can't make them bigger. I don't know about that, but you could file a bug at http://bugs.opera.com/. Best regards, Arjan van Leeuwen -- * //| //| Mario Lobo // |// | http://www.ipad.com.br // // ||| FreeBSD since 2.2.8 - 100% Rwindows-free * ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: change password without shell access
You need to look at the web-based email extensions. There are a few of these, Squirrel Mail is one. You will need to add the modules to support the functions you want. -Derek At 02:42 AM 12/27/2006, Perttu Laine wrote: Hello! I'm looking tool for freebsd that allows user to change their password without access to server. If there are any? We're running mail server with nologin account and would like to let users change their password. From www would be preferred way. And possibly to change their .forward file too. So are there any tools for this? -- kpn @ IRCnet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: change password without shell access
On 12/27/06, Derek Ragona [EMAIL PROTECTED] wrote: You need to look at the web-based email extensions. There are a few of these, Squirrel Mail is one. You will need to add the modules to support the functions you want. I know squirrel plugins would be one solution, but problem is that we run webmail on remote machine and don't want to move it into mailserver 'cause it would need more cpu and memory there. And running squirrelmail just for password changing on mail server would be kinda stupid 'cause people would need to login other webmail just to change their password. We would prefer some much easier solution. -- kpn @ IRCnet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flash in freebsd
On Wed, 27 Dec 2006 16:18:26 +0800 Janvier Pang [EMAIL PROTECTED] wrote: My note, it works well on my freebsd 6.1 firefox 1.5, 2.0. please remember to add the following line into /etc/rc.conf: linux_enable=YES FreeBSD FireFox Flash Plugin Installation Guide: a) install www/linuxpluginwrapper b) install www/linux-flashplugin7 c) cp /usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD6 /etc/libmap.conf d) ln -s /usr/local/lib/npapi/linux-flashplugin/* /usr/local/lib/firefox/plugins e) use sysinstall to install the source of system programs (/usr/src/libexec) f) Execute: # cd /usr/src # fetch http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diffhttp://people.freebsd.org/%7Enork/rtld_dlsym_hack.diff # patch rtld_dlsym_hack.diff # cd libexec/rtld-elf/ # make clean # make obj # make depend # make make install g) restart firefox. This is for native browsers not linux-opera. And please don't top post. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: change password without shell access
On Wednesday 27 December 2006 02:42, Perttu Laine wrote: Hello! I'm looking tool for freebsd that allows user to change their password without access to server. If there are any? We're running mail server with nologin account and would like to let users change their password. From www would be preferred way. And possibly to change their .forward file too. So are there any tools for this? There is /usr/ports/mail/poppwd which I've used from within neomail/openwebmail using https. I believe you could even integrate it with samba. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flash in freebsd
Hey I got linux-oper/linux-firefox, and for a minute it seemed regular firefox worked as well, then i started messing with plugns lol, but the linux-twins still work, I just have that problem everyone has... no sound, Im using OSS as my sound system. however firefox+oogle lets me download the movies right off youtube/google / anywhere so its an effective workaround, if anyone has any tips on the sound problem, I'd be very happy thank you all dan Andrew Pantyukhin wrote: On 12/26/06, Dan Sikorsky [EMAIL PROTECTED] wrote: How? I've heard stories of linux-opera and linux-flashplayer7 didnt work for me do I have to mess with plug in files ? Try linux-firefox if you're desperate. linux-flashplugin7 works pretty much out of the box with it. Peruse mailing lists archives and you'll get it working with firefox, opera, linux-opera and a bunch of other browsers. Good luck! !DSPAM:45919f2c558854972718283! -- Dan Sikorsky *Systems Admin/GoldMine Admin* RegionalHelpWanted.com,Inc. Cupid.com, Inc. 845-471-5200 x220 One Civic Center Plaza, Suite 506 Poughkeepsie, NY 12601 /http://RegionalHelpWanted.com http://Cupid.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: change password without shell access
That is the easy solution, as there are plug ins for the vacations and password. Otherwise you will need to roll your own. -Derek At 06:39 AM 12/27/2006, Perttu Laine wrote: On 12/27/06, Derek Ragona [EMAIL PROTECTED] wrote: You need to look at the web-based email extensions. There are a few of these, Squirrel Mail is one. You will need to add the modules to support the functions you want. I know squirrel plugins would be one solution, but problem is that we run webmail on remote machine and don't want to move it into mailserver 'cause it would need more cpu and memory there. And running squirrelmail just for password changing on mail server would be kinda stupid 'cause people would need to login other webmail just to change their password. We would prefer some much easier solution. -- kpn @ IRCnet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Getting tty and keyboard input/output?
You can do this from an ncurses based application. -Derek At 12:03 AM 12/27/2006, Tyler Spivey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is there an API or somethying that i can use for getting tty/keyboard input/output so that I can write a screen reader that will reiceive every character from a tty and be able to intercept/override keypresses? Thanks, Tyler -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFkgyVTsjaYASMWKQRAvEAAKCwtuvgkyauUTGVQbhSEIjkexYIKQCcCtKi 8c4IXVHHZq6/hXXWxSBcs5I= =hagJ -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] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flash in freebsd
On Wed, 27 Dec 2006 07:43:26 -0500 Dan Sikorsky wrote: Hey I got linux-oper/linux-firefox, and for a minute it seemed regular firefox worked as well, then i started messing with plugns lol, but the linux-twins still work, I just have that problem everyone has... no sound, Im using OSS as my sound system. Do other linux apps (ex. skype) use your sound system successfully? however firefox+oogle lets me download the movies right off youtube/google / anywhere so its an effective workaround, if anyone has any tips on the sound problem, I'd be very happy 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]
Fwd: My recent Epiphany about operating systems
-- Forwarded message -- From: Jeff Rollin [EMAIL PROTECTED] Date: 23-Dec-2006 17:21 Subject: Re: My recent Epiphany about operating systems To: Simon Chang [EMAIL PROTECTED] Simon If you are located anywhere close to Grover Beach, California, please feel free to drop by his office and let him know how much we appreciate his pseudo-intellectual analyses of operating systems. His office is just off the 101, between 4th Street and Oak Park Blvd. Many thanks for the invitation; however, even if I did live anywhere near Grover Beach, (not to mention California), I would encourage anyone thinking of doing so to join me in refusing to even do so much as stooping low enough to give him the steam off Ballmer's expletive deletive. Jeff -- Now, did you hear the news today? They say the danger's gone away But I can hear the marching feet Moving into the street Adapted from Genesis, Land of Confusion http://latedeveloperbasketcase.blogspot.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd on i386-type internet appliance and cf card
Steve Franks [EMAIL PROTECTED] writes: So, I've installed freebsd on a compact flash card sucessfully in my laptop (or so it looks - sysinstall completes to /dev/ad4, copies everything, no errors, etc) with the regular harddisk removed (for safety, of course). Only it won't boot on the internet appliance when I stick the CF in there (that's it's only supported boot device). I get the F1 - Freebsd bootloader prompt, then nothing more. I let it sit for a good 10 min, just to be sure. It's a i386 compatible processor, and people have sucessfully run at least 3 flavors of linux on it, as well as win98 from what I can glean on the net. If I restart sysinstall, I can see the partition was written, but I can't mount it from a running bsd machine - incorrect superblock, which I think has to do with the following (aka. all or dd partitions): I tried 'all three' modes of partition - create, all, and DD. Each time sysinstall completes, each time F1 - freebsd, but nothing more. Used 'auto' on the label editor - the defaults seemed reasonable... Thoughts? It doesn't sound like the system hardware is relevant; I think the card isn't sufficiently installed to boot anywhere. Also, you should be able to do without the bootloader menu (although it shouldn't hurt anything). Perhaps it's just a matter of the root device being wrong? You might need to set root_disk_unit (or rootdev or currdev) for the loader. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: change password without shell access
On Wed, Dec 27, 2006 at 10:42:44AM +0200, Perttu Laine wrote: Hello! I'm looking tool for freebsd that allows user to change their password without access to server. If there are any? We're running mail server with nologin account and would like to let users change their password. From www would be preferred way. And possibly to change their .forward file too. So are there any tools for this? Most web-mail utilities can do this - in particular, check out Squirrel. jerry -- kpn @ IRCnet ___ 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]
Calculate the time of last modification of a file
Hiya, I hope you had a merry Christmas ;) I am trying to determine the time of last modification of a file, on FreeBSD. The following code achieves the same on Linux: # AGE = (current time) - (time of last modification of $FILE) # please check your systems 'stat' command! AGE=$(($(date +%s) - $(stat -c '%Y' $FILE))) test $AGE -lt $DELAY { echo -n yes exit 0 } Here is the whole bash script, just so that everything is clear: cut #!/usr/local/bin/bash test -t 0 trap echo EXIT NAME=$1; shift DELAY=${1:-600}; shift BASE=${1:-/var/run/greydata}; shift NAME=${NAME//.//} DIR=$BASE/${NAME%/*} FILE=$DIR/${NAME##*/} test -d $DIR || mkdir -p $DIR test -f $FILE || { $FILE echo -n yes exit 0 } # AGE = (current time) - (time of last modification of $FILE) # please check your systems 'stat' command! AGE=$(($(date +%s) - $(stat -c '%Y' $FILE))) test $AGE -lt $DELAY { echo -n yes exit 0 } read $FILE echo -n no exit 0 /cut The `stat -c` is illegal for FreeBSD. However I don't seem to understand clearly what the man page for stat is telling me, to enable me make this work. -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ What is mind? No matter. What is matter? Never mind. -- Thomas Hewitt Key, 1799-1875 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Calculate the time of last modification of a file
On Wednesday, 27 December, 2006 at 18:53:17 +0300, Odhiambo Washington wrote: Hiya, I hope you had a merry Christmas ;) I am trying to determine the time of last modification of a file, on FreeBSD. The following code achieves the same on Linux: # AGE = (current time) - (time of last modification of $FILE) # please check your systems 'stat' command! AGE=$(($(date +%s) - $(stat -c '%Y' $FILE))) test $AGE -lt $DELAY { echo -n yes exit 0 } I *think* what you are looking for is: stat -f '%Sm' -t '%s' There is probably a much easier way to do that, but I couldn't find it in the five minutes I had to spare. :-) Cheers, Nick. -- Please do not CC me on replies, I read the list and don't need the dupes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Calculate the time of last modification of a file
In the last episode (Dec 27), Odhiambo Washington said: I am trying to determine the time of last modification of a file, on FreeBSD. The following code achieves the same on Linux: # AGE = (current time) - (time of last modification of $FILE) # please check your systems 'stat' command! AGE=$(($(date +%s) - $(stat -c '%Y' $FILE))) test $AGE -lt $DELAY { echo -n yes exit 0 } You can use stat -f '%m' $FILE, which is identical to Linux's stat -c '%Y' $FILE . -- 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]
Re: change password without shell access
On 12/27/06, Derek Ragona [EMAIL PROTECTED] wrote: That is the easy solution, as there are plug ins for the vacations and password. Otherwise you will need to roll your own. Easy solution for admins - yes. Not for users. Running another webmail just password change is not option. What I need is like interface for just changing password and nothing else. Or possibly interface where you can login and change password and/or .forward. I know how we can do this other way (moving webmail to mailserver or forwarding all mail to mailboxes in shell-server), but I'm looking solution to solve this problem without changing current webmail/mail-system. But seems like answer to my question is: there are no software for this available ready to run. -- kpn @ IRCnet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NEC 7170A-0B
On 12/18/06, FreeBSD WickerBill [EMAIL PROTECTED] wrote: I was wondering if anyone has used one of the later NEC *7170Ahttp://www.newegg.com/Product/Product.asp?Item=N82E16827152076 *DVD burners sucessfully with 6.0 or later? Thanks for your responses. Yes, I have and it works fine. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: change password without shell access
On Wednesday 27 December 2006 08:34, Perttu Laine wrote: On 12/27/06, Derek Ragona [EMAIL PROTECTED] wrote: That is the easy solution, as there are plug ins for the vacations and password. Otherwise you will need to roll your own. Easy solution for admins - yes. Not for users. Running another webmail just password change is not option. What I need is like interface for just changing password and nothing else. Or possibly interface where you can login and change password and/or .forward. I know how we can do this other way (moving webmail to mailserver or forwarding all mail to mailboxes in shell-server), but I'm looking solution to solve this problem without changing current webmail/mail-system. But seems like answer to my question is: there are no software for this available ready to run. You could use webmin (in the ports) It might be a bit of overkill, but it will do what you want. Access can be set per user. Beech -- --- Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | Alaska Paradise Travel \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com --- pgpjUei7kF3zL.pgp Description: PGP signature
Re: change password without shell access
Perttu Laine skrev: On 12/27/06, Derek Ragona [EMAIL PROTECTED] wrote: That is the easy solution, as there are plug ins for the vacations and password. Otherwise you will need to roll your own. Easy solution for admins - yes. Not for users. Running another webmail just password change is not option. What I need is like interface for just changing password and nothing else. Or possibly interface where you can login and change password and/or .forward. I know how we can do this other way (moving webmail to mailserver or forwarding all mail to mailboxes in shell-server), but I'm looking solution to solve this problem without changing current webmail/mail-system. But seems like answer to my question is: there are no software for this available ready to run. Perhaps: http://www.freshports.org/sysutils/webmin/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
linux compatability question
I'm not sure what to do at this point, I'm trying to run a linux app (binary) that requires libGLU.so.1, and it's an x86 binary. When I first ran it, it complained that the file libGLU.so.1 could not be found (it was in my /usr/X11R6/lib directory. I made a simlink with that name to that file to /compat/linux/usr/X11R6/lib and now get this error: ./partiview: error while loading shared libraries: /lib/libGLU.so.1: ELF file OS ABI invalid This is on an i950 based notebook (integrated intel graphics), using the i810 and vga drivers in X. FreeBSD 6.1, X is either 6.8 or 6.9 Any suggestions? Thanks, -Jim Stpleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problems compiling Maildrop
Anybody having problems building Maildrop from ports? If not, any suggestions as to how I ought to negotiate this error under FBSD 5.5? Compiling maildirkwtest.c Linking maildirkwtest Compiling maildirkw.c Linking maildirkw /usr/local/lib/libfam.a(fam.o)(.text+0x31): In function `FAMOpen2': : undefined reference to `operator new(unsigned int)' /usr/local/lib/libfam.a(fam.o)(.text+0x4f): In function `FAMOpen2': : undefined reference to `operator delete(void*)' /usr/local/lib/libfam.a(fam.o)(.text+0x81): In function `FAMOpen2': : undefined reference to `operator delete(void*)' /usr/local/lib/libfam.a(fam.o)(.text+0x12e): In function `FAMClose': : undefined reference to `operator delete(void*)' /usr/local/lib/libfam.a(fam.o)(.text+0x225): In function `FAMMonitor (FAMConnection*, char const*, FAMRequest*, void*, int)': : undefined reference to `operator delete[](void*)' /usr/local/lib/libfam.a(fam.o)(.text+0x243): In function `FAMMonitor (FAMConnection*, char const*, FAMRequest*, void*, int)': : undefined reference to `operator delete[](void*)' /usr/local/lib/libfam.a(fam.o)(.text+0x414): In function `FAMMonitorCollection': : undefined reference to `operator delete[](void*)' /usr/local/lib/libfam.a(fam.o)(.text+0x433): In function `FAMMonitorCollection': : undefined reference to `operator delete[](void*)' /usr/local/lib/libfam.a(fam.o)(.text+0x5d3): In function `GroupStuff::GroupStuff()': : undefined reference to `operator new[](unsigned int)' /usr/local/lib/libfam.a(fam.o)(.text+0x60b): In function `GroupStuff::GroupStuff()': : undefined reference to `operator new[](unsigned int)' /usr/local/lib/libfam.a(fam.o)(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' /usr/local/lib/libfam.a(Client.o)(.text+0xb92): In function `Client::storeUserData(int, void*)': : undefined reference to `operator new(unsigned int)' /usr/local/lib/libfam.a(Client.o)(.text+0xbab): In function `Client::storeUserData(int, void*)': : undefined reference to `operator delete(void*)' /usr/local/lib/libfam.a(Client.o)(.text+0xc17): In function `Client::storeEndExist(int)': : undefined reference to `operator new(unsigned int)' /usr/local/lib/libfam.a(Client.o)(.text+0xc2f): In function `Client::storeEndExist(int)': : undefined reference to `operator delete(void*)' /usr/local/lib/libfam.a(Client.o)(.text+0xeca): In function `__static_initialization_and_destruction_0(int, int)': : undefined reference to `std::ios_base::Init::Init()' /usr/local/lib/libfam.a(Client.o)(.text+0xef8): In function `__tcf_0': : undefined reference to `std::ios_base::Init::~Init()' /usr/local/lib/libfam.a(Client.o) (.gnu.linkonce.t._ZN5BTreeIiPvE6removeERKi+0xfc): In function `BTreeint, void*::remove(int const)': : undefined reference to `operator delete(void*)' /usr/local/lib/libfam.a(Client.o) (.gnu.linkonce.t._ZN5BTreeIiPvE6insertERKiRKS0_+0x5a): In function `BTreeint, void*::insert(int const, void* const)': : undefined reference to `operator new(unsigned int)' /usr/local/lib/libfam.a(Client.o) (.gnu.linkonce.t._ZN5BTreeIiPvE6insertERKiRKS0_+0x87): In function `BTreeint, void*::insert(int const, void* const)': : undefined reference to `operator delete(void*)' /usr/local/lib/libfam.a(Client.o) (.gnu.linkonce.t._ZN5BTreeIiPvE6insertEPNS1_4NodeERKiRKS0_+0xde): In function `BTreeint, void*::insert(BTreeint, void*::Node*, int const, void* const)': : undefined reference to `operator new(unsigned int)' /usr/local/lib/libfam.a(Client.o) (.gnu.linkonce.t._ZN5BTreeIiPvE6insertEPNS1_4NodeERKiRKS0_+0xfb): In function `BTreeint, void*::insert(BTreeint, void*::Node*, int const, void* const)': : undefined reference to `operator delete(void*)' /usr/local/lib/libfam.a(Client.o) (.gnu.linkonce.t._ZN5BTreeIiPvE6insertEPNS1_4NodeERKiRKS0_+0x191): In function `BTreeint, void*::insert(BTreeint, void*::Node*, int const, void* const)': : undefined reference to `operator new(unsigned int)' /usr/local/lib/libfam.a(Client.o) (.gnu.linkonce.t._ZN5BTreeIiPvE6insertEPNS1_4NodeERKiRKS0_+0x1ae): In function `BTreeint, void*::insert(BTreeint, void*::Node*, int const, void* const)': : undefined reference to `operator delete(void*)' /usr/local/lib/libfam.a(Client.o) (.gnu.linkonce.t._ZN5BTreeIiPvE6insertEPNS1_4NodeERKiRKS0_+0x237): In function `BTreeint, void*::insert(BTreeint, void*::Node*, int const, void* const)': : undefined reference to `operator new(unsigned int)' /usr/local/lib/libfam.a(Client.o) (.gnu.linkonce.t._ZN5BTreeIiPvE6insertEPNS1_4NodeERKiRKS0_+0x275): In function `BTreeint, void*::insert(BTreeint, void*::Node*, int const, void* const)': : undefined reference to `operator delete(void*)' /usr/local/lib/libfam.a(Client.o) (.gnu.linkonce.t._ZN5BTreeIibE6insertERKiRKb+0x5a): In function `BTreeint, bool::insert(int const, bool const)': : undefined reference to `operator new(unsigned int)' /usr/local/lib/libfam.a(Client.o) (.gnu.linkonce.t._ZN5BTreeIibE6insertERKiRKb+0x87): In function
Re: linux compatability question
On Wed, 27 Dec 2006 14:02:39 -0500 Jim Stapleton wrote: I'm not sure what to do at this point, I'm trying to run a linux app (binary) that requires libGLU.so.1, and it's an x86 binary. It requires a linux library. When I first ran it, it complained that the file libGLU.so.1 could not be found (it was in my /usr/X11R6/lib directory. I made a simlink with And that is a FreeBSD one. that name to that file to /compat/linux/usr/X11R6/lib and now get this error: ./partiview: error while loading shared libraries: /lib/libGLU.so.1: ELF file OS ABI invalid Yes, the linux app tries to load a FreeBSD library. This is on an i950 based notebook (integrated intel graphics), using the i810 and vga drivers in X. FreeBSD 6.1, X is either 6.8 or 6.9 Any suggestions? Remove your simlink and install graphics/linux-libGLU. 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]
NIS intermittent connection trouble
I have an NIS server setup on a specific vlan. All my nis clients are setup on separate vlans with different networks. All of my clients have the same problem. When i run /etc/rc.d/ypbind start then /etc/rc.d/ypset start, everything works properly. However it will stop working for no apparent reason, and just timeout until it is restarted. Also If i make the server unavailable, then bring it back it has the same affect. It is as if it fails once, and never retries the same server. How can i fix this? Currently I have a cronjob set to restart ypbind and ypset. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NIS intermittent connection trouble
I have an NIS server setup on a specific vlan. All my nis clients are setup on separate vlans with different networks. All of my clients have the same problem. When i run /etc/rc.d/ypbind start then /etc/rc.d/ypset start, everything works properly. However it will stop working for no apparent reason, and just timeout until it is restarted. Also If i make the server unavailable, then bring it back it has the same affect. It is as if it fails once, and never retries the same server. How can i fix this? Currently I have a cronjob set to restart ypbind and ypset. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flash in freebsd
Mario Lobo wrote: Read these instructions from Arjan van Leeuwen. It works perfectly !! Hi Henry, others, As of the latest weekly development release of Opera (see http://my.opera.com/desktopteam/blog/), it's now possible to use any Linux plugin in the native Opera for FreeBSD version, including Flash and Acrobat Reader. The feature will be included in the upcoming Opera 9.1. For now, it'll require some actions to get it to work, but if you'd like to experiment with this, this might help: 0) Make sure you have the x11/linux-xorg-libs port installed. 1) Download and extract the latest weekly release for both FreeBSD and Linux: http://snapshot.opera.com/unix/Weekly-507/intel-freebsd/opera-9.10-20061205.4-shared-qt.i386.freebsd-en-507.tar.bz2 http://snapshot.opera.com/unix/Weekly-507/intel-linux/opera-9.10-20061205.1-static-qt.i386-en-507.tar.bz2 (FreeBSD package is for FreeBSD 6.x and requires Qt installed) 2) Copy operapluginwrapper from the Linux package over to the FreeBSD package: $ cd opera-9.10-20061205.4-shared-qt.i386.freebsd-en-507 $ cp ../opera-9.10-20061205.1-static-qt.i386-en-507/plugins/operapluginwrapper plugins/ Now, if you want to run the Opera weekly directly from the package without installing (will use a fresh, empty profile, recommended): 3) Copy libnpp.so within the FreeBSD package to a new location: $ cp plugins/libnpp.so bin/libnpp.so 4) Run Opera $ ./opera If instead you want to install Opera for all users (will overwrite existing installations and use your default profile, not recommended with development releases like this): 3) Run install $ ./install.sh 4) Copy libnpp.so manually to the Opera binary directory $ cp plugins/libnpp.so /usr/local/share/opera/bin/ 5) Run Opera $ /usr/local/bin/opera The actions described here do not affect Java; you'll still be able to run Java applets with the native version of Java (such as diablo-jdk or diablo-jre). We appreciate any reports on whether this feature works as expected (or doesn't at all). On Tue, 21 Nov 2006 15:31:30 +0100, Henry Lenzi [EMAIL PROTECTED] wrote: Thanks for you support. I have posted on the forum, on ocasion. The main issues, for me, are 1) Java (idiablo-jdk - it doesn't work, even though the path is right); I'm using it here - the path to use is /usr/local/diablo-jdk1.5.0/jre/lib/i386/. You can post on the forum if you have more problems with this. It could be that you're using a package that's compiled for a different version of FreeBSD; use the .4 package if you're on FreeBSD 6. 2) the Flash plugin. Is there a way to use the Linux emulation layer in order to get the plug-in working? See above :) 3) Cyrillic fonts look small, and you can't make them bigger. I don't know about that, but you could file a bug at http://bugs.opera.com/. Best regards, Arjan van Leeuwen Actually 9.10 was released and it is supposed to have support out of the box for linux plugins. So why not try the latest release. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: limit descriptors
On Wed, 27 Dec 2006, Marwan Sultan wrote: Why do you need to change it? is it for IRCD server ? If yes..then you have to change many things, not only the output of ulimit -a, ports/security/tor require 1000 descriptors. vi /etc/sysctl.conf kern.maxfiles=16384 kern.maxfilesperproc=8192 these changes will change the output you are asking for.. If it does, then please let me know about it, as last time i have done these changes was in FreeBSD 4.8R Thank you for advices. -- dima 7509107*mail,ru 2:550/112 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
where to get the iso c90 compiler?
so, where? (also for linux?) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: where to get the iso c90 compiler?
On 12/27/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: so, where? (also for linux?) Can you not use gcc in pedantic mode? 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: where to get the iso c90 compiler?
Gabor Kovesdan wrote: [EMAIL PROTECTED] schrieb: so, where? (also for linux?) The -std option of gcc is for setting the dialect, see this page: http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/C-Dialect-Options.html#C-Dialect-Options Cheers, Gabor I want to compile the GCC 4.1.1 compiler. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: where to get the iso c90 compiler?
[EMAIL PROTECTED] schrieb: so, where? (also for linux?) The -std option of gcc is for setting the dialect, see this page: http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/C-Dialect-Options.html#C-Dialect-Options Cheers, Gabor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SCSI Tape Drive Problems
On Wed, Dec 20, 2006, at 11:14:57 -0600, Dan Nelson wrote: In the last episode (Dec 20), Mark Kane said: Thanks very much for the replies. Both drives are external, and they both have terminators on the back. The setup is like this: The DDS autoloader is connected to the back of the Adaptec card via a new external HD68 cable and the terminator that came with the drive is on the second plug of the unit. The Sun DLT drive is connected via an external HD50 cable to an adaptor that turns it into an internal cable which is then connected to the Adaptec card internally. It has a Sun terminator on the second plug on the unit. The cable that connects the DDS autoloader is brand new. It's not a major brand name, but it's listed as double shielded, UL20276 listed, etc. The cable that connects the DLT unit is an older Adaptec one (possibly used) purchased for a few dollars locally. I could understand if that cable was a problem for writing using that drive, but having the issue on both drives like this with two separate cables just seems like it's something else. By the way, the green LEDs on both terminators are illuminated so they should be working. All that looks okay to me. Try reposting your question to the [EMAIL PROTECTED] list. Thanks again for the responses. Before I bug scsi@, I have a little more information now that might help. I'll try to keep it simple. When using pax, both drives write more data and get further than before with cpio. The DLT (which previously gave those SCSI errors after writing ~200 or ~500MB) can now write the full 17GB directory fine with pax and without any SCSI errors or tape full problems. If I try to add my 1.6GB mail directory onto that, it errors out with tape full after about half my mail directory...so for simplicity's sake, it stops at around 18GB with a tape full error. On the DDS drive, pax gets considerably farther than cpio but still cannot write the full 17GB directory. With pax, it errors out with a tape full error pretty close to the end of that 17GB, but will never complete it. The files themselves inside those directories are of varying sizes, however no single file is over 2GB. So now I think it's pretty much down to drives saying the tape is full before it really is without any specific SCSI errors anymore. -Mark -- Internet Radio: Party107 (Trance/Electronic) - http://www.party107.com Rock 101.9 The Edge (Rock) - http://www.rock1019.net IRC: MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: list of emails of mailing lists
[EMAIL PROTECTED] wrote: For example, you can write to this list via the freebsd-questions@freebsd.org email, but [EMAIL PROTECTED] is also recognized as an email for this list. This can't be the same with freebsd-doc -doc and cvs-doc -doc, that would be ambiguous. Could someone please direct me to a 100% precise list of emails that are recognized as a mailing list emails? While [EMAIL PROTECTED] has that information, and you might try asking this question to that email address, please note that not all FreeBSD mailing lists are publicly advertised. The preferred public listnames are kept here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/eresources.html#ERESOURCES-MAIL -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need to restrict DNS requests to just 5 per second
Tek Bahadur Limbu wrote: [ ... ] Thank you very much for your help and suggestions. Actually, the reason why I want to implement this restriction is because some clients whose Windows PCs are infected with viruses and malwares send up to 10-20 bogus DNS queries per second which causes the traffic utilization to go almost 5 times high on the dns server. There are legitimate reasons why a client machine might want to make dozens or even hundreds of DNS lookups per second-- or have you never used adns or another webserver logfile analyzer yourself? :-) Please consider solving the problem rather than a symptom. If you experience what you determine to be malicious traffic from a host or traffic which violates your published AUP, please contact the systems' owner or perform firewall egress filtering on such a machine until it gets fixed. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
kino 0.9.4 compile failed
hi, wonder if anybody has seen this, i just sync my port tree and updrage kino to 0.9.4 by portupgrade, it failed with a report: frame.cc: In member function `bool Frame::CreateEncoder(bool, bool)': frame.cc:1302: error: cannot convert `AVCodecContext' to `AVCodecContext*' in initialization frame.cc:1310: error: 'struct AVCodecContext' has no member named 'time_base' frame.cc: In member function `void Frame::EncodeRGB(uint8_t*)': frame.cc:1384: error: cannot convert `AVCodecContext' to `AVCodecContext*' in initialization gmake[3]: *** [frame.o] Error 1 any idea?? much appreciated!! TFC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
emachines speakers no sound
I'm having trouble with the speakers it is hook up with my computer. And it said it is not. And it say there is no audio device.Can you help us with the speakers W3107 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kino 0.9.4 compile failed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tsu-Fan Cheng wrote: hi, wonder if anybody has seen this, i just sync my port tree and updrage kino to 0.9.4 by portupgrade, it failed with a report: frame.cc: In member function `bool Frame::CreateEncoder(bool, bool)': frame.cc:1302: error: cannot convert `AVCodecContext' to `AVCodecContext*' in initialization frame.cc:1310: error: 'struct AVCodecContext' has no member named 'time_base' frame.cc: In member function `void Frame::EncodeRGB(uint8_t*)': frame.cc:1384: error: cannot convert `AVCodecContext' to `AVCodecContext*' in initialization gmake[3]: *** [frame.o] Error 1 any idea?? much appreciated!! TFC What's seen above is the result of a typo in programming. Refer this on to the maintainer so he/she can either patch the booboo or send this error upstream to the project devs. - -Garrett -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.1 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFkzPTEnKyINQw/HARAoGaAJ9YWfFb4RSKqWSdjPXn8Clsk4hLGACgomQ/ MBmc+uoGsIANUioZWlhoquo= =Zl1V -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]
tor, segmentation fault.
Hello. Does anybody there have experience how to run an ports/security/tor ? I have use FreeBSD 4.11-RELEASE-p13 and tor here always exit with signal 11 and Segmentation fault message. -- dima 7509107*mail,ru 2:550/112 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: emachines speakers no sound
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charles Hickman wrote: I'm having trouble with the speakers it is hook up with my computer. And it said it is not. And it say there is no audio device.Can you help us with the speakers W3107 If you haven't setup sound on your FreeBSD machine, refer to this section of the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html. Otherwise, feel free to attach or link a copy of your kernel config so we can have a look at it. - -Garrett -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.1 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFkzRZEnKyINQw/HARAh/uAJwKBggTALdUrgrbZG80NS+96/sWkgCgiDok 1JvhnsFPK0G/NbTv/+amCWk= =GbvO -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: tor, segmentation fault.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 dima wrote: Hello. Does anybody there have experience how to run an ports/security/tor ? I have use FreeBSD 4.11-RELEASE-p13 and tor here always exit with signal 11 and Segmentation fault message. -- dima 7509107*mail,ru 2:550/112 Could you provide your make.conf settings, in particular your CFLAGS, CXXFLAGS, and CPUTYPE, or maybe the custom settings in your ports config file(s), etc? Thanks, - -Garrett -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.1 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFkzUWEnKyINQw/HARAokYAJ4qaAYaCw+a78QPGoK9vhauKYDpoACfURZF cV8ED6Vb4XGrTnfJ7ShJC+s= =dMgT -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: emachines speakers no sound
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Garrett Cooper wrote: Charles Hickman wrote: I'm having trouble with the speakers it is hook up with my computer. And it said it is not. And it say there is no audio device.Can you help us with the speakers W3107 If you haven't setup sound on your FreeBSD machine, refer to this section of the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html. Otherwise, feel free to attach or link a copy of your kernel config so we can have a look at it. -Garrett Another thing.. could you provide your pciconf -lv output as well? -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.1 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFkzYFEnKyINQw/HARAnbVAJ4kaxq8xETXI0iD9MVpeSGVpBuF/wCgpsvk IqKYjDp7LXIeEL43iNtOIbo= =sjNu -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]
Override dummynet delay limit
Hello, I'm trying to override the 10 second limit to a dummynet pipe delay, and allow it to be unlimited (or at least several minutes). I found this email in the achives: http://lists.freebsd.org/pipermail/freebsd-net/2004-March/003370.html Following the email I modified /usr/src/sbin/ipfw/ipfw2.c I changed: if (do_pipe == 1) { if (p.pipe_nr == 0) errx(EX_DATAERR, pipe_nr must be 0); if (p.delay 1) errx(EX_DATAERR, delay must be 1); } else { /* do_pipe == 2, queue */ to if (do_pipe == 1) { if (p.pipe_nr == 0) errx(EX_DATAERR, pipe_nr must be 0); //if (p.delay 1) // errx(EX_DATAERR, delay must be 1); } else { /* do_pipe == 2, queue */ and I recompiled via in the /usr/src directory make buildkernel KERNCONF=DUMMYNET make installkernel KERNCONF=DUMMYNET but I still get prompt$ ipfw pipe 1 config delay 6 ipfw: delay must be 1 I've also tried changing that message in the source code to say something different, but the changes aren't updated at the command line message, so it seems my changes aren't actually be taken into effect via my approach. I've also tried doing a recursive grep on delay must be in the /usr/src directory thinking I might be changing the wrong file, but this is the only place that it's logical for me to need to change to get the desired effect. What am I doing wrong, please help? Thank you kindly for your time, Ryan research assistant at Lehigh University ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Override dummynet delay limit
In the last episode (Dec 27), ryan m said: Hello, I'm trying to override the 10 second limit to a dummynet pipe delay, and allow it to be unlimited (or at least several minutes). I found this email in the achives: http://lists.freebsd.org/pipermail/freebsd-net/2004-March/003370.html Following the email I modified /usr/src/sbin/ipfw/ipfw2.c which is the source to /sbin/ipfw and I recompiled via in the /usr/src directory make buildkernel KERNCONF=DUMMYNET make installkernel KERNCONF=DUMMYNET which rebuilt the kernel and left /sbin/ipfw untouched but I still get prompt$ ipfw pipe 1 config delay 6 ipfw: delay must be 1 You need to rebuild ipfw :) cd to /usr/src/sbin/ipfw, run make obj make depend make make install . -- 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]
Re: tor, segmentation fault.
On Wed, 27 Dec 2006, Garrett Cooper wrote: Does anybody there have experience how to run an ports/security/tor ? I have use FreeBSD 4.11-RELEASE-p13 and tor here always exit with signal 11 and Segmentation fault message. Could you provide your make.conf settings, in particular your CFLAGS, CXXFLAGS, and CPUTYPE, or maybe the custom settings in your ports config file(s), etc? cat make.conf | grep ... #NO_CPU_CFLAGS= true# Don't add -march=cpu to CFLAGS automatically #CFLAGS= -O -pipe BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \ -Wcast-qual -Wchar-subscripts -Winline \ -Wmissing-prototypes -Wnested-externs -Wpointer-arith \ -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings #SENDMAIL_CFLAGS= CPUTYPE=i686 #CXXFLAGS+= -fmemoize-lookups -fsave-memoized Ports config? Where is it? -- dima 7509107*mail,ru 2:550/112 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
No driver for NIC...
Hi, I just got a new mainboard (MSI K9N Platinum) with nvidia nforce 570/MCP55 chipset. It has a dualLAN 1Gbit ethernet adapter which I think is integrated into the southbridge chipset (nforce 570/MCP55). The mainboard manual says it's controlled by Vitesse VSC8601. I am new to FreeBSD and I did not manage to get it to work (6.2-rc2 amd64). I compiled a new kernel with this nve driver (for nvidia mcp onboard ethernet adapters) but it did not work. I tried to load all the if_* modules but none worked. Before I tried this I installed NetBSD3.1 and there it worked perfectly after the first boot (said it was an mcp55 lan adapter). How do I get this ethernet thing to work or is this chipset not supported? (mcp55 sound works as stated in the hardware list on freebsd). Help would be appreciated! Thanks... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mplayer configuration
i used to use mplayer without a problem but i just upgraded it and now have problems--it doesnt work. i can play audio files wiht xmms, but if i try to use mplayer i get an error Could not open/initialize audio device - no sound. If i use gmplayer, it also doesnt work (same error) but i fooled around and saw that if i go to the Preferences configuration, and the Audio tab, and select the oss driver, it works. (Only for that sesssion, if i start it up again it doesnt work). How do i get this set up to work properly. i didnt see anything in /usr/ports/UPDATING and i didnt change anything (nothing intentional anyway) that would make things stop. Thanks! Jen __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mplayer configuration
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dr. Jennifer Nussbaum wrote: i used to use mplayer without a problem but i just upgraded it and now have problems--it doesnt work. i can play audio files wiht xmms, but if i try to use mplayer i get an error Could not open/initialize audio device - no sound. If i use gmplayer, it also doesnt work (same error) but i fooled around and saw that if i go to the Preferences configuration, and the Audio tab, and select the oss driver, it works. (Only for that sesssion, if i start it up again it doesnt work). How do i get this set up to work properly. i didnt see anything in /usr/ports/UPDATING and i didnt change anything (nothing intentional anyway) that would make things stop. Thanks! Jen I believe the right syntax is... ao = oss ... in either /usr/local/etc/mplayer.conf (IIRC) or ~/,mplayer/config. More options are revealed in man mplayer. - -Garrett -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.1 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFk2ugEnKyINQw/HARAlYyAJ4rN4vzOBNCeyXwr7IsC2EM+fbd+ACgrE6g rtHLnhhiEAMZJgSvUgWbUzM= =nTWb -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: No driver for NIC...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 B. Hansmann wrote: Hi, I just got a new mainboard (MSI K9N Platinum) with nvidia nforce 570/MCP55 chipset. It has a dualLAN 1Gbit ethernet adapter which I think is integrated into the southbridge chipset (nforce 570/MCP55). The mainboard manual says it's controlled by Vitesse VSC8601. I am new to FreeBSD and I did not manage to get it to work (6.2-rc2 amd64). I compiled a new kernel with this nve driver (for nvidia mcp onboard ethernet adapters) but it did not work. I tried to load all the if_* modules but none worked. Before I tried this I installed NetBSD3.1 and there it worked perfectly after the first boot (said it was an mcp55 lan adapter). How do I get this ethernet thing to work or is this chipset not supported? (mcp55 sound works as stated in the hardware list on freebsd). Help would be appreciated! Thanks... Got miibus? - From nve(4): To compile this driver into the kernel, place the following lines in your kernel configuration file: device miibus device nve -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.1 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFk2wJEnKyINQw/HARAiOMAJ4wZBAYcE5Ai0HSTXvuMwHu3DjMqACgjPxn 7T2+6D196b5UCAs5ClgJ6OY= =hbcW -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: tor, segmentation fault.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 dima wrote: On Wed, 27 Dec 2006, Garrett Cooper wrote: Does anybody there have experience how to run an ports/security/tor ? I have use FreeBSD 4.11-RELEASE-p13 and tor here always exit with signal 11 and Segmentation fault message. Could you provide your make.conf settings, in particular your CFLAGS, CXXFLAGS, and CPUTYPE, or maybe the custom settings in your ports config file(s), etc? cat make.conf | grep ... #NO_CPU_CFLAGS= true# Don't add -march=cpu to CFLAGS automatically #CFLAGS= -O -pipe BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \ -Wcast-qual -Wchar-subscripts -Winline \ -Wmissing-prototypes -Wnested-externs -Wpointer-arith \ -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings #SENDMAIL_CFLAGS= CPUTYPE=i686 #CXXFLAGS+= -fmemoize-lookups -fsave-memoized Ports config? Where is it? -- dima 7509107*mail,ru 2:550/112 Hmmm... doesn't look like you have any bad options.. You should try compiling the port with the debug flag (-g) and see if you can point out where it core dumps and then reply with that info or transfer that information on to the maintainer. - -Garrett -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.1 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFk21gEnKyINQw/HARArBIAKCOaDqo5tvRux3vVqVl6LchkoHmzwCgkRs6 i50oU2uX1DdMl2BvTKfsnOA= =ztQZ -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]