Re: Having a problem running quake3 on my system running 5.2.1 FreeBSD
Devesh Shah wrote: Hi, I am tring to run /usr/ports/games/q3server (quake3) and runs into the problem. The installation seems to be OK but game would not start because of the the following error. Sys_Error: Couldn't load default.cfg. This problem seems to have been described in the following site but no solution is evident. http://lists.asu.edu/cgi-bin/wa?A2=ind0305L=asulugF=S=P=12606 Do I need to have pak0.pk3 zip file from CD as I don't find any documentation regarding default.cfg for quake 3 game? I have installed the LINUX compatible drivers and libraries and have loaded nvidia.ko on my system. Any help is appreciated. yep, as far as I remember you need pak0.pk3... default.cfg file should be in there. As you can see, the guy from http://lists.asu.edu/cgi-bin/wa?A2=ind0305L=asulugF=S=P=12606 haven't got pak0.pk3 file too and got the same problem as you. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Good tool for light photo editing?
[Stan, 2004-10-06] What's a good tool to do some really lightweight editeing on them with? Mostly I just need to rotate the vertical ones, but I _might_ do just a little cropping on some few. [John Mills, 2004-10-06] ImageMagick (and sibs - it's a collection of utilities, like gcc) does a good job of resizing, thumbnails, format conversion, etc. Check the man pages for rotation commands - I haven't tried that. It has a GUI (as 'display'), is very handy for scripting, and pretty lightweight, too. If this is images from a digital camera, you might want to use jhead to preserve the exif-tags in the image files before tampering with them with ImageMagick. Regards, Svein Halvor ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question about ports
when u upgrade perl to a newer ver useing the ports tree its quit simple . at the end of it installing it tell you that if u whant to use that version u need to use this command onley once though use.perl port and then u also need to read README in the bas dir of the ports tree IE: /usr/ports/UPDATING in there it talks about getting all the perl progs switched over to the newer ver of perl and thats it.. or at least that worked 4 me PS: you might whant to look at /usr/ports/UPDATING before you go and install perl ..thats a good file to read after u cvsup your tree - Original Message - From: Nikolas Britton [EMAIL PROTECTED] To: Pierre LeBlanc [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 5:16 PM Subject: Re: Question about ports Pierre LeBlanc wrote: Hello, I'm new to the port collection and updating ports with CVSup but I managed to update the ports of my FreeBSD 4.10 system using CVSup. Now, I want to upgrade Perl to version 5.6 and I notice there is a perl5 port in the list I`ve seen on: ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.10-release/ But this port is not on my system and to understand how to get perl5 in my port collection, I searched on the Internet for several hours without success. Can you refer me a specific page or a chapter in the FreeBSD manual that describe how to do it? Well see... the thing is is that perl is part of the base system in 4.x (and quasi-base in 5.x), FreeBSD is dependent on it. I like to know this question too, what are the pros/cons and procedure for updating perl to ether 5.6.x or 5.8.x ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-newbies To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Booting to CD and the handing off to HD
Thanks to everyone who is providing input on this question. I appreciate it greatly! :) The boot loader idea sounds like it'll have to be what I use. I'll get the CD to write a token to the drive if it checks out, and upon next boot-up, if I can get the CD's boot loader to find the token on the HD, it'll boot the HD instead. Any ideas on how to arrange that one? If I can't get the boot loader to do that, I'll have to resort to making the partition bootable/unbootable to make the selection; although I'd prefer the token. I do agree that one of the best ways to secure the box is to use the secure levels and mount things read-only. I will be doing that, but my goal here is to remove every remote possibility of my machine's compromise lasting beyond a day. I like to go for absolute certainty on security. :) Thx --- Theodore K. Milbaugh [EMAIL PROTECTED] wrote: On Tue, 5 Oct 2004 11:22:47 -0600, Nathan Kinkade [EMAIL PROTECTED] wrote: Regarding booting to the CDROM or HD, I'm not sure I understand the difference between what you are saying and what I said in my previous reply. How can the CDROM boot the machine to the HD? If the machine reboots the BIOS will take control and boot the machine according to it's device priority. If there is a bootable CD in the CDROM device, and the BIOS is set to boot to the CDROM first, how can the machine be made to boot the HD prior to the CDROM? The only possible way I can think of would be to have the CDROM booted OS eject the CDROM tray before reboot, then have the HD booted OS close the CDROM tray again. Nathan The code on the CD can load the bootloader code from the HD, and execute it. I know it is possible, because if you boot off of the SuSE 9.1 Installation CD, it has an option to boot to the HD, and it does work. ___ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FTP Proxies and Ports
On Thu, Oct 07, 2004 at 12:07:59AM +0200, Remko Lodder wrote: Bigelow, Andrea L. wrote: I've thus far been unsuccessful with $FTP_PROXY and $HTTP_PROXY in getting fetch to honor my company's FTP proxy. The easiest way to use the proxy is a URL format: ftp://username:password@server. Is there a way that I can specify that this format be used anytime I want to download and install or update a port? I'm using fetch instead of CVSup. I'd needed to set ftp_proxy=http://username:password@proxy:prt and http_proxy=http://username:password@proxy:prt while using squid. Yes there are 2 http's. For convenience, you can set those variables from within /etc/make.conf: FETCH_ENV= FTP_PROXY=http://username:[EMAIL PROTECTED]:3128/ \ HTTP_PROXY=http://username:[EMAIL PROTECTED]:3128/ You can also use the HTTP_PROXY_AUTH variable where: HTTP_PROXY=http://proxy.example.com:3128/ HTTP_PROXY_AUTH=basic:*:username:password is equivalent to the previous HTTP_PROXY setting. In theory that can let you use other HTTP authorization schemes than basic auth, except that support for those other schemes has not yet been added to libfetch. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgpQZWbqfL6HF.pgp Description: PGP signature
Re: KDE 3.3 upgrade and Sound
On Thursday 07 October 2004 04:17, Alex de Kruijff wrote: On Thu, Oct 07, 2004 at 04:14:49AM +0200, Alex de Kruijff wrote: On Wed, Oct 06, 2004 at 06:06:37PM -0500, Ned Harrison wrote: I'm running FreeBSD 5.2.1 and upgraded from KDE 3.1 to 3.3. After completing the upgrade, I found that I did not have any system sounds. Following the instuctions in the UPDATING file in /usr/ports, I removed the knotifyrc file. After logging out and back into KDE, I now have system sounds but applications like XMMS and KsCD will not produce sounds, yet they access the the CD drive and will list files correctly. I have also upgraded from XFree86 to xorg. What additional information that I could provide could help on this matter? Or am I just overlooking something in the Kcontrols? Any suggestions would be appreciated. Start KMix and change the volume levels. For some unknow reason the volume has bin set to 0% by default in the 3.3.0. Hello, same problem with me. I have installed fresh kde 3.3 with all packages but I do not have any sound output at all. I did remove knotifyrc file, but I still cannot hear anything from xmms, mplayer etc. I also have changed kmix volume levels. pleiades# cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: VIA VT8235 at io 0xe400 irq 10 (5p/1r/0v channels duplex default) I have arts installed too: pleiades# pkg_info | grep arts arts-1.3.0,1 artswrapper-1.2.1 kdemultimedia-mpeglib_artsplug-3.3.0 kdemultimedia-xine_artsplugin-3.3.0 Cheers, Martin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
GNOME questions
To the Gnome wizards out there, I've been experimenting with different window managers and need some tips on how making Gnome more comfortable feel. Here are some miscellaneous questions: How do I create different sized xterms and/or gnome terms of different sizes in different workspaces? Is it possible to have an xload app of a given size (or other GUI apps) and have them appear on various workspaces, or *all* workspaces? Finally, how can I set up the Fn keys to perform certain tasks, for example, have F2 minimize a window/xterm/app, and have F3 put the same application in front? Both Gnome and KDE are nice front ends, but a bit heavy on the graphical interface side for a CLI hacker like me. Feedback welcome! gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Booting to CD and the handing off to HD
On Wed, Oct 06, 2004 at 11:49:54PM -0700, Cristobal Miguelo wrote: Dear Geert, Thanks for the reply! I wasn't aware of that program and i'll certainly look into it. Do you think I could use mkisofs and do the whole El Torito cd boot thing? Thx -Cristobal Exactly. Take a look at http://www.freesbie.org. There also are firewall-systems that fit on a single floppy, e.g. PicoBSD: http://people.freebsd.org/~picobsd/picobsd.html, which works very nice as well. And of course, Linux has thousands of floppy/cd-based distro's. GH -- :wq ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Planning a Upgrade (5.2.1 -- 5.3)
Do you know of any utilities that I can use to read through my existing /etc/master.passwd file and dump usernames and plain text passwords to a file? Or is the encryption of passwords one way?? Sorry I'm not up on these things. Mick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Donald J. O'Neill Sent: 06 October 2004 17:07 To: [EMAIL PROTECTED] Subject: Re: Planning a Upgrade (5.2.1 -- 5.3) On Wednesday 06 October 2004 07:17 am, Walker, Michael wrote: Sorry I forgot to specify that I will be adding new drives to the system, so cvsup'ing isn't really a viable option in my case. Also, maybe you can clear something up for me. Every time I have cvsup'ed my source tree, and reinstalled world. I end up with every single binary file the base system has to offer. Is there any automated way I can limit the source that is compiled to the source I have on my existing system? (For future reference.) Mick Walker NAAFI Finance International Hello Mick, Are you just adding in extra drives, or are you replacing drives? If you're adding in drives, cvsuping is still a viable option. Are you going to change the partition sizes and/or locations? Well then, I guess it boils down to: do it the way you feel most comfortable with. Forget backing up passwd, master.passwd and group. 5.3 has added new users and groups, and removed some. Replacing the 5.3 files with the saved ones from 5.2.1 is asking for a disaster to happen. Every time I have cvsup'ed my source tree, and reinstalled world. I end up with every single binary file the base system has to offer. Is there any automated way I can limit the source that is compiled to the source I have on my existing system? (For future reference.) As for the above, I don't want to jump to any conclusions, but it seems to me that if you're going to install FreeBSD5.3, then you want FreeBSD 5.3. If you cvsup the FreeBSD5.3 sources and go through the world/kernel process, you're compiling only the sources that you have on your existing system as it is, after the cvsup. If you want to keep it at the sources that are on your system prior to the cvsup, there's no point in going through the world/kernel sequence. If you're asking about something different, then you need to reword your question to exactly what you want to accomplish. Don -- Donald J. O'Neill [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This email has been scanned for all viruses by the MessageLabs SkyScan service. ** This email and any files transmitted with it are confidential, and may be subject to legal privilege, and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error or think you may have done so, you may not peruse, use, disseminate, distribute or copy this message. Please notify the sender immediately and delete the original e-mail from your system. Computer viruses can be transmitted by e-mail. Recipients should check this e-mail for the presence of viruses. The Capita Group and its subsidiaries accept no liability for any damage caused by any virus transmitted by this e-mail. *** ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GNOME questions
On Thu, 7 Oct 2004 00:36:59 -0700 Gary Kline [EMAIL PROTECTED] wrote: To the Gnome wizards out there, I've been experimenting with different window managers and need some tips on how making Gnome more comfortable feel. Here are some miscellaneous questions: How do I create different sized xterms and/or gnome terms of different sizes in different workspaces? Is it possible to have an xload app of a given size (or other GUI apps) and have them appear on various workspaces, or *all* workspaces? Finally, how can I set up the Fn keys to perform certain tasks, for example, have F2 minimize a window/xterm/app, and have F3 put the same application in front? Both Gnome and KDE are nice front ends, but a bit heavy on the graphical interface side for a CLI hacker like me. Feedback welcome! hello gary, i hope that you don't take this the wrong way... i think that gnome.org and any of their forums/mailing lists would probably be much more appropriate venues for your questions. from what i can see, none of these points relate directly to freebsd. just a thought. cheers, epi gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: phpwiki
On Wed, Oct 06, 2004 at 02:26:45PM -0400, Alan Curtis wrote: I am trying to install the phpwiki port using mysql, following the instructions in /usr/local/share/doc/phpwiki. I get to testing the installation by loading http://localhost/phpwiki/index.php and I get the error Fatal error: Call to undefined function: mysql_pconnect() Any suggestions? Alan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] What PHP version you??? if PHP5 you must choose --with-mysql ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /usr/ports/java/jdk14 - native or not? problems with build..
On Tue, 5 Oct 2004, Matt Navarre wrote: On Tuesday 05 October 2004 02:30, Volker Eckert wrote: anyway, i am getting this while trying to build that very port (jdk14): ../../../../src/share/classes/javax/rmi/PortableRemoteObject.java:22: cannot access java.rmi.RemoteException bad class file: /a/jdk14/work/control/build/bsd-i586/classes/java/rmi/RemoteException.class illegal start of class file Please remove or make sure it appears in the correct subdirectory of the classpath. import java.rmi.RemoteException; ^ 1 error Did you try building the jdk before you had linprocfs mounted? If so, blow away /usr/ports/java/jdk14/work and start over. i only mounted linprocfs after the first error showed up. it works now. btw: how did you get that information out of the error message (i'm curious)? thanks a lot! Volker. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
make.conf and ntpd
Hi I've to compile ntp in /usr/src/contrib/ntp with --enable-NMEA. It works fine. But I want to add this configure option permanently. So that it'll also work after a cvsup src upgrade. Can I put this option into /etc/make.conf? If yes what exactly I've to add? regards Thomas Vogt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /usr/ports/java/jdk14 - native or not? problems with build..
On Thu, Oct 07, 2004 at 10:59:57AM +0200, Volker Eckert wrote: On Tue, 5 Oct 2004, Matt Navarre wrote: Did you try building the jdk before you had linprocfs mounted? If so, blow away /usr/ports/java/jdk14/work and start over. i only mounted linprocfs after the first error showed up. it works now. btw: how did you get that information out of the error message (i'm curious)? The same problem has been reported several times on the freebsd-java list. That's why the port Makefile specifically warns you to mount linprocfs nowadays. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgpTTEUc0lpOC.pgp Description: PGP signature
acpi_cpu1 attach returned 6 on single cpu system
Hi, I am running 5.2.1-p11 on a p3 system. I commented options SMP in the kernel config. However, i still get: acpi_cpu1: CPU on acpi0 device_probe_and_attach: acpi_cpu1 attach returned 6 In dmesg. I didnt comment APIC #optionsSMP # Symmetric MultiProcessor Kernel device apic# I/O APIC Should i also comment apic? How do i get rid of these attempts since i only have one cpu anyway? Bye, Mipam. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Tape xfers topping out at 10K per transaction?
On Wed, Oct 06, 2004 at 10:24:16PM -0500, Dan Nelson wrote: In the last episode (Oct 06), Kevin A. Pieckiel said: I've got an Exabyte M2 connected to my system. I'm running version 5.2.1 and have seen this drive do 64K transfers with systat -vm before (although that was under version 4.9). I can't for the life of me find out why I'm only getting 10K per transaction while I'm reading from my tape now. At the rate it's going, it will take over 10 hours to read through the entire thing. I know the tape drive is capable of reading an entire tape in about three hours. Tar defaults to a 10k blocksize. When creating tapes, use the 'b' flag to specify blocksize in 512-byte units. For a 64k blocksize: tar cvbf 128 /dev/sa0 /usr I hit the same 10K limit when I use something like this: # dd if=/dev/nsa0 of=/dev/null bs=64k Is that because tar wrote to the tape with a 10k bock size that even dd can't read larger blocks? That doesn't seem likely to me, but then again, what do I know? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cannot update XFree86-4
On Thu, Sep 23, 2004 at 08:54:09AM +, [EMAIL PROTECTED] wrote: Thanks for the help. I went ahead yesterday and hacked away for awhile, and worked around the problem. The reason I was nervous about those portupgrade flags is that in the past portupgrade has made a mess of things, doing too much at a time, and they are not mentioned in the note in the XFree86-4 port. I figured, if it needed those dependency checks it would have said so. Too conservative? I beleave so. Portupgrade can cause problem, but it realy did so for me. A bug does exist currently in ruby that can cause problem running it. The workaround for this is setting the following variables: PORTS_DBDRIVER=bdb1_hash PKG_DBDRIVER=bdb1_hash The first fix was a dependency on /usr/X11R6/lib/X11/doc/ddx.txt which always failed because the file extension is is caps -- ddx.TXT. I made a link so both versions were there and got past that point. The second fix solved a problem building fonts, where one of the make files was trying to run perl with a program called ucs2any. This stopped with Unrecognized character \177 at /usr/X11R6/bin/ucs2any line 1. On my system, that file is a binary; there is a ucs2any.pl in the same directiry. I renamed the bin and linked the .pl to the no -extension version, and the fonts built perfectly. I admire you devotion. I would just rebuild everything by now. -- Alex Please copy the original recipients, otherwise I may not read your reply. WWW: http://www.kruijff.org/alex/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Having a problem running quake3 on my system running 5.2.1 FreeBSD
On Thu, 7 Oct 2004, Artem Kazakov wrote: Devesh Shah wrote: The installation seems to be OK but game would not start because of the the following error. Sys_Error: Couldn't load default.cfg. Do I need to have pak0.pk3 zip file from CD as I don't find any documentation regarding default.cfg for quake 3 game? I have installed the LINUX compatible drivers and libraries and have loaded nvidia.ko on my system. Any help is appreciated. yep, as far as I remember you need pak0.pk3... default.cfg file should be in there. As you can see, the guy from http://lists.asu.edu/cgi-bin/wa?A2=ind0305L=asulugF=S=P=12606 haven't got pak0.pk3 file too and got the same problem as you. iirc for _playing_ you do need the pak0.pk3, but if you want to get rid of the complaint about the missing default.cfg you just create an empty one (~/.q3a/default.cfg i think) since the original default.cfg contains just a comment, but you'll need the original pak files anyway. regards. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
spppcontrol
did you get the connection to work? I'm experiencing the same problem you had in may! may you help lease? Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDE 3.3 upgrade and Sound
Hi, On Thu, Oct 07, 2004 at 09:26:32AM +0200, Martin Hudec wrote: same problem with me. I have installed fresh kde 3.3 with all packages but I do not have any sound output at all. Do you have sound (playing a mp3 with mplayer) before you start KDE at the console? If not then: Is the whole system freshly installed? Did you do the clues out of the handbook? (www.freebsd.org/handbook/) I did remove knotifyrc file, I didn't have to do remove it. I can send you my knotifyrc to you as a replacement if you like. (tell me where it lives) but I still cannot hear anything from xmms, mplayer etc. I also have changed kmix volume levels. I didn't have any other trouble with sound updating from 3.2 to 3.3, so I don't think this is 3.3 only. pleiades# cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: VIA VT8235 at io 0xe400 irq 10 (5p/1r/0v channels duplex default) I have arts installed too: pleiades# pkg_info | grep arts arts-1.3.0,1 artswrapper-1.2.1 kdemultimedia-mpeglib_artsplug-3.3.0 kdemultimedia-xine_artsplugin-3.3.0 You can allways do a 'portupgrade -fR kdebase\*' (if you installed the port portupgrade) if you think you're kde system is broken. -- Alex Please copy the original recipients, otherwise I may not read your reply. WWW: http://www.kruijff.org/alex/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cannot log into 4.10 machine via ssh
Hi! We are using Putty to log into our FreeBSD 4.10 Samba Server for administration. Recently this doesn't work any more: We can type in our login names, but there won't be any password prompt. Even locally from the server's terminal itself nothing happens. Everything else (pinging the machine, Samba service) works fine. What can be done? Thanks for your answers, Uli. +---+ |Peter Ulrich Kruppa| | Wuppertal | | Germany | +---+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDE 3.3 upgrade and Sound
On Thursday 07 October 2004 14:27, Alex de Kruijff wrote: Hi, On Thu, Oct 07, 2004 at 09:26:32AM +0200, Martin Hudec wrote: same problem with me. I have installed fresh kde 3.3 with all packages but I do not have any sound output at all. Do you have sound (playing a mp3 with mplayer) before you start KDE at the console? Nope :). If not then: Is the whole system freshly installed? Did you do the clues out of the handbook? (www.freebsd.org/handbook/) Yup :) I was using fluxbox and x.org before I installed KDE, and everything was working nicely :). I did remove knotifyrc file, I didn't have to do remove it. I can send you my knotifyrc to you as a replacement if you like. (tell me where it lives) ~/.kde/share/config/ but I still cannot hear anything from xmms, mplayer etc. I also have changed kmix volume levels. I didn't have any other trouble with sound updating from 3.2 to 3.3, so I don't think this is 3.3 only. Hmmm.. I wasn't upgrading, I made fresh install of KDE 3.3. But thank you :).. I ran kmix again (without any success at all), but small icon of kmix appeared in taskbar and it said Volume at 0% (even when I set 100%), so I opened it and set it at 100% again.. and it worked.. Thank you.. It was probably my fault at some point.. Cheers, Martin -- martin hudec * 421 907 303 393 * [EMAIL PROTECTED] * http://www.aeternal.net pgpgQI2CN1adQ.pgp Description: PGP signature
RE: networking problem? maybe
If you have more than one computer available, try linking up a switch to your second Ethernet card and running a test between two machines that should not touch the gateway. What's your internal LAN speed when the gateway is not involved? That will tell you whether it's the gateway you need to look at. To explain better: ADSL | | (a) FreeBSD GW | (b) | Switch / \ Machine 1 Machine 2 Have Machine 1 talk to Machine 2. What's your speed? If it's significantly faster, then it's time to look at the gateway. If not, look at the switch. If it's the gateway, try reconfiguring your gateway so that the (b) ethernet card talks to the ADSL line and the (a) card talks to your LAN. Any change in speed? If so, it's probably the card or the config associated with it. If not, it's probably your routing configuration. Hope this gives you something to start from! -Original Message- From: neko hime [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 8:02 PM To: [EMAIL PROTECTED] Subject: networking problem? maybe Hi there, i have just installed freebsd 4.9 one of my machies. This box is configured to be a gateway/router. The install was a base install, and i recompiled with the IPFILTER options. Ive added the net.inet.ip.forwarding=1 to my /etc/sysctl.conf. When accessing the internet (via ADSL/PPPoE) on the gateway machine, my downloads are very fast, and im very happy. my problem is that when i connect any computer to this LAN, the speed drops dramatically. For example: From the gateway machine speed 90K/s. From Machine attached to gateway machine speed 10K/s. Im not very good with networking, so im not exactly sure how to troubleshoot this. May someone suggest something for me to check. I would like to keep my gateway with freebsd. I hope this wasn't too confusing. thank-you aya Find local movie times and trailers on Yahoo! Movies. http://au.movies.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Planning a Upgrade (5.2.1 -- 5.3)
Walker, Michael [EMAIL PROTECTED] wrote: Do you know of any utilities that I can use to read through my existing /etc/master.passwd file and dump usernames and plain text passwords to a file? It's one-way. You could use something like John to defeat the password encryption, but it could take a _LONG_ time to finish if you've been using good passwords and a good form of encryption on your password file! Or is the encryption of passwords one way?? Sorry I'm not up on these things. Mick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Donald J. O'Neill Sent: 06 October 2004 17:07 To: [EMAIL PROTECTED] Subject: Re: Planning a Upgrade (5.2.1 -- 5.3) On Wednesday 06 October 2004 07:17 am, Walker, Michael wrote: Sorry I forgot to specify that I will be adding new drives to the system, so cvsup'ing isn't really a viable option in my case. Also, maybe you can clear something up for me. Every time I have cvsup'ed my source tree, and reinstalled world. I end up with every single binary file the base system has to offer. Is there any automated way I can limit the source that is compiled to the source I have on my existing system? (For future reference.) Mick Walker NAAFI Finance International Hello Mick, Are you just adding in extra drives, or are you replacing drives? If you're adding in drives, cvsuping is still a viable option. Are you going to change the partition sizes and/or locations? Well then, I guess it boils down to: do it the way you feel most comfortable with. Forget backing up passwd, master.passwd and group. 5.3 has added new users and groups, and removed some. Replacing the 5.3 files with the saved ones from 5.2.1 is asking for a disaster to happen. Every time I have cvsup'ed my source tree, and reinstalled world. I end up with every single binary file the base system has to offer. Is there any automated way I can limit the source that is compiled to the source I have on my existing system? (For future reference.) As for the above, I don't want to jump to any conclusions, but it seems to me that if you're going to install FreeBSD5.3, then you want FreeBSD 5.3. If you cvsup the FreeBSD5.3 sources and go through the world/kernel process, you're compiling only the sources that you have on your existing system as it is, after the cvsup. If you want to keep it at the sources that are on your system prior to the cvsup, there's no point in going through the world/kernel sequence. If you're asking about something different, then you need to reword your question to exactly what you want to accomplish. Don -- Donald J. O'Neill [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This email has been scanned for all viruses by the MessageLabs SkyScan service. ** This email and any files transmitted with it are confidential, and may be subject to legal privilege, and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error or think you may have done so, you may not peruse, use, disseminate, distribute or copy this message. Please notify the sender immediately and delete the original e-mail from your system. Computer viruses can be transmitted by e-mail. Recipients should check this e-mail for the presence of viruses. The Capita Group and its subsidiaries accept no liability for any damage caused by any virus transmitted by this e-mail. *** ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sleep in startup script never wakes up
Hello all, I have a shell script that I've put in the /usr/local/etc/rc.d directory of a box to do some fscking when needed. The script is straightforward, there are not any complicated control structures or anything like that. However, at one point it had a sleep statement in it that would go to sleep, but when the required number of seconds elapsed, it wouldn't wake up again. I've since rewritten the script to not require it, but I was wondering what's up with that? Is this a known problem? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cannot log into 4.10 machine via ssh
Peter Ulrich Kruppa [EMAIL PROTECTED] wrote: Hi! We are using Putty to log into our FreeBSD 4.10 Samba Server for administration. Recently this doesn't work any more: We can type in our login names, but there won't be any password prompt. Even locally from the server's terminal itself nothing happens. Everything else (pinging the machine, Samba service) works fine. What can be done? Look at what changed between the time it worked and when it stopped working and change that back. Unfortunately, there is almost no information in your email that can actually be used to diagnose the problem. Have you ensured that it doesn't work from other locations? Perhaps you putty installation got corrupted, or maybe an intervening ISP suddenly decided to block ssh. Do an nmap scan to see if ssh is being filtered. Try logging in from a closer server to see if the sshd on the server is still working. At least narrow it down to whether putty, the sshd, or the network is the problem. Ethereal would be a good tool as well. HTH -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cannot log into 4.10 machine via ssh
On Thu, 7 Oct 2004, Bill Moran wrote: Peter Ulrich Kruppa [EMAIL PROTECTED] wrote: Hi! We are using Putty to log into our FreeBSD 4.10 Samba Server for administration. Recently this doesn't work any more: We can type in our login names, but there won't be any password prompt. Even locally from the server's terminal itself nothing happens. Everything else (pinging the machine, Samba service) works fine. What can be done? Look at what changed between the time it worked and when it stopped working and change that back. Nothing. Unfortunately, there is almost no information in your email that can actually be used to diagnose the problem. Sorry, I don't know what I might have to look for. I tried # man ssh but couldn't find anything about log files or so. Have you ensured that it doesn't work from other locations? Yes, I tried three machines on our lan and the server itself. Perhaps you putty installation got corrupted, or maybe an intervening ISP suddenly decided to block ssh. Do an nmap scan to see if ssh is being filtered. Try logging in from a closer server to see if the sshd on the server is still working. At least narrow it down to whether putty, the sshd, or the network is the problem. Ethereal would be a good tool as well. I can't use this via internet, since our server has no public IP. Uli. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cannot log into 4.10 machine via ssh
Peter Ulrich Kruppa [EMAIL PROTECTED] writes: Have you ensured that it doesn't work from other locations? Yes, I tried three machines on our lan and the server itself. Okay, that's a very convenient place to start. From the server itself, you must have been using a different ssh client (probably the one in the FreeBSD base system), so you can rule out blaming putty. From the server, use ssh(1) with increased verbosity (-v or even -vvv) and see what it says. Most likely, though, you will need to increase the verbosity of the ssh *server* and see what it's complaining about in the connection. The most convenient (IMO) way to do this is to shut down your existing ssh server and start a new one from the command line with the -d (or even -ddd) option. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GNOME questions
Hello The xterms can be sized using .Xdefaults in your home directory. Read the man page for xterm. This should, but not always, set the size of your xterm independent of the window manger you are running, KDE, Gnome, FVWM,. On Thursday 07 October 2004 01:36, Gary Kline wrote: To the Gnome wizards out there, I've been experimenting with different window managers and need some tips on how making Gnome more comfortable feel. Here are some miscellaneous questions: How do I create different sized xterms and/or gnome terms of different sizes in different workspaces? Is it possible to have an xload app of a given size (or other GUI apps) and have them appear on various workspaces, or *all* workspaces? Finally, how can I set up the Fn keys to perform certain tasks, for example, have F2 minimize a window/xterm/app, and have F3 put the same application in front? Both Gnome and KDE are nice front ends, but a bit heavy on the graphical interface side for a CLI hacker like me. Feedback welcome! gary ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What version of FBSD does Yahoo run?
In a message dated 10/6/04 6:47:04 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: On Wed, Oct 06, 2004 at 04:42:24PM -0400, Bigelow, Andrea L. wrote: Where's the documentation? I'd like to see this for myself. There is none, because Mr./Ms. TM4525 is making up his/her facts to suit their assertion. The last time this claim was made it was refuted and TM4525 promised to go away and check 5.3 performance. Kris -- Actually, Kris, it wasn't refuted, you said that the exceptionally poor performance was expected until 5.3 was released, and implied that anyone who expected good performance was making a fool of themselves. Search google groups for freebsd 5.2 performance woes and sort by date to see my test details and subsequent comments by Kris and the other FreeBSD Spin Doctors. My tests are very controlled, and my assertion is a result of exceptionally poor performance in the test. And no-one refuted my results. More like jockeying to save face. Nor did I promise to go away. I promised to test 5.3 and post the results. TM ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What version of FBSD does Yahoo run?
On Thu, Oct 07, 2004 at 09:55:37AM -0400, [EMAIL PROTECTED] wrote: In a message dated 10/6/04 6:47:04 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: On Wed, Oct 06, 2004 at 04:42:24PM -0400, Bigelow, Andrea L. wrote: Where's the documentation? I'd like to see this for myself. There is none, because Mr./Ms. TM4525 is making up his/her facts to suit their assertion. The last time this claim was made it was refuted and TM4525 promised to go away and check 5.3 performance. Kris -- Actually, Kris, it wasn't refuted, you said that the exceptionally poor performance was expected until 5.3 was released, and implied that anyone who expected good performance was making a fool of themselves. Search google groups for freebsd 5.2 performance woes and sort by date to see my test details and subsequent comments by Kris and the other FreeBSD Spin Doctors. My tests are very controlled, and my assertion is a result of exceptionally poor performance in the test. And no-one refuted my results. More like jockeying to save face. Nor did I promise to go away. I promised to test 5.3 and post the results. We're waiting..5.3 is in beta and ready for your tests. Other benchmarks show very good results compared to 4.x. Kris pgpJZOfsrUDCZ.pgp Description: PGP signature
RE: What version of FBSD does Yahoo run?
Can anyone speak to performance improvement if the debug flags are removed? -Original Message- From: Kris Kennaway [mailto:[EMAIL PROTECTED] Sent: Thursday, October 07, 2004 10:04 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: What version of FBSD does Yahoo run? On Thu, Oct 07, 2004 at 09:55:37AM -0400, [EMAIL PROTECTED] wrote: In a message dated 10/6/04 6:47:04 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: On Wed, Oct 06, 2004 at 04:42:24PM -0400, Bigelow, Andrea L. wrote: Where's the documentation? I'd like to see this for myself. There is none, because Mr./Ms. TM4525 is making up his/her facts to suit their assertion. The last time this claim was made it was refuted and TM4525 promised to go away and check 5.3 performance. Kris -- Actually, Kris, it wasn't refuted, you said that the exceptionally poor performance was expected until 5.3 was released, and implied that anyone who expected good performance was making a fool of themselves. Search google groups for freebsd 5.2 performance woes and sort by date to see my test details and subsequent comments by Kris and the other FreeBSD Spin Doctors. My tests are very controlled, and my assertion is a result of exceptionally poor performance in the test. And no-one refuted my results. More like jockeying to save face. Nor did I promise to go away. I promised to test 5.3 and post the results. We're waiting..5.3 is in beta and ready for your tests. Other benchmarks show very good results compared to 4.x. Kris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Shell script error
Hello, it's me again. This time I'm trying to do some shell scripting but I'm running into a problem with a randomization script that I found on the web. The script I'm trying to run can be found at: http://www.bsdbooks.net/shells/scripting/randomvar.html#PICKCARD. Everything runs fine on different Linux systems that I've used (Red Hat 9, Knoppix-STD, PHLAK) but when I run the script on FreeBSD or OpenBSD I get errors. I'm mainly running FreeBSD 5.3-BETA right now with /shells/bash2 installed so that's where I'd really like to get it running. I did change the first line to point to /usr/local/bin/bash but that didn't make any difference. If anyone knows why this won't run, or if anyone has another example of getting a random character (I'd eventually like to generate a random hexadecimal character) I'd love to hear from you. Thanks, Ben ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What version of FBSD does Yahoo run?
On Thu, Oct 07, 2004 at 10:04:59AM -0400, Bigelow, Andrea L. wrote: Can anyone speak to performance improvement if the debug flags are removed? Well, it's vast :) 5.3 (i.e. the RELENG_5 branch) has them turned off already in preparation for the release. Kris pgpBqbH2Kp87m.pgp Description: PGP signature
Re: Tape xfers topping out at 10K per transaction?
In the last episode (Oct 07), Kevin A. Pieckiel said: I hit the same 10K limit when I use something like this: # dd if=/dev/nsa0 of=/dev/null bs=64k Is that because tar wrote to the tape with a 10k bock size that even dd can't read larger blocks? That doesn't seem likely to me, but then again, what do I know? Blocksize is determined when you write the tape. If you print a document on Letter-size paper, a person reading it can't request it in A4-sized chunks :) -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: What version of FBSD does Yahoo run?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kris Kennaway Sent: 07 October 2004 15:10 To: Bigelow, Andrea L. Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; 'Kris Kennaway' Subject: Re: What version of FBSD does Yahoo run? On Thu, Oct 07, 2004 at 10:04:59AM -0400, Bigelow, Andrea L. wrote: Can anyone speak to performance improvement if the debug flags are removed? Well, it's vast :) 5.3 (i.e. the RELENG_5 branch) has them turned off already in preparation for the release. Kris -End Original Message- What is performance like in 5.2.1 with them turned off? I have never used a stable branch, being relatively new to FreeBSD, so I have nothing to compare my 5.2.1 system to. (Although it seems no slower than the gentoo box next to it which has the exact same hardware). Mick Walker NAAFI Finance International ** This email and any files transmitted with it are confidential, and may be subject to legal privilege, and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error or think you may have done so, you may not peruse, use, disseminate, distribute or copy this message. Please notify the sender immediately and delete the original e-mail from your system. Computer viruses can be transmitted by e-mail. Recipients should check this e-mail for the presence of viruses. The Capita Group and its subsidiaries accept no liability for any damage caused by any virus transmitted by this e-mail. *** ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: FTP Proxies and Ports
Remko, I really appreciate the suggestion. I gave it a go, and it doesn't seem to work with my style of proxy. I think I'll consult with our security folks here and see what they have to say. -Original Message- From: Remko Lodder [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 6:08 PM To: Bigelow, Andrea L. Cc: '[EMAIL PROTECTED]' Subject: Re: FTP Proxies and Ports Bigelow, Andrea L. wrote: Hi Andi, Hello, I've thus far been unsuccessful with $FTP_PROXY and $HTTP_PROXY in getting fetch to honor my company's FTP proxy. The easiest way to use the proxy is a URL format: ftp://username:password@server. Is there a way that I can specify that this format be used anytime I want to download and install or update a port? I'm using fetch instead of CVSup. I'd needed to set ftp_proxy=http://username:password@proxy:prt and http_proxy=http://username:password@proxy:prt while using squid. Yes there are 2 http's. Test it ;) Cheers! Thanks for any help you can provide! -- Kind regards, Remko Lodder |[EMAIL PROTECTED] Reporter DSINet|[EMAIL PROTECTED] Projectleader Mostly-Harmless |[EMAIL PROTECTED] Founder Tienervaders |[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What version of FBSD does Yahoo run?
On Thu, Oct 07, 2004 at 07:04:10AM -0700, Kris Kennaway wrote: On Thu, Oct 07, 2004 at 09:55:37AM -0400, [EMAIL PROTECTED] wrote: In a message dated 10/6/04 6:47:04 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: On Wed, Oct 06, 2004 at 04:42:24PM -0400, Bigelow, Andrea L. wrote: Where's the documentation? I'd like to see this for myself. There is none, because Mr./Ms. TM4525 is making up his/her facts to suit their assertion. The last time this claim was made it was refuted and TM4525 promised to go away and check 5.3 performance. Kris -- Actually, Kris, it wasn't refuted, you said that the exceptionally poor performance was expected until 5.3 was released, and implied that anyone who expected good performance was making a fool of themselves. Search google groups for freebsd 5.2 performance woes and sort by date to see my test details and subsequent comments by Kris and the other FreeBSD Spin Doctors. My tests are very controlled, and my assertion is a result of exceptionally poor performance in the test. And no-one refuted my results. More like jockeying to save face. Nor did I promise to go away. I promised to test 5.3 and post the results. We're waiting..5.3 is in beta and ready for your tests. Other benchmarks show very good results compared to 4.x. Here's one benchmark, showing UDP packet/second generation rate from userland on a dual xeon machine under various target loads: Desired Optimal 5.x-UP 5.x-SMP 4.x-UP 4.x-SMP 5 5 5 5 5 5 75000 75000 75001 75001 75001 75001 10 10 10 10 10 10 125000 125000 125000 125000 125000 125000 15 15 150015 150014 150015 150015 175000 175000 175008 175008 175008 169097 20 20 20 179621 181445 169451 225000 225000 225022 179729 181367 169831 25 25 242742 179979 181138 169212 275000 275000 242102 180171 181134 169283 30 30 242213 179157 181098 169355 i.e. it shows a 33% improvement on UP machines, and 6% on SMP between 4.x and 5.3. (Of course, kernel packet generation is much faster than userland, but that's not what is benchmarked here.) SMP in 5.3 does a lot better in benchmarks of other types of workloads, for example mysql with the supersmack stress tool. I don't have those numbers to hand right now though. Of course, there are lots of other things you could try to benchmark, and there is certainly a lot of optimization work remaining to be done. The first step in optimizing is to find a good test case that clearly demonstrates a problem, and run it under controlled conditions. But this shows that 5.3 is clearly a good start along that path, and is a significant improvement over 4.x and older 5.x releases. You should expect further performance improvements in the 5.x branch over the coming months, as the focus of development shifts from infrastructure to optimization. Kris pgpuaVLsIQa0B.pgp Description: PGP signature
Re: What version of FBSD does Yahoo run?
On Thu, Oct 07, 2004 at 03:16:49PM +0100, Walker, Michael wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kris Kennaway Sent: 07 October 2004 15:10 To: Bigelow, Andrea L. Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; 'Kris Kennaway' Subject: Re: What version of FBSD does Yahoo run? On Thu, Oct 07, 2004 at 10:04:59AM -0400, Bigelow, Andrea L. wrote: Can anyone speak to performance improvement if the debug flags are removed? Well, it's vast :) 5.3 (i.e. the RELENG_5 branch) has them turned off already in preparation for the release. Kris -End Original Message- What is performance like in 5.2.1 with them turned off? Not so good -- as we've been discussing in this thread, 5.2.1 was clearly marked as a development release for early adopters, and it was a work in progress for which significant optimization had not yet been performed. That has changed, and 5.3 now performs a lot better than 4.x under many workloads (particularly network-related). Kris pgpLlgd5Y3VUi.pgp Description: PGP signature
Re: problem installing firefox
[EMAIL PROTECTED] writes: [EMAIL PROTECTED] writes: I'm having trouble installing firefox on freebsd-4.10. When i try to install it it gives me this error: /usr/libexec/elf/ld: cannot find -lXcursor gmake[2]: *** [libgtkxtbin.so] Error 1 gmake[2]: Leaving Directory '/usr/ports/www/firefox/work/mozilla /widget/src/gtkxtbin' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving Directory`/usr/ports/www/firefox/work/mozilla' gmake: *** [default] Error 2 *** Error code 2 any help would be appreciated. Had you done a build before this? It looks like the problem is in the build part, not the install. Are your ports up-to-date? There have been some major changes in the port since the release of FreeBSD 4.10. This is my first time installing firefox. I updated my ports yesterday and i tried again, but i still get the error. It builds fine for me. It's looking for libXcursor.so, which is normally installed by the XFree86-libraries port into /usr/X11R6/lib (I assume it should be installed by the equivalent xorg port if you're using that, but XFree86 is the default on 4.10). Check if you have that. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org:8088/~lowell/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Remote terminal sessions lock up and daemons flake out
This last problem has started to happen only lately. I log in from my FreeBSD workstation, on an xterm, via ssh to a remote machine running 4.9. I often sudo -s. I'm using tcsh. Lately, I leave the session for a while and come back and the session is locked up. I can't exit or anything. I kill the xterm and restart. I reconnect to the box, and there's no hanging session ... any advice? Possibly related. This is a Plesk box. The httpd and spamd frequently fail. I've got a duct-tape script in cron to check these demons and restart. Pointers on where I might look, perhaps in sysctl, to pinpoint what might be happening? Thanks, -danny -- Danny Howard[EMAIL PROTECTED] Technical Support Manager (312)829- x235 Server Central Network http://www.servercentral.net/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remote terminal sessions lock up and daemons flake out
Danny Howard wrote: This last problem has started to happen only lately. I log in from my FreeBSD workstation, on an xterm, via ssh to a remote machine running 4.9. I often sudo -s. I'm using tcsh. Lately, I leave the session for a while and come back and the session is locked up. I can't exit or anything. I kill the xterm and restart. I reconnect to the box, and there's no hanging session ... any advice? To clarify, This happens only when the session is idle. I CAN ~. out of the ssh connection, and get my xterm back. -d -- Danny Howard[EMAIL PROTECTED] Technical Support Manager (312)829- x235 Server Central Network http://www.servercentral.net/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cannot log into 4.10 machine via ssh
Peter Ulrich Kruppa wrote: Recently this doesn't work any more: We can type in our login names, but there won't be any password prompt. Even locally from the server's terminal itself nothing happens. What happens when you try to ssh? It is good to describe what error you are seeing beyond it does not work. Everything else (pinging the machine, Samba service) works fine. What can be done? Is sshd running? ps auxww | grep sshd Maybe sshd died or needs to be restarted or something. ;) -danny -- Danny Howard[EMAIL PROTECTED] Technical Support Manager (312)829- x235 Server Central Network http://www.servercentral.net/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /usr/ports/java/jdk14 - native or not? problems with build..
On Thursday 07 October 2004 01:59, Volker Eckert wrote: On Tue, 5 Oct 2004, Matt Navarre wrote: On Tuesday 05 October 2004 02:30, Volker Eckert wrote: anyway, i am getting this while trying to build that very port (jdk14): ../../../../src/share/classes/javax/rmi/PortableRemoteObject.java:22: cannot access java.rmi.RemoteException bad class file: /a/jdk14/work/control/build/bsd-i586/classes/java/rmi/RemoteException.cl ass illegal start of class file Please remove or make sure it appears in the correct subdirectory of the classpath. import java.rmi.RemoteException; ^ 1 error Did you try building the jdk before you had linprocfs mounted? If so, blow away /usr/ports/java/jdk14/work and start over. i only mounted linprocfs after the first error showed up. it works now. btw: how did you get that information out of the error message (i'm curious)? I had the same problem when I built the native jdk. I can't remember whether I figured it out myself or found the answer on the list, but it worked. thanks a lot! Volker. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- We all enter this world in the same way: naked, screaming, and soaked in blood. But if you live your life right, that kind of thing doesn't have to stop there. -- Dana Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Reduce effects of DDoS attack ...
Marc, usually the best answer to this is to have your net-facing device be a router (not a switch!) with enough juice to run a comprehensive ACL that keeps out martians, spoofed packets, and other stuff that doesn't belong on your network. Your second line of defense should be a good firewall, sitting behind the router. If your server cluster is supposed to be on the DMZ, then set up the switch behind the router with the boxes and the firewall on that switch. I realize that this is a VERY simplistic design description, and it could be tightened up, locked down, and fancified quite a lot, but it's the very basics. -Original Message- From: Marc G. Fournier [mailto:[EMAIL PROTECTED] Sent: Thursday, October 07, 2004 11:19 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Reduce effects of DDoS attack ... I've got 5 servers sitting on a 10/100 unmanaged switch right now ... last night, a DDoS attack against a network beside us cause 70+% packet loss on our network, and I'm trying to figure out if there is anything I can do from my side to compensate for this ... I run ipaudit on all our servers, and a normal 30 minute period looks like: neptune# gzcat 2004-10-06-22:00.txt.gz | grep 200.046.204 | wc -l 12107 neptune# gzcat 2004-10-06-22:00.txt.gz | grep -v 200.046.204 | wc -l 112 neptune# gzcat 2004-10-06-22:00.txt.gz | wc -l 12219 where 200.046.204 is our C-class ... Now, when the DDoS attack is running, those stats change to: neptune# gzcat 2004-10-06-17:30.txt.gz | grep 200.046.204 | wc -l 5815 neptune# gzcat 2004-10-06-17:30.txt.gz | grep -v 200.046.204 | wc -l 594189 neptune# gzcat 2004-10-06-17:30.txt.gz | wc -l 64 We're getting *alot* of traffic on our network that just is not ours ... Now, I can login to the servers, and load is negligible ... but packet loss is anywhere from 50-90%, so pretty much unusable ... Now, the shared 'switch' between our networks is a Cisco Catalyst 2900xl ... is there something that should be set on that so that I don't see that network traffic? Basically, the only network traffic that I should/want to see is that for my network .. in this case, 200.46.204? Baring that ... is there anything that I can do on the FreeBSD side of things to reduce the impact of the extra packets? Some way of absorbing them? For instance, if the packet is coming in, and it isn't for that server, then I imagine it has to 'bounce' it back out again, compounding the problem, no? Also ... since the FreeBSD servers do seem to be handling the load, is it possible that the unmanaged switch that i have in place between the FreeBSD box and the Cisco switch is 'buckling under the load'? Not able to handle the packets fast enough, and therefore just drop'ng them? The unmanage switch is a 10/100 Linksys Switch ... Thanks for any responses ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Portupgrade problem, possible pkgdb problem?
I'm still getting this error after a cvsup+buildworld, a make fetchindex and I have deleted /var/db/pkg/pkgdb.db and rebuilt it, what's the patch?: test# uname -v FreeBSD 5.2.1-RELEASE-p11 #12: Wed Oct 6 17:13:13 CDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TEST test# cd /usr/ports test# make fetchindex Receiving INDEX-5 (5881230 bytes): 100% 5881230 bytes transferred in 16.9 seconds (339.01 kBps) test# portupgrade -R sudo [Failed `Inappropriate file type or format'] [Updating the portsdb format:bdb1_btree in /usr/ports ... - 11735 port entries found .1000.2000.3000.4000.5000.60 00.7000.8000/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb :587: [BUG] Bus Error ruby 1.8.2 (2004-07-29) [i386-freebsd5] Abort (core dumped) test# rm /var/db/pkg/pkgdb.db test# portupgrade -R sudo [Rebuilding the pkgdb format:bdb1_btree in /var/db/pkg ... - 54 packages found (-0 +54) .. done] [Failed `Inappropriate file type or format'] [Updating the portsdb format:bdb1_btree in /usr/ports ... - 11735 port entries found .1000.2000.3000.4000.5000.60 00.7000.8000/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb :587: [BUG] Bus Error ruby 1.8.2 (2004-07-29) [i386-freebsd5] Abort (core dumped) test# -- Ethernet (n): something used to catch the etherbunny John Mire: [EMAIL PROTECTED]Network Administration 318-675-5434 LSU Health Sciences Center - Shreveport The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Seaman Sent: Sunday, September 26, 2004 4:14 AM To: Matt Navarre Cc: [EMAIL PROTECTED] Subject: Re: Portupgrade problem, possible pkgdb problem? On Sat, Sep 25, 2004 at 06:14:18PM -0700, Matt Navarre wrote: On Saturday 25 September 2004 05:13, Alex de Kruijff wrote: It could be a problem with the DBDriver. You could try this: Edit /root/.cs... and add PORTS_DBDRIVER=bdb1_hash PKG_DBDRIVER=bdb1_hash Doesn't the DBDRIVER bug result in ruby dumping core? 'Cuz it isn't in this case, it fails gracefully. The core dump is seen with portsdb(1) trying to create /usr/ports/INDEX.db -- however, the underlying bug can affect anywhere that ruby uses bdb1_btree files. pkgdb(1) occasionally going a bit funny is a problem that's been known about for some time; usually just deleting and rebuilding /var/db/pkg/pkgdb.db will sort things out. However, I don't think anyone had ever tracked down the root cause of the problem. Then the portsdb coredumping thing came along, and it seems an obvious conclusion that the same thing might be affecting both programs. Note that a fix for the bdb1_btree problem has been in HEAD for a few weeks, and was MFC'd to both RELENG_4 and RELENG_5 a week or so ago. So an alternative fix could be cvsup+buildworld. Unfortunately, I don't think the fix will be applied to any of the existing 4.x-RELEASE or 5.x-RELEASE branches -- it will of course be in 5.3-RELEASE when that comes out, and it's pretty easy to do if you want to patch things yourself. I'll go ahead and try this, but I suspect that the /var/db/pkg info for gnucash or one of it's dependancies got horked up. We'll see. Then execute this in your shell also. Then do: pkgdb -u portsdb -u portupgrade -R gnucash Yup. That should ensure you get a clean install of gnucash and all of its dependencies. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remote terminal sessions lock up and daemons flake out
On Thu, Oct 07, 2004 at 09:31:26AM -0500, Danny Howard wrote: This last problem has started to happen only lately. I log in from my FreeBSD workstation, on an xterm, via ssh to a remote machine running 4.9. I often sudo -s. I'm using tcsh. Lately, I leave the session for a while and come back and the session is locked up. I can't exit or anything. I kill the xterm and restart. I reconnect to the box, and there's no hanging session ... any advice? Possibly related. This is a Plesk box. The httpd and spamd frequently fail. I've got a duct-tape script in cron to check these demons and restart. Pointers on where I might look, perhaps in sysctl, to pinpoint what might be happening? Thanks, -danny Could this be an idle-timeout on the server and the connection isn't closing properly? Perhaps you are behind some sort of stateful firewall that drops dynamic rules after a certain period of idle time? Nathan -- PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=getsearch=0xD8527E49 pgpKjgLDfL2f4.pgp Description: PGP signature
Re: How-to capture error messages from ... recent
Hello Toomas, Thanks a lot for your reply! Before starting the installation, issue this command: script /var/tmp/portinstall.log After finishing the installation ... exit That worked perfectly. There's a number of Error code 1s in there. But at least I can read up on 'em in a more leisurely fashion.:c) Unfortunately I am not familiar with instant-workstation port ... it may be safer to leave [various port configure options] as defaults. I *had* been pretty much doing that. The Postfix config screen, though, presents a screen full of alphabet soup options. It was late. I was tired. I should've known better. I came across instant-workstation late last year while using Greg Lehey's Complete FreeBSD book to install 5.0-Release on my wife's dual-boot (Windows ME). The port installs fifteen/sixteen sub-ports (acroread, gimp, kde, etc.), and the postfix one gets installed towards the end of the instant-workstation install. I suspect I now have to go into each sub-port and 'make clean,' since the inst.-work. didn't get that far. * Cannibal's recipe book: How to Serve Your Fellow Man. Thanks again. (Love the tagline!) -- df (dave) armour at my real box dought calm! -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remote terminal sessions lock up and daemons flake out
Nathan Kinkade wrote: Perhaps you are behind some sort of stateful firewall that drops dynamic rules after a certain period of idle time? Nathan, Good call! I got ipfw in there just last week. Time to RTFM. (Yeah, this is kind of like a crappy NAT ...) And yes, I discovered the sessions are still on the box. kill -1 -1 is handy for that, though. Thanks, -danny -- Danny Howard[EMAIL PROTECTED] Technical Support Manager (312)829- x235 Server Central Network http://www.servercentral.net/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Shell script error
That script works fine for me on my box and I'm also running FreeBSD 5.3-BETA with bash2. What kind of error are you getting? What is the output of bash -x scriptname.sh (filling in the script name of course). --Andy On Oct 7, 2004, at 7:07 AM, Pratt, Benjamin E. wrote: Hello, it's me again. This time I'm trying to do some shell scripting but I'm running into a problem with a randomization script that I found on the web. The script I'm trying to run can be found at: http://www.bsdbooks.net/shells/scripting/randomvar.html#PICKCARD. Everything runs fine on different Linux systems that I've used (Red Hat 9, Knoppix-STD, PHLAK) but when I run the script on FreeBSD or OpenBSD I get errors. I'm mainly running FreeBSD 5.3-BETA right now with /shells/bash2 installed so that's where I'd really like to get it running. I did change the first line to point to /usr/local/bin/bash but that didn't make any difference. If anyone knows why this won't run, or if anyone has another example of getting a random character (I'd eventually like to generate a random hexadecimal character) I'd love to hear from you. Thanks, Ben ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Shell script error
Sorry, I was using sh test.sh to execute the script and getting the error: test.sh: 28: Syntax error: word unexpected (expecting )) When I use ./test.sh to run it things work fine. Sorry for the clutter. Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Moran Sent: Thursday, October 07, 2004 11:02 AM To: Pratt, Benjamin E. Cc: [EMAIL PROTECTED] Subject: Re: Shell script error That script works fine for me on my box and I'm also running FreeBSD 5.3-BETA with bash2. What kind of error are you getting? What is the output of bash -x scriptname.sh (filling in the script name of course). --Andy On Oct 7, 2004, at 7:07 AM, Pratt, Benjamin E. wrote: Hello, it's me again. This time I'm trying to do some shell scripting but I'm running into a problem with a randomization script that I found on the web. The script I'm trying to run can be found at: http://www.bsdbooks.net/shells/scripting/randomvar.html#PICKCARD. Everything runs fine on different Linux systems that I've used (Red Hat 9, Knoppix-STD, PHLAK) but when I run the script on FreeBSD or OpenBSD I get errors. I'm mainly running FreeBSD 5.3-BETA right now with /shells/bash2 installed so that's where I'd really like to get it running. I did change the first line to point to /usr/local/bin/bash but that didn't make any difference. If anyone knows why this won't run, or if anyone has another example of getting a random character (I'd eventually like to generate a random hexadecimal character) I'd love to hear from you. Thanks, Ben ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
VINUM: Disk crash with striped raid
Hi Greg and list! I did have two 120 GB's disk drives in vinum as a striped raid. One disk crashed, and is not found during boot. It starts up and makes the usual noises, but then it stalls with a katjing, katjing and so on. It seems like either the steering electronics, or the read/write-heads mechanics, have failed. I did contact a data recovery company and they say they need both disks to restore the raid, because of that the raid initializing might be corrupted. My questions is: Do they need both disks? Isn't it enough if they make a disk image of the failed drive, and I will then be able to restore the raid data initialization in vinum by a vinum create, or something similar? Will they be able to recreate the raid data without using vinum anyway? Thank you in advance for an answer! Best regards, Paul ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Shell script error
On 2004-10-07 09:01, Andrew Moran [EMAIL PROTECTED] wrote: On Oct 7, 2004, at 7:07 AM, Pratt, Benjamin E. wrote: Hello, it's me again. This time I'm trying to do some shell scripting but I'm running into a problem with a randomization script that I found on the web. The script I'm trying to run can be found at: http://www.bsdbooks.net/shells/scripting/randomvar.html#PICKCARD. Everything runs fine on different Linux systems that I've used (Red Hat 9, Knoppix-STD, PHLAK) but when I run the script on FreeBSD or OpenBSD I get errors. I'm mainly running FreeBSD 5.3-BETA right now with /shells/bash2 installed so that's where I'd really like to get it running. I did change the first line to point to /usr/local/bin/bash but that didn't make any difference. If anyone knows why this won't run, or if anyone has another example of getting a random character (I'd eventually like to generate a random hexadecimal character) I'd love to hear from you. That script works fine for me on my box and I'm also running FreeBSD 5.3-BETA with bash2. What kind of error are you getting? What is the output of bash -x scriptname.sh (filling in the script name of course). I've run this successfully on FreeBSD 6.0-CURRENT too. Some of the test runs are shown below: $ bash card.sh 9 of Clubs $ bash card.bash 6 of Spades $ bash card.bash King of Spades - Giorgos ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GNOME questions
On Thu, Oct 07, 2004 at 04:27:02AM -0400, epilogue wrote: On Thu, 7 Oct 2004 00:36:59 -0700 Gary Kline [EMAIL PROTECTED] wrote: [[ ... ]] hello gary, i hope that you don't take this the wrong way... i think that gnome.org and any of their forums/mailing lists would probably be much more appropriate venues for your questions. from what i can see, none of these points relate directly to freebsd. just a thought. Point well taken. I didn't look for a gnome list. thanks, gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Shell script error
The reason that works on Linux and not on FreeBSD is that on Linux sh is really bash. On FreeBSD, sh is the bourne shell and bash is bash. Bash will run all sh scripts, but sh will not run all bash scripts. Bash extends the sh language. That script is a bash script, not a sh script. --Andy Friends may come and go but enemies accumulate. On Thu, 7 Oct 2004, Pratt, Benjamin E. wrote: Sorry, I was using sh test.sh to execute the script and getting the error: test.sh: 28: Syntax error: word unexpected (expecting )) When I use ./test.sh to run it things work fine. Sorry for the clutter. Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Moran Sent: Thursday, October 07, 2004 11:02 AM To: Pratt, Benjamin E. Cc: [EMAIL PROTECTED] Subject: Re: Shell script error That script works fine for me on my box and I'm also running FreeBSD 5.3-BETA with bash2. What kind of error are you getting? What is the output of bash -x scriptname.sh (filling in the script name of course). --Andy On Oct 7, 2004, at 7:07 AM, Pratt, Benjamin E. wrote: Hello, it's me again. This time I'm trying to do some shell scripting but I'm running into a problem with a randomization script that I found on the web. The script I'm trying to run can be found at: http://www.bsdbooks.net/shells/scripting/randomvar.html#PICKCARD. Everything runs fine on different Linux systems that I've used (Red Hat 9, Knoppix-STD, PHLAK) but when I run the script on FreeBSD or OpenBSD I get errors. I'm mainly running FreeBSD 5.3-BETA right now with /shells/bash2 installed so that's where I'd really like to get it running. I did change the first line to point to /usr/local/bin/bash but that didn't make any difference. If anyone knows why this won't run, or if anyone has another example of getting a random character (I'd eventually like to generate a random hexadecimal character) I'd love to hear from you. Thanks, Ben ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remote terminal sessions lock up and daemons flake out
On Thu, Oct 07, 2004 at 10:57:56AM -0500, Danny Howard wrote: Nathan Kinkade wrote: Perhaps you are behind some sort of stateful firewall that drops dynamic rules after a certain period of idle time? Nathan, Good call! I got ipfw in there just last week. Time to RTFM. (Yeah, this is kind of like a crappy NAT ...) And yes, I discovered the sessions are still on the box. kill -1 -1 is handy for that, though. Thanks, -danny It might be worth while to look into these options for the sshd_config file: ClientAliveInterval ClientAliveCountMax KeepAlive Nathan -- PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=getsearch=0xD8527E49 pgp6NqOdlrLSz.pgp Description: PGP signature
Re: GNOME questions
On Thu, Oct 07, 2004 at 07:33:21AM -0600, Aaron Siegel wrote: Hello The xterms can be sized using .Xdefaults in your home directory. Read the man page for xterm. This should, but not always, set the size of your xterm independent of the window manger you are running, KDE, Gnome, FVWM,. I already have a number of defaults set for my xterms in ~/.Xdefaults. What I want to do is have K xterms/workspace, have them display by default when Gnome is instantiated-- have a couple with pointsize at --12- and others at --14- anchored at +N-M coordinates. Hm, maybe I can symlink xterm - xterm1 and have different sizes, fonts, c in ~/.Xdefaults. gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What version of FBSD does Yahoo run?
In a message dated 10/7/04 10:17:47 AM Eastern Daylight Time, obscurity Kris writes: Well, it's vast :) Kris We're waiting..5.3 is in beta and ready for your tests. Other benchmarks show very good results compared to 4.x. Kris -- Quite a bunch of scientists on the FreeBSD team these days, eh? :) why don't you post some of these impressive benchmarks to substantiate your seemingly flimsy position? On a single processor system please, for the 99% of us who don't use SMP. Hopefully the only good reason to run 5.x won't be if you run 4 processor systems. TM ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gbde misconfiguration ?
Hi, I updated my kernel and built it from CURRENT. Everything went fine. When I rebooted the machine after mergemaster, I was prompted to enter passphrase for Disk Encryption, as below. Configuring Disk Encryption for NO. Enter passphrase: When I hit ENTER gbde: Attach to NO faile: Provider not found Attach Failed: attempt 1 of 3. Enter passphrase: I dont recall if I enabled gbde. Any idea, what might have happened ?. More importantly, can anyone tell me how to get around this and continue with my booting sequence ? In my previous build using STABLE, i didnt see this problem. Bala ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gbde misconfiguration ?
Hi, I updated my kernel and built it from CURRENT. Everything went fine. When I rebooted the machine after mergemaster, I was prompted to enter passphrase for Disk Encryption, as below. Configuring Disk Encryption for NO. Enter passphrase: When I hit ENTER gbde: Attach to NO faile: Provider not found Attach Failed: attempt 1 of 3. Enter passphrase: I dont recall if I enabled gbde. Any idea, what might have happened ?. More importantly, can anyone tell me how to get around this and continue with my booting sequence ? Thanks in advance. Bala ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
exiftran or jpegtran for FreeBSD
I'm wanting to rotate some jpegs that I;ve got. It has been sugested that I use either exiftran, or jpegtran to do this, in order to avoid loosing quality. I can't seem to find either of these in ports. Can anyone point me to a place to get source code for these that will compile on FreeBSD? -- They that would give up essential liberty for temporary safety deserve neither liberty nor safety. -- Benjamin Franklin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: exiftran or jpegtran for FreeBSD
In the last episode (Oct 07), stan said: I'm wanting to rotate some jpegs that I;ve got. It has been sugested that I use either exiftran, or jpegtran to do this, in order to avoid loosing quality. Install the graphics/jpeg port. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Tape xfers topping out at 10K per transaction?
On Thu, Oct 07, 2004 at 09:13:46AM -0500, Dan Nelson wrote: Blocksize is determined when you write the tape. If you print a document on Letter-size paper, a person reading it can't request it in A4-sized chunks :) :) Well, duh! I guess I was just hooked on the idea that if I were to write a regular file to the HDD in 10K chunks, I could still read it in 64K chunks. I've had a really bad week. I mistakenly applied that to tape as well. I think I knew better, but even that's debatable. Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gbde misconfiguration ?
On 2004.10.07 09:51:17 -0700, Balakumar Velmurugan wrote: Hi, I updated my kernel and built it from CURRENT. Everything went fine. When I rebooted the machine after mergemaster, I was prompted to enter passphrase for Disk Encryption, as below. Configuring Disk Encryption for NO. Enter passphrase: When I hit ENTER gbde: Attach to NO faile: Provider not found Attach Failed: attempt 1 of 3. Enter passphrase: I think pjd has already fixed this (but I currently run RELENG_5, so I haven't tested it). Try to update your sources again and see if the problem isn't fixed. I dont recall if I enabled gbde. Any idea, what might have happened ?. If you do not recall you haven't seen it would then prompt you for a password no each boot. More importantly, can anyone tell me how to get around this and continue with my booting sequence ? In my previous build using STABLE, i didnt see this problem. Just FYI, STABLE is still RELENG_4/4.X... though we are getting closer at 5-STABLE/5.3-STABLE. -- Simon L. Nielsen FreeBSD Documentation Team pgp1xcbS4112v.pgp Description: PGP signature
Re: exiftran or jpegtran for FreeBSD
you want jpegtran from graphics/jpeg On Oct 7, 2004, at 1:09 PM, stan wrote: I'm wanting to rotate some jpegs that I;ve got. It has been sugested that I use either exiftran, or jpegtran to do this, in order to avoid loosing quality. I can't seem to find either of these in ports. Can anyone point me to a place to get source code for these that will compile on FreeBSD? -- They that would give up essential liberty for temporary safety deserve neither liberty nor safety. -- Benjamin Franklin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem, possible pkgdb problem?
On Thu, Oct 07, 2004 at 10:45:46AM -0500, Mire, John wrote: I'm still getting this error after a cvsup+buildworld, a make fetchindex and I have deleted /var/db/pkg/pkgdb.db and rebuilt it, what's the patch?: test# uname -v FreeBSD 5.2.1-RELEASE-p11 #12: Wed Oct 6 17:13:13 CDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TEST test# cd /usr/ports test# make fetchindex Receiving INDEX-5 (5881230 bytes): 100% 5881230 bytes transferred in 16.9 seconds (339.01 kBps) test# portupgrade -R sudo [Failed `Inappropriate file type or format'] [Updating the portsdb format:bdb1_btree in /usr/ports ... - 11735 port entries found .1000.2000.3000.4000.5000.60 00.7000.8000/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb :587: [BUG] Bus Error ruby 1.8.2 (2004-07-29) [i386-freebsd5] Abort (core dumped) test# rm /var/db/pkg/pkgdb.db test# portupgrade -R sudo [Rebuilding the pkgdb format:bdb1_btree in /var/db/pkg ... - 54 packages found (-0 +54) .. done] [Failed `Inappropriate file type or format'] [Updating the portsdb format:bdb1_btree in /usr/ports ... - 11735 port entries found .1000.2000.3000.4000.5000.60 00.7000.8000/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb :587: [BUG] Bus Error ruby 1.8.2 (2004-07-29) [i386-freebsd5] Abort (core dumped) test# The patch was only applied to RELENG_4, RELENG_5 and HEAD -- not RELENG_5_2. However, you can extract it from cvs and apply it yourself by hand if you aren't in a position to upgrade right now -- see: http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/db/btree/bt_split.c.diff?r1=1.5r2=1.7 (Remember that you'll have to re-apply that patch each time you cvsup(1) your src) Otherwise just use one of the variations on: setenv PORTS_DBDRIVER=bdb1_hash as a workaround. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgpRm4klv3Ptz.pgp Description: PGP signature
Re: gbde misconfiguration ?
On Thu, Oct 07, 2004 at 09:51:17AM -0700, Balakumar Velmurugan wrote: Hi, I updated my kernel and built it from CURRENT. Everything went fine. When I rebooted the machine after mergemaster, I was prompted to enter passphrase for Disk Encryption, as below. Configuring Disk Encryption for NO. Enter passphrase: When I hit ENTER gbde: Attach to NO faile: Provider not found Attach Failed: attempt 1 of 3. Enter passphrase: I dont recall if I enabled gbde. Any idea, what might have happened ?. More importantly, can anyone tell me how to get around this and continue with my booting sequence ? In my previous build using STABLE, i didnt see this problem. Update and try again - this was fixed earlier today. Ceri -- I hear thought presenting the problem. -- dadadodo -c 1 Mail/trhodes pgpbSzq9P16A0.pgp Description: PGP signature
Re: exiftran or jpegtran for FreeBSD
On Thu, Oct 07, 2004 at 01:09:48PM -0400, stan wrote: I'm wanting to rotate some jpegs that I;ve got. It has been sugested that I use either exiftran, or jpegtran to do this, in order to avoid loosing quality. I can't seem to find either of these in ports. Can anyone point me to a place to get source code for these that will compile on FreeBSD? % pkg_which `which jpegtran` jpeg-6b_3 % pkg_info -o jpeg-6b_3 Information for jpeg-6b_3: Origin: graphics/jpeg Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgpx1zJqYmsDJ.pgp Description: PGP signature
[OT] DNS Administration
Is anybody using web based DNS zone administration for their users? I've found several projects out there, but they either seem to be early betas, or only in french, or much too complex/flexible for the average virtual hosting type customer to understand. Before I roll my own I figured it would be worthwhile to ask. Requirements: Open-source, free Simple for non-technical folks to use Works with Bind Multi-user authenticated (user A can add zones and only edit his zones) Desirable: PHP or Perl-based Thanks, Adam Adam Bayless| vi /etc/mail/aliases Fibernet System Janitor | complaints: /dev/null [EMAIL PROTECTED] | :wq baylessfamily.org/~abayless | newaliases ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What version of FBSD does Yahoo run?
In a message dated 10/7/04 1:15:11 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: On Thu, Oct 07, 2004 at 12:41:28PM -0400, [EMAIL PROTECTED] wrote: In a message dated 10/7/04 10:17:47 AM Eastern Daylight Time, obscurity Kris writes: Well, it's vast :) Kris We're waiting..5.3 is in beta and ready for your tests. Other benchmarks show very good results compared to 4.x. Kris -- Quite a bunch of scientists on the FreeBSD team these days, eh? :) why don't you post some of these impressive benchmarks to substantiate your seemingly flimsy position? On a single processor system please, for the 99% of us who don't use SMP. Hopefully the only good reason to run 5.x won't be if you run 4 processor systems. Already done so. Kris Is it really too difficult for you to post a pointer or reference for those of us who don't have the time to spend our entire lives reading mailing lists archives? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What version of FBSD does Yahoo run?
On Thu, Oct 07, 2004 at 02:10:55PM -0400, [EMAIL PROTECTED] wrote: In a message dated 10/7/04 1:15:11 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: On Thu, Oct 07, 2004 at 12:41:28PM -0400, [EMAIL PROTECTED] wrote: In a message dated 10/7/04 10:17:47 AM Eastern Daylight Time, obscurity Kris writes: Well, it's vast :) Kris We're waiting..5.3 is in beta and ready for your tests. Other benchmarks show very good results compared to 4.x. Kris -- Quite a bunch of scientists on the FreeBSD team these days, eh? :) why don't you post some of these impressive benchmarks to substantiate your seemingly flimsy position? On a single processor system please, for the 99% of us who don't use SMP. Hopefully the only good reason to run 5.x won't be if you run 4 processor systems. Already done so. Kris Is it really too difficult for you to post a pointer or reference for those of us who don't have the time to spend our entire lives reading mailing lists archives? Uh, it was in a reply to your message. Kris pgpErcHlXTq1y.pgp Description: PGP signature
Does anybody...
Hi Does anybody know whether the 3Ware 9500 Series work with FreeBSD with RAID 5 - I am considering buying one and the manual page for twe only mentions the 8000 series and RAID 0/1 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: disk geometry confussion
[EMAIL PROTECTED] wrote: Please enlighten me. What way I should follow? First, make sure you've updated your machine to the most recent BIOS. Next, check the BIOS config about your disk drives, and if there exists an option to allow you to choose LBA mode rather than C/H/S, use LBA mode. NeXT, try using MS-DOS fdisk to create a small DOS partition. The re-run the FreeBSD installation, which now ought to see the partition table as your system wants it. Don't try to re-enter the partition table info yourself unless you know exactly what you are doing. If this doesn't work, provide more details (which version of FreeBSD, what you computer hardware is, and what your partition table looks like). -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
nmap'ing myself
If there a better forum for discussing IPFW, please direct me there. I have a firewall machine running FreeBSD 4.10 connected between my DSL modem and my office switch. It does nat and has a basic set of IPFW rules. It is somewhat locked down (kern_securelevel = 1, other recommendations typical for this configuration). My question is: from a well configured firewall, Should I be able to nmap the public interface using a console session on the firewall itself? Will allowing this compromising security of the machine? Basically, should I even attempt to make this work? What's a good way to test your own firewall without driving down the road (and hacking into an unsecured linksys wireless router just kidding)? Additional info: I am still reading Network Security Hacks by Andrew Lockhart; not sure if this is covered. nmap -v -O -sS my.firewall.com sendto in send_ip_raw: sendto(4, packet, 28, 0, n.n.n.n, 16) = Permission denied. I can nmap to other machine inside and outside my firewall. Machines inside my firewall can nmap machines inside(duh) and outside the firewall. Although doing an nmap from a machine inside my firewall to a machine outside causes the net.inet.ip.fw.dyn_count to grow rather large so I avoid doing this. Same thing if I try to nmap my firewall from a machine inside the firewall. Tried opening up the firewall, still does not work (slightly different error though). ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: disk geometry confussion
On Thu, Oct 07, 2004 at 02:30:51PM -0400, Chuck Swiger wrote: [EMAIL PROTECTED] wrote: Please enlighten me. What way I should follow? First, make sure you've updated your machine to the most recent BIOS. Next, check the BIOS config about your disk drives, and if there exists an option to allow you to choose LBA mode rather than C/H/S, use LBA mode. NeXT, try using MS-DOS fdisk to create a small DOS partition. The re-run the FreeBSD installation, which now ought to see the partition table as your system wants it. Don't try to re-enter the partition table info yourself unless you know exactly what you are doing. If this doesn't work, provide more details (which version of FreeBSD, what you computer hardware is, and what your partition table looks like). I have had the same problem with FreeBSD-5.2, WD 250G. Windows would install fine, but FreeBSD gave problems with fdisk. I finaly reached a solution afther trying lot of things, but never knew what I did. -- Alex Please copy the original recipients, otherwise I may not read your reply. WWW: http://www.kruijff.org/alex/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Deleting /usr/X11R6 and /etc/X11
I decided to remove XFree86 from my server since I don't really use it and its just taking up space. So I removed all gui ports, including all of gnome and XFree86. Done. Now, I'm wondering if there is any reason I shouldn't just delete /usr/X11R6 and /etc/X11? Aren't they just taking up space? Are those directories part of the a base FreeBSD 4.x install? Are there other X11-related directories that I could wipe as well? Thanks! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What version of FBSD does Yahoo run?
At 11:15 AM -0700 10/7/04, Kris Kennaway wrote: On Thu, Oct 07, 2004, [EMAIL PROTECTED] wrote: why don't you post some of these impressive benchmarks to substantiate your seemingly flimsy position? On a single processor system please, for the 99% of us who don't use SMP. Hopefully the only good reason to run 5.x won't be if you run 4 processor systems. Already done so. Kris Is it really too difficult for you to post a pointer or reference for those of us who don't have the time to spend our entire lives reading mailing lists archives? Uh, it was in a reply to your message. This topic may be going on in multiple threads, so apologies if I am missing something. In this thread I notice a reply with the benchmark: Here's one benchmark, showing UDP packet/second generation rate from userland on a dual xeon machine under various target loads: Desired Optimal 5.x-UP 5.x-SMP 4.x-UP 4.x-SMP 5 5 5 5 5 5 75000 75000 75001 75001 75001 75001 10 10 10 10 10 10 125000 125000 125000 125000 125000 125000 15 15 150015 150014 150015 150015 175000 175000 175008 175008 175008 169097 20 20 20 179621 181445 169451 225000 225000 225022 179729 181367 169831 25 25 242742 179979 181138 169212 275000 275000 242102 180171 181134 169283 30 30 242213 179157 181098 169355 That does show results for both single-processor (5.x-UP 4.x-UP) and multi- processor (5.x-SMP, 4.x-SMP) benchmarks. It may be that he ignored the table as soon as he read dual Xeon. But when he asked for a pointer or reference, I was expecting to see a URL which pointed to some additional benchmarks. I did not notice any URL's in any of your replies in this thread. Did you think that you had included a URL in some reply, or were you referring to the above benchmark? Or did I just miss the reply which included that URL? Mind you, the above benchmark is very encouraging, so I am not complaining about it. I am only wondering if there were additional benchmarks written up. Well, I am also wondering what the reason is for both a desired and optimal column in the above. When would desired ever be different than optimal? :-) -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GNOME questions
On Thursday 07 October 2004 08:36, Gary Kline wrote: Both Gnome and KDE are nice front ends, but a bit heavy on the graphical interface side for a CLI hacker like me. Feedback welcome! Try xfce4. XCFe started life as a CDE clone, but the later versions are quite configurable, and it's more lightweight than Gnome or KDE. Personally I don't much like Gnome on BSD or Gentoo because I've had a lot of bad experiences building and updating it. KDE takes a bit longer to upgrade, but it's usually straightforward. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nmap'ing myself
Norm Vilmer wrote: [ ... ] My question is: from a well configured firewall, Should I be able to nmap the public interface using a console session on the firewall itself? Sure. nmap should return close to zero open ports. Will allowing this compromising security of the machine? nmap doesn't compromise the security of your machine. Having open ports connected to vulnerable services is the primary security risk. Basically, should I even attempt to make this work? What is this? What's a good way to test your own firewall without driving down the road (and hacking into an unsecured linksys wireless router just kidding)? Put another machine on the subnet of your external interface, and do an nmap scan from there. That represents what your ISP would see, or a bad guy who compromised the ISP possibly up through the DSL modem you have. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
UPS on FreeBSD
Good afternoon, I have attached a UPS to FreeBSD host using USB cable provided by APC. Environment: # uname -a FreeBSD host.domain.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 [EMAIL PROTECTED]: /usr/obj/usr/src/sys/GENERIC i386 # # usbdevs addr 1: UHCI root hub, Intel addr 2: Back-UPS RS 1500 FW:8.g8 .D USB FW:g8, American Power Conversion addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel # # usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel (0x), rev 1.00 port 1 powered port 2 addr 2: low speed, power 24 mA, config 1, Back-UPS RS 1500 FW:8.g8 .D USB FW:g8(0x0002), American Power Conversion(0x051d), rev 1.06 ... snip ... # This is Back-UPS RS 1500 and connected to FreeBSD server via usb port. # dmesg | grep usb0 usb0: Intel 82801EB (ICH5) USB controller USB-A on uhci0 usb0: USB revision 1.0 # # dmesg | grep ugen0 ugen0: American Power Conversion Back-UPS RS 1500 FW:8.g8 .D USB FW:g8, rev 1.10/1.06, addr 2 # # apcupsd -V apcupsd 3.10.6 (28 October 2003) freebsd # # grep -v ^# apcupsd.conf UPSCABLE usb UPSTYPE dumb DEVICE /dev/usb0--- usb device LOCKFILE /var/spool/lock BATTERYLEVEL 5 MINUTES 3 TIMEOUT 30 ANNOY 300 ANNOYDELAY 60 NOLOGON disable KILLDELAY 0 NETSERVER on NISIP 0.0.0.0 NISPORT 3551 EVENTSFILE /var/log/apcupsd.events EVENTSFILEMAX 10 UPSCLASS standalone UPSMODE disable STATTIME 0 STATFILE /var/log/apcupsd.status LOGSTATS off DATATIME 0 # # ps aux | grep apcupsd root 967 0.0 0.3 2804 1400 ?? Ss3:55PM 0:00.01 /usr/local/sbin/apcupsd --kill-on-powerfail # # /usr/local/etc/rc.d/apcupsd.sh status or # /usr/local/sbin/apcaccess returns this output: APC : 001,019,0507 DATE : Tue Oct 05 13:56:16 EDT 2004 HOSTNAME : host.domain.com RELEASE : 3.10.6 VERSION : 3.10.6 (28 October 2003) freebsd UPSNAME : host.domain.com CABLE: USB Cable MODEL: DUMB UPS Driver UPSMODE : Stand Alone STARTTIME: Tue Oct 05 13:56:08 EDT 2004 STATUS : MBATTCHG : 5 Percent MINTIMEL : 3 Minutes MAXTIME : 30 Seconds NUMXFERS : 0 TONBATT : 0 seconds CUMONBATT: 0 seconds XOFFBATT : N/A STATFLAG : 0x0200 Status Flag END APC : Tue Oct 05 18:01:53 EDT 2004 # Here is /var/log/message and apcupsd get started at boot time without any problem. Oct 7 16:19:42 bsd20 apcupsd[497]: apcupsd 3.10.6 (28 October 2003) freebsd startup succeeded The STATUS is missing in the above status report. Other thing that by un- plugging the UPS from the power outlet, the system does not shutdown gracefully neither display/wall any warning about the UPS. The output from the /usr/local/etc/rc.d/apcupsd.sh status is same as above. Basically, system crashes since UPS is not getting any command to follow by the /usr/local/etc/apcupsd/apccontrol program. By changing the DEVICE to /dev/uhid0 in the apcupsd.conf file, when starting the apcupsd, I get: # /usr/local/etc/rc.d/apcupsd.sh start apcupsd # apcupsd FATAL ERROR in dumbsetup.c at line 91 Cannot open UPS port /dev/uhid0: Device busy # Any thoughts and/or workaround to have UPS working on FreeBSD especially via USB cable? Thanks! S. Mohammad [ [EMAIL PROTECTED] ] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
UPS on FreeBSD
[EMAIL PROTECTED] writes: Any thoughts and/or workaround to have UPS working on FreeBSD especially via USB cable? Thanks! 1) apcupsd does not currently support USB connections for FreeBSD. 2) There is a _beta_ version - availiable at http://sourceforge.net/mailarchive/forum.php?thread_id=5525131forum_id=26961; that may work. If you can afford to install and test this version, please do so as it will not be added to main apcupsd code-base and therefore not be part of the port until more testing occurs. Robert Huff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nmap'ing myself
Chuck Swiger wrote: Norm Vilmer wrote: [ ... ] My question is: from a well configured firewall, Should I be able to nmap the public interface using a console session on the firewall itself? Sure. nmap should return close to zero open ports. Will allowing this compromising security of the machine? nmap doesn't compromise the security of your machine. Having open ports connected to vulnerable services is the primary security risk. Basically, should I even attempt to make this work? What is this? What's a good way to test your own firewall without driving down the road (and hacking into an unsecured linksys wireless router just kidding)? Put another machine on the subnet of your external interface, and do an nmap scan from there. That represents what your ISP would see, or a bad guy who compromised the ISP possibly up through the DSL modem you have. Sorry about the ambiguity, i was referring to loosening my firewall rules and other settings to allow nmap to work properly. If it should work, then I have things either misconfigured or tightened down too much. Connecting a machine to the public subnet won't work for me. My ISP uses PPPoe, I have one static IP assigned to my firewall's MAC address. I tried it, just to see if it would assign the other machine a dynamic IP if I made a PPPoe connection, but it doesnt. I tried ShieldsUp website, but it did not work from links (gui-less). ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
latex2html problems
Hello FreeBSD gurus! I have a question for you. I have installed FreeBS 5.2.1-RELEASEp9 in my computer. I also upgraded my ports, compiled and installed the following ports: latex2html-2002.2.1_3 Convert LaTeX documents to HTML teTeX-2.0.2_2 Thomas Esser's distribution of TeX friends latex2html seems to work fine but it does not process formulas. Perhaps this example is a little too large, but... Example: ---test.tex-- \documentclass{article} \begin{document} $\sin(x)$ \end{document} ---end of test.tex Michelle:/home/mrspock/tex latex2html test --- it was properly processed, but at the end: --- *** processing 1 images *** Generating postscript images using dvips ... This is dvips(k) 5.92b Copyright 2002 Radical Eye Software (www.radicaleye.com) ' TeX output 2004.10.07:1523' - /tmp/l2h879/image (- /tmp/l2h879/image001) tex.proalt-rule.protexc.prof7b6d320.enc aae443f0.enctexps.prospecial.procolor.procmmi10.pfbcmr10.pfb[1] Converting image #1 pstoimg: Error: /usr/local/bin/ppmquant -floyd 256 /tmp/l2h879/p892.pnm | /usr/local/bin/pnmtopng -interlace -trans '#ff' img1.png failed: Error while converting image Doing section links .. Done. Now, pstoimg is a function in /usr/local/bin that was installed by latex2html. pnmtopng was installed by netpbm-10.24... and it seems that it is being called with a pair of parameters that does not seem to work. Does anybody knows if there is a solution for this? Thanks in advance. Eduardo. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portupgrade problem, possible pkgdb problem?
Thanks, guess it's time to use the work around, the env setting worked fine. -- Ethernet (n): something used to catch the etherbunny John Mire: [EMAIL PROTECTED]Network Administration 318-675-5434 LSU Health Sciences Center - Shreveport -Original Message- From: Matthew Seaman [EMAIL PROTECTED] To: Mire, John [EMAIL PROTECTED] CC: Matt Navarre [EMAIL PROTECTED]; [EMAIL PROTECTED] [EMAIL PROTECTED] Sent: Thu Oct 07 12:41:17 2004 Subject: Re: Portupgrade problem, possible pkgdb problem? On Thu, Oct 07, 2004 at 10:45:46AM -0500, Mire, John wrote: I'm still getting this error after a cvsup+buildworld, a make fetchindex and I have deleted /var/db/pkg/pkgdb.db and rebuilt it, what's the patch?: test# uname -v FreeBSD 5.2.1-RELEASE-p11 #12: Wed Oct 6 17:13:13 CDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TEST test# cd /usr/ports test# make fetchindex Receiving INDEX-5 (5881230 bytes): 100% 5881230 bytes transferred in 16.9 seconds (339.01 kBps) test# portupgrade -R sudo [Failed `Inappropriate file type or format'] [Updating the portsdb format:bdb1_btree in /usr/ports ... - 11735 port entries found .1000.2000.3000.4000.5000.60 00.7000.8000/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb :587: [BUG] Bus Error ruby 1.8.2 (2004-07-29) [i386-freebsd5] Abort (core dumped) test# rm /var/db/pkg/pkgdb.db test# portupgrade -R sudo [Rebuilding the pkgdb format:bdb1_btree in /var/db/pkg ... - 54 packages found (-0 +54) .. done] [Failed `Inappropriate file type or format'] [Updating the portsdb format:bdb1_btree in /usr/ports ... - 11735 port entries found .1000.2000.3000.4000.5000.60 00.7000.8000/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb :587: [BUG] Bus Error ruby 1.8.2 (2004-07-29) [i386-freebsd5] Abort (core dumped) test# The patch was only applied to RELENG_4, RELENG_5 and HEAD -- not RELENG_5_2. However, you can extract it from cvs and apply it yourself by hand if you aren't in a position to upgrade right now -- see: http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/db/btree/bt_split.c.diff? r1=1.5r2=1.7 (Remember that you'll have to re-apply that patch each time you cvsup(1) your src) Otherwise just use one of the variations on: setenv PORTS_DBDRIVER=bdb1_hash as a workaround. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What version of FBSD does Yahoo run?
In a message dated 10/7/04 4:06:34 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: Here's one benchmark, showing UDP packet/second generation rate from userland on a dual xeon machine under various target loads: Desired Optimal 5.x-UP 5.x-SMP 4.x-UP 4.x-SMP 5 5 5 5 5 5 75000 75000 75001 75001 75001 75001 10 10 10 10 10 10 125000 125000 125000 125000 125000 125000 15 15 150015 150014 150015 150015 175000 175000 175008 175008 175008 169097 20 20 20 179621 181445 169451 225000 225000 225022 179729 181367 169831 25 25 242742 179979 181138 169212 275000 275000 242102 180171 181134 169283 30 30 242213 179157 181098 169355 That does show results for both single-processor (5.x-UP 4.x-UP) and multi- processor (5.x-SMP, 4.x-SMP) benchmarks. It may be that he ignored the table as soon as he read dual Xeon. I haven't seen this before. If I did, I would immediately ask: - What is the control here? What does your benchmark test? - Is this on a gigabit link? What are the packet sizes? Was network availability a factor in limiting the test results? - What does target load mean? Does it mean don't try to send more than that? If so, what does it show if you reach it? If you don't measure the utilization that it takes to saturate your target I don't see the point of having it. - It seems that the only thing you could learn from this test would be what is the maximum pps you could achieve unidirectionally out of a system. Why is that useful, since its hardly ever the requirement unless you're building a traffic generator? - a relatively slow machine (a 1.7Ghz celeron with a 32-bit/33mhz fxp NIC running 4.9) pushes over 250Kpps, so why is your machine, with seemingly superior hardware, so slow? - the test seems backwards. What you are doing in this test is not something that any device does. If you want to measure user-space performance, it has to include receive and transmit response, not just transmit. Perhaps it indirectly shows process-switching performance, but doesn't tell you very much about network performance, since transmit is much more trivial than receive in terms of processing requirements. When you transmit you know exactly what you have, when you receive you have to do a lot of checking and testing to see what needs to be done. When I test network performance, I want to isoloate kernel performance if possible. If you're evaluating the system for use as a network device (such as a router, a bridge, a firewall, etc), you have to eliminate userland from the formula. The interaction between user space and the kernel is a key factor in your benchmark that is absent in a pure network device, so its not useful in testing pure stack performance. Also, there is a significant problem with maximum packets/second tests. As you reach high levels of saturation, you often get abnormal processing requirements that skew the results. For example as you get higher and higher bus saturations the processing requirements change, as I/Os take longer waiting for access to the bus, transmit queues may fill, etc. Testing under such unusual conditions may inlcude abnormal recovery code to handle such saturations that would never occur with a machine under normal loads. A better way to test is measuring utilization under realistically normal conditions. Machines can get very inefficient if their recovery code is poor, but it may not matter since no-one realistically runs a machine at 98% utilization. Assuming that your benchmark does test something, Your results seem to show that a uniprocessor machine is substantially more efficient than an SMP box. It also seems that the gap has widened between UP and SMP performance in 5.x. Wasn't one of the goals of 5.x to substantially improve SMP performance? This seems to show the opposite. TM ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Association Problem with Multiple APs
Hello list, I am running the 4.9 release of FreeBSD on an embedded net4521 box and my problem is: Recently a wireless ISP put up an antenna in our apartment complex. Now for some reason, my 4521 (and my iBook with regular AirPort, also BSD based??) favor the wireless ISP's connection over my own LinkSys access point. The ISP's antenna runs on channel 1 and consistently has a stronger signal than my own AP (channel 6). I have tried changing my own AP's channel to no avail. Each time I issue the commands to associate with my AP the 4521 merely connects to the ISP rather than my specified SSID. If I check wicontrol or ifconfig it reports that the desired netname is my AP, but the current netname always ends up to be the ISP's AP. This is extremely irritating. I recently got a wireless card (NL-2511CD Plus EXT2 802.11b PCMCIA by SENAO) w/ the prism 2.5 chipset, and the aforementioned problem is only with this card. My older card (a 3com 3CRWE737A PCMCIA) works *relatively* well, but I wanted to upgrade so... Has anyone had this problem, and does anyone have a suggestion to fix it? Any insight into the BSD or the OS X problem would be greatly appreciated! Thanks.. Tyler - Below is specific info if anyone cares to peruse it: - --- The Senao Card Initalizes: pccard: card inserted, slot 0 Mar 15 22:30:14 soekrismini1 pccardd[58]: Card INTERSIL(HFA384x/IEEE) [Version 01.02] [] matched INTERSIL (HFA384x/IEEE) [(null)] [(null)] wi0 at port 0x240-0x27f irq 10 slot 0 on pccard0 wi0: 802.11 address: xx:xx:xx:xx:xx:xx wi0: using RF:PRISM2.5 MAC:ISL3873 wi0: Intersil Firmware: Primary 1.01.00, Station 1.04.09 Mar 15 22:30:19 soekrismini1 pccardd[58]: wi0: INTERSIL (HFA384x/IEEE) inserted --- I try to join my desired access point: ifconfig wi0 inet ssid My Access Point media DS/11Mbps --- and the card joins the access point of the wireless ISP (Which has a stronger signal) instead... wi0: flags=8842BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 ether xx:xx:xx:xx:xx:xx media: IEEE 802.11 Wireless Ethernet DS/11Mbps status: associated ssid StupidAssISP 1:My Access Point stationname FreeBSD WaveLAN/IEEE node channel 1 authmode OPEN powersavemode OFF powersavesleep 100 wepmode OFF weptxkey 1 --- wicontrol -L lists: NIC serial number: [ ] Station name: [ FreeBSD WaveLAN/IEEE node ] SSID for IBSS creation: [ My Access Point ] Current netname (SSID): [ StupidAssISP ] Desired netname (SSID): [ My Access Point ] Current BSSID: [ xx:xx:xx:xx:xx:xy ] Channel list: [ 2047 ] IBSS channel: [ 3 ] Current channel:[ 1 ] Comms quality/signal/noise: [ 92 154 11 ] Promiscuous mode: [ Off ] Process 802.11b Frame: [ Off ] Intersil-Prism2 based card: [ 1 ] Port type (1=BSS, 3=ad-hoc):[ 1 ] MAC address:[ xx:xx:xx:xx:xx:xx ] TX rate (selection):[ 11 ] TX rate (actual speed): [ 2 ] RTS/CTS handshake threshold:[ 2347 ] Create IBSS:[ Off ] Access point density: [ 1 ] Power Mgmt (1=on, 0=off): [ 0 ] Max sleep time: [ 100 ] WEP encryption: [ Off ] TX encryption key: [ 1 ] Encryption keys:[ ][ ][ ][ ] Available APs: StupidAssISP [ xx:xx:xx:xx:xx:xy ] [ 1 ] [ 46 60 14 ] 100 [ ess ] [ 1.0 2.0 5.5 11.0 ] * 11.0 * My Access Point [ xx:xx:xx:xx:xx:xz ] [ 6 ] [ 31 42 11 ] 100 [ ess ] [ 1.0 2.0 5.5 11.0 ] * 1.0 * --- Incidentally, it works correctly with the above process with the card below: soekrismini1 pccardd[58]: Card 3Com(3CRWE737A AirConnect Wireless LAN PC Card) [1.00] [[none]] matched 3Com (3CRWE737A AirConnect Wireless LAN PC Card) [(null)] [(null)] wi0 at port 0x280-0x2c7 iomem 0xd5000-0xd53ff irq 10 slot 0 on pccard0 wi0: 802.11 address: xx:xx:xx:xx:xx:xx wi0: using RF:PRISM2 MAC:HFA3841 wi0: Symbol Firmware: Primary 2.01.02, Station 2.51.04 Mar 15 22:41:21 soekrismini1 pccardd[58]: wi0: 3Com (3CRWE737A AirConnect Wireless LAN PC Card) inserted. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What version of FBSD does Yahoo run?
On Thu, Oct 07, 2004 at 04:05:21PM -0400, Garance A Drosihn wrote: But when he asked for a pointer or reference, I was expecting to see a URL which pointed to some additional benchmarks. I did not notice any URL's in any of your replies in this thread. Did you think that you had included a URL in some reply, or were you referring to the above benchmark? Or did I just miss the reply which included that URL? No, AFAICT the AOL poster just didn't read all his email before responding. Kris pgpFPHF7V7vew.pgp Description: PGP signature
Protecting SSH from brute force attacks
There are several script kiddies out there hitting my SSH server every day. Sometimes they attempt to brute-force their way in trying new logins every second or so for hours at a time. Given enough time, I fear they will eventually get in. Is there anything I can do to hinder them? I'd like to ban the IP after 50 failed attempts or something. I'd heard that each failed attempt from a source was supposed to make the daemon respond slower each time, thus limiting the usefulness of brute force attacks, but I'm not seeing that behavior. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GNOME questions
On Thu, Oct 07, 2004 at 09:01:45PM +0100, R. W. wrote: On Thursday 07 October 2004 08:36, Gary Kline wrote: Both Gnome and KDE are nice front ends, but a bit heavy on the graphical interface side for a CLI hacker like me. Feedback welcome! Try xfce4. XCFe started life as a CDE clone, but the later versions are quite configurable, and it's more lightweight than Gnome or KDE. Personally I don't much like Gnome on BSD or Gentoo because I've had a lot of bad experiences building and updating it. KDE takes a bit longer to upgrade, but it's usually straightforward. At last month's meeting of the Seattle BSD group a' member suggested xfce4. (I briefly presented CTWM and talking to ctwm users, it looks like a lost cause; or else a long-wait[1].) I'm installing xfce4 now. Gnome/KDE both seem very well thought out. But hard to tweak unless you dig into the code and find out what XML(?) files to use. I give 5 gold stars to the people who have written this stuff, but they seem to have forgotten the hackers and the CLI types (*mumble*) gary [1] For Gnome-compat hooks. -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nmap'ing myself
On Thursday 07 October 2004 21:56, Norm Vilmer wrote: Sorry about the ambiguity, i was referring to loosening my firewall rules and other settings to allow nmap to work properly. If it should work, No. Why would you want to deliberately make it easy to make a port scan work? If you're a script kiddie, and randomly port scanning boxes, and one comes up with loads of wide open ports, and a few comes up with either closed or stealth ports, which one do you think you're going to try and attack? then I have things either misconfigured or tightened down too much. Tighten down too much? What is that? -- Cheers, Chris Howells -- [EMAIL PROTECTED], [EMAIL PROTECTED] Web: http://chrishowells.co.uk, PGP ID: 0x33795A2C KDE/Qt/C++/PHP Developer: http://www.kde.org pgp92GBbxFAmF.pgp Description: PGP signature
Re: UPS on FreeBSD
On Thursday 07 October 2004 21:43, Robert Huff wrote: 1) apcupsd does not currently support USB connections for FreeBSD. APC used to send out the serial equivalent for free, I guess they still do... -- Cheers, Chris Howells -- [EMAIL PROTECTED], [EMAIL PROTECTED] Web: http://chrishowells.co.uk, PGP ID: 0x33795A2C KDE/Qt/C++/PHP Developer: http://www.kde.org pgpp2mrPexyiy.pgp Description: PGP signature
Re: What version of FBSD does Yahoo run?
On Thu, Oct 07, 2004 at 05:35:18PM -0400, [EMAIL PROTECTED] wrote: In a message dated 10/7/04 4:06:34 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: Here's one benchmark, showing UDP packet/second generation rate from userland on a dual xeon machine under various target loads: Desired Optimal 5.x-UP 5.x-SMP 4.x-UP 4.x-SMP 5 5 5 5 5 5 75000 75000 75001 75001 75001 75001 10 10 10 10 10 10 125000 125000 125000 125000 125000 125000 15 15 150015 150014 150015 150015 175000 175000 175008 175008 175008 169097 20 20 20 179621 181445 169451 225000 225000 225022 179729 181367 169831 25 25 242742 179979 181138 169212 275000 275000 242102 180171 181134 169283 30 30 242213 179157 181098 169355 That does show results for both single-processor (5.x-UP 4.x-UP) and multi- processor (5.x-SMP, 4.x-SMP) benchmarks. It may be that he ignored the table as soon as he read dual Xeon. I haven't seen this before. Check your email..the above was copied from an email of mine in this thread from earlier today. If I did, I would immediately ask: - What is the control here? What does your benchmark test? UDP packet generation rate from userland. - Is this on a gigabit link? What are the packet sizes? Was network availability a factor in limiting the test results? I didn't run that benchmark myself, so I'm not the best person to answer all of your questions, and I've asked the person who did to comment in more detail. - What does target load mean? Does it mean don't try to send more than that? If so, what does it show if you reach it? If you don't measure the utilization that it takes to saturate your target I don't see the point of having it. - It seems that the only thing you could learn from this test would be what is the maximum pps you could achieve unidirectionally out of a system. Why is that useful, since its hardly ever the requirement unless you're building a traffic generator? You can see from the data that 5.x systems are capable of pushing out more packets from userland than 4.x systems are. That's an aspect of kernel performance, and it's one that's relevant for a number of applications involving high data-rate transmission from userland. If that's not what you're interested in, then you can go and run your own benchmarks and let us know what you find out. - a relatively slow machine (a 1.7Ghz celeron with a 32-bit/33mhz fxp NIC running 4.9) pushes over 250Kpps, so why is your machine, with seemingly superior hardware, so slow? Because traffic is being generated from userland, not from within the kernel. Assuming that your benchmark does test something, Your results seem to show that a uniprocessor machine is substantially more efficient than an SMP box. For this workload, yes. It also seems that the gap has widened between UP and SMP performance in 5.x. Wasn't one of the goals of 5.x to substantially improve SMP performance? Yes, and it's ongoing. You don't see it on this workload, but there are other benchmarks (e.g. mysql select testing) that I don't have to hand at the moment, which show the smp benefits of 5.3 more clearly. This seems to show the opposite. No, it shows a small increase on SMP and a large increase on UP. Anyway, weren't you demanding an email ago that I produce benchmarks on UP systems, because no-one really uses SMP? Kris pgpwBL6BExtmR.pgp Description: PGP signature
Re: UPS on FreeBSD
Chris Howells writes: 1) apcupsd does not currently support USB connections for FreeBSD. APC used to send out the serial equivalent for free, I guess they still do... APC has PowerChute Personal Edition for Windows (and possible Mac) available on their website; it only covers USB devices. Robert Huff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: VINUM: Disk crash with striped raid
On Thursday, 7 October 2004 at 18:11:52 +0200, Paul Everlund wrote: Hi Greg and list! I did have two 120 GB's disk drives in vinum as a striped raid. Can you be more specific? One disk crashed, and is not found during boot. It starts up and makes the usual noises, but then it stalls with a katjing, katjing and so on. It seems like either the steering electronics, or the read/write-heads mechanics, have failed. I did contact a data recovery company and they say they need both disks to restore the raid, because of that the raid initializing might be corrupted. My questions is: Do they need both disks? That depends on your configuration. Isn't it enough if they make a disk image of the failed drive, and I will then be able to restore the raid data initialization in vinum by a vinum create, or something similar? The command will be 'vinum start'. Will they be able to recreate the raid data without using vinum anyway? Who knows? The real issue is the configuration of your volume (not raid). If it only has a single plex, you're in trouble. In that case, you need your recovery company to get an image of the failed disk. Then you should put it on a similar disk, create a configuration entry and perform some other incantations, and you should be up and running again. If you have two or more plexes, you shouldn't need to do any of this. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgp6exUJmpN6n.pgp Description: PGP signature
automount vs Solaris
Greetings, I'm trying to bring a FreeBSD server up in a mostly Solaris environment, and am currently arguing with amd. The Solaris systems share an NIS map (auto.nfs) that looks like users host:/mountpoint/something/ which gets translated (somehow) by the Solaris automount to look like /nfs/users host:/mountpoint/something/users But I can't figure out the incantation to get amd.conf to use that. I've tried [ /nfs ] map_type = nis map_name = auto.nfs and map_type of nisplus (which didn't work). The entry I'm trying to tickle is: # ypcat -k auto.nfs | grep user user west:/export/user The error I'm getting in the log is: Oct 7 15:47:42 appseng1 amd[536]: key user: No value component in west:/export/user Oct 7 15:47:42 appseng1 amd[536]: No fs type specified (key = user, map = auto.nfs) It feels like there's some magic bit I'm missing. [ pls cc:, I'm behind on -questions ] -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.8 / 37N 20' 14.9 Internet: steve @ Watt.COM Whois: SW32 Free time? There's no such thing. It just comes in varying prices... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nmap'ing myself
On Thu, Oct 07, 2004 at 11:22:34PM +0100, Chris Howells wrote: On Thursday 07 October 2004 21:56, Norm Vilmer wrote: Sorry about the ambiguity, i was referring to loosening my firewall rules and other settings to allow nmap to work properly. If it should work, No. Why would you want to deliberately make it easy to make a port scan work? If you're a script kiddie, and randomly port scanning boxes, and one comes up with loads of wide open ports, and a few comes up with either closed or stealth ports, which one do you think you're going to try and attack? He meens be able to do 'nmap localhost'. Yes this should be posible. One of you first rules must be 'allow ip from any to any via lo0'. Also have a look at the port portsentry. Anyone who tries a nmap from the internet whould get denied full access. then I have things either misconfigured or tightened down too much. Tighten down too much? What is that? Not being able to do what you want (other to do). ipfw add 1 deny ip from any to any. That is tightened down to much. -- Alex Please copy the original recipients, otherwise I may not read your reply. WWW: http://www.kruijff.org/alex/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
benchmarking a process
This isn't specific to freebsd I suppose.. but does anyone know any good programs to measure how long a process took, how much memory it requested, and how much network traffic it send/received? I know for the time we can use 'time', but I'd like a utility that can tell me more than the time (memory and network bandwidth and maybe other things). This is for a commercial renderer that's run on the command line and exits when done. I don't have access to the source, so it'd have to somehow look at external things (maybe using a trace). Any suggestions? --Andy For every action, there is an equal and opposite criticism. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Protecting SSH from brute force attacks
On Thu, 7 Oct 2004 15:15:25 -0700 (PDT) Luke [EMAIL PROTECTED] wrote: There are several script kiddies out there hitting my SSH server every day. Sometimes they attempt to brute-force their way in trying new logins every second or so for hours at a time. Given enough time, I fear they will eventually get in. Is there anything I can do to hinder them? I'd like to ban the IP after 50 failed attempts or something. I'd heard that each failed attempt from a source was supposed to make the daemon respond slower each time, thus limiting the usefulness of brute force attacks, but I'm not seeing that behavior. I forget where in /etc it is, but look into setting up something that allows a certian number of failed logins before locking that IP/term out for a few minutes and if it is constantly from the same place look into calling their ISP or the like. Or in a few cases, like I have done in a few cases, and a deny from any to any for that chunk of the net... man login.conf for more info :) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to NOT load AGP?
Background: My computer likes to lock up sometimes in XFree86. This last time it was while doing an rsync between an internal drive and an external USB drive. But other times it's been random. Regardless, forced to do a reset, it then won't start XFree86. Sometimes unloading, rebuilding, and reinstalling the nvidia driver helps, sometimes not. Sometimes it takes several tries. When it hangs, it might hang on the nvidia splash screen, a white screen, or (like right now) still in terminal mode after startx before it even switches to graphical. This time I can't get it to go back into XFree86 no matter how many times I rebuild the nvidia driver, so I'm looking elsewhere. I even tried portupgrade -f XFree86* but no go. All along I've been using the FreeBSD AGP. I'm thinking maybe I need to try nvidia's (some people swear one way, some the other... if only there was consensus!). So I try rebuilding my kernel w/o device agp. Except the kernel build bombs at a weird point. Unable to find any reference to other people failing there, I suspect a corrupt /usr/src (perhaps due to one of my many lockups). So I rm -R and re-cvsup it. Then the build works. I also made sure that agp_load=YES was commented out of my /boot/loader.conf file. Well, upon rebooting I still see agp loading, confirmed w/ kldstat. So I try uncommenting the line but changing it to NO. Reboot, same thing. I do some more research, and try adding hint.agp.0.disabled=1 to my /boot/device.hints file. Reboot, but AGP is still loading. Argh. I can't even use kldunload to remove it. Ok, I appeal for help now. What's the proper way to keep AGP from loading so that I can test my nvidia driver using the nvidia AGP and see if that's even the sources of my XFree86 lockup problems? I need my desktop back. I'm on FreeBSD 5.2.1. Thanks! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Protecting SSH from brute force attacks
--- Vulpes Velox [EMAIL PROTECTED] wrote: On Thu, 7 Oct 2004 15:15:25 -0700 (PDT) Luke [EMAIL PROTECTED] wrote: There are several script kiddies out there hitting my SSH server every day. Sometimes they attempt to brute-force their way in trying new logins every second or so for hours at a time. Given enough time, I fear they will eventually get in. Is there anything I can do to hinder them? I'd like to ban the IP after 50 failed attempts or something. I'd heard that each failed attempt from a source was supposed to make the daemon respond slower each time, thus limiting the usefulness of brute force attacks, but I'm not seeing that behavior. I forget where in /etc it is, but look into setting up something that allows a certian number of failed logins before locking that IP/term out for a few minutes and if it is constantly from the same place look into calling their ISP or the like. Or in a few cases, like I have done in a few cases, and a deny from any to any for that chunk of the net... man login.conf for more info :) ___ Following the advice from here: http://isc.sans.org//diary.php?date=2004-09-11. What I did was to only allow access to one machine through my firewall for the ssh connections (ipfw limit). 2 per source address. And, for that one machine, I changed the sshd port to a different number. I was getting the same brute force attacks but they have dropped to nil since. ___ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]