Re: getfiletime() and setfiletime()
On Sat, Apr 22, 2006 at 12:56:16AM -0500, Dan Nelson wrote: In the last episode (Apr 21), Gary Kline said: You can use mtree to do this. How, exactly? In ~/Mail are scores of files dating from 1991; for the most part this Content-Type = text/html for rough example only began in the late 90's. But there are scads of them. I'm looking at pulling some of the guts from cp (copy -p that preserves the time-stamp [and more]). If mtree is an easier route, then great. How would I run this file -rw--- 1 kline wheel306870 Dec 22 2004 ebay.com thru my filter and have wind up with its original timestamp. $ mtree -c -k time -p ~/Mail mail.times $ run filter $ mtree -U -p ~/Mail mail.times Yup; your trick does it all; thankee!! -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
stuck beacon ?
Hi all, I've a D-Link DWL-G520 with atheros chipset plugged in my server today. The card is neatly reckognised (kldload if_ath0) But when I do a ifconfig ath0 sssid my_net media autoselect mode 11g mediaopt hostap channel 1 up I get this error on screen: ath0: stuck beacon: resetting (bmiss count 4) So I guess I must be doing something wrong here. I'm trying to get the card in accesspoint mode and I want it bridged (by if_bridge), but maybe this is not supported with this card? I have no wireless router. My server is cabled (and now wireless too). The server runs fbsd-6.0 (waiting for 6.1-R to update) Any pointers, hints? Can this card be an accesspoint? If not, I guess I have to set it up as a seperate wifi internal lancard and change pf, ipnat, dhcpd and named to listen and work with this adapter too? -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 6.0 +++ The Power to Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
url for the quick and dirty
I forgot to give out the url for the quick and dirty for zope and it caused a whole lot of confusion ... my bad. Here it is : http://www.iosn.net/Members/platypus/blog/74 Many apologies and thanks for your patience ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ruby don't compile after 5.2 - 5.3
Le 22/04/2006 00:28:10-0400, Kris Kennaway a ?crit On Sat, Apr 22, 2006 at 06:21:15AM +0200, Albert Shih wrote: P.S. Why are you using an old version like 5.3 though? It's not recommended. No I prefere make upgrade from 5.2.1 to 5.3 before 5.4, step by step 5.2.1 -- 5.3 5.3 -- 5.4 5.4 -- 5.5 ;-) Thanks for your answer. Well, if you're just trying to upgrade to 5.5, there's no need to upgrade all your ports in between, and you'll save a lot of time that way. Quickest of all is to do a binary upgrade direct to 5.5, of course. That's strange And it's true for 5.4 ? Because in this time I can't upgrade directly to 5.5, it's virtual server running with vmware and I don't known if my version of vmware can running a vm with 5.5 (But I known it's true with 5.4). Lots of thanks. Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. 7 i?me ?tage, plateau D, bureau 10 Heure local/Local time: Sat Apr 22 09:43:59 CEST 2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remote screen control software - recommendations please
Thanks for all the suggestions on this. Perhaps I should have worded my question better (well, maybe not on a FreeBSD list ;) I am looking to control Windogs (yuk!) Desktops remotely (and as secure as possible - lol !) Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how to forbid to process IP, which are fragmentation?
how to forbid to process IP, which are fragmentation? -- Andrew Wingborn http://andr.ru/ +7(903)135-80-98 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie question - cannot add new disk
Thanks for your interest in this. A large part of the problem was in fact a bad cable. I went back and forth between the command line and sysinstall. They seem not to do the same things. It did seem to me that the disklabel in sysinstall and the disklabel command-line tool did not necessarily produce labels that were mutually intelligible. It looks also as if when writing with disklabel in sysinstall, one of the newly created slices has to be highlighted, something not made clear in the Handbook. I ended up making partitions instead of slices, as disklabel did not like what the sysinstall-disklabel produced. Also, the fdisk tool in sysinstall did not always wipe and create new partition entries -- it sometimes just appended new ones, although that is not what it displayed. I needed dd to actually wipe the table and start anew. This seemed to continue despite the new cable. However, I am not exactly a reliable observer, being, as stated, very new to BSD. Oliver On Monday 17 April 2006 09:14, Alex de Kruijff wrote: On Sun, Apr 16, 2006 at 01:40:09PM -0700, Oliver Iberien wrote: Hi, I have been trying to add a second IDE hard drive. I can't seem to get it mounted, or to get what I put into sysinstall and what comes out when I use the command line to agree. Are you using the command line interface or sysinstall to configure the disk? This is not clear to me. If you tried sysinstall did it give any errors about the geometry? What did you do at that point? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remote screen control software - recommendations please
On Apr 22, 2006, at 1:02 AM, Graham Bentley wrote: Thanks for all the suggestions on this. Perhaps I should have worded my question better (well, maybe not on a FreeBSD list ;) I am looking to control Windogs (yuk!) Desktops remotely (and as secure as possible - lol !) Thanks Try rdesktop in ports. Same thing as remote desktop on Windows basically. Or try installing cygwin based sshd on the Windows boxes then. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Putting /tmp on a separate volume?
I followed the automatic suggestions for slices at install time and now have a /tmp folder of 500M. This fills up at odd times and I was hoping to install a second drive and mount a section of it as /tmp. So far I managed to get a second drive partitioned. I replaced the slice in /etc/fstab for /tmp with one of the new partitions (in this case, ad1s1c). KDE would not start because it did not have the permissions for /tmp any more, so I put the following entries in /etc/devfs.conf: own/dev/ad1s1c root:wheel perm /dev/ad1s1c 0777 own/tmproot:wheel perm /tmp0777 That didn't work. I initially tried with 0666 but that failed as well. The 0777 did not seem like a good long-term solution anyway. So... Is what I am doing possible? And what is the intelligent way to go about it? Thanks, Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
You don't have permission to access /pipermail/ on this server.
mailman-2.1.7 apache 2.2.0 Okay I just upgrade from apache 1.3.x to apache 2.2.0 and arriving at a permissions problem when viewing pipermail mailman directories. --- Browser error message --- You don't have permission to access /pipermail/list/ on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. --- snip --- Here is what apache places in the error_log: --- snip --- Symbolic link not allowed or link target not accessible: /usr/home/mailman/archives/public/list, referer: http://hostname.garbled.com/mailman/listinfo/list snip Here is what I've done so far: apache httpd.conf file in the virtual host stanza ScriptAlias /mailman/ /usr/home/mailman/cgi-bin/ Alias /pipermail/ /usr/home/mailman/archives/public/ Alias /icons/ /usr/home/mailman/icons/ Directory /usr/home/mailman/archives/public/ Options +FollowSymlinks Allow from all /Directory --- snip --- then restarted apache. --- snip --- looks like the directories have proper permissions: typhoon# ls -ld /usr/local/mailman/archives/private drwxrws--- 103 mailman mailman 2560 Apr 21 21:49 /usr/local/mailman/archives/private typhoon# ls -ld /usr/local/mailman/archives/public/ drwxrwsr-x 2 mailman mailman 1536 Apr 21 21:49 /usr/local/mailman/archives/public/ typhoon# ls -ld /usr/local/mailman/archives/public/list lrwxr-xr-x 1 root mailman 54 Apr 21 19:00 /usr/local/mailman/archives/public/list - /usr/local/mailman/archives/private/list typhoon# ls -ld /usr/local/mailman/archives/private/list drwxrwsr-x 50 www mailman 4096 Apr 21 18:34 /usr/local/mailman/archives/private/list --- snip --- what else could be the problem here? cheers, Noah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
if_bridge with ndis0+rl0
Hello. My ndis0 card is a TNET1130 (ACX111 chipset) and can be put into promiscuous mode. I was wondering if if_bridge can be used to bridge this ndis0 and my rl0? I have tried to do it using these commands: # ifconfig bridge0 create # ifconfig bridge0 addm ndis0 addm rl0 # ifconfig bridge0 up Using those above commands, I cannot get traffic from my wired network through the wireless interface to my wireless AP in my roommate's room (where the cable connection is). So, while most people want to connect their 802.11 to their wired connection, I want to do just the opposite. Is there anything I can do, or am I screwed unless I get another wireless card that works with if_bridge? Thanks for the input! William Michael Grim Student, Southern Illinois University at Edwardsville Unix Network Administrator, SIUE, Computer Science dept. Phone: (217) 341-6552 Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: adapter question
so I am assuming you have built the ndis base code (/sys/modules/ndis) did you build the if_ndis module correctly? here it is for reference: goto /sys/modules/if_ndis, copy the *.inf file and the *.sys file for your xp driver into /sys/modules/if_ndis, run: ndiscvt -i {your inf file} -s {your sys file} -o ndis_driver_data.h (in your modules/if_ndis folder!) now run the usual make; make install to build the if_ndis module now if you load the modules in order: kldload ndis; kldload if_ndis; the device should load up on ifconfig. if this doesnt work out post the debug info for it -Ben On 4/21/06, Jose Jesus Ortega [EMAIL PROTECTED] wrote: I have freeBSD-6.0 RELEASE, my D-Link ethernet card works fine with internet but I have a Linksys Wireless B Notebook Adapter. When I add the card to the computer is displays: cardbus0: network, ethernet at device 0.0 (no driver attached) I have the CD that came with the adapter and on freeBSD Handbook I tried to run it Natively through ndis, the adapter turned on the light like if it was working but when I input the command: ifconfig it dosen't see it, the same message as above happens at startup. Any way to install the right driver for it? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. --- Benjamin Franklin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: how to forbid to process IP, which are fragmentation?
use ipfilter firewall read the manual firewall section. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls- ipf.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Andrew Wingorodov Sent: Saturday, April 22, 2006 5:11 AM To: freebsd-questions@freebsd.org Subject: how to forbid to process IP, which are fragmentation? how to forbid to process IP, which are fragmentation? -- Andrew Wingborn http://andr.ru/ +7(903)135-80-98 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Putting /tmp on a separate volume?
On Saturday 22 April 2006 10:31, Oliver Iberien wrote: I followed the automatic suggestions for slices at install time and now have a /tmp folder of 500M. This fills up at odd times and I was hoping to install a second drive and mount a section of it as /tmp. So far I managed to get a second drive partitioned. I replaced the slice in /etc/fstab for /tmp with one of the new partitions (in this case, ad1s1c). KDE would not start because it did not have the permissions for /tmp any more, so I put the following entries in /etc/devfs.conf: own/dev/ad1s1c root:wheel perm /dev/ad1s1c 0777 own/tmproot:wheel perm /tmp0777 That didn't work. I initially tried with 0666 but that failed as well. The 0777 did not seem like a good long-term solution anyway. 01777 But before you do that try setting clear_tmp_enable=YES in /etc/rc.conf and daily_clean_tmps_enable=YES in /etc/periodic.conf My /tmp typically has 1MB in it. There are a few programs that need huge amounts of tmp space, but IMHO it's better to configure them to use somewhere else, rather than assign a large amount of space to /tmp ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: if_bridge with ndis0+rl0
William Michael Grim [EMAIL PROTECTED] wrote: My ndis0 card is a TNET1130 (ACX111 chipset) and can be put into promiscuous mode. I was wondering if if_bridge can be used to bridge this ndis0 and my rl0? I have tried to do it using these commands: # ifconfig bridge0 create # ifconfig bridge0 addm ndis0 addm rl0 # ifconfig bridge0 up Using those above commands, I cannot get traffic from my wired network through the wireless interface to my wireless AP in my roommate's room (where the cable connection is). So, while most people want to connect their 802.11 to their wired connection, I want to do just the opposite. Bridging only works if the wireless NIC is in ad-hoc or hostap mode. There was a thread about if_bridge and wireless NICs in infrastructure mode about week ago on freebsd-net: http://freebsd.rambler.ru/bsdmail/freebsd-net_curr/msg00104.html Is there anything I can do, or am I screwed unless I get another wireless card that works with if_bridge? I have a similar setup and I use NAT instead. Fabian -- http://www.fabiankeil.de/ signature.asc Description: PGP signature
Re: anyone understand torvald's critique of freebsd?
Peter wrote: Does anyone here understand Linus Torvald's recent comments on FreeBSD? http://bsdnews.com/view_story.php3?story_id=5735 Sure. There are different ways of moving data between the kernel and userland; the classic mechanism involves copying data from a wired-down page in kernel space allocated to network memory buffers to a userland page via copyin() and copyout() (or equivalents). Mach (and apparently the ZERO_COPY_SOCKETS option to FreeBSD) manipulate the VM page table mappings to make that page visible in the process address space rather than copying the sequence of bytes manually via a message-passing paradigm. The former approach tends to be more efficient for small amounts of data, especially for things smaller than one page of memory (ie, all non-jumbo network traffic); the latter approach tends to better for things which are bigger in size. The Mach VM has more overhead to its operations because the VMOs are more complicated to work and a given workload will result in comparatively larger VMO datastructures than the less-complicated approaches to doing VM. On the other hand, Mach was the first or among the earliest platforms to support shared libraries, dynamic loading of objects into user processes (dlopen vs. dso) and into the kernel, and has somewhat better scaling in the face of gigabytes of RAM and VM usage than most Unix flavors do (outside of Solaris, although FreeBSD is pretty decent nowadays too). Mach handles mapping shared libraries into VM via a technique called prebinding that can minimize the work and memory overhead required for runtime symbol relocation, which tends to big win if you are running a lot of, say, Java or Perl processes that make extensive use of runtime class-loading, yet is flexible enough to deal with collisions if needed (whereas the older fixed-VM shared libraries were subject to evil nasty conflicts if your data segment grew too big and overlapped a library's chosen address space, or if two libraries wanted to be mapped into the same spot). -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to create a .la file?
Norberto Meijome [EMAIL PROTECTED] writes: On 20 Apr 2006 10:45:48 -0400 Lowell Gilbert [EMAIL PROTECTED] wrote: You do *not* need the libXcursor *port*, because xorg-libraries will install the Xcursor library. I agree too. But the build process of gimp and others seem to need it :) Not for me. You didn't mention houw you were trying to do your upgrade, or what vintage your other ports were, so this is probably the most complete advice we can give on the information you have provided. portugrade -pP ... '-R' might be the missing incantation. Or maybe you just missed the UPDATING entry about the libtool changes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Apache port included dso modules
In the hpptd.conf file their are a bunch of DSO modules being included. Are these required by Apache to run? The only one I know for sure I am using is the PHP4 one. Can I comment the rest out to disable them as I considerer anything I am not really using as possible security leaks? Is there documentation on what these DSO modules do and how to use them? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: build audit kernel
Natalie Sugako [EMAIL PROTECTED] wrote: I want to use audit events on FreeBSD6.1-BETA4. I read that I must build kernel with option: optionsAUDIT (FreeBSD handbook). But config (/usr/sbin/config) find next error: unknown option AUDIT FreeBSD 6.1 doesn't support AUDIT, you need FreeBSD 7-CURRENT. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/audit.html: |The FreeBSD 7-CURRENT development branch includes support |for Event Auditing based on the POSIX®.1e draft and Sun's |published BSM API and file format. Fabian -- http://www.fabiankeil.de/ signature.asc Description: PGP signature
Re: freebsd install on an i386
I have downloaded the 6.1rc1 iso. I dont mind downloading the release candidate compared to the mainstream because i have been using linux for about 4 months and know my way around. I have to do the following, 1) install freebsd(on a UFS file system) and dual boot it with windows XP(on fat32 not ntfs). Can freebsd bootmanager do this by itself?? 2) I use an adsl modem though ethernet card, i used to set it up as eth0 in linux. It requires no password or user name. How do i do this in freebsd. Also is there a journalized filesystem and locate command in freebsd?? Regards Ashok The FreeBSD boot manager works great, it will automagicly detect your partitions and allow you to boot them. Does you ADSL modem act as router? Locate works the same as in Linux: Update you database, type: periodic weekly to update it them just type locate foobar Also take a look at /etc/locate.rc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: adapter question
nawcom [EMAIL PROTECTED] top posted: On 4/21/06, Jose Jesus Ortega [EMAIL PROTECTED] wrote: I have freeBSD-6.0 RELEASE, my D-Link ethernet card works fine with internet but I have a Linksys Wireless B Notebook Adapter. When I add the card to the computer is displays: cardbus0: network, ethernet at device 0.0 (no driver attached) I have the CD that came with the adapter and on freeBSD Handbook I tried to run it Natively through ndis, the adapter turned on the light like if it was working but when I input the command: ifconfig it dosen't see it, the same message as above happens at startup. Any way to install the right driver for it? Thanks. so I am assuming you have built the ndis base code (/sys/modules/ndis) did you build the if_ndis module correctly? here it is for reference: goto /sys/modules/if_ndis, copy the *.inf file and the *.sys file for your xp driver into /sys/modules/if_ndis, run: ndiscvt -i {your inf file} -s {your sys file} -o ndis_driver_data.h (in your modules/if_ndis folder!) now run the usual make; make install to build the if_ndis module now if you load the modules in order: kldload ndis; kldload if_ndis; the device should load up on ifconfig. Using ndisgen would be a better idea. On FreeBSD 6 you need a third kernel module containing the firmware. Fabian -- http://www.fabiankeil.de/ signature.asc Description: PGP signature
Re: how to forbid to process IP, which are fragmentation?
Andrew Wingorodov wrote: how to forbid to process IP, which are fragmentation? ipfw add deny all from any to any frag ...but please be very sure that you are passing the ICMP message types used for path MTU discovery, or else your network may become a notwork, at least as far as large packet sizes are concerned. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Putting /tmp on a separate volume?
RW wrote: On Saturday 22 April 2006 10:31, Oliver Iberien wrote: I followed the automatic suggestions for slices at install time and now have a /tmp folder of 500M. This fills up at odd times and I was hoping to install a second drive and mount a section of it as /tmp. So far I managed to get a second drive partitioned. I replaced the slice in /etc/fstab for /tmp with one of the new partitions (in this case, ad1s1c). KDE would not start because it did not have the permissions for /tmp any more, so I put the following entries in /etc/devfs.conf: own/dev/ad1s1c root:wheel perm /dev/ad1s1c 0777 own/tmproot:wheel perm /tmp0777 That didn't work. I initially tried with 0666 but that failed as well. The 0777 did not seem like a good long-term solution anyway. 01777 But before you do that try setting clear_tmp_enable=YES in /etc/rc.conf and daily_clean_tmps_enable=YES in /etc/periodic.conf My /tmp typically has 1MB in it. There are a few programs that need huge amounts of tmp space, but IMHO it's better to configure them to use somewhere else, rather than assign a large amount of space to /tmp Correct me if I am wrong, but wouldn't the `daily_clean_tmps_enable=YES in /etc/periodic.conf' statement cause a problem for a running program that had created files in the /tmp directory and therefore obviously expected to find them there? -- Gerard Seibert [EMAIL PROTECTED] Sevareid's Law: The chief cause of problems is solutions. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Which bsd to use and the packages to install
Sir We have a Broad band connection for internet access for the users. The connection setup is ADSL Router connected to the Switch, User machines are provided with DNS and gateway as ADSL router. Now we want to install a Proxy Server in a Pentium II m/c, ie ADSL Router is connected to the Proxy server and the users ( authorised ) are connected to the Internet via the proxy server. By this method we want to restrict the users access to sites and also track their usage. We need your advise -- drn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: file system full help
On Fri, 21 Apr 2006 02:23:41 +0200, Alex de Kruijff wrote On Thu, Apr 20, 2006 at 06:46:14AM -0800, Noah wrote: I sometimes get reports of file system full but not accurately because when viewing the drive with df -k I find there is adequate space on the drive. Usually this is casused by log files considered larger than the available space on the /var directory. That you don't have adequate space for the task at hand. In this case compressing the log (this means the source needs to be arround wile a new bzip file is created) and create a new fresh file. I would like to see if this in fact the case. Can somebody please remind me what commands I can use to troubleshoot this current condition? Use 'du -s * | sort -n' to find the largest files I was looking for lsof - du only shows written files. -- Alex Please copy the original recipients, otherwise I may not read your reply. Howtos based on my personal use, including information about setting up a firewall and creating traffic graphs with MRTG http://alex.kruijff.org/FreeBSD/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which bsd to use and the packages to install
On Sat, 22 Apr 2006, durgam ravindranath wrote: Sir We have a Broad band connection for internet access for the users. The connection setup is ADSL Router connected to the Switch, User machines are provided with DNS and gateway as ADSL router. Now we want to install a Proxy Server in a Pentium II m/c, ie ADSL Router is connected to the Proxy server and the users ( authorised ) are connected to the Internet via the proxy server. By this method we want to restrict the users access to sites and also track their usage. We need your advise Although there are some alternatives, I would recommend FreeBSD 6.0 with Squid ( http://www.squid-cache.org/ ) which is pretty well documented. Regards, Uli. -- drn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] * * Peter Ulrich Kruppa - Wuppertal - Germany * * ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Putting /tmp on a separate volume?
Gerard Seibert wrote: Correct me if I am wrong, but wouldn't the `daily_clean_tmps_enable=YES in /etc/periodic.conf' statement cause a problem for a running program that had created files in the /tmp directory and therefore obviously expected to find them there? It might. However, what the script does is remove any files from /tmp that have not been accessed in more than 3 days (or whatever number you configure), or similarly any empty directories that have not been modified (ie. files added, deleted or meta-data changed) in that amount of time. Accessed means 'opened for reading or writing' so anything at all useful tends not to hit that condition. On the other hand, if a program cannot cope with the mysterious and unexpected disappearance of files from the /temporary directory/, well, then it deserves to crash and burn. There's plenty of other bits of file system to keep files in if you want them to stick around. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
XEmacs 21.4 (patch 19) Mule does not work
I have installed XEmacs 21.4 (patch 19) Constant Variable [Lucid] (i386--freebsd, Mule) But mule does not work at all. For the first, it does not read files in proper manner. I have done the following: 1) visit a file using cp866 with cyrillic letters; 2) set terminal-coding-system to alternativnyj (it is just cp866); 3) set file coding system to alternativnyj. Now I see two characters instead each cyrrillic letter. Cursor moves only to one half of visible characters. The characters vary in unpredictable way when it moves. For the second, it does not go to Quail mode. An error message Cannot open load file: overlay appears when I type C-\ or something like this. So, no mule at all. What should I do? Elisej Babenko ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
postfix fatal: open database sasl_passwd.db: No such file or directory
Postfix is broken and I have tried various things to get it running again. I did make deinstall clean make install clean But that failed because I had the wrong mysql version which was required by dovecote. I deinstalled and installed both dovecote and mysql and restored all the config files I could think of and now I get the following message in maillog Apr 21 10:59:06 ** dovecot: imap-login: Login: user=acurtis, method=PLAIN, rip=**, lip=**, TLS Apr 21 10:59:58 ** postfix/smtp[957]: fatal: open database sasl_passwd.db: No such file or directory Apr 21 10:59:59 ** postfix/master[650]: warning: process /usr/local/libexec/postfix/smtp pid 957 exit status 1 Apr 21 10:59:59 ** postfix/master[650]: warning: /usr/local/libexec/postfix/smtp: bad command startup -- throttling I tried postmap hash:sasl_passwd and reloading postfix, but get the same messages. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postfix fatal: open database sasl_passwd.db: No such file or directory
Alan Curtis wrote: Postfix is broken and I have tried various things to get it running again. I did make deinstall clean make install clean But that failed because I had the wrong mysql version which was required by dovecote. I deinstalled and installed both dovecote and mysql and restored all the config files I could think of and now I get the following message in maillog Apr 21 10:59:06 ** dovecot: imap-login: Login: user=acurtis, method=PLAIN, rip=**, lip=**, TLS Apr 21 10:59:58 ** postfix/smtp[957]: fatal: open database sasl_passwd.db: No such file or directory Apr 21 10:59:59 ** postfix/master[650]: warning: process /usr/local/libexec/postfix/smtp pid 957 exit status 1 Apr 21 10:59:59 ** postfix/master[650]: warning: /usr/local/libexec/postfix/smtp: bad command startup -- throttling I tried postmap hash:sasl_passwd and reloading postfix, but get the same messages. Have you tried posting your question on the Postfix mailing list? They might be able to better assist you. -- Gerard Seibert [EMAIL PROTECTED] Murphy's Military Laws: #9 If your advance is going well, you are walking into an ambush. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Apache port included dso modules
On 4/22/06, fbsd [EMAIL PROTECTED] wrote: In the hpptd.conf file their are a bunch of DSO modules being included. Are these required by Apache to run? The only one I know for sure I am using is the PHP4 one. Can I comment the rest out to disable them as I considerer anything I am not really using as possible security leaks? Is there documentation on what these DSO modules do and how to use them? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] It's a very good idea to turn off everything you don't need on a production server. The default set up is not an outright security leak, though. Memory consumption is of a much more realistic importance. http://httpd.apache.org/docs/2.2/mod/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: port building linking
On 4/21/06, ph rhole oper [EMAIL PROTECTED] wrote: I need to build a port (mail/cyrus-imapd23) and add support for the mit-kerberos implementation to it. It needs to link to the -lkrb5 library.There are two libkrb5*.so in my system: the heimdal one (/usr/lib/libkrb5*.so) and the mit one (/usr/local/lib/libkrb5*.so). The configure script, searching for -lkrb5, finds /usr/lib/libkrb5.so first, and links to the heimdal implementation. Is there any way i can force it to only link against /usr/local/lib/libkrb5.so?I need the mit implementation. simon. -- http://www.fastmail.fm - Access your email from home and the web ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Are you talking about cyrus-imapd or cyrus-sasl? cyrus-sasl has some options in its Makefile, like KRB5_HOME. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Question about COM port
Can you answer on such a question about COM ports. I have mobile telephone Nokia 6020. I bought cable for him - DKU-5. It has USB connector, but in reality it's COM port connector. What i must do to make my telephone visible in FreeBSD? Two ports COM1 and COM2 are free and i suppose that my telehone must be COM3 or COM4. What settings to make? I'll be very pleased if you answer on my question. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question about COM port
What version of FreeBSD are you using? The DKU-5 utilizes an FTDI chip (RS232 - USB). This is a snippet from http://www.ftdichip.com/Drivers/3rdPartyDrivers.htm#FreeBSD Free BSD version 4.8 and greater contains the uftdi driver which provides built-in support for FT8U232AM and FT8U245AM based peripherals. For further details please refer to http://www.freebsd.org/cgi/man.cgi?query=uftdisektion=4manpath=FreeBSD+4.7-stable. Free BSD version 6 will support the FT2232C device. Free BSD version 5 will also support the FT2232C device with a patch. I hope this helps. -- Bret J. Esquivel Immense Networks LLC http://www.immense.net Quoting rostyk spolak [EMAIL PROTECTED]: Can you answer on such a question about COM ports. I have mobile telephone Nokia 6020. I bought cable for him - DKU-5. It has USB connector, but in reality it's COM port connector. What i must do to make my telephone visible in FreeBSD? Two ports COM1 and COM2 are free and i suppose that my telehone must be COM3 or COM4. What settings to make? I'll be very pleased if you answer on my question. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Putting /tmp on a separate volume?
On Saturday 22 April 2006 05:00, [EMAIL PROTECTED] wrote: But before you do that try setting clear_tmp_enable=YES in /etc/rc.conf and daily_clean_tmps_enable=YES in /etc/periodic.conf Thanks -- I am certainly going to try this. I didn't have an /etc/periodic.conf file, so I created one, and added the lines suggested in the periodic man page. So, now I have: daily_output=/var/log/daily.log weekly_output=/var/log/weekly.log monthly_output=/var/log/monthly.log daily_show_success=NO daily_show_info=NO daily_show_badconfig=NO daily_clean_tmps_enable=YES Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ruby don't compile after 5.2 - 5.3
On Sat, Apr 22, 2006 at 09:45:39AM +0200, Albert Shih wrote: Le 22/04/2006 00:28:10-0400, Kris Kennaway a ?crit On Sat, Apr 22, 2006 at 06:21:15AM +0200, Albert Shih wrote: P.S. Why are you using an old version like 5.3 though? It's not recommended. No I prefere make upgrade from 5.2.1 to 5.3 before 5.4, step by step 5.2.1 -- 5.3 5.3 -- 5.4 5.4 -- 5.5 ;-) Thanks for your answer. Well, if you're just trying to upgrade to 5.5, there's no need to upgrade all your ports in between, and you'll save a lot of time that way. Quickest of all is to do a binary upgrade direct to 5.5, of course. That's strange And it's true for 5.4 ? Because in this time I can't upgrade directly to 5.5, it's virtual server running with vmware and I don't known if my version of vmware can running a vm with 5.5 (But I known it's true with 5.4). I'd be extremely surprised if you couldn't run 5.5 in vmware. Kris pgpsdPjrrXZo8.pgp Description: PGP signature
ath0: stuck beacon: resetting (bmiss count 4)
I have a D-Link DWL-G520 which I bring up with if_ath_load=yes in loader.conf When I do an ifconfig ath0 media OFDM/54Mbps mediaopt hostap mode 11g ssid sky01 up all 'seems' well. Ifconfig ath0 shows no errors, but on my first tty I get these errors: ath0: stuck beacon: resetting (bmiss count 4) Is this a bug in the ath driver in FreeBSD-6.0 ? (If yes, is this bug delt with in fbsd-6.1? Is is something that can be changed with sysctl ? Googling did not help much. Fact contradict each other. I saw some settings changed on a linux system (txantenna, rxantenna, deversity). The fbsd values for these dev.ath.0 items differ. What are these error messages? Can they be ignored? If so, how do I get rid of the screen msgs? -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 6.1 ++ The Power to Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Putting /tmp on a separate volume?
Oliver Iberien wrote: On Saturday 22 April 2006 05:00, [EMAIL PROTECTED] wrote: But before you do that try setting clear_tmp_enable=YES in /etc/rc.conf and daily_clean_tmps_enable=YES in /etc/periodic.conf Thanks -- I am certainly going to try this. I didn't have an /etc/periodic.conf file, so I created one, and added the lines suggested in the periodic man page. So, now I have: daily_output=/var/log/daily.log weekly_output=/var/log/weekly.log monthly_output=/var/log/monthly.log daily_show_success=NO daily_show_info=NO daily_show_badconfig=NO daily_clean_tmps_enable=YES Oliver I think you are suppose to copy the /etc/defaults/periodic.conf file to /etc/periodic.conf and edit that file. Perhaps someone else might have better information though. -- Gerard Seibert [EMAIL PROTECTED] Inside every small problem is a large problem struggling to get out. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do uninstall a package and all it's dependencies ?
Low Kian Seong wrote: The problem about the -R option is that normally that takes off stuff like xorg-server and friends too ! Really not nice, or am I doing something wrong ? On 4/20/06, *Patrick Bowen* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Low Kian Seong wrote: Dear all, Been digging around but never really found the answer to this one, say if i install xfce4 package and then later I want to uninstall xfce4 and *all* it's dependencies, how do i do it ? Thank you all in advance. ___ freebsd-questions@freebsd.org mailto:freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Seong; I do that fairly often when I'm just looking at packages. Try pkg_deinstall -R package-name, where package-name is replaced with the name of the package you want to delete, in your case xfce4. pkg_deinstall -R xfce4. Patrick ___ freebsd-questions@freebsd.org mailto:freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] If the dependancy pkg is required by something else, then pkg_deinstall will tell me that it can't delete the dependancy pkg because its used by another pkg. Works like a charm. Patrick -- Patrick Bowen [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: anyone understand torvald's critique of freebsd?
Then why does Linus think manipulating the VM page table mappings is bad? That is, why does he -really- think it's bad, not the publically-given reason? Is it because Linux is extrordinairly inefficient in page table mappings due to some structural decision that Linus made that cannot be reversed now, that it could never be any good at it? Or is there some other reason? Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chuck Swiger Sent: Saturday, April 22, 2006 5:38 AM To: Peter Cc: freebsd-questions Subject: Re: anyone understand torvald's critique of freebsd? Peter wrote: Does anyone here understand Linus Torvald's recent comments on FreeBSD? http://bsdnews.com/view_story.php3?story_id=5735 Sure. There are different ways of moving data between the kernel and userland; the classic mechanism involves copying data from a wired-down page in kernel space allocated to network memory buffers to a userland page via copyin() and copyout() (or equivalents). Mach (and apparently the ZERO_COPY_SOCKETS option to FreeBSD) manipulate the VM page table mappings to make that page visible in the process address space rather than copying the sequence of bytes manually via a message-passing paradigm. The former approach tends to be more efficient for small amounts of data, especially for things smaller than one page of memory (ie, all non-jumbo network traffic); the latter approach tends to better for things which are bigger in size. The Mach VM has more overhead to its operations because the VMOs are more complicated to work and a given workload will result in comparatively larger VMO datastructures than the less-complicated approaches to doing VM. On the other hand, Mach was the first or among the earliest platforms to support shared libraries, dynamic loading of objects into user processes (dlopen vs. dso) and into the kernel, and has somewhat better scaling in the face of gigabytes of RAM and VM usage than most Unix flavors do (outside of Solaris, although FreeBSD is pretty decent nowadays too). Mach handles mapping shared libraries into VM via a technique called prebinding that can minimize the work and memory overhead required for runtime symbol relocation, which tends to big win if you are running a lot of, say, Java or Perl processes that make extensive use of runtime class-loading, yet is flexible enough to deal with collisions if needed (whereas the older fixed-VM shared libraries were subject to evil nasty conflicts if your data segment grew too big and overlapped a library's chosen address space, or if two libraries wanted to be mapped into the same spot). -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.4.5/321 - Release Date: 4/21/2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to increase memory for an application?
While trying to do a quiery in the postgresql client got an error out of memory for query result. After checking the postgresql list I got this reply Process memory allowed to the client; this is not a server-side error. How would I crease the memory allowed to a specific program? I looked at /etc/login.conf and there I see: :datasize=unlimited:\ :stacksize=unlimited:\ :memorylocked=unlimited:\ :memoryuse=unlimited:\ :filesize=unlimited:\ Is this a kernel setting? Looking at top, it seems the psql client got to 512MB before it reported the error. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Java applets asking for plugin in firefox
On Thu, 2006-04-20 at 09:04 -0700, pete wright wrote: On 4/19/06, Gautham Ganapathy [EMAIL PROTECTED] wrote: Hi, I have jdk 1.5 built and installed on my system running 6.0-rel. However, when I open a page containing an applet in firefox, i get a message saying 'Additional plugins are required to display all the media on this page'. o found a similar reports on the net, but no solutions. anyone know how to get applets working in bsd? assuming you are running a native firefox build (and not linux-firefox) you should have this file: /usr/X11R6/lib/browser_plugins/libjavaplugin_oji.so that should happen when you install the package or port. this is the case with the diable-jre-1.5 package for sure. also check the output of about:plugins in your URL bar in firefox to see if it's getting registered. I have a native firefox and jdk build, but this file was not in this folder. I copied it from /usr/local/jdk1.4.2/jre/plugin/i386/ns610/ and firefox detected it. However, when I opened a test applet, firefox crashed. Are there any other changes to be done to let firefox know the location of the jre? 'java.default_java_location_others' is set to /usr/local/jdk1.5.0/jre/lib/i386 I have not upgraded firefox, still running 1.0.7. Would this be a problem? Regards Gautham ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Java applets asking for plugin in firefox
On Thu, 2006-04-20 at 17:46 -0500, Conrad J. Sabatier wrote: On Thu, 20 Apr 2006 10:15:30 +0530 Gautham Ganapathy [EMAIL PROTECTED] wrote: Hi, I have jdk 1.5 built and installed on my system running 6.0-rel. However, when I open a page containing an applet in firefox, i get a message saying 'Additional plugins are required to display all the media on this page'. o found a similar reports on the net, but no solutions. anyone know how to get applets working in bsd? Simplest solution: use Konqueror. Rather than requiring the Java plugin, all you have to do is tell Konquerer where your local install of Java resides, and it will use this when needed. Such a simple approach. I don't know why all browsers don't work this way. Perhaps. Kind of gotten used to the gtk and gnome look though ! Regards Gautham ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do uninstall a package and all it's dependencies ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Patrick Bowen wrote: Low Kian Seong wrote: The problem about the -R option is that normally that takes off stuff like xorg-server and friends too ! Really not nice, or am I doing something wrong ? On 4/20/06, *Patrick Bowen* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Low Kian Seong wrote: Dear all, Been digging around but never really found the answer to this one, say if i install xfce4 package and then later I want to uninstall xfce4 and *all* it's dependencies, how do i do it ? Thank you all in advance. ___ freebsd-questions@freebsd.org mailto:freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Seong; I do that fairly often when I'm just looking at packages. Try pkg_deinstall -R package-name, where package-name is replaced with the name of the package you want to delete, in your case xfce4. pkg_deinstall -R xfce4. Patrick ___ freebsd-questions@freebsd.org mailto:freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] If the dependancy pkg is required by something else, then pkg_deinstall will tell me that it can't delete the dependancy pkg because its used by another pkg. Works like a charm. Patrick I use a program called pkg_cutleaves. It's located in /usr/ports/sysutils/pkg_cutleaves. You run it as root and basically you select the main program(s) you want to deinstall. If the program you deinstall has any dependencies it will give you the option to deinstall them as well. Hope this helps. Drew -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3rc2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBREqQZ3Q3fmUuGnJBAQLf/wgAkrAaYHw96kkt6UQvVyNW1ZZdLeuA5pCU OPwqHTbwlXov0HXilYyCRl/oExbOGsrvP0zoOdVzNV4Np7z8+LeFGhecDP9U080X CA8oWkQO3vKZaN5sl9sHCij0AkwTs0jBDbmdF/Ao77xncoYu6laW1Lvw7Ewa7YwD PMOuePuOU6LhTph7NgRI8bLpJOhcvwqFRyF5z2DxWYT89mPvuhh6Qo18aWKIwDda Hk3SMIU+spIo80DUPagao2xE79uo5QhaVGTzUlwhY+gxPBhGmZCT3FZQVxFhJ+es uMFbri7SkqugZlrvXu0wPOVvID0d/FEHWfUvHFFJ4AHrcgqZPrNbsA== =OJju -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Epoch - string convertion functions?
In looking over my old C code I've come across lots of unexpected functions, but nothing that, say, given the long int that represents the Epoch can turn it into somethng useful. Anybody know of any off-the-shelf conversion programs that can turn time integers into YYMMDDHHMMSS type strings? I'm poking around with apropos; nothing yet. Thanks for any clues gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Epoch - string convertion functions?
Gary Kline wrote: In looking over my old C code I've come across lots of unexpected functions, but nothing that, say, given the long int that represents the Epoch can turn it into something useful. Anybody know of any off-the-shelf conversion programs that can turn time integers into YYMMDDHHMMSS type strings? You should be able to write one yourself fairly quickly and easily with the help of strftime() and localtime(). See the man pages of these functions. -- James Bailie [EMAIL PROTECTED] http://www.jamesbailie.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Epoch - string convertion functions?
On Sat, Apr 22, 2006 at 05:31:48PM -0400, James Bailie wrote: Gary Kline wrote: In looking over my old C code I've come across lots of unexpected functions, but nothing that, say, given the long int that represents the Epoch can turn it into something useful. Anybody know of any off-the-shelf conversion programs that can turn time integers into YYMMDDHHMMSS type strings? You should be able to write one yourself fairly quickly and easily with the help of strftime() and localtime(). See the man pages of these functions. Sure. But if it's already described in some obscure man2 or man3 doc, I'd go for that. Evidently not. tx much. gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Epoch - string convertion functions?
On Sat, Apr 22, 2006, Gary Kline wrote: In looking over my old C code I've come across lots of unexpected functions, but nothing that, say, given the long int that represents the Epoch can turn it into somethng useful. Anybody know of any off-the-shelf conversion programs that can turn time integers into YYMMDDHHMMSS type strings? I'm poking around with apropos; nothing yet. Thanks for any clues man strftime Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 ``No matter how much I may exaggerate it, it must have a certain amount of truth...Now rumor travels fast but it don't stay put as long as truth'' Will Rogers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Putting /tmp on a separate volume?
Gerard Seibert wrote: Oliver Iberien wrote: On Saturday 22 April 2006 05:00, [EMAIL PROTECTED] wrote: But before you do that try setting clear_tmp_enable=YES in /etc/rc.conf and daily_clean_tmps_enable=YES in /etc/periodic.conf Thanks -- I am certainly going to try this. I didn't have an /etc/periodic.conf file, so I created one, and added the lines suggested in the periodic man page. So, now I have: daily_output=/var/log/daily.log weekly_output=/var/log/weekly.log monthly_output=/var/log/monthly.log daily_show_success=NO daily_show_info=NO daily_show_badconfig=NO daily_clean_tmps_enable=YES Oliver I think you are suppose to copy the /etc/defaults/periodic.conf file to /etc/periodic.conf and edit that file. Perhaps someone else might have better information though. No -- it's like rc.conf. You create an /etc/periodic.conf and put in it just the changes you make from the defaults in /etc/defaults/periodic.conf Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
You don't have permission to access /pipermail/ on this server.
mailman-2.1.7 apache 2.2.0 Okay I just upgrade from apache 1.3.x to apache 2.2.0 and arriving at a permissions problem when viewing pipermail mailman directories. --- Browser error message --- You don't have permission to access /pipermail/list/ on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. --- snip --- Here is what apache places in the error_log: --- snip --- Symbolic link not allowed or link target not accessible: /usr/home/mailman/archives/public/list, referer: http://hostname.garbled.com/mailman/listinfo/list snip Here is what I've done so far: apache httpd.conf file in the virtual host stanza for the particular domain: ScriptAlias /mailman/ /usr/local/mailman/cgi-bin/ Alias /pipermail/ /usr/local/mailman/archives/public/ Alias /icons/ /usr/local/mailman/icons/ Directory /usr/local/mailman/archives/public/ Options All Order allow,deny Allow from all /Directory Directory /usr/home/mailman/archives/public/ Options All Order allow,deny Allow from all /Directory Directory /usr/local/mailman/archives/private/ Options +FollowSymLinks Order allow,deny Allow from all /Directory --- snip --- then restarted apache. --- snip --- looks like the directories have proper permissions: typhoon# ls -ld /usr/local/mailman/archives/private drwxrws--- 103 mailman mailman 2560 Apr 21 21:49 /usr/local/mailman/archives/private typhoon# ls -ld /usr/local/mailman/archives/public/ drwxrwsr-x 2 mailman mailman 1536 Apr 21 21:49 /usr/local/mailman/archives/public/ typhoon# ls -ld /usr/local/mailman/archives/public/list lrwxr-xr-x 1 root mailman 54 Apr 21 19:00 /usr/local/mailman/archives/public/list - /usr/local/mailman/archives/private/list typhoon# ls -ld /usr/local/mailman/archives/private/list drwxrwsr-x 50 www mailman 4096 Apr 21 18:34 /usr/local/mailman/archives/private/list --- snip --- what else could be the problem here? cheers, Noah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Custom Kernel questions...
While I am not exactly new to FreeBSD or other *nix variants, I choose to use FreeBSD because of its blazing performance, especially on older, slower machines. Yet, I also wish to strip that kernel to squeeze out every bit of usable power I can. My delving into kernel customizing with FreeBSD has been realativly short, and for the most part error free, but in comparison to Linux, it seems to offer fewer customizing options. More specificly, many of my machines are being setup as servers, and thusly have no need of many services such as sound drivers, yet it appears that I see code for them passing by the screen as I configure and compile. Has anyone here delved deeper into the configuration of the kernel, are there more options is other files aside from the main configuration file? Andrew - Celebrate Earth Day everyday! Discover 10 things you can do to help slow climate change. Yahoo! Earth Day ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: You don't have permission to access /pipermail/ on this server.
On Sat, Apr 22, 2006 at 03:46:21PM -0800, Noah wrote: looks like the directories have proper permissions: typhoon# ls -ld /usr/local/mailman/archives/private drwxrws--- 103 mailman mailman 2560 Apr 21 21:49 /usr/local/mailman/archives/private typhoon# ls -ld /usr/local/mailman/archives/public/ drwxrwsr-x 2 mailman mailman 1536 Apr 21 21:49 did you check with : /usr/local/mailman/bin/check_perms -f ls -la /usr/local/mailman/archives/ total 8 drwxrwsr-x 4 root mailman 512 Apr 4 2005 . drwxrwsr-x 20 mailman mailman 512 Jul 12 2005 .. drwxrws--x 89 root mailman 2048 Mar 13 12:53 private drwxrwsr-x 2 root mailman 512 Apr 5 2005 public # pwd /usr/local/mailman/archives/private drwxrwsr-x 9 root mailman 1024 Mar 26 03:27 test drwxrwsr-x 2 root mailman 512 Jun 22 2005 test.mbox ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
which apache-version ?
from the ports : apache20 or apache21 or apache22 which one is the stable one ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Custom Kernel questions...
On Sat, Apr 22, 2006 at 04:52:45PM -0700, Andrew Carton wrote: While I am not exactly new to FreeBSD or other *nix variants, I choose to use FreeBSD because of its blazing performance, especially on older, slower machines. Yet, I also wish to strip that kernel to squeeze out every bit of usable power I can. My delving into kernel customizing with FreeBSD has been realativly short, and for the most part error free, but in comparison to Linux, it seems to offer fewer customizing options. More specificly, many of my machines are being setup as servers, and thusly have no need of many services such as sound drivers, yet it appears that I see code for them passing by the screen as I configure and compile. Has anyone here delved deeper into the configuration of the kernel, are there more options is other files aside from the main configuration file? By cutting out drivers for devices that you don't need (see the output of dmesg to check what you've got), you reduce the size of the kernel itself. However, the default buildkernel target will build all kernel modules, which is probably why you see sound drivers etc scrolling by. In order to avoid compiling modules you don't need, there is the MODULES_OVERRIDE knob in /etc/make.conf, which you can set to the names of the modules you actually want. The following knobs may be of interest to you, but I have only ever had cause to use MODULES_OVERRIDE so can't speak with any authority. #NO_MODULES=# do not build modules with the kernel #MODULES_WITH_WORLD=# do not build modules when building kernel #MODULES_OVERRIDE= linux ipfw # The list of modules to never build, applied *after* MODULES_OVERRIDE. #WITHOUT_MODULES= bktr plip HTH Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpxRuk7gChsX.pgp Description: PGP signature
Re: Custom Kernel questions...
On Sat, Apr 22, 2006 at 04:52:45PM -0700, Andrew Carton wrote: While I am not exactly new to FreeBSD or other *nix variants, I choose to use FreeBSD because of its blazing performance, especially on older, slower machines. Yet, I also wish to strip that kernel to squeeze out every bit of usable power I can. My delving into kernel customizing with FreeBSD has been realativly short, and for the most part error free, but in comparison to Linux, it seems to offer fewer customizing options. More specificly, many of my machines are being setup as servers, and thusly have no need of many services such as sound drivers, yet it appears that I see code for them passing by the screen as I configure and compile. Has anyone here delved deeper into the configuration of the kernel, are there more options is other files aside from the main configuration file? Andrew Sound drivers are not included in the kernel unless explicitly listed in the kernel config file. What you see is probably the kernel modules being compiled. All modules are normally always compiled and installed regardless of the kernel configuration. (One can change this using various options in /etc/make.conf, but unless disk space is really tight or the time needed to compile a kernel has to be reduced as much as possible, there is not really any need to disable various modules from being built.) To find all the options that can be used in the kernel config file you can look at /usr/src/sys/conf/NOTES (for machine-independent options) and /usr/src/sys/i386/conf/NOTES (for i386-specific options.) You should also read the FreeBSD handbook's chapter on kernel configuration if you have not already done so: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: port building linking
On Sat, 22 Apr 2006 20:26:28 +0400, Andrew Pantyukhin [EMAIL PROTECTED] said: On 4/21/06, ph rhole oper [EMAIL PROTECTED] wrote: I need to build a port (mail/cyrus-imapd23) and add support for the mit-kerberos implementation to it. It needs to link to the -lkrb5 library.There are two libkrb5*.so in my system: the heimdal one (/usr/lib/libkrb5*.so) and the mit one (/usr/local/lib/libkrb5*.so). The configure script, searching for -lkrb5, finds /usr/lib/libkrb5.so first, and links to the heimdal implementation. Is there any way i can force it to only link against /usr/local/lib/libkrb5.so?I need the mit implementation. simon. -- http://www.fastmail.fm - Access your email from home and the web ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Are you talking about cyrus-imapd or cyrus-sasl? cyrus-sasl cyrus-imapd23 has some options in its Makefile, like KRB5_HOME. interesting option but i didnt see anything like this for cyrus-imapd.I solved the problem with a rather drastic way though: cd /usr/lib for i in *krb5* *com_err* *gss*;do mv -v $i heimdal.$i;done ldconfig -R export LDFLAGS=-L/usr/local/lib -lkrb5 -lkrb5support -lcom_err -lgssapi cd /usr/ports/cyrus-imapd23/ make install just temporarily to force it use the /usr/local/lib/* libraries. simon. -- http://www.fastmail.fm - Accessible with your email software or over the web ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wifi ath
On Sunday 16 April 2006 21:25, dick hoogendijk wrote: Bought a WiFi D-Link with atheros chipset. I use a non-default kernel, so I guess I have to put some options back in and recompile. Will upgrade to 6.1-rc at the same time ;-) Any pitfalls? What options exactly do I need to have my ath based wifi card up and running? enable device wlan and an in the kernel would do the whole work :) -- Best Regards Yuan, Jue @ www.yuanjue.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: You don't have permission to access /pipermail/ on this server.
On Sun, 23 Apr 2006 02:12:23 +0200, albi wrote On Sat, Apr 22, 2006 at 03:46:21PM -0800, Noah wrote: looks like the directories have proper permissions: typhoon# ls -ld /usr/local/mailman/archives/private drwxrws--- 103 mailman mailman 2560 Apr 21 21:49 /usr/local/mailman/archives/private typhoon# ls -ld /usr/local/mailman/archives/public/ drwxrwsr-x 2 mailman mailman 1536 Apr 21 21:49 did you check with : /usr/local/mailman/bin/check_perms -f ls -la /usr/local/mailman/archives/ total 8 drwxrwsr-x 4 root mailman 512 Apr 4 2005 . drwxrwsr-x 20 mailman mailman 512 Jul 12 2005 .. drwxrws--x 89 root mailman 2048 Mar 13 12:53 private drwxrwsr-x 2 root mailman 512 Apr 5 2005 public # pwd /usr/local/mailman/archives/private drwxrwsr-x 9 root mailman 1024 Mar 26 03:27 test drwxrwsr-x 2 root mailman 512 Jun 22 2005 test.mbox Okay thank you for sharing your permissions. I figured out that my permissions for /usr/local/mailman/archives/private directory was different from yours. after a 'chmod o+x private/' the public and private mailman archives are visible. but now when I run the bin/check_perms -f I see the following warning: --- snip --- # ./check_perms -f Warning: Private archive directory is other-executable (o+x). This could allow other users on your system to read private archives. If you're on a shared multiuser system, you should consult the installation manual on how to fix this. No problems found --- snip here are the permissions: --- snip # pwd /usr/local/mailman/archives # ls -l total 6 drwxrws--x 103 mailman mailman 2560 Apr 21 21:49 private drwxrwsr-x2 mailman mailman 1536 Apr 21 21:49 public ---s nip --- cheers, Noah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: anyone understand torvald's critique of freebsd?
Ted Mittelstaedt wrote: Then why does Linus think manipulating the VM page table mappings is bad? That is, why does he -really- think it's bad, not the publically-given reason? Is it because Linux is extrordinairly inefficient in page table mappings due to some structural decision that Linus made that cannot be reversed now, that it could never be any good at it? Or is there some other reason? I can't speak with certainty as to what someone else might think; no doubt Linus is entirely capable of explaining his own position should you wish to inquire, however :-) I think Linus doesn't care much for Zero-copy sockets because for the common case of 1500/1504-byte MTU, you end up wasting at least 60% of a 4096-byte page for each packet, and maybe ?three? times that much if your hardware splits the packet into separate pages for the mbuf header, the packet headers, and the packet data. I think FreeBSD doesn't enable Zero-copy sockets by default because those are legitimate criticisms, but there is some interest and potential for benefits from them, at least for some other circumstances like jumbo ethernet frames. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: which apache-version ?
albi wrote: from the ports : apache20 or apache21 or apache22 which one is the stable one ? I'm just guessing, but probably you could get an answer at apache.org. Kevin Kinsey -- No skis take rocks like rental skis! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Simluating a satellite connection using dummynet?
Hi all - Odd question for you. I have the opportunity to work from home, but it would require using a sat internet connection (no cable or dsl anywhere close). I've been reading up on it and best I can tell I'm looking at 1000ms round trips... at *best*. Most of what I do I can do on servers at home, but there will be the occasional ssh, etc. I recently setup ipfw/dummynet with a pipe and a 750ms delay both in and out and it wasn't as bad as I thought it would be -- at least for ssh/text. Reminds me of my days on a 9600 baud modem. heh. I'm curious though whether this is a realistic test. Thoughts? Any of you use satellite? How do you find it? Thanks! -philip ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Simluating a satellite connection using dummynet?
On Apr 22, 2006, at 9:40 PM, Philip Hallstrom wrote: Hi all - Odd question for you. I have the opportunity to work from home, but it would require using a sat internet connection (no cable or dsl anywhere close). I've been reading up on it and best I can tell I'm looking at 1000ms round trips... at *best*. Most of what I do I can do on servers at home, but there will be the occasional ssh, etc. I recently setup ipfw/dummynet with a pipe and a 750ms delay both in and out and it wasn't as bad as I thought it would be -- at least for ssh/text. Reminds me of my days on a 9600 baud modem. heh. I'm curious though whether this is a realistic test. Thoughts? Any of you use satellite? How do you find it? I had StarBand for about two years. 1000ms RTT are the best you will see. pushing 2000ms is more like it. While it is possible to work via an SSH session it will try your patience. It is doable, and it allowed me to move out to the country, but that's about it. I now have a terrestrial radio link into the nearest town, 15 miles away, and it's beautiful. Dan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Motherboards
Andrew Pantyukhin writes: Supermicro are also very good, but IMO they come second after Tyan. Coming late, ok way late :-), into the thread, but someone was mentioning that Supermicro motherboards had issues with Opterons. Anyone has experienced/read/heard about this? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
freeBSD install
I have a sony vaio fs742/w running windows XP is this freeBSD a good candidate for my laptop and if it is, can i have someone load for me? I'd be more apt to trying on my home computer first, its an older model HP. thanks, [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freeBSD install
On Wed, 19 Apr 2006, Charles wrote: I have a sony vaio fs742/w running windows XP is this freeBSD a good candidate for my laptop and if it is, can i have someone load for me? I'd be more apt to trying on my home computer first, its an older model HP. If you are completely new to FreeBSD, you should make yourself aquainted with it on a standard PC first. Probably you will have to try 2 or 3 times until you find a usable configuration. What kind of processor and how much RAM does your HP have? Uli. thanks, [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] * * Peter Ulrich Kruppa - Wuppertal - Germany * * ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Help needed compiling printer source code
I'm trying to install a Brother HL-1230 printer. I've been to the Brother web site and found that they don't have drivers for FreeBSD but they do provide the source code. I downloaded the source code. So far so good. I unzipped the tarball and had a look. There's the source code. I don't know what to do with it. I've learnt to type make install clean. How do I make this code into something useful? sad kid :-( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]