How to turn off the HDD? How to reduce the overall noise?
Hello, My hard disc drive seems to be too noisy for me. I want to test, how much idle noise would the system make with the hard drive turned off. I do not want to unplug the wires, since I have had a lot of problems last time I did that. Is there any command / utility that can turn my HDD off for a minute or so? Are there any other utility that may help me reduce the noise in my system? Right now I have IBM Deskstar 60GXP 41.0GB IC35L040AVER07-0, and I am considering to change it to IBM (Hitachi) Deskstar 180GXP 60GB IC35L060AVV207-0, or may be even Hitachi Deskstar 7K250 80GB HDS722580VLAT20. Have anyone experienced any of those? Are they any different in the idle noise they produce? My motherboard is AOpen AX4G-N Intel 845G(+ICH4) chipset. Cheers, Constantine. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bridging multiple interfaces
ext Manuel Rabade (MiG) ([EMAIL PROTECTED]) wrote: That's fine, but you must check the netmask of the interfaces and your computers in the network, it should be 255.255.0.0. Aha, that could be the problem then. I'm using 255.255.255.0 currently. How are you bridging the interfaces ?? i think it should be: sysctl net.link.ether.bridge_cfg=xl0,xl1,wi0 Yep, that's what I did :-) I'll give it a test with the different netmask and tell you how it goes. Thanks, Mike ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: adding webmail
ext Timothy J. Luoma ([EMAIL PROTECTED]) wrote: To paraphrase a Mutt slogan, All Webmail sucks so the key is finding one that sucks less. Hi, I'm a mutt user myself :-) And as for a webmail software that sucks the least, it's Sqwebmail. Only caveat is that your mailboxes need to be in maildir format, e.g. you need to use Qmail or Postfix as your MTA. There are good utils available for converting mbox to maildir. And procmail works just fine with maildir. Maildir is really great in that your webmail cgi, etc, doesn't have to read a 100mb mbox file into memory before displaying a single message :-) -- mike ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Periodic error messages with Postfix - unsupported: -bh
Hi A couple of days ago I installed Postfix on a new FreeBSD 5.1 system and since then the daily reporting run produces this: | Oct 6 03:01:01 ash postfix/sendmail [1135]: fatal: unsupported: -bh I presume something somewhere is calling sendmail with the -bh flag. Any clues as to how to change this, and what to change it to? -- Chris Hastie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[no subject]
Hi, httpd is started by /usr/local/etc/rc.d/apache.sh and named is started at boot time in /etc/rc.conf: just enable your named there, named_enable=YES \jett tayer Hello: I'm sorry to ask this. I have searched the archive mailing list. I've just installed 5.1 and I notice that named and httpd is started by gndc. I've checked /etc/rc.conf and /etc/defaults/rc.conf and named_enable=NO. I'm not sure waht I'm missing. Is there some script starting these? Thanks in Advance Tony ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Periodic error messages with Postfix - unsupported: -bh
Hi Chris, * Chris Hastie schrieb am 06 Oct 2003: Hi A couple of days ago I installed Postfix on a new FreeBSD 5.1 system and since then the daily reporting run produces this: | Oct 6 03:01:01 ash postfix/sendmail [1135]: fatal: unsupported: -bh I presume something somewhere is calling sendmail with the -bh flag. Any clues as to how to change this, and what to change it to? Read the pkg-message in your portdirctory of postfix and disable sendmali and the checks. Regards Soeren ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: starting named and httpd
Hi, httpd is started by /usr/local/etc/rc.d/apache.sh and named is started at boot time in /etc/rc.conf: just enable your named there, named_enable=YES \jett tayer Hello: I'm sorry to ask this. I have searched the archive mailing list. I've just installed 5.1 and I notice that named and httpd is started by gndc. I've checked /etc/rc.conf and /etc/defaults/rc.conf and named_enable=NO. I'm not sure waht I'm missing. Is there some script starting these? Thanks in Advance Tony ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ATI Radeon IGP 340M
On Saturday 04 October 2003 07:10, Mike Silbersack wrote: Juan, it recently became possible to use the 340M in its native mode; simply cvsup to the latest ports tree, and install the XFree86-4-Server-snap port; the ati driver in it supports the 340M in my laptop just fine. (I have not tested any 3d or tv out functions, however.) Mike Silby Silbersack Thank you very much. It's working. I've tried to play a DVD using ogle, but it doesn't work very well, the movement isn't steadyI've got a friend with the same laptop using Linux and he tells me it works nice.so I guess it's a FreeBSD performance problem*sigh* Thank you anyway. -- JFRH ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tranparent proxying, squid, nat, ipfw
your port 80 hijack is waaay to far below. it should be like in the first three lines: 100 divert 8668 ip from any to any via ${oif} 200 allow tcp from ${oip} to any 300 fwd 127.0.0.1,3128 tcp from any to any dst-port 80 append the rest from here... ;-) - Original Message - From: synrat [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 06, 2003 11:40 AM Subject: tranparent proxying, squid, nat, ipfw I'm having a hard time getting this working together. I have squid 2.5 stable working and with all the required setting for transparent proxying. The machine has the kernel with IPFW and forwarding options. NAT is on, firewall type is simple with some modifications. Internal interface address is 192.168.1.1. Squid runs fine when the browser is setup to access it, but the goal is not to have to do that. http_port 3128 httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header on I have the forwarding rule as well fwd 127.0.0.1,3128 tcp from any to any 80 I tried 192.168.1.1,3128 in the rule. Tried putting it before both divert rules. Here's my ipfw list output 00050 divert 8668 ip from any to any via rl0 00100 allow ip from any to any via lo0 00200 deny ip from any to 127.0.0.0/8 00300 deny ip from 127.0.0.0/8 to any 00400 deny ip from 192.168.1.0/24 to any in recv rl0 00500 deny ip from 66.92.100.0/24 to any in recv rl1 00600 deny ip from any to 10.0.0.0/8 via rl0 00700 deny ip from any to 172.16.0.0/12 via rl0 00800 deny ip from any to 192.168.0.0/16 via rl0 00900 deny ip from any to 0.0.0.0/8 via rl0 01000 deny ip from any to 169.254.0.0/16 via rl0 01100 deny ip from any to 192.0.2.0/24 via rl0 01200 deny ip from any to 224.0.0.0/4 via rl0 01300 deny ip from any to 240.0.0.0/4 via rl0 01400 divert 8668 ip from any to any via rl0 01500 deny ip from 10.0.0.0/8 to any via rl0 01600 deny ip from 172.16.0.0/12 to any via rl0 01700 deny ip from 192.168.0.0/16 to any via rl0 01800 deny ip from 0.0.0.0/8 to any via rl0 01900 deny ip from 169.254.0.0/16 to any via rl0 02000 deny ip from 192.0.2.0/24 to any via rl0 02100 deny ip from 224.0.0.0/4 to any via rl0 02200 deny ip from 240.0.0.0/4 to any via rl0 02300 allow tcp from any to any established 02400 allow ip from any to any frag 02500 allow tcp from any to 66.92.100.221 25 setup 02600 allow tcp from 192.168.1.0/24 to 192.168.1.0/24 02700 allow tcp from 192.168.1.0/24 to 192.168.1.0/24 02800 allow udp from 192.168.1.0/24 to 192.168.1.0/24 02900 allow udp from 192.168.1.0/24 to 192.168.1.0/24 03000 allow tcp from any to 66.92.100.221 80 setup 03100 allow tcp from any to 66.92.100.221 8080 setup 03200 allow tcp from any to 66.92.100.221 8021 setup 03300 allow tcp from any to 66.92.100.221 21 setup 03400 allow tcp from any to 66.92.100.221 22 setup 03500 allow tcp from any to 66.92.100.221 110 setup 03600 allow tcp from any to 66.92.100.221 143 setup 03700 allow tcp from any to 66.92.100.221 993 setup 03800 allow tcp from any to 66.92.100.221 995 setup 03900 allow icmp from any to any 04000 deny log tcp from any to any in recv rl0 setup 04100 allow tcp from any to any setup 04200 fwd 127.0.0.1,3128 tcp from any to any 80 04300 allow udp from 66.92.100.221 to any keep-state 04400 allow udp from 192.168.1.3 to any keep-state 65535 deny ip from any to any ___ [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: tranparent proxying, squid, nat, ipfw
so far this was the simpliest squid configuration that i've seen... http://ezine.daemonnews.org/200209/squid.html hope this helps... - Gil Agno Virtucio Janitor/Collector/Messenger NEC System Integration and Construction Philippines Inc. 15th Floor BPI Buendia Center Gil Puyat Ave. Makati City 1200 Cellphone : +639163989695 Office Phone: +6328914167 - -Original Message- From: synrat [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 11:40 AM To: [EMAIL PROTECTED] Subject: tranparent proxying, squid, nat, ipfw I'm having a hard time getting this working together. I have squid 2.5 stable working and with all the required setting for transparent proxying. The machine has the kernel with IPFW and forwarding options. NAT is on, firewall type is simple with some modifications. Internal interface address is 192.168.1.1. Squid runs fine when the browser is setup to access it, but the goal is not to have to do that. http_port 3128 httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header on I have the forwarding rule as well fwd 127.0.0.1,3128 tcp from any to any 80 I tried 192.168.1.1,3128 in the rule. Tried putting it before both divert rules. Here's my ipfw list output 00050 divert 8668 ip from any to any via rl0 00100 allow ip from any to any via lo0 00200 deny ip from any to 127.0.0.0/8 00300 deny ip from 127.0.0.0/8 to any 00400 deny ip from 192.168.1.0/24 to any in recv rl0 00500 deny ip from 66.92.100.0/24 to any in recv rl1 00600 deny ip from any to 10.0.0.0/8 via rl0 00700 deny ip from any to 172.16.0.0/12 via rl0 00800 deny ip from any to 192.168.0.0/16 via rl0 00900 deny ip from any to 0.0.0.0/8 via rl0 01000 deny ip from any to 169.254.0.0/16 via rl0 01100 deny ip from any to 192.0.2.0/24 via rl0 01200 deny ip from any to 224.0.0.0/4 via rl0 01300 deny ip from any to 240.0.0.0/4 via rl0 01400 divert 8668 ip from any to any via rl0 01500 deny ip from 10.0.0.0/8 to any via rl0 01600 deny ip from 172.16.0.0/12 to any via rl0 01700 deny ip from 192.168.0.0/16 to any via rl0 01800 deny ip from 0.0.0.0/8 to any via rl0 01900 deny ip from 169.254.0.0/16 to any via rl0 02000 deny ip from 192.0.2.0/24 to any via rl0 02100 deny ip from 224.0.0.0/4 to any via rl0 02200 deny ip from 240.0.0.0/4 to any via rl0 02300 allow tcp from any to any established 02400 allow ip from any to any frag 02500 allow tcp from any to 66.92.100.221 25 setup 02600 allow tcp from 192.168.1.0/24 to 192.168.1.0/24 02700 allow tcp from 192.168.1.0/24 to 192.168.1.0/24 02800 allow udp from 192.168.1.0/24 to 192.168.1.0/24 02900 allow udp from 192.168.1.0/24 to 192.168.1.0/24 03000 allow tcp from any to 66.92.100.221 80 setup 03100 allow tcp from any to 66.92.100.221 8080 setup 03200 allow tcp from any to 66.92.100.221 8021 setup 03300 allow tcp from any to 66.92.100.221 21 setup 03400 allow tcp from any to 66.92.100.221 22 setup 03500 allow tcp from any to 66.92.100.221 110 setup 03600 allow tcp from any to 66.92.100.221 143 setup 03700 allow tcp from any to 66.92.100.221 993 setup 03800 allow tcp from any to 66.92.100.221 995 setup 03900 allow icmp from any to any 04000 deny log tcp from any to any in recv rl0 setup 04100 allow tcp from any to any setup 04200 fwd 127.0.0.1,3128 tcp from any to any 80 04300 allow udp from 66.92.100.221 to any keep-state 04400 allow udp from 192.168.1.3 to any keep-state 65535 deny ip from any to any ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ** Get your free E-Mail account at WWW.DIGITELONE.COM ** ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Having trouble with buildworld
On Sun, Oct 05, 2003 at 03:51:12PM -0700, James Jacobsen wrote: Here is the /etc/make.conf. # -- use.perl generated deltas -- # # Created: Tue Aug 26 09:51:56 2003 # Setting to use base perl from ports: PERL_VER=5.6.1 PERL_VERSION=5.6.1 PERL_ARCH=mach NOPERL=yo NO_PERL=yo NO_PERL_WRAPPER=yo XFREE86_VERSION=4 # -- use.perl generated deltas -- # # Created: Sun Oct 5 15:25:52 2003 # Setting to use base perl from ports: PERL_VER=5.6.1 PERL_VERSION=5.6.1 PERL_ARCH=mach NOPERL=yo NO_PERL=yo NO_PERL_WRAPPER=yo Also the file /etc/defaults/make.conf does not exist, never did. It is how ever mentioned in handbook. If you're on 5.x then the default make.conf file has moved to /usr/share/examples/etc/make.conf -- it was moved because unlike the other files in /etc/defaults, /etc/defaults/make.conf didn't actually set any defaults. Essentially the default state for /etc/make.conf is obtained using an empty file. /usr/share/examples/etc/make.conf has no active effect during the build{world,kernel} process, and only serves to illustrate the sorts of thing you can set in that file. The problem that you're seeing with make being unable to find freebsd.mc probably means that you are missing /usr/src/etc/sendmail/freebsd.mc. This file is definitely present in the FreeBSD CVS repository and a version is clearly tagged as belonging to the RELENG_5_1 branch: http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/sendmail/freebsd.mc?only_with_tag=RELENG_5_1 This suggests that something went wrong when you tried running cvsup(1) -- double check your supfile and try re-running cvsup (You wrote 'releng_5_1' in your message: this won't work in a supfile, since the tag is case sensitive and has to be given precisely as 'RELENG_5_1'). There should not be any error messages emitted during the cvsup(1) run. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: flphoto for FreeBSD?
On Sun, Oct 05, 2003 at 10:59:56PM -0500, Vulpes Velox wrote: On Mon, 6 Oct 2003 02:06:18 +0200 Gabriel Striewe [EMAIL PROTECTED] wrote: Hello! In the magazine Linux-User (http://www.linux-user.de) I came across the photo editing programme flphoto, written by cups-author Michael Sweets. This port is not yet included in the ports collection.Anybody knows the reason for this? I tried once to compile it via ./configure make make install, but got a lot of syntax errors, and did not retry because I do not feel familiar with C/C++ Providing some out put would be handy... I have found with many linux programs, some various paths need to be supplied to make it compile... This is the output after unpacking flphoto-source-1.1.tar.bz2, ./configure and then gmake in the unpacked directory: Compiling export.cxx... export.cxx: In function `int export_jpeg(const char*, Fl_Shared_Image*, int, int, int)': export.cxx:1049: aggregate `jpeg_compress_struct info' has incomplete type and cannot be defined export.cxx:1050: aggregate `jpeg_error_mgr err' has incomplete type and cannot be defined export.cxx:1065: `jpeg_std_error' undeclared (first use this function) export.cxx:1065: (Each undeclared identifier is reported only once for each function it appears in.) export.cxx:1066: `jpeg_create_compress' undeclared (first use this function) export.cxx:1067: `jpeg_stdio_dest' undeclared (first use this function) export.cxx:1072: `JCS_GRAYSCALE' undeclared (first use this function) export.cxx:1072: `JCS_RGB' undeclared (first use this function) export.cxx:1074: `jpeg_set_defaults' undeclared (first use this function) export.cxx:1075: `jpeg_set_quality' undeclared (first use this function) export.cxx:1076: `jpeg_simple_progression' undeclared (first use this function) export.cxx:1081: `jpeg_start_compress' undeclared (first use this function) export.cxx:1088: `jpeg_write_scanlines' undeclared (first use this function) export.cxx:1092: `jpeg_finish_compress' undeclared (first use this function) export.cxx:1093: `jpeg_destroy_compress' undeclared (first use this function) gmake: *** [export.o] Error 1 fltk, as a requirement of flphoto, has previously been installed using the ports collection, which was successfull Thank you for any hints Gabriel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: port for batch image manipulation?
At 22:34 02.10.2003 -0600, Warren Block wrote: On Fri, 3 Oct 2003, JacobRhoden wrote: Does anyone know of a good port which will simply resize a directory of jpg's to a specified (proportional) size? I'm pretty sure graphics/ImageMagick will do it; probably the mogrify command. (It's not on this machine or I'd check...) Yes, ImageMagick's convert command will do the job. If you downscale images to icons you should compare the resulting image qualtity with icons generated with graphics/netpbm tools (pnmscale). Another tool to scale images may be graphics/xv Alexander ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Problem booting 5.1 install CD
Over the weekend I was working on this and found an old 4.7 release CD lying around. I figured that it couldn't hurt to give that a try and see if it would boot. Sure enough 4.7 was fine. From there, I did a cvsup for the current set of 4.8 source files. When the 4.8 kernel was built, I excluded agp and a bunch of other bits from the GENERIC make file. Can't say if the problem exists in the 4.8 tree too. It was my hope that I could get my feet wet on 5.1 before going into real deployment testing. Any deployments would be on newer hardware so this problem may not be that big of an issue in the long run. I'm not happy about the idea of upgrading from 4.8 to 5.1. One of the things that I wanted to look closely at was extended ACLs on UFS2. Upgrading won't allow me to do that. From the Release Engineering Information section of the FreeBSD web site, it looks like 6-CURREWNT will be forked when 5.2-RELEASE is out. I would assume that this means there will be little work done on the 4 branch after 4.9 is released. -Original Message- From: Lowell Gilbert [mailto:[EMAIL PROTECTED] Sent: Saturday, October 04, 2003 11:09 AM To: Ross, Chris Cc: [EMAIL PROTECTED] Subject: Re: Problem booting 5.1 install CD Ross, Chris [EMAIL PROTECTED] writes: I am having a problem booting the FreeBSD 5.1 install CD. My machine hangs when it goes to pole agp. Is there a way to disable agp when booting from this CD? I don't think so. On my laptop, I can't directly install *any* recent releases, since AGP was put into the default kernel. I had to install 4.4 and update to -STABLE from there. Eric Anholt was planning on taking a look at this, but I hadn't heard about any results. I had narrowed it down to something weird in the aperture probe, but I couldn't see any reason for it to actually hang at that specific point. To be honest, I had been pretty sure it was just me, and I didn't have 100% confidence in my hardware anyway. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: flphoto for FreeBSD?
On Mon, Oct 06, 2003 at 12:07:50PM +0200, Gabriel Striewe wrote: This is the output after unpacking flphoto-source-1.1.tar.bz2, ./configure and then gmake in the unpacked directory: Compiling export.cxx... export.cxx: In function `int export_jpeg(const char*, Fl_Shared_Image*, int, int, int)': export.cxx:1049: aggregate `jpeg_compress_struct info' has incomplete type and cannot be defined export.cxx:1050: aggregate `jpeg_error_mgr err' has incomplete type and cannot be defined export.cxx:1065: `jpeg_std_error' undeclared (first use this function) export.cxx:1065: (Each undeclared identifier is reported only once for each function it appears in.) export.cxx:1066: `jpeg_create_compress' undeclared (first use this function) export.cxx:1067: `jpeg_stdio_dest' undeclared (first use this function) export.cxx:1072: `JCS_GRAYSCALE' undeclared (first use this function) export.cxx:1072: `JCS_RGB' undeclared (first use this function) export.cxx:1074: `jpeg_set_defaults' undeclared (first use this function) export.cxx:1075: `jpeg_set_quality' undeclared (first use this function) export.cxx:1076: `jpeg_simple_progression' undeclared (first use this function) export.cxx:1081: `jpeg_start_compress' undeclared (first use this function) export.cxx:1088: `jpeg_write_scanlines' undeclared (first use this function) export.cxx:1092: `jpeg_finish_compress' undeclared (first use this function) export.cxx:1093: `jpeg_destroy_compress' undeclared (first use this function) gmake: *** [export.o] Error 1 fltk, as a requirement of flphoto, has previously been installed using the ports collection, which was successfull Thank you for any hints First of all: please fix your MUA (mutt) to break lines after 72 characters! Are your ports up-to-date? All those functions are defined in -ljpeg (graphis/jpeg). Do you have graphics/png and graphics/jpeg installed? Try to set LDFLAGS, CPPFLAGS and CXXFLAGS when running ./configure. Use portupgrade to update your ports. Herbert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Multiple kernels on one machine?
Hi, I'm currently in the process of upgrading my kernel (5.1). Afaik, every time one installs a new kernel with make installkernel the old /boot/kernel is moved to /boot/kernel.old thus overwriting the old /boot/kernel.old. In order to keep a working kernel: Is it possible to *keep* an old kernel by copying, say /boot/kernel.old to e.g. /boot/mykernel and then via the boot-menu starting this kernel by unload boot mykernel ?? If yes, can I simply copy (e.g. via tar | tar xpf..) the old kernel directory to a new name or is there anything else I should consider? TIA for your help -ewald ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Upgrading 5.1 to latest - crash upon starting X
Hi, Seems like I'm running into a problem upgrading my 5.1 machine to the latest level: The symptoms: When I boot the new kernel everything runs straight up to the moment when I start X-Windows. When starting X as a normal user I end up with a db-prompt (debugger?); when starting X as root the screen goes blank and after some seconds the box reboots. As far as building installing is concerned I did everything as per chapter 21 of the handbook, including installing binaries (userland) in single-user mode, running mergemaster etc.etc. BTW, when booting the old kernel (kernel.old) everything is fine again - so assume the problem is with the kernel itself. Has anybody else seen this? What can I do against it? Since I don't want to post exessive logs in the first place, here's what I've got: Asus CUSL2-mobo 512MB RAM 2 IDE HDs (80, 60GB) Matrox G400 graphics and when upgrading I went from the version that comes on the 5.1-CD to the latest one available via cvsup (the UPDATING file has an entry of 2003-09-28) Please let me know if you need any additional details. TIA for your help, -ewald ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Samba 3.0 breakage
I am trying to compile the FreeBSD 5.1-RELEASE port of samba 3. Everytime I make to begin building the binaries make errors out after attempting to compile dynconfig.c. The screen fills with numerous redifinition of 'xxx' and previously declared here errors. At the end it stops with /usr/include/gssapi.h:707: previous declaration of 'gss_canonicalize_name' ***Error code 1 Stop in /usr/ports/net/samba-devel/work/samba-3.0.0beta3/source ***Error code 1 Anyone have any ideas? I have just updated my source tree with cvsup before attempting to make. Thanks in Advance, Matt I had noticed that Tim Kellers had also posted the same problem back in July. This is happening to me in Oct. 2003 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Booting without keyboard.
Hi, I have recently installed FreeBSD 4.8-RELEASE-p10 on a Intel SE7501WV2 board. I am using a PS2 keyboard without mouse. It works fine. However, when i boot without the keyboard plugged into the system, it is not able to accept the keyboard when i plug in later. Is there a way to turn the keyboard always 'on' so that i can get it to work whenever i plug it in after the system is up and running. Appreciate your advise. Thank You. Rgds, hc - Do you Yahoo!? The New Yahoo! Shopping - with improved product search ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: low-scale presenter for FreeBSD?
On Sun, 5 Oct 2003 09:54, Gabriel Striewe wrote: Hello! Can anybody recommend a low-scale presentation programm in OpenOfficeImpress or PowerPoint style, but which does not use as much resources. From other responses you'll see there are quite a number of options. I guess you need to try a few to see which best suits what you have in mind. I suggest you also take a look at xnview, at the very least it seems to be resource conservative. In addition it will handle many, many graphical formats, but does not itself generate graphics. You need something like xfig or a paint program (or something else with which I probably have no experience) to do that. I also find xv handy for cropping and resizing. Malcolm ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Why is em nic generating interrupts?
Hello, everyone! I've got a [uniprocessor] router machine with fxp and em nics. I've built my kernel with the following included: options DEVICE_POLLING options HZ=2500 and enabled polling in /etc/sysctl.conf. Having looked through a vmstat -i output I see that the em card is generating interrupts, although they should be disabled (as I see in em's source code). interrupt total rate stray irq01 0 stray irq61 0 npx0 irq131 0 ata0 irq14 2339 0 em0 irq10421457155 fxp0 irq5 2 0 atkbd0 irq13326 1 clk irq06778872 2500 rtc irq8 346899127 Total 7552898 2786 What's happening? Is polling working in my case? If yes, why is vmstat showing interrupts? I see clearly, that fxp's counter doesn't increase, and em's is constantly growing. Thanks in advance to anyone for an idea! Please also CC: me as I'm not subscribed. -- Best wishes, [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multiple kernels on one machine?
On October 6, 2003 12:11 pm, Ewald Jenisch wrote: Hi, I'm currently in the process of upgrading my kernel (5.1). Afaik, every time one installs a new kernel with make installkernel the old /boot/kernel is moved to /boot/kernel.old thus overwriting the old /boot/kernel.old. In order to keep a working kernel: Is it possible to *keep* an old kernel by copying, say /boot/kernel.old to e.g. /boot/mykernel and then via the boot-menu starting this kernel by unload boot mykernel ?? If yes, can I simply copy (e.g. via tar | tar xpf..) the old kernel directory to a new name or is there anything else I should consider? TIA for your help -ewald As far as I know, this is not only possible, but recommended in the Handbook directions for building new kernels. That way, if you've done several rebuilds, you know you've got a working kernel around. I didn't find much in the way of specifics in the handbook, so the process might be as simple as you say(though I myself haven't yet figured out how to pipe a tar into an untar). ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why is em nic generating interrupts?
On Mon, 6 Oct 2003 19:48:53 +0700 Michael O. Boev [EMAIL PROTECTED] probably wrote: Hello, everyone! Hi! I've got a [uniprocessor] router machine with fxp and em nics. I've built my kernel with the following included: options DEVICE_POLLING options HZ=2500 and enabled polling in /etc/sysctl.conf. Having looked through a vmstat -i output I see that the em card is generating interrupts, although they should be disabled (as I see in em's source code). interrupt total rate stray irq01 0 stray irq61 0 npx0 irq131 0 ata0 irq14 2339 0 em0 irq10421457155 fxp0 irq5 2 0 atkbd0 irq13326 1 clk irq06778872 2500 rtc irq8 346899127 Total 7552898 2786 What's happening? Is polling working in my case? If yes, why is vmstat showing interrupts? I see clearly, that fxp's counter doesn't increase, and em's is constantly growing. Assuming you are using 4.8, \From the polling manpage: As of this writing, the dc, fxp, rl and sis devices are supported, with other in the works. I guess em is just not there yet, while fxp is... HTH -- DoubleF All flesh is grass -- Isiah Smoke a friend today. pgp0.pgp Description: PGP signature
RE: Why is em nic generating interrupts?
Hi again! As of 5.1 (which, forgive my not mentioning it, I use), em is included in that list. -Original Message- From: Sergey 'DoubleF' Zaharchenko [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 12:01 AM To: Michael O. Boev Cc: [EMAIL PROTECTED] Subject: Re: Why is em nic generating interrupts? On Mon, 6 Oct 2003 19:48:53 +0700 Michael O. Boev [EMAIL PROTECTED] probably wrote: Hello, everyone! Hi! I've got a [uniprocessor] router machine with fxp and em nics. I've built my kernel with the following included: options DEVICE_POLLING options HZ=2500 and enabled polling in /etc/sysctl.conf. Having looked through a vmstat -i output I see that the em card is generating interrupts, although they should be disabled (as I see in em's source code). interrupt total rate stray irq01 0 stray irq61 0 npx0 irq131 0 ata0 irq14 2339 0 em0 irq10421457155 fxp0 irq5 2 0 atkbd0 irq13326 1 clk irq06778872 2500 rtc irq8 346899127 Total 7552898 2786 What's happening? Is polling working in my case? If yes, why is vmstat showing interrupts? I see clearly, that fxp's counter doesn't increase, and em's is constantly growing. Assuming you are using 4.8, \From the polling manpage: As of this writing, the dc, fxp, rl and sis devices are supported, with other in the works. I guess em is just not there yet, while fxp is... HTH -- DoubleF All flesh is grass -- Isiah Smoke a friend today. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ipfw and divert and trying to do something clever
I have some machines behind a freebsd firewall, and I'm using ipfw. Presently, I reset attempts to smtp past the firewall: reset tcp from [subnet] to any 25 but I'd like to divert them to my own smtp server, so it doesn't matter what the clients try to use. I thought this would be easy. Maybe it is. The fwd feature doesn't seem to do it, as it just forwards a specific ipaddr[,port] (no subnet/mask) divert looks like the way to do it, and after a few hours of fiddling with a program that opens a divert socket, I can watch all manner of traffic going back and forth, but each time I attempt to send it elsewhere, I get nowhere. I am duly setting both the ip and tcp checksum, before re-injection. Somebody else must have done this, and/or I must be doing it the wrong way. Any suggestions ? Please e-mail me directly also as I am not on this list. A code snippet using divert would be excellent. -- Bruce Campbell Engineering Computing CPH-2374B University of Waterloo (519)888-4567 ext 5889 This mail sent through www.mywaterloo.ca ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Booting without keyboard.
ext [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: Hi, I have recently installed FreeBSD 4.8-RELEASE-p10 on a Intel SE7501WV2 board. I am using a PS2 keyboard without mouse. It works fine. However, when i boot without the keyboard plugged into the system, it is not able to accept the keyboard when i plug in later. Is there a way to turn the keyboard always 'on' so that i can get it to work whenever i plug it in after the system is up and running. Hi, You could try a USB keyboard. I'm not sure if USB Hotplugging is working in FBSD or not, but it *should* work theoretically. I don't know of any systems that allow PS/2 hotplugging. BR, -- mike ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
barcode reader, card swiper
I'm looking for a barcode reader for a bsd system. Need the peripheral, and software to read it, from USB or keyboard or whatever interface is appropriate. Also same for CC swiper. Anyone aware of these sorts of things for BSD? -- Aaron [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: malloc() behavior (was: Pointer please)
man calloc: The calloc() function allocates space for number objects, each size bytes in length. The result is identical to calling malloc() with an argument of ``number * size'', with the exception that the allocated memory is explicitly initialized to zero bytes. Lucas Holt [EMAIL PROTECTED] FoolishGames.com (Jewel Fan Site) JustJournal.com (Free blogging) Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. - Albert Einstein (1879-1955) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Booting without keyboard.
On October 6, 2003 01:16 pm, Mike Jackson wrote: Hi, You could try a USB keyboard. I'm not sure if USB Hotplugging is working in FBSD or not, but it *should* work theoretically. I don't know of any systems that allow PS/2 hotplugging. BR, -- mike USB hotplugging definitely works as of 5.1-CURRENT; I've swapped my mouse and trackball into different ports a number of times, and they work right away. However, I don't know if this is the case as of 4.8. If you have (other) USB peripherals, it might be worth trying a hotplug to see if it works. -BB ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: barcode reader, card swiper
On Mon, 6 Oct 2003, Aaron wrote: I'm looking for a barcode reader for a bsd system. Need the peripheral, and software to read it, from USB or keyboard or whatever interface is appropriate. Also same for CC swiper. Anyone aware of these sorts of things for BSD? Most will work on the Serial port or have a 'wedge' to insert it into the keyboard cable. In the latter case it wil simply appear as key presses. Any shop selling POS equipment will have a wide array to choose from. Dw. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Booting without keyboard.
On Monday 06 October 2003 08:16, Mike Jackson wrote: ext [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: Hi, I have recently installed FreeBSD 4.8-RELEASE-p10 on a Intel SE7501WV2 board. I am using a PS2 keyboard without mouse. It works fine. However, when i boot without the keyboard plugged into the system, it is not able to accept the keyboard when i plug in later. Is there a way to turn the keyboard always 'on' so that i can get it to work whenever i plug it in after the system is up and running. Yes, there is. In your kernel, find the line: device atkbd0 at atkbdc? irq 1 the default kernel has a flag x or something after the 'irq 1' . Delete the flag portion and its argument, recompile and reboot and then the ps2 keyboard will always load. Henrik -- Henrik Hudson [EMAIL PROTECTED] `If there's anything more important than my ego around, I want it caught and shot now.' --Hitchhikers Guide to the Galaxy ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
rsync/mirroring permissions problem
hi all i'm trying to do a 'push' rsync operation to mirror the contents of my websites root directory on one machine over to a remote machine. rsync is installed on both machines. the command i'm using to rsync is rsync -e ssh -avz --exclude /phpSysInfo --exclude /webalizer --exclude /phpMyAdmin --delete --stats /usr/local/www/data-dist/ remote.machine.com=:/usr/local/www/data-dist/ this works, for the most part. the majority of files on the remote directory are sync'ed correctly after the operation. the problem is - this websites root directory is owned by one user - webuser, who is a member of group - webuser. various subdirectories inside of the websites root folder are owned by other users, who are also members of the 'webuser' group. the files/folders in the websites root direcotry are chmod'ed 775. this causes problems with the rsync operation, as i'm rsync'ing as webuser:webuser. i get errors during the rsync process such as failed to set permissions on studentwork/winter03old/war/images : Operation not permitted again, the majority of files sync correctly. but can anyone recommend a good way around this? i'm not able at this point to limit the websites root directory to only one user account... thanks redmond -- FreeBSD 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #0: Fri Oct 3 21:30:51 CDT 2003 8:30AM up 22:46, 1 user, load averages: 1.69, 1.61, 1.47 Ever notice that even the busiest people are never too busy to tell you just how busy they are. pgp0.pgp Description: PGP signature
Re: BSD Question
I'm a Unix newbie who just installed BSD 5.1. I made it through the installation without too much of a hassel and I went ahead and added XFree86 in the installation, along with the BSD Boot Manager since I'm dual booting with Windows. I have a 40 gig HD for Windows then I have 2 separate 120 gig HD raided in 0 config for BSD. The boot manager is installed with the rest of BSD on the raid but when it loads and I go to pick, both options boot to BSD. F1 is labeled FreeBSD and F5 is labeled Drive 1, which I was under the illusion should be windows but it turns out its not. [snip] When you installed XFree86, did you also install a desktop manager? You can install X without a window manager ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ssh problems after unrelated changes
I'm running FreeBSD 4.8. I recently did some assorted work on my system, upgrading a disk drive and rebuilding (not updating) my kernel. Now, I can't seem to ssh from my normal user account. When I try, I get the error: monopoly~ $ ssh somedomain.com ssh_askpass: exec(/usr/X11R6/bin/ssh-askpass): No such file or directory Host key verification failed. monopoly~ $ I'm not trying to use any kind of graphical connection method, I just want the usual login. I've tried unsetting $DISPLAY, and re-installing OpenSSH from Ports, both with no effect. In the process of playing around I accidentally deleted my .ssh/known_hosts file, but this also has had no effect. I never had an ssh_config file in the first place. Oddly, I _can_ ssh normally when sudo'd to root, but I can't see any obvious reason--I don't have an ssh_config file as root, etc. Thanks for any suggestions. Jesse Sheidlower ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rsync/mirroring permissions problem
On Mon, Oct 06, 2003 at 08:58:02AM -0500, Redmond Militante typed: hi all i'm trying to do a 'push' rsync operation to mirror the contents of my websites root directory on one machine over to a remote machine. rsync is installed on both machines. the command i'm using to rsync is rsync -e ssh -avz --exclude /phpSysInfo --exclude /webalizer --exclude /phpMyAdmin --delete --stats /usr/local/www/data-dist/ remote.machine.com=:/usr/local/www/data-dist/ this works, for the most part. the majority of files on the remote directory are sync'ed correctly after the operation. the problem is - this websites root directory is owned by one user - webuser, who is a member of group - webuser. various subdirectories inside of the websites root folder are owned by other users, who are also members of the 'webuser' group. the files/folders in the websites root direcotry are chmod'ed 775. this causes problems with the rsync operation, as i'm rsync'ing as webuser:webuser. i get errors during the rsync process such as failed to set permissions on studentwork/winter03old/war/images : Operation not permitted again, the majority of files sync correctly. but can anyone recommend a good way around this? i'm not able at this point to limit the websites root directory to only one user account... There's only one way to do this: rsync as root. Only root can change ownership. thanks redmond -- FreeBSD 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #0: Fri Oct 3 21:30:51 CDT 2003 8:30AM up 22:46, 1 user, load averages: 1.69, 1.61, 1.47 Ever notice that even the busiest people are never too busy to tell you just how busy they are. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Booting without keyboard.
On Mon, Oct 06, 2003 at 04:16:39PM +0300, Mike Jackson wrote: Hi, You could try a USB keyboard. I'm not sure if USB Hotplugging is working in FBSD or not, but it *should* work theoretically. I don't know of any systems that allow PS/2 hotplugging. I've read (although never actually seen myself - so take this with as large a grain of salt as you like) that hotplugging PS/2 peripherals can damage the port you're plugging them into, so I'd be wary about doing this. Depends where the server is located wrt. other machines, but a KVM switch might be useful in this situation. Scott -- === Scott Mitchell | PGP Key ID | Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines scott at fishballoon.org | 0xAA775B8B | -- Anon ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Booting without keyboard.
Is there a way to turn the keyboard always 'on' so that i can get it to work whenever i plug it in after the system is up and running. In your kernel config, remove any flags for the keyboard device, i.e: device atkbd0 at atkbdc? irq 1 Now build a new kernel, reboot, and it should work as desired. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD SPAM
Robert Huff wrote: Roger 'Rocky' Vetterberg writes: SpamAssissin can hog a lot of CPU if you handle a lot of emails, so make sure you are running it in daemon mode, that helps quite a bit. SpamAssassin is Perl, so of ourse it's a hog. I seem to remember someone trying to write a version in C Well, they'll still be trying in 2007... BNy the time you've written the current SA in C, the current Perl version will be miles ahead. Programmer productivity is always more important than raw power. A 2.8MHz Pentium Xeon with 2Gb RAM doesn't cost all that much and offers phenomenal processing power. If that's not an option, an effective method for reducing SA load is to feed it less email :) I use Postfix and have some pretty extensive correlation checks to filter out spam (spoofed sender domains, garbage HELO strings, obsolete or spambait recipients, spammer hosts). Since the beginning of the month these low-overhad checks blocked 5313 messages of 19990 total. That's 5300 less that have to be dealt with SA. To learn more about blocking spam with Postfix, http://www.securitysage.com/guides/postfix_uce.html is a good place to start these days. David ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with libtcl8.3 on FBSD 5.1
On 5 Oct 2003, Lowell Gilbert wrote: soneill [EMAIL PROTECTED] writes: On 4 Oct 2003, Lowell Gilbert wrote: soneill [EMAIL PROTECTED] writes: I've recently installed FreeBSD 5.1 on my Athlon-based machine, and most everything seems to be working ok. However, I have a problem trying to run any s/w that uses the Tcl library libtcl8.3.so.1. Whenver I run such a program, including wish8.3, tkdesk, tkman and others, I get the following error message: /usr/libexec/ld-elf.so.1: /usr/local/lib/libtcl83.so.1: Undefined \ symbol __xuname I have no idea why I would have such an undefined symbol in an officially ported FBSD package. Can anyone give me some insight into this problem, and a possible solution? TIA for any help you can give me. Best guess would be that you installed from packages rather than ports, and the packages were in some way mismatched. Installing software from ports avoids this risk, but with packages you should be able to get them all from one place and have it work. I thought that might be the problem, too, so I uninstalled the package, then built the port of tcl8.3. It didn't make any difference; the libtcl8.3 library still had the undefined symbol. I would have expected that you would need to rebuild the libtcl port... It's automatically built as part of building tcl8.3. That's one of the things that make this so puzzling. There's something odder happening here; a check inside the libraries for tcl8.0, 8.2, and 8.4 all show that __xuname is a symbol in all of them. Since it doesn't seem to be defined anywhere, I'm stumped as to how to proceed to get around this problem. Is anyone else having this problem running tcl/tk programs of _any_ recent vintage? For what it's worth, I'm not. One thing I'm wondering; what version of the XFree86 libraries do you have insalled? Mine are version 3.0.5. Are yours 3.0.6, by any chance? It may be that my libraries are mismatched to what tcl8.3 wants to see. Steve O'Neill ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
make world error
On a make world on a 4.8 box, this is the error msg === gnu/usr.bin/cc/cccp cc -O -pipe -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\/usr/obj/usr/src/i386/usr\ -I/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cccp/../cc_tools - I/usr/src/gnu/usr.bin/cc/cccp/../cc_tools - I/usr/src/gnu/usr.bin/cc/cccp/../../../../contrib/gcc - I/usr/src/gnu/usr.bin/cc/cccp/../../../../contrib/gcc/config-D__FBSDID=__RCSID -c /usr/src/gnu/usr.bin/cc/cccp/../../../../contrib/gcc/cccp.c {standard input}: cc: Assembler messages: {standard input}:7083: Warning: end of file not at end of a line; newline inserted Internal compiler error: program cc1 got fatal signal 11 *** Error code 1 Stop in /usr/src/gnu/usr.bin/cc/cccp. *** Error code 1 Stop in /usr/src/gnu/usr.bin/cc. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. #end error I waited a day did a new cvsup, thinking it was a new code errror, but I get the same msg. Any ideas?? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: malloc() behavior (was: Pointer please)
It does not matter what freebsd does, C does not require that malloc initialize space according to Kernighan and Ritchie. ... What's really bad, is that freebsd could potentally change there behavor down the line. Its probably dictated by the way kernel dezined, . meaning they may do whats the cheapist. There's nothing bad about it. FreeBSD follows the standards. ... There's a distinction here which has been mentioned and perhaps lost. The kernel does provide programs with zero'd memory, but unless you are doing system calls (man section 2) directly you are not seeing what the kernel does. You are seeing what the C language runtime code (malloc(), calloc(), free(), etc.) does. They use the system calls, but the semantics are the semantics that the authors of the runtime implemented. And since the runtime is provided with the compiler (typically gcc) it's only a function of convenience when the language definition says it may be. The kernel's pool of zero'd buffer pages is used to provide zero'd memory on demand while doing the work when the CPU may be free. Sort of like washing the dishes before you need them. The kernel C code does not use the C runtime, except possibly for some very low-level routines that might be needed to implement extended precision, do stack frame management, or other very-low-level stuff. And there's precious little needed on newer processors. Mark Terribile __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: adding webmail
On Mon, 6 Oct 2003, Timothy J. Luoma wrote: On Sun, 5 Oct 2003 09:47:52 -0700, S Ellis [EMAIL PROTECTED] wrote: I want to broaden access to my home email by adding a webmail interface. Right now I'm running sendmail with procmail and using spamassassin; I'd like to keep this setup. Looking at the squirrelmail port has raised some questions for me. There also is /usr/ports/sysutils/usermin . This is a smaller version of /usr/ports/sysutils/webmin which is an administration web interface. If I had to set up a webmailer I would choose usermin, since I use webmin for remote server administration anyway. Take this is just as another idea. Regards, 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]
/usr/X11R6/lib/libscintilla.so: Undefined symbol g_thread_init
Hi, I'm trying to get my favourite editor (moleskine) run after a 'portupgrade -far'. But I'm getting: $ moleskine Traceback (most recent call last): File /usr/X11R6/bin/moleskine, line 39, in ? from Moleskine.MoleskineApp import * File /usr/X11R6/share/gnome/Moleskine/Moleskine/MoleskineApp.py, line 32, in ? from Document import Document File /usr/X11R6/share/gnome/Moleskine/Moleskine/Document.py, line 31, in ? import gtkscintilla File /usr/local/lib/python2.3/site-packages/gtkscintilla.py, line 2, in ? import _gtkscintilla ImportError: /usr/X11R6/lib/libscintilla.so: Undefined symbol g_thread_init As you can see, moleskine is a python script. It's based on py-gtk-0.6, so I build it against glib12/gtk12. When I'm calling SciTE (which is an editor using libscintilla directly) the error doesn't appear. So I'm checked /usr/X11R6/lib/libscintilla.so using ldd, and it contains information, that /usr/local/lib/libglib12.so.3 is required (which contains g_thread_init call). My system is FreeBSD 5.1-CURRENT #0: Fri Oct 3 22:18:43 GMT 2003. A reboot helped nothing, neither ldconfig -R did. Any hints what I can do? Jens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
the best ISP mail server solution ?
Hello, I work for a growing ISP in the NE area. We are getting ready to plan a build out of equipement to better provide email web services to our customers. I was wondering what would this mailing list would recommend for a email server software for up to 75,000 user capicity . Currently we have 2 + customers ..but i would like to plan for growth for over the next 5 years. we have been growing at the rate of around 8000 users a year. Also the need for webmail , spam virus filtering is a must I have in the past used sendmail popper imap-uw squirrelmail w/ Freebsd and have had GREAT luck but this is with a much smaller customer base. all help and or advise is GREATLY appreciated thank you -- Brent Bailey CCNA Bmyster LLC Computer Networking and Webhosting Network Engineer, Webmaster, President http://www.bmyster.com [EMAIL PROTECTED] 207-247-8330 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
the best ISP mail server solution ?
Hello, I work for a growing ISP in the NE area. We are getting ready to plan a build out of equipement to better provide email web services to our customers. I was wondering what would this mailing list would recommend for a email server software for up to 75,000 user capicity . Currently we have 2 + customers ..but i would like to plan for growth for over the next 5 years. we have been growing at the rate of around 8000 users a year. Also the need for webmail , spam virus filtering is a must I have in the past used sendmail popper imap-uw squirrelmail w/ Freebsd and have had GREAT luck but this is with a much smaller customer base. all help and or advise is GREATLY appreciated thank you -- Brent Bailey CCNA Bmyster LLC Computer Networking and Webhosting Network Engineer, Webmaster, President http://www.bmyster.com [EMAIL PROTECTED] 207-247-8330 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /usr/X11R6/lib/libscintilla.so: Undefined symbol g_thread_init
On Mon, 2003-10-06 at 12:59, Jens Rehsack wrote: Hi, I'm trying to get my favourite editor (moleskine) run after a 'portupgrade -far'. But I'm getting: $ moleskine Traceback (most recent call last): File /usr/X11R6/bin/moleskine, line 39, in ? from Moleskine.MoleskineApp import * File /usr/X11R6/share/gnome/Moleskine/Moleskine/MoleskineApp.py, line 32, in ? from Document import Document File /usr/X11R6/share/gnome/Moleskine/Moleskine/Document.py, line 31, in ? import gtkscintilla File /usr/local/lib/python2.3/site-packages/gtkscintilla.py, line 2, in ? import _gtkscintilla ImportError: /usr/X11R6/lib/libscintilla.so: Undefined symbol g_thread_init As you can see, moleskine is a python script. It's based on py-gtk-0.6, so I build it against glib12/gtk12. When I'm calling SciTE (which is an editor using libscintilla directly) the error doesn't appear. So I'm checked /usr/X11R6/lib/libscintilla.so using ldd, and it contains information, that /usr/local/lib/libglib12.so.3 is required (which contains g_thread_init call). My system is FreeBSD 5.1-CURRENT #0: Fri Oct 3 22:18:43 GMT 2003. A reboot helped nothing, neither ldconfig -R did. Any hints what I can do? Looks like scintilla needs to be linked with GThread and friends. Joe Jens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
awstats and multi-domains....
Hi, I am having a problem with awstats I am currently using 5.9, I have set up the following dir /etc/awstats/ I have six domainsand I have tried to set up the conf from the model like the in instruction awstats.mysite1.conf awstats.mysite2.conf awstats.mysite3.conf awstats.mysite4.conf awstats.mysite5.conf awstats.mysite6.conf But when I try to run awstats.pl from the command line get this error /usr/local/httpd/cgi-bin/awstats.pl -config=/etc/awstats/awstats.mysite1.conf Error: Couldn't open config file awstats./etc/awstats/awstats.mysite1.conf nor awstats.conf after searching in path /usr/local/httpd/cgi-bin/,/etc/awstats,/etc/opt/awstats,/etc,/usr/local/etc/awstats: No such file or directory Setup (Config file, web server or permissions) may be wrong. See AWStats documentation in 'docs' directory for informations on how to setup awstats. I have check permissions on the files...and they are all set to 755. I have tried to set a file called awstats.conf and it works. So I have tried set up dir ... /etc/awstats/mysites1.com/ Under this dir I have place awstat.conf but I get the same error above. What do I need to do to set up for multi-domains? I have read the FAQ and docs and there is nothing about multi-domains. Payne ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cdrdao with IDE burners?
My trusty SCSI CD burner is dying a slow death, so I'm thinking about getting a new one. The problem is SCSI drives are very expensive now when compared to an ATAPI one and I have a small budget. I use cdrdao a lot for music and video CDs and cdrecord for data CDs. do those tools work with ATAPI drives? do they work with ATAPI/CAM? Thanks in advance Fer ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cdrdao with IDE burners?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 06 October 2003 10:20 am, Fernando Gleiser wrote: My trusty SCSI CD burner is dying a slow death, so I'm thinking about getting a new one. The problem is SCSI drives are very expensive now when compared to an ATAPI one and I have a small budget. I use cdrdao a lot for music and video CDs and cdrecord for data CDs. do those tools work with ATAPI drives? do they work with ATAPI/CAM? I can vouch for cdrdao. Been using it with an atapi burner via atapi-cam. Works great. - -Mark -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/gaaoF/yyV91po54RArLcAJ9DWzXJQH8LwrHjEB86ietEHz8W/wCg7hoS DgVj4kVY7MZP9IQUp0LgseE= =2N7V -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ATI Radeon IGP 340M
On Mon, 6 Oct 2003, Juan Rodriguez Hervella wrote: Thank you very much. It's working. I've tried to play a DVD using ogle, but it doesn't work very well, the movement isn't steadyI've got a friend with the same laptop using Linux and he tells me it works nice.so I guess it's a FreeBSD performance problem*sigh* Thank you anyway. -- JFRH FreeBSD doesn't enable DMA access to CD/DVD drives by default, that may be part of the problem; try enabling atapi_dma (see the ata manpage), that might help. Mike Silby Silbersack ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multiple kernels on one machine?
On Mon, Oct 06, 2003 at 02:11:25PM +0200, Ewald Jenisch wrote: In order to keep a working kernel: Is it possible to *keep* an old kernel by copying, say /boot/kernel.old to e.g. /boot/mykernel and then via the boot-menu starting this kernel by unload boot mykernel ?? Yep! Not only is it possible, but it's a very good idea to keep a known-good kernel around in a special place (e.g. /kernel.good) in case something goes wrong with an upgrade and both of kernel and kernel.old are unusable. Kris pgp0.pgp Description: PGP signature
Re: make world error
On Mon, Oct 06, 2003 at 11:37:47AM -0500, [EMAIL PROTECTED] wrote: I waited a day did a new cvsup, thinking it was a new code errror, but I get the same msg. Any ideas?? FAQ (every few days). See the archives and handbook for extensive discussion. Kris pgp0.pgp Description: PGP signature
Re: make world error
Sometimes it hard to find the cause, but most problems I have had have been with the make.conf file. Keep relaxing the settings in it(02-0 or no 0 at all, and remove extra stuff) until it works. Or just subtistute the default in place of your regular make.conf and try a build. [EMAIL PROTECTED] wrote: On a make world on a 4.8 box, this is the error msg === gnu/usr.bin/cc/cccp cc -O -pipe -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\/usr/obj/usr/src/i386/usr\ -I/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cccp/../cc_tools - I/usr/src/gnu/usr.bin/cc/cccp/../cc_tools - I/usr/src/gnu/usr.bin/cc/cccp/../../../../contrib/gcc - I/usr/src/gnu/usr.bin/cc/cccp/../../../../contrib/gcc/config-D__FBSDID=__RCSID -c /usr/src/gnu/usr.bin/cc/cccp/../../../../contrib/gcc/cccp.c {standard input}: cc: Assembler messages: {standard input}:7083: Warning: end of file not at end of a line; newline inserted Internal compiler error: program cc1 got fatal signal 11 *** Error code 1 Stop in /usr/src/gnu/usr.bin/cc/cccp. *** Error code 1 Stop in /usr/src/gnu/usr.bin/cc. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. #end error I waited a day did a new cvsup, thinking it was a new code errror, but I get the same msg. Any ideas?? ___ [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: How to turn off the HDD? How to reduce the overall noise?
This is most easily done in the bios. Check for power settings or energy saver features. You can tell the bios to power down the hard drive after 1 min or an hour later. In your case I would set it to 1 min, so about 1 min after you boot and login the hard drive will power down, unless you touch the mouse or keyboard. Constantine wrote: Hello, My hard disc drive seems to be too noisy for me. I want to test, how much idle noise would the system make with the hard drive turned off. I do not want to unplug the wires, since I have had a lot of problems last time I did that. Is there any command / utility that can turn my HDD off for a minute or so? Are there any other utility that may help me reduce the noise in my system? Right now I have IBM Deskstar 60GXP 41.0GB IC35L040AVER07-0, and I am considering to change it to IBM (Hitachi) Deskstar 180GXP 60GB IC35L060AVV207-0, or may be even Hitachi Deskstar 7K250 80GB HDS722580VLAT20. Have anyone experienced any of those? Are they any different in the idle noise they produce? My motherboard is AOpen AX4G-N Intel 845G(+ICH4) chipset. Cheers, Constantine. ___ [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]
ssh patch? which bin files?
is there a list binary files and lib files that are patched? i have a box that is a firewall and i just want to copy the changes over since i cannot compile on the filewall box. btw, i have looked at the patch but i could not find a list of all the files. i do not want to miss anything. thanks! -sean ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to turn off the HDD? How to reduce the overall noise?
On Mon, Oct 06, 2003 at 02:34:23PM -0700, jason wrote: This is most easily done in the bios. Check for power settings or energy saver features. You can tell the bios to power down the hard drive after 1 min or an hour later. In your case I would set it to 1 min, so about 1 min after you boot and login the hard drive will power down, unless you touch the mouse or keyboard. Constantine wrote: Hello, My hard disc drive seems to be too noisy for me. I want to test, how much idle noise would the system make with the hard drive turned off. I do not want to unplug the wires, since I have had a lot of problems last time I did that. Is there any command / utility that can turn my HDD off for a minute or so? Are there any other utility that may help me reduce the noise in my system? Right now I have IBM Deskstar 60GXP 41.0GB IC35L040AVER07-0, and I am considering to change it to IBM (Hitachi) Deskstar 180GXP 60GB IC35L060AVV207-0, or may be even Hitachi Deskstar 7K250 80GB HDS722580VLAT20. Have anyone experienced any of those? Are they any different in the idle noise they produce? My motherboard is AOpen AX4G-N Intel 845G(+ICH4) chipset. Cheers, Constantine. If you have an IBM (aka Hitachi actually) disk, check theyr site, they've got a tool to tune your hard drive (Turn on sleep on idle, reduce noise, etc.) I've heard it works with other drives but didn't test as I only own IBM. They've got a floppy image you can write with 'dd' if you have no DOS box around. BTW, turning it off is almost useless, as there's often a little activity on most *real* OS so reducing noise is better (in fact it reduces the spinning speed during heavy operations). Just my 2cts. -- Enfin vivement les procs optique qui ne chaufferont pas trop ;-) Vivement les proc quantiques, en rajoutant un glaçon, on pourra même les boire ... [ Eric Dillenseger GPG(OxFF352913) eric(at)naxalite(dot)ath(dot)cx ] pgp0.pgp Description: PGP signature
Re: Turning off that bloody nagscreen on bittorrent!
Actually, the only popup nag screen it ever gets to is loading the browser then seems to gag there. Not sure why, but it does. Probubly why I haven't been able to get it to be quiet by clicking on the dialog box. At 2003-10-06T02:08:50Z, Dragoncrest [EMAIL PROTECTED] writes: Anyone know if there's a special switch or something on the Freebsd BitTorrent port or some way to go inside the python script and shut off that bloody nag stuff he's got built into his new version 3.3? Here's my guess: Look at btdownloadgui.py near line 265. You'll see something like: def next(params, d, doneflag): try: p = join(split(argv[0])[0], 'donated') if not exists(p) and long(time()) % 3 == 0: open_new('http://bitconjurer.org/BitTorrent/donate.html') dlg = wxMessageDialog(d.frame, 'BitTorrent is Donation supported software. ' + Now, it appears that the p variable will end up looking something like: bdonatedtdonatedddonatedodonatedwdonatedndonatedldonatedodonatedadonatedddonatedgdonatedudonatedidonated.donatedpdonatedy (btdownloadgui.py with donated inserted between each character). If a file by that name exists (what directory? I have no idea!), then you won't get the nag screen. Alternatively, would it be so hard to click Yes, I've donated and let the program create the file itself? -- Kirk Strauser 94 outdated ports on the box, 94 outdated ports. Portupgrade one, an hour 'til done, 82 outdated ports on the box. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Anyone used ...???
Has anyone used Crossover Office to run M$ Office on your FreeBSD system? I have just seen a demo on RH, but can't stand RH and would rather run my FreeBSD desktop. Thanks, Ron Clark __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Another question - Boot Menu
How does one edit the menu options when using the FreeBSD boot menu to dual boot with Windows? Currently mine says: F1: ??? F2: FreeBSD I searched the archives, but did not find my answer. Thanks, Ron Clark __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh patch? which bin files?
On Mon, Oct 06, 2003 at 11:47:19AM -0700, Sean Hafeez wrote: is there a list binary files and lib files that are patched? i have a box that is a firewall and i just want to copy the changes over since i cannot compile on the filewall box. btw, i have looked at the patch but i could not find a list of all the files. i do not want to miss anything. thanks! -sean In one word: all. Or: As it's a version update, you better update the whole OpenSSH distribution. Basically /usr/bin/ssh* /usr/sbin/sshd /usr/lib/libssh* Ghee that was so hard to figure... -- Enfin vivement les procs optique qui ne chaufferont pas trop ;-) Vivement les proc quantiques, en rajoutant un glaçon, on pourra même les boire ... [ Eric Dillenseger GPG(OxFF352913) eric(at)naxalite(dot)ath(dot)cx ] pgp0.pgp Description: PGP signature
Re: Another question - Boot Menu
On Mon, 6 Oct 2003 12:24:07 -0700 (PDT), Ronnie Clark [EMAIL PROTECTED] wrote: How does one edit the menu options when using the FreeBSD boot menu to dual boot with Windows? Currently mine says: F1: ??? F2: FreeBSD I searched the archives, but did not find my answer. I believe that is just what it says when it runs into a NTFS partition. I'm running http://gag.sourceforge.net/ on my system and found it quite easy to use and also easy to switch which is the default, etc. TjL -- FBSD 4.9 on a Dell Inspiron 7500 laptop ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FAQ: ProLiant SMP Smart Array kernel hangs (mounting root from /dev/idad0s1a ...)
This is for the record, so that hopefully future seekers can find this solution on Google more easily. If the handbook maintainers are listening (or someone who can forward this to them) please put it into the handbook as this can be super frustrating and can make people defect over to Linux immediately. Symptom: Older ProLiant (e.g. ProLiant 1600) after all kernel hardware is initialized hangs after the message: mounting root from /dev/idad0s1a when (and only when) the SMP kernel is used. This happens on true for 4.8-RELEASE but likely on other 4.x releases as well. If you don't even get this far and if the kernel hangs much earlier after saying something about SMP and APIC for the first time, this solution will also help. Solution: Set Operating System to Windows 2000 and set APIC mode to Full Table - Mapped mode. Procedure: Either from the system configuration utility partition or from the system configuration utility diskettes (only need the first 2 of 4 diskettes) start the system configuration. On the main menu hit CTRL-A to enable Advanced Mode. Go into system configuration, select Windows 2000 as the operating system. Then scroll down (hit pg-down twice) to get to the advanced configuration. The last item says APIC mode. Set that to Full Table - Mapped. Save settings and reboot. That should do it. Thanks to Danny Carroll for figuring this all out and holding my hand to reproduce it. See also: http://lists.freebsd.org/pipermail/freebsd-smp/2003-May/000146.html regards, -Gunther ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Another question - Boot Menu
On Mon, Oct 06, 2003 at 12:24:07PM -0700, Ronnie Clark wrote: How does one edit the menu options when using the FreeBSD boot menu to dual boot with Windows? Currently mine says: F1: ??? F2: FreeBSD Does pressing F1 actually boots Windows? Which version of windows do you have installed? The ??? name means the boot loader doesn't have an entry for that partition type in its built in table (or at least that's what I think it means :) -- Nimrod. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Group Calendar Server on FreeBSD?
[EMAIL PROTECTED] writes: Is there a group calendar software (client/server or peer-to-peer) solution that can run on FreeBSD? Ideally has both a web front end as well as a client application. My former colleagues and I used to use the Plan program. It's got a braindead user interface, but it has the features we needed. You can set up a netplan server which keeps the appointments. There is also a cgi script there somewhere. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Group Calendar Server on FreeBSD?
On Mon, 06 Oct 2003 22:11:22 +0200, Kai Grossjohann [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] writes: Is there a group calendar software (client/server or peer-to-peer) solution that can run on FreeBSD? Ideally has both a web front end as well as a client application. My former colleagues and I used to use the Plan program. It's got a braindead user interface, but it has the features we needed. Is this the app you are referring to? http://www.bitrot.de/plan.html Thanks TjL -- FBSD 4.9 on a Dell Inspiron 7500 laptop ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Group Calendar Server on FreeBSD?
Timothy Luoma [EMAIL PROTECTED] writes: Is this the app you are referring to? http://www.bitrot.de/plan.html Yes, that's the one. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ipfw2/dummynet + ipfilter not working together ?
Hi, I have 4.9-RC router on a ADSL access and currently using ipfilter for statefull filtering+nat that is working well. ipfw2 is configured for a long time with a pass all policy. When i try to configure a pipe with queues for traffic shaping as described in the following message (see URL) the TCP connection gets frozen : http://mail.gnu.org/archive/html/mldonkey-users/2003-01/msg00911.html I tried to diagnose what happens and discovered that some packets are said accepted by IPfilter but never gets out of tun0 with pipe/queue activated. If i delete all IPFilter rules (pass all policy) traffic shaping is working right. Everything is working fine if i flush all pipes/queues from ipfw2 configuration but i have no traffic shaping. :/ So, my question is : Is there some incompatabilities between ipfw2/dummynet and IPFilter or maybe there is a bug somewhere ? -- Best regards, Artur Pydo. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Another question - Boot Menu
On Mon, 06 Oct 2003 15:48:16 -0400, Timothy Luoma [EMAIL PROTECTED] wrote: On Mon, 6 Oct 2003 12:24:07 -0700 (PDT), Ronnie Clark [EMAIL PROTECTED] wrote: How does one edit the menu options when using the FreeBSD boot menu to dual boot with Windows? Currently mine says: F1: ??? F2: FreeBSD I searched the archives, but did not find my answer. I believe that is just what it says when it runs into a NTFS partition. I'm running http://gag.sourceforge.net/ on my system and found it quite easy to use and also easy to switch which is the default, etc. Points for searching the archives, but in this case it's an FAQ. :) The bootloader will work even though it just shows question marks. ??? is what it says when it runs into a filesystem that might be NTFS, or it might be OS/2's HPFS filesystem, or even QNX - they all share a filesystem ID number of 7. Other bootloaders such as the NT/XP bootloader, Grub, GAG, etc., are multi-part: one piece lives in the boot sector (which is quite small) and does the booting, and another, larger bit allows you to configure cool stuff like graphics, labels, etc. FreeBSD's bootloader just has the small bit that does the booting. If you want something other than question marks, you can hack the bootloader source (I've never tried and don't know what's involved) or use one of the other available bootloaders, several of which have been mentioned in this thread. The NT/XP loader you already have; GAG is easy and (because it works with RAID) is the one I use ATM; Grub is very configurable and its documentation is useful to learn about bootloaders and the way they work. Jud ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Another question - Boot Menu
Jud [EMAIL PROTECTED] writes: Points for searching the archives, but in this case it's an FAQ. :) Specifically, http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#CHANGING-BOOTPROMPT ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: starting named and httpd
On Monday, Oct 6, 2003, at 01:07 US/Pacific, Jett Tayer wrote: Hello: What I mean to say is, where does named start if not started via named_enable=YES? Current named be seems to be starting and named_enable=NO. Hi, httpd is started by /usr/local/etc/rc.d/apache.sh and named is started at boot time in /etc/rc.conf: just enable your named there, named_enable=YES \jett tayer Hello: I'm sorry to ask this. I have searched the archive mailing list. I've just installed 5.1 and I notice that named and httpd is started by gndc. I've checked /etc/rc.conf and /etc/defaults/rc.conf and named_enable=NO. I'm not sure waht I'm missing. Is there some script starting these? Thanks in Advance Tony But who is to guard the guards themselves? - Juvenal ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
lockup in FreeBSD 5.1
Hi, I have a friend for whom I installed FreeBSD 5.1. Recently, the box has started acting up... programs like dhclient would freeze, driving the load up to above 3. If killed, some other program would freeze minutes later. I've been puzzled by this behaviour, since I run 5.1 on two other machines without problems, and I haven't heard anything like this from others running 5.1. Maybe someone has an insight? The interesting thing is - today I was watching the machine with top, while she used it normaly (me = maxlor, her = theres). Below you find what top displayed before the machine went offline (I assume she powercycled it). The interesting thing is that multiple processes seem to be locked in Giant... could this be a driver issue? On the hardware side, we have an old K6 machine, with some NIC that uses the vr driver; the other stuff I can't remember right now. Anyone have an idea what I can do about this? Greetings Benjamin top output: last pid: 716; load averages: 3.63, 0.98, 0.59 up 0+01:09:30 23:33:30 29 processes: 2 running, 21 sleeping, 6 lock CPU states: 0.1% user, 0.0% nice, 98.5% system, 1.2% interrupt, 0.1% idle Mem: 31M Active, 6600K Inact, 24M Wired, 6064K Cache, 18M Buf, 14M Free Swap: 155M Total, 14M Used, 140M Free, 9% Inuse, 12K In PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND 406 root -160 3284K 712K spread 2:16 25.83% 25.83% sshd 602 theres960 9600K 4660K *Giant 5:09 7.81% 7.81% xmms 505 theres960 25768K 14460K *Giant 4:15 1.12% 1.12% XFree86 524 theres960 13160K 5784K *Giant 0:38 0.54% 0.54% xchat 565 maxlor960 2144K 872K RUN 0:07 0.00% 0.00% top 451 root 960 1152K 472K *Giant 0:07 0.00% 0.00% moused 510 theres960 6524K 2408K select 0:04 0.00% 0.00% fluxbox 548 maxlor960 6012K 904K select 0:01 0.00% 0.00% sshd 532 root 40 6028K 900K sbwait 0:00 0.00% 0.00% sshd 268 root 960 1232K 580K *Giant 0:00 0.00% 0.00% syslogd 216 root 960 1128K 348K *Giant 0:00 0.00% 0.00% dhclient 424 root 80 1260K 640K nanslp 0:00 0.00% 0.00% cron 549 maxlor200 1412K 196K pause0:00 0.00% 0.00% csh 490 root 80 1540K 524K wait 0:00 0.00% 0.00% su 491 theres200 1256K12K pause0:00 0.00% 0.00% csh 504 theres 80 2460K 844K wait 0:00 0.00% 0.00% xinit 492 theres 80 864K12K wait 0:00 0.00% 0.00% sh 358 root 960 1160K 444K RUN 0:00 0.00% 0.00% usbd 483 root 50 1200K 544K ttyin0:00 0.00% 0.00% getty 488 root 50 1200K 544K ttyin0:00 0.00% 0.00% getty 486 root 50 1200K 544K ttyin0:00 0.00% 0.00% getty 482 root 50 1200K 544K ttyin0:00 0.00% 0.00% getty 485 root 50 1200K 544K ttyin0:00 0.00% 0.00% getty 487 root 50 1200K 544K ttyin0:00 0.00% 0.00% getty 484 root 50 1200K 544K ttyin0:00 0.00% 0.00% getty 489 root 50 1200K 544K ttyin0:00 0.00% 0.00% getty 601 theres 80 860K12K wait 0:00 0.00% 0.00% sh 523 theres 80 860K32K wait 0:00 0.00% 0.00% sh 142 root 200 224K12K pause0:00 0.00% 0.00% adjkerntz ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: starting named and httpd
Tony wrote: On Monday, Oct 6, 2003, at 01:07 US/Pacific, Jett Tayer wrote: Hello: What I mean to say is, where does named start if not started via named_enable=YES? Current named be seems to be starting and named_enable=NO. Hmm, check anything in /etc/ with rc on it, do the same in /usr/local/etc. Check root's crontab, and yours too. What's in /etc/inetd.conf? When you boot, do you see anything about named ? During what phase of the boot process? Jus' a few thoughts, maybe Kevin Kinsey DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Another question - Boot Menu
Yes, that's usually the NTFS (Windows NT, 2000Pro, Xppro) partition and it WILL boot the correlating operating system. Eric F Crist AdTech Integrated Systems, Inc (952) 403-9000 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nimrod Mesika Sent: Monday, October 06, 2003 2:54 PM To: FreeBSD Questions Subject: Re: Another question - Boot Menu On Mon, Oct 06, 2003 at 12:24:07PM -0700, Ronnie Clark wrote: How does one edit the menu options when using the FreeBSD boot menu to dual boot with Windows? Currently mine says: F1: ??? F2: FreeBSD Does pressing F1 actually boots Windows? Which version of windows do you have installed? The ??? name means the boot loader doesn't have an entry for that partition type in its built in table (or at least that's what I think it means :) -- Nimrod. ___ [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: AFS Server + MAC + Jail
At 8:08 PM -0400 10/5/03, Kenny Freeman wrote: I'm using the latest release of openafs, plus I keep my entire system and kernel up to date with patches. ... Anyways, my question is really just about AFS and whether or not it works on 5.1-RELEASE. My understanding is that the server-side should work OK, but I don't know anyone who tried to run it in a jail. There is some work going on to get the OpenAFS client working on freebsd-current. You should follow the OpenAFS mailing list for more details. Some details show up on the special list for the freebsd port of OpenAFS, and some freebsd info shows up on the general-info mailing list. So, Check: https://lists.openafs.org/mailman/listinfo/port-freebsd https://lists.openafs.org/mailman/listinfo/openafs-info -- 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]
high load with 5.1-release?
One of my freebsd boxes has a huge load but it doenst show any cpu usage, it always shows ~70% idle. Its a dual cpu intel xeon 2.4ghz with hyberthreading (freebsd shows 4cpus) uname -a FreeBSD gflux.tiora.net 5.1-RELEASE FreeBSD 5.1-RELEASE #2: Thu Sep 18 16:20:28 PDT 2003 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/gflux i386 last pid: 2456; load averages: 9.66, 12.08, 14.41up 17+16:43:08 15:04:30 217 processes: 11 running, 205 sleeping, 1 zombie CPU states: 9.5% user, 4.3% nice, 15.1% system, 0.8% interrupt, 70.3% idle Mem: 333M Active, 289M Inact, 224M Wired, 46M Cache, 111M Buf, 93M Free Swap: 512M Total, 59M Used, 453M Free, 11% Inuse Im aware the server is highly busy, and its always very fast. I just dont understand why it always says there is always 70% idle cpu time? iostat says the same thing. I can do a make -j 12 world, and it still shows 70% idle cpu time. Any thoughts? thanks, liam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
high load with 5.1-RELEASE
One of my freebsd boxes has a huge load but it doenst show any cpu usage, it always shows ~70% idle. Its a dual cpu intel xeon 2.4ghz with hyberthreading (freebsd shows 4cpus) uname -a FreeBSD gflux.tiora.net 5.1-RELEASE FreeBSD 5.1-RELEASE #2: Thu Sep 18 16:20:28 PDT 2003 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/gflux i386 last pid: 2456; load averages: 9.66, 12.08, 14.41up 17+16:43:08 15:04:30 217 processes: 11 running, 205 sleeping, 1 zombie CPU states: 9.5% user, 4.3% nice, 15.1% system, 0.8% interrupt, 70.3% idle Mem: 333M Active, 289M Inact, 224M Wired, 46M Cache, 111M Buf, 93M Free Swap: 512M Total, 59M Used, 453M Free, 11% Inuse Im aware the server is highly busy, and its always very fast. I just dont understand why it always says there is always 70% idle cpu time? iostat says the same thing. I can do a make -j 12 world, and it still shows 70% idle cpu time. Any thoughts? thanks, liam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Another question - Boot Menu
I too have this problem (I dual boot Win 2K/FreeBSD on my desktop). Everything works fine, but I think what Ron wants to know is simply can you change the ??? into Windows for example? Regards David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ronnie Clark Sent: 06 October 2003 20:24 To: FreeBSD Questions Subject: Another question - Boot Menu How does one edit the menu options when using the FreeBSD boot menu to dual boot with Windows? Currently mine says: F1: ??? F2: FreeBSD I searched the archives, but did not find my answer. Thanks, Ron Clark __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.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: Booting without keyboard.
I've read (although never actually seen myself - so take this with as large a grain of salt as you like) that hotplugging PS/2 peripherals can damage the port you're plugging them into, so I'd be wary about doing this. This is what I've heard, too, but I've never seen a PS/2 port being damaged from 'hot plugging' either. However, I've seen it quite a few times that unplugging and replugging the mouse or the keyboard leaves the device not working afterwards. I've seen this under FreeBSD as well as under (I hate to admit it, but it's the PC at work) Windows NT4 and 2000. I've read a magazine article once which said that this is not the OS's responsibility but the hardware (keyboard or mouse) itself crashing. So regardless if hot-plugging the keyboard works or not, if you plan to do this several times a day, you might want to thing about getting a KVM switch. Phil. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Freebie Question - Setting up FTP server
On Monday 06 October 2003 03:27 pm, Jess A Rodriguez wrote: hi i'm a new freebsd user and trying to look for the url that will help me set up a ftp server in my newly installed bsd box, i cant find any link. i appreciate any help, thanks!! Remove the comment in /etc/inetd.conf and you have a server. Just remember the Juárez people are looking for open sites and you could find your HD full of commercial software that you don't own and you have lost your network bandwidth to people downloading the software. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Booting without keyboard.
Some years ago I worked as technical service, and i see al least 2 machines with the keyboard port burned because of this :-P, but also i know about too many people that do it and nothing happens ... but i like to do it :-P. On Tue, Oct 07, 2003 at 01:05:10AM +0200, Ph. Schulz wrote: I've read (although never actually seen myself - so take this with as large a grain of salt as you like) that hotplugging PS/2 peripherals can damage the port you're plugging them into, so I'd be wary about doing this. This is what I've heard, too, but I've never seen a PS/2 port being damaged from 'hot plugging' either. However, I've seen it quite a few times that unplugging and replugging the mouse or the keyboard leaves the device not working afterwards. I've seen this under FreeBSD as well as under (I hate to admit it, but it's the PC at work) Windows NT4 and 2000. I've read a magazine article once which said that this is not the OS's responsibility but the hardware (keyboard or mouse) itself crashing. So regardless if hot-plugging the keyboard works or not, if you plan to do this several times a day, you might want to thing about getting a KVM switch. Phil. ___ [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: barcode reader, card swiper
On Mon, 6 Oct 2003 11:18 pm, Aaron wrote: I'm looking for a barcode reader for a bsd system. Need the peripheral, and software to read it, from USB or keyboard or whatever interface is appropriate. Anyone aware of these sorts of things for BSD? Every one i have ever seen just sends keypresses (acts like a keyboard). If your worried, ask the retailer if you can return it if it doesnt work with your system (most places I buy stuff for FreeBSD from, are happy for me to return if it doesnt work). _ JacobRhoden -- http://rhoden.id.au/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FW: Repost to me only...
Eric F Crist AdTech Integrated Systems, Inc (952) 403-9000 -Original Message- From: Manuel Rabade (MiG) [mailto:[EMAIL PROTECTED] Sent: Sunday, October 05, 2003 9:03 PM To: Eric Crist Subject: Re: Repost to me only... On Sun, Oct 05, 2003 at 08:14:02PM -0500, Eric Crist wrote: Hey, If you re-ask the question, I'm a CCNA and I can probably answer. I thought this was going to be a typical 'how do I start NAT' question, but it's been going on too long. Send me an email with the original question and you system/network config and I'll do what I can to get it fixed. No, i was helping the other guy :-P, anyway thanks :). Eric F Crist AdTech Integrated Systems, Inc (952) 403-9000 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: lockup in FreeBSD 5.1
On Mon, Oct 06, 2003 at 11:44:15PM +0200, Benjamin Lutz wrote: The interesting thing is - today I was watching the machine with top, while she used it normaly (me = maxlor, her = theres). Below you find what top displayed before the machine went offline (I assume she powercycled it). The interesting thing is that multiple processes seem to be locked in Giant... could this be a driver issue? Sort of..recall from the 5.1 Early Adopter's Guide that the 5.x branch is work in progress and a major focus of effort is SMP locking pushdown. As of 5.1 Giant still covered a lot of the kernel code paths. On the hardware side, we have an old K6 machine, with some NIC that uses the vr driver; the other stuff I can't remember right now. k6 CPUs run notoriously hot and become unreliable at high temperatures..make sure you have more-than-adequate CPU cooling. Kris pgp0.pgp Description: PGP signature
Re: AFS Server + MAC + Jail
On October 6, 2003 06:02 pm, Garance A Drosihn wrote: At 8:08 PM -0400 10/5/03, Kenny Freeman wrote: I'm using the latest release of openafs, plus I keep my entire system and kernel up to date with patches. ... Anyways, my question is really just about AFS and whether or not it works on 5.1-RELEASE. My understanding is that the server-side should work OK, but I don't know anyone who tried to run it in a jail. Working on that atm (jailed afs). It seems that the rc script supplied by openafs requires a kernel module (afs.ko) to be loaded - I'm modifying that also atm (not really much of an rc script, will be when i'm done). The kernel module fails to build on my machine - seems there are some header problems and prolly more. I'll check with the afs related lists on that. (actually, after I have afs properly setup now, the kernel module is required - afsd dies with Bad system call (core dumped) without the kmod, i assume the syscall in ? is provided by the kernel module. There is some work going on to get the OpenAFS client working on freebsd-current. You should follow the OpenAFS mailing list for more details. Some details show up on the special list for the freebsd port of OpenAFS, and some freebsd info shows up on the general-info mailing list. So, Check: https://lists.openafs.org/mailman/listinfo/port-freebsd https://lists.openafs.org/mailman/listinfo/openafs-info done and done. Just thought I'd check with this high volume list. As far as the client side, there is an open source (i think) client called arla in the ports tree (..checks status) which just so happens to be borked atm. One can always resort to building from source I guess. Thanks. -Kenny pgp0.pgp Description: signature
Re: devel/imake-4 errors out on mkhtmlindex
Hi Johan, I just stumbled over the same problem, it turned out to be a perl problem. After installing perl from the ports one should do something like # use.perl ports this creates some symlinks to make perl apps run with the new perl. Apparently one of these links was missing and use.perl did not run, so I had to do: # ln -s /usr/local/bin/perl /usr/bin/perl5 to fix this. Now imake-4 install runs fine. Btw. XFree-4-libraries suffers from the same problem. Best regards, Alexander. Quoting Johan Huldtgren: Posted this about a week ago, perhaps I'll have better luck this time.. -- Forwarded message -- Hi, I've beem trying to upgrade the devel/imake-4 port for a few days now, and I'm hitting an odd error. I've done some googling as well as been through the archives and have not seen any mention of this at all. The port builds fine, but during the install: snipp install.man in config/util done installing man pages in config/pswrap... + /usr/bin/install -c -m 0444 pswrap.1.html /usr/X11R6/lib/X11/doc/html/pswrap.1.html rm -f /usr/X11R6/man/man1/pswrap.1* /usr/bin/install -c -m 0444 pswrap._man /usr/X11R6/man/man1/pswrap.1 gzip -n /usr/X11R6/man/man1/pswrap.1 install.man in config/pswrap done === Generating temporary packing list mkhtmlindex:No such file or directory *** Error code 1 Stop in /usr/ports/devel/imake-4. *** Error code 1 snipp I have scripted it all so if more than this snipp is required just let me know. I updated my ports last night (Apr 3rd) at 03:00 CET. [EMAIL PROTECTED] root]# uname -a FreeBSD mordor.obitus.org 4.4-20011213-STABLE FreeBSD 4.4-20011213-STABLE #0: Fri Dec 21 21:21:34 CET 2001 [EMAIL PROTECTED]:/usr/src/sys/compile/SAURON i386 [EMAIL PROTECTED] root]# more /etc/make.conf CPUTYPE=i686 CFLAGS= -O -pipe CXXFLAGS+= -fmemoize-lookups -fsave-memoized COPTFLAGS= -O -pipe NO_X=true NO_BIND=true NOGAMES=true NOPROFILE=true NOUUCP=true MAKE_IDEA=YES NO_MAKEDEV= true COMPAT3X=yes BOOTWAIT=0 HAVE_MOTIF=YES USA_RESIDENT=NO XFREE86_VERSION=4 TOP_TABLE_SIZE=101 Thanks for any info on solving this, - Johan #_ __ _ __ http://www.nagilum.org/ \n icq://69646724 # # / |/ /__ _(_) /_ _ [EMAIL PROTECTED] \n +1776461165 # # // _ `/ _ `/ / / // / ' \ Amiga (68k/PPC): AOS/NetBSD/Linux # # /_/|_/\_,_/\_, /_/_/\_,_/_/_/_/ Mac (PPC): MacOS9 / Linux / MacOS-X # # /___/ x86: Linux/FreeBSD/QNX/Win98SE/WinXP ARM9: EPOC EV6 # - This mail sent through IMP: http://horde.org/imp/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: tranparent proxying, squid, nat, ipfw
Hi, my advice is, take it step by step. Set up your nat, apache (if you need it), squid (don't use httpd_accel at the beginning!). Now I'm a bit unsure what you want to do, if you want to force the use of a proxy for your NAT-Users, so create your redirection rule which redirects outgoing traffic to port 80 (,https,...) to your localhost squid. httpd_accel is for accelerating a specific webserver in your realm, you can use it to speed up the responses from your local apache or any other webserver in your lan (and thereby making it accessible from outside, if you set the ACL accordingly). The question is, what do you want to accomplish? Kind regards, Alex. Quoting Gil Agno Virtucio [EMAIL PROTECTED]: so far this was the simpliest squid configuration that i've seen... http://ezine.daemonnews.org/200209/squid.html hope this helps... - Gil Agno Virtucio Janitor/Collector/Messenger NEC System Integration and Construction Philippines Inc. 15th Floor BPI Buendia Center Gil Puyat Ave. Makati City 1200 Cellphone : +639163989695 Office Phone: +6328914167 - -Original Message- From: synrat [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 11:40 AM To: [EMAIL PROTECTED] Subject: tranparent proxying, squid, nat, ipfw I'm having a hard time getting this working together. I have squid 2.5 stable working and with all the required setting for transparent proxying. The machine has the kernel with IPFW and forwarding options. NAT is on, firewall type is simple with some modifications. Internal interface address is 192.168.1.1. Squid runs fine when the browser is setup to access it, but the goal is not to have to do that. http_port 3128 httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header on I have the forwarding rule as well fwd 127.0.0.1,3128 tcp from any to any 80 I tried 192.168.1.1,3128 in the rule. Tried putting it before both divert rules. Here's my ipfw list output 00050 divert 8668 ip from any to any via rl0 00100 allow ip from any to any via lo0 00200 deny ip from any to 127.0.0.0/8 00300 deny ip from 127.0.0.0/8 to any 00400 deny ip from 192.168.1.0/24 to any in recv rl0 00500 deny ip from 66.92.100.0/24 to any in recv rl1 00600 deny ip from any to 10.0.0.0/8 via rl0 00700 deny ip from any to 172.16.0.0/12 via rl0 00800 deny ip from any to 192.168.0.0/16 via rl0 00900 deny ip from any to 0.0.0.0/8 via rl0 01000 deny ip from any to 169.254.0.0/16 via rl0 01100 deny ip from any to 192.0.2.0/24 via rl0 01200 deny ip from any to 224.0.0.0/4 via rl0 01300 deny ip from any to 240.0.0.0/4 via rl0 01400 divert 8668 ip from any to any via rl0 01500 deny ip from 10.0.0.0/8 to any via rl0 01600 deny ip from 172.16.0.0/12 to any via rl0 01700 deny ip from 192.168.0.0/16 to any via rl0 01800 deny ip from 0.0.0.0/8 to any via rl0 01900 deny ip from 169.254.0.0/16 to any via rl0 02000 deny ip from 192.0.2.0/24 to any via rl0 02100 deny ip from 224.0.0.0/4 to any via rl0 02200 deny ip from 240.0.0.0/4 to any via rl0 02300 allow tcp from any to any established 02400 allow ip from any to any frag 02500 allow tcp from any to 66.92.100.221 25 setup 02600 allow tcp from 192.168.1.0/24 to 192.168.1.0/24 02700 allow tcp from 192.168.1.0/24 to 192.168.1.0/24 02800 allow udp from 192.168.1.0/24 to 192.168.1.0/24 02900 allow udp from 192.168.1.0/24 to 192.168.1.0/24 03000 allow tcp from any to 66.92.100.221 80 setup 03100 allow tcp from any to 66.92.100.221 8080 setup 03200 allow tcp from any to 66.92.100.221 8021 setup 03300 allow tcp from any to 66.92.100.221 21 setup 03400 allow tcp from any to 66.92.100.221 22 setup 03500 allow tcp from any to 66.92.100.221 110 setup 03600 allow tcp from any to 66.92.100.221 143 setup 03700 allow tcp from any to 66.92.100.221 993 setup 03800 allow tcp from any to 66.92.100.221 995 setup 03900 allow icmp from any to any 04000 deny log tcp from any to any in recv rl0 setup 04100 allow tcp from any to any setup 04200 fwd 127.0.0.1,3128 tcp from any to any 80 04300 allow udp from 66.92.100.221 to any keep-state 04400 allow udp from 192.168.1.3 to any keep-state 65535 deny ip from any to any - This mail sent through IMP: http://horde.org/imp/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Booting without keyboard.
On Mon, Oct 06, 2003 at 06:38:03PM -0500, MiG wrote: Some years ago I worked as technical service, and i see al least 2 machines with the keyboard port burned because of this :-P, but also i know about too many people that do it and nothing happens ... but i like to do it :-P. I mean, i don't like to do it :-P, sorry for my bad english. On Tue, Oct 07, 2003 at 01:05:10AM +0200, Ph. Schulz wrote: I've read (although never actually seen myself - so take this with as large a grain of salt as you like) that hotplugging PS/2 peripherals can damage the port you're plugging them into, so I'd be wary about doing this. This is what I've heard, too, but I've never seen a PS/2 port being damaged from 'hot plugging' either. However, I've seen it quite a few times that unplugging and replugging the mouse or the keyboard leaves the device not working afterwards. I've seen this under FreeBSD as well as under (I hate to admit it, but it's the PC at work) Windows NT4 and 2000. I've read a magazine article once which said that this is not the OS's responsibility but the hardware (keyboard or mouse) itself crashing. So regardless if hot-plugging the keyboard works or not, if you plan to do this several times a day, you might want to thing about getting a KVM switch. Phil. ___ [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: cdrdao with IDE burners?
On Tue, 2003-10-07 at 03:30, Mark Woodson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 06 October 2003 10:20 am, Fernando Gleiser wrote: My trusty SCSI CD burner is dying a slow death, so I'm thinking about getting a new one. The problem is SCSI drives are very expensive now when compared to an ATAPI one and I have a small budget. I use cdrdao a lot for music and video CDs and cdrecord for data CDs. do those tools work with ATAPI drives? do they work with ATAPI/CAM? I can vouch for cdrdao. Been using it with an atapi burner via atapi-cam. Works great. - -Mark -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/gaaoF/yyV91po54RArLcAJ9DWzXJQH8LwrHjEB86ietEHz8W/wCg7hoS DgVj4kVY7MZP9IQUp0LgseE= =2N7V -END PGP SIGNATURE- I 2nd that. Using BENQ 32x10x40 ATAPI CD-RW successfully. -Ekrem ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Having trouble with buildworld
The file is missing. Now the question is why was it? I used cvsup to reteive the source. It is was missing from a clean arcive. I am including the supfile and the reject file. Any ideas - src-supfile - # $FreeBSD: src/share/examples/cvsup/stable-supfile,v 1.26 2002/07/30 14:08:16 blackend Exp $ # # This file contains all of the CVSup collections that make up the # FreeBSD-stable source tree. # # CVSup (CVS Update Protocol) allows you to download the latest CVS # tree (or any branch of development therefrom) to your system easily # and efficiently (far more so than with sup, which CVSup is aimed # at replacing). If you're running CVSup interactively, and are # currently using an X display server, you should run CVSup as follows # to keep your CVS tree up-to-date: # # cvsup stable-supfile # # If not running X, or invoking cvsup from a non-interactive script, then # run it as follows: # # cvsup -g -L 2 stable-supfile # # You may wish to change some of the settings in this file to better # suit your system: # # host=CHANGE_THIS.FreeBSD.org # This specifies the server host which will supply the # file updates. You must change it to one of the CVSup # mirror sites listed in the FreeBSD Handbook at # http://www.freebsd.org/doc/handbook/mirrors.html. # You can override this setting on the command line # with cvsup's -h host option. # # base=/usr # This specifies the root where CVSup will store information # about the collections you have transferred to your system. # A setting of /usr will generate this information in # /usr/sup. Even if you are CVSupping a large number of # collections, you will be hard pressed to generate more than # ~1MB of data in this directory. You can override the # base setting on the command line with cvsup's -b base # option. This directory must exist in order to run CVSup. # # prefix=/usr # This specifies where to place the requested files. A # setting of /usr will place all of the files requested # in /usr/src (e.g., /usr/src/bin, /usr/src/lib). # The prefix directory must exist in order to run CVSup. # ### # # DANGER! WARNING! LOOK OUT! VORSICHT! # # If you add any of the ports or doc collections to this file, be sure to # specify them with a tag value set to ., like this: # # ports-all tag=. # doc-all tag=. # # If you leave out the tag=. portion, CVSup will delete all of # the files in your ports or doc tree. That is because the ports and doc # collections do not use the same tags as the main part of the FreeBSD # source tree. # ### # Defaults that apply to all the collections # # IMPORTANT: Change the next line to use one of the CVSup mirror sites # listed at http://www.freebsd.org/doc/handbook/mirrors.html. *default host=cvsup4.FreeBSD.org *default base=/usr/local/etc/cvsup *default prefix=/usr # The following line is for 4-stable. If you want 3-stable or 2.2- stable, # change RELENG_4 to RELENG_3 or RELENG_2_2 respectively. *default release=cvs tag=RELENG_5_1 *default delete use-rel-suffix # If your network link is a T1 or faster, comment out the following line. *default compress ## Main Source Tree. # # The easiest way to get the main source tree is to use the src-all # mega-collection. It includes all of the individual src-* collections. # Please note: If you want to track -STABLE, leave this uncommented. src-all # These are the individual collections that make up src-all. If you # use these, be sure to comment out src-all above. #src-base #src-bin #src-contrib #src-etc #src-games #src-gnu #src-include #src-kerberos5 #src-kerberosIV #src-lib #src-libexec #src-release #src-sbin #src-share #src-sys #src-tools #src-usrbin #src-usrsbin # These are the individual collections that make up FreeBSD's crypto # collection. They are no longer export-restricted and are a part of # src-all #src-crypto #src-eBones #src-secure #src-sys-crypto --- refuse --- src/etc/sendmail/freebsd.mc* doc/da_* doc/de_* doc/es_* doc/el_* doc/fr_* doc/it_* doc/ja_* doc/nl_* doc/no_* doc/pl_* doc/pt_* doc/ru_* doc/sr_* doc/zh_* ports/chinese ports/french ports/german ports/hebrew ports/hungarian ports/japanese ports/korean ports/portuguese ports/russian ports/ukrainian ports/vietnamese - On 10/06/03 02:50:38, Matthew Seaman wrote: On Sun, Oct 05, 2003 at 03:51:12PM -0700, James Jacobsen wrote: Here is the /etc/make.conf. # -- use.perl generated deltas -- # # Created: Tue Aug 26 09:51:56 2003 # Setting to use base perl from ports: PERL_VER=5.6.1 PERL_VERSION=5.6.1 PERL_ARCH=mach NOPERL=yo NO_PERL=yo NO_PERL_WRAPPER=yo XFREE86_VERSION=4 # -- use.perl generated
Re: Anyone used ...???
On Tue, 2003-10-07 at 05:22, Ronnie Clark wrote: Has anyone used Crossover Office to run M$ Office on your FreeBSD system? I have just seen a demo on RH, but can't stand RH and would rather run my FreeBSD desktop. Thanks, Ron Clark I had tried about 2 months ago. From memory, there was an issue with it using something like 'chown user.group' format within its setup script. After I got around that, it seg faulted when executed :( But I don't know much about programming. Maybe someone with experience has got it working. I believe it relies on Wine to work. -Ekrem ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tranparent proxying, squid, nat, ipfw
I have done a number of servers in this setup. It really is as simple as following this http://www.squid-cache.org/Doc/FAQ/FAQ-17.html#ss17.8 plus the divert line as the first line in ipfw and the necessary NAT in rc.conf. However, if you are thinking of implementing WCCP+transparent proxy+NAT, it doesn't seem to work together, or at least not for me :-D (help?). I have read from Osnews that there's a new ipfw implementation that might solve this and it is due to come out with the 4.9-RELEASE. I'm not sure if this is related though...I didn't read thoroughly. chael Hi, my advice is, take it step by step. Set up your nat, apache (if you need it), squid (don't use httpd_accel at the beginning!). Now I'm a bit unsure what you want to do, if you want to force the use of a proxy for your NAT-Users, so create your redirection rule which redirects outgoing traffic to port 80 (,https,...) to your localhost squid. httpd_accel is for accelerating a specific webserver in your realm, you can use it to speed up the responses from your local apache or any other webserver in your lan (and thereby making it accessible from outside, if you set the ACL accordingly). The question is, what do you want to accomplish? Kind regards, Alex. Quoting Gil Agno Virtucio [EMAIL PROTECTED]: so far this was the simpliest squid configuration that i've seen... http://ezine.daemonnews.org/200209/squid.html hope this helps... - Gil Agno Virtucio Janitor/Collector/Messenger NEC System Integration and Construction Philippines Inc. 15th Floor BPI Buendia Center Gil Puyat Ave. Makati City 1200 Cellphone : +639163989695 Office Phone: +6328914167 - -Original Message- From: synrat [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 11:40 AM To: [EMAIL PROTECTED] Subject: tranparent proxying, squid, nat, ipfw I'm having a hard time getting this working together. I have squid 2.5 stable working and with all the required setting for transparent proxying. The machine has the kernel with IPFW and forwarding options. NAT is on, firewall type is simple with some modifications. Internal interface address is 192.168.1.1. Squid runs fine when the browser is setup to access it, but the goal is not to have to do that. http_port 3128 httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header on I have the forwarding rule as well fwd 127.0.0.1,3128 tcp from any to any 80 I tried 192.168.1.1,3128 in the rule. Tried putting it before both divert rules. Here's my ipfw list output 00050 divert 8668 ip from any to any via rl0 00100 allow ip from any to any via lo0 00200 deny ip from any to 127.0.0.0/8 00300 deny ip from 127.0.0.0/8 to any 00400 deny ip from 192.168.1.0/24 to any in recv rl0 00500 deny ip from 66.92.100.0/24 to any in recv rl1 00600 deny ip from any to 10.0.0.0/8 via rl0 00700 deny ip from any to 172.16.0.0/12 via rl0 00800 deny ip from any to 192.168.0.0/16 via rl0 00900 deny ip from any to 0.0.0.0/8 via rl0 01000 deny ip from any to 169.254.0.0/16 via rl0 01100 deny ip from any to 192.0.2.0/24 via rl0 01200 deny ip from any to 224.0.0.0/4 via rl0 01300 deny ip from any to 240.0.0.0/4 via rl0 01400 divert 8668 ip from any to any via rl0 01500 deny ip from 10.0.0.0/8 to any via rl0 01600 deny ip from 172.16.0.0/12 to any via rl0 01700 deny ip from 192.168.0.0/16 to any via rl0 01800 deny ip from 0.0.0.0/8 to any via rl0 01900 deny ip from 169.254.0.0/16 to any via rl0 02000 deny ip from 192.0.2.0/24 to any via rl0 02100 deny ip from 224.0.0.0/4 to any via rl0 02200 deny ip from 240.0.0.0/4 to any via rl0 02300 allow tcp from any to any established 02400 allow ip from any to any frag 02500 allow tcp from any to 66.92.100.221 25 setup 02600 allow tcp from 192.168.1.0/24 to 192.168.1.0/24 02700 allow tcp from 192.168.1.0/24 to 192.168.1.0/24 02800 allow udp from 192.168.1.0/24 to 192.168.1.0/24 02900 allow udp from 192.168.1.0/24 to 192.168.1.0/24 03000 allow tcp from any to 66.92.100.221 80 setup 03100 allow tcp from any to 66.92.100.221 8080 setup 03200 allow tcp from any to 66.92.100.221 8021 setup 03300 allow tcp from any to 66.92.100.221 21 setup 03400 allow tcp from any to 66.92.100.221 22 setup 03500 allow tcp from any to 66.92.100.221 110 setup 03600 allow tcp from any to 66.92.100.221 143 setup 03700 allow tcp from any to 66.92.100.221 993 setup 03800 allow tcp from any to 66.92.100.221 995 setup 03900 allow icmp from any to any 04000 deny log tcp from any to any in recv rl0 setup 04100 allow tcp from any to any setup 04200 fwd 127.0.0.1,3128 tcp from any to any 80 04300 allow udp from 66.92.100.221 to any keep-state 04400 allow udp from 192.168.1.3 to any keep-state 65535 deny ip from any
Re: Turning off that bloody nagscreen on bittorrent!
Nevermind. Friend found out how to fix it so it stops nagging me. The dialog was gagging because of a glitch on the system. Once that was fixed the BT client worked fine. :) At 02:49 PM 10/6/03 -0400, Dragoncrest wrote: Actually, the only popup nag screen it ever gets to is loading the browser then seems to gag there. Not sure why, but it does. Probubly why I haven't been able to get it to be quiet by clicking on the dialog box. At 2003-10-06T02:08:50Z, Dragoncrest [EMAIL PROTECTED] writes: Anyone know if there's a special switch or something on the Freebsd BitTorrent port or some way to go inside the python script and shut off that bloody nag stuff he's got built into his new version 3.3? Here's my guess: Look at btdownloadgui.py near line 265. You'll see something like: def next(params, d, doneflag): try: p = join(split(argv[0])[0], 'donated') if not exists(p) and long(time()) % 3 == 0: open_new('http://bitconjurer.org/BitTorrent/donate.html') dlg = wxMessageDialog(d.frame, 'BitTorrent is Donation supported software. ' + Now, it appears that the p variable will end up looking something like: bdonatedtdonatedddonatedodonatedwdonatedndonatedldonatedodonatedadonatedddonatedgdonatedudonatedidonated.donatedpdonatedy (btdownloadgui.py with donated inserted between each character). If a file by that name exists (what directory? I have no idea!), then you won't get the nag screen. Alternatively, would it be so hard to click Yes, I've donated and let the program create the file itself? -- Kirk Strauser 94 outdated ports on the box, 94 outdated ports. Portupgrade one, an hour 'til done, 82 outdated ports on the box. ___ [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]
IPF and Routing
Hello, I have question regarding IPNat and routing. The situation is that I need to setup a network where each machine gets a unique global IP address from behind a firewall which performs NAT. I have 16 addresses so my question is can I alias 14 addresses to the primary nic and then config each private address to map directly to one global address or have I missed something fundamental about this ? Any advice is appreciated. TIA LukeK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipfw2/dummynet + ipfilter not working together ?
On Mon, Oct 06, 2003 at 11:20:20PM +0200, Artur Pydo wrote: So, my question is : Is there some incompatabilities between ipfw2/dummynet and IPFilter or maybe there is a bug somewhere ? I use ipf for filtering and ipfw2 for dummynet without a problem - sounds like a problem with the dummynet side if you have ipf running ok and ipfw2 with an allow all policy. -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Patching sshd in FreeBSD 4.7
ftp'd the appropriate file for 4.7release [FreeBSD 4.7] # fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-03:15/openssh47.patch and when I try to patch I get this: Hmm... Looks like a new-style context diff to me... The text leading up to this was: -- |Index: crypto/openssh/auth-chall.c |=== |RCS file: /home/ncvs/src/crypto/openssh/auth-chall.c,v |retrieving revision 1.2.2.3 |retrieving revision 1.2.2.3.2.1 |diff -p -c -r1.2.2.3 -r1.2.2.3.2.1 |*** crypto/openssh/auth-chall.c3 Jul 2002 22:11:41 - 1.2.2.3 |--- crypto/openssh/auth-chall.c24 Sep 2003 19:50:39 - 1.2.2.3.2.1 -- Patching file crypto/openssh/auth-chall.c using Plan A... Hunk #1 succeeded at 80. Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -- |Index: crypto/openssh/auth.h |=== |RCS file: /home/ncvs/src/crypto/openssh/auth.h,v |retrieving revision 1.1.1.1.2.5 |retrieving revision 1.1.1.1.2.5.2.1 |diff -p -c -r1.1.1.1.2.5 -r1.1.1.1.2.5.2.1 |*** crypto/openssh/auth.h 3 Jul 2002 22:11:41 - 1.1.1.1.2.5 |--- crypto/openssh/auth.h 24 Sep 2003 19:50:39 - 1.1.1.1.2.5.2.1 -- Patching file crypto/openssh/auth.h using Plan A... Hunk #1 succeeded at 160. Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -- |Index: crypto/openssh/auth1.c |=== |RCS file: /home/ncvs/src/crypto/openssh/auth1.c,v |retrieving revision 1.3.2.8 |retrieving revision 1.3.2.8.2.1 |diff -p -c -r1.3.2.8 -r1.3.2.8.2.1 |*** crypto/openssh/auth1.c 3 Jul 2002 22:11:41 - 1.3.2.8 |--- crypto/openssh/auth1.c 24 Sep 2003 19:50:39 - 1.3.2.8.2.1 -- Patching file crypto/openssh/auth1.c using Plan A... Hunk #1 succeeded at 73. Hunk #2 succeeded at 103. Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -- |Index: crypto/openssh/auth2-pam-freebsd.c |=== |RCS file: /home/ncvs/src/crypto/openssh/auth2-pam-freebsd.c,v |retrieving revision 1.1.2.2 |retrieving revision 1.1.2.2.2.2 |diff -p -c -r1.1.2.2 -r1.1.2.2.2.2 |*** crypto/openssh/auth2-pam-freebsd.c 17 Jul 2002 17:45:18 - 1.1.2.2 |--- crypto/openssh/auth2-pam-freebsd.c 24 Sep 2003 19:16:24 - 1.1.2.2.2.2 -- Patching file crypto/openssh/auth2-pam-freebsd.c using Plan A... Hunk #1 succeeded at 76. Hunk #2 succeeded at 85. Hunk #3 succeeded at 93. Hunk #4 succeeded at 111. Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -- |Index: crypto/openssh/ssh_config |=== |RCS file: /home/ncvs/src/crypto/openssh/ssh_config,v |retrieving revision 1.2.2.6 |retrieving revision 1.2.2.6.2.1 |diff -p -c -r1.2.2.6 -r1.2.2.6.2.1 |*** crypto/openssh/ssh_config 25 Jul 2002 16:03:44 - 1.2.2.6 |--- crypto/openssh/ssh_config 24 Sep 2003 19:51:42 - 1.2.2.6.2.1 -- Patching file crypto/openssh/ssh_config using Plan A... Hunk #1 succeeded at 34. Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -- |Index: crypto/openssh/sshd_config |=== |RCS file: /home/ncvs/src/crypto/openssh/sshd_config,v |retrieving revision 1.4.2.10 |retrieving revision 1.4.2.10.2.1 |diff -p -c -r1.4.2.10 -r1.4.2.10.2.1 |*** crypto/openssh/sshd_config 26 Jul 2002 15:18:32 - 1.4.2.10 |--- crypto/openssh/sshd_config 24 Sep 2003 19:51:42 - 1.4.2.10.2.1 -- Patching file crypto/openssh/sshd_config using Plan A... Hunk #1 succeeded at 14. Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -- |Index: crypto/openssh/version.h |=== |RCS file: /home/ncvs/src/crypto/openssh/version.h,v |retrieving revision 1.1.1.1.2.9.2.2 |retrieving revision 1.1.1.1.2.9.2.3 |diff -p -c -r1.1.1.1.2.9.2.2 -r1.1.1.1.2.9.2.3 |*** crypto/openssh/version.h 17 Sep 2003 14:51:37 - 1.1.1.1.2.9.2.2 |--- crypto/openssh/version.h 24 Sep 2003 19:51:42 - 1.1.1.1.2.9.2.3 -- Patching file crypto/openssh/version.h using Plan A... Hunk #1 failed at 5. 1 out of 1 hunks failed--saving rejects to crypto/openssh/version.h.rej done su-2.05b# cd crypto/openssh/version.h.rej su: cd: crypto/openssh/version.h.rej:
Re: Booting without keyboard.
Ph. Schulz writes: This is what I've heard, too, but I've never seen a PS/2 port being damaged from 'hot plugging' either. This is one of those things where it works ... except when it doesn't, and you fry the port or even the entire motherboard. It's never happened to me (as far as I know) but I know a number of people (some on FreeBSD lists) to whom it has. I've read a magazine article once which said that this is not the OS's responsibility but the hardware (keyboard or mouse) itself crashing. I believe this to be correct. So regardless if hot-plugging the keyboard works or not, if you plan to do this several times a day, you might want to thing about getting a KVM switch. Four port PS/2 KVMs are disgustingly cheap these days. USB, not so much. Robert Huff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Shell script--batch rename files
Hello All-- I'm a novice shell programmer, but I thought I would begin to learn by writing a script that had a need for but could not find an equivalent of on the Internet. I decided to post it here (a) in case anyone else might find it useful and (b) to expose it to more experienced script authors who might be kind enough to offer helpful criticisms or suggestions. (the script appears in its entirety at the end of this email) I wrote the script (it works with /bin/sh or BASH) to address the following problem-- I have many folders of image files (from my digital camera, received as email attachments or downloaded from the Internet) that I have sorted into folders by theme (such as friends, family, vacation_2003, etc.), and many of them have filenames I would like to change on a per-directory basis, either because they are too generic (IMG_0105.JPG, IMG_0106.JPG, etc.), or because the filenames have spaces or unusual characters within them, or simply to make all the filenames in each directory have the same root name with a unique numerical index appended, maintaining their original filename extension (or adding one, if desired). The script works on files in the shell's current directory only (and not on any subdirectories within), and renames every file (but not subdirectories or symbolic links) using a user-specified name followed by a numerical index, followed by the file's original filename extension (if there was any). On my machine I have titled the script mvb (like a batch version of mv), and it seems to work well so far during the couple months I have been working on it. Like I said, I post it here in case anyone else may find it useful and to learn from any criticisms, comments and suggestions it might generate. Thank you, Steve ---CUT-HEREshell-script-begins-on-next-line--- #!/bin/sh # # Change the path above to point to the location on # your computer of either the Bourne shell (sh) or # the BASH (Bourne Again) shell (bash). # # This shell script was written to batch rename files # (change the name of many files at once) in the # current working directory. # # For his personal use the author named this script # mvb (MV-Batch) in reference to the mv command # of *nix/Linux (which this script uses). # # Written by: Steve Doonan, Portales, NM US # Email: [EMAIL PROTECTED] # Date: October, 2003 # if [ $# -eq 0 ] then cat _EOF_ -- You did not specify a NEWNAME for the files. After the name of the command please enter a SPACE followed by the name you would like all the files in the current directory to be renamed to. -- _EOF_ exit fi NEWNAME=$(echo $1 | tr -Cs '[:alnum:]' '_') cat _EOF_ --- Rename files to-- $NEWNAME Current directory-- $(pwd) Continue? (Press RETURN or ENTER) TO QUIT, type q (then press RETURN or ENTER) FOR INFORMATION, type i (then press RETURN or ENTER) --- _EOF_ read CONTINUE case $CONTINUE in [!i]* ) exit ;; i ) cat _EOF_ INFORMATION This shell script (Bourne or BASH) will RENAME all visible files (files that don't begin with a dot) in the current directory, to a name you specify, appending a numerical index to each filename so that each is unique, and retaining the original filename extension, if one exists. This script will NOT rename subdirectories or symbolic links contained within the current directory, nor will it descend into subdirectories to rename files within them. If the script does not see what looks like an existing valid FILENAME EXTENSION (3-4 characters following a dot at the end of a filename), it will ask for one. If you WANT to add a filename extension, just type 3 or 4 characters (i.e. jpg, txt, html), with or without a preceding dot--the script will provide the dot if you do not. If you do NOT want the filename to have an extension, just press RETURN or ENTER at that prompt without typing any characters, and no filename extension will be added. To QUIT this program at any time, press CONTROL-C To CONTINUE, press RETURN or ENTER _EOF_ read CONTINUE ;; esac INDEX=0 make_zero-padded_index_number () { INDEX=$(($INDEX + 1)) INDEX_COUNT=$(echo $INDEX | wc -c) PADDING_ZEROS=$(ls $(pwd) | wc -l | tr '[:digit:]' '0' | tr -d '[:space:]') INDEX_ALPHANUMERIC=$(echo ${PADDING_ZEROS}${INDEX} | cut -c$INDEX_COUNT-) } for I in * do #- # if file is NOT a directory or a link... #- if [ -f $I -a ! -L $I ] then
building Perl5.8.0 with threads support fails
Hello All, I have googled, but it seems noone ever answered it or I just did not search correctly, but ... I have only tried this on FreeBSD 5.1-RELEASE. I am trying to install perl5.8 (ports) with threads support and it bombs out with the following error: cut `sh cflags optimize='-O -pipe -mcpu=pentiumpro' opmini.o` -DPERL_EXTERNAL_GLOB opmini.c CCCMD = cc -DPERL_CORE -c -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.0/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-s trict-aliasing -I/usr/local/include -O -pipe -mcpu=pentiumpro -Wall rm -f opmini.c cc -pthread -Wl,-E -L/usr/local/lib -o miniperl miniperlmain.o opmini.o libperl.a -lm -lc_r -lcrypt -lutil ./miniperl -w -Ilib -MExporter -e '?' || make minitest Out of memory! cp ext/re/re.pm ext/re/re.tmp sh mv-if-diff ext/re/re.tmp lib/re.pm ./miniperl -Ilib configpm configpm.tmp Out of memory! *** Error code 1 Stop in /shared/usr/ports/lang/perl5.8/work/perl-5.8.0. *** Error code 1 (ignored) You may see some irrelevant test failures if you have been unable to build lib/Config.pm or lib/lib.pm. cd t (rm -f perl; /bin/ln -s ../miniperl perl)./perl TEST base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t /dev/tt y Out of memory! *** Error code 1 (ignored) *** Error code 1 (ignored) ./miniperl -Ilib configpm configpm.tmp Out of memory! *** Error code 1 Stop in /shared/usr/ports/lang/perl5.8/work/perl-5.8.0. *** Error code 1 Stop in /shared/usr/ports/lang/perl5.8. /cut Perhaps someone has done and seen the same thing on and knows a solution??? If I do not pass -DWITH_THREADS to make, then all is fine, but I want support for threads to run some application. -Wash -- Odhiambo Washington [EMAIL PROTECTED] The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: +254 2 313985-9 +254 2 313922 so I installed FreeBSD. GSM: +254 72 743223 +254 733 744121 This sig is McQ! :-) A novice was trying to fix a broken Lisp machine by turning the power off and on. Knight, seeing what the student was doing spoke sternly: You can not fix a machine by just power-cycling it with no understanding of what is going wrong. Knight turned the machine off and on. The machine worked. smime.p7s Description: S/MIME cryptographic signature
4.8-RELEASE-p13 -and- ntpd
Our ntpd host syncs with the external public servers, but our local clients, using ntpdate to sync with the ntpd host (on the same sub-net), fails. Using ntpdate from the same local clients to any external public time-server works without problems. The details are posted at: http://69.3.136.141/freebsd/ntpd/ntpd_issue-1.txt Cheese ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]