Re: DHCP release/renew lease - elegant solution?
On Fri, 17 Oct 2008 14:24:00 -0700 Nerius Landys [EMAIL PROTECTED] wrote: The -r flag explicitly releases the current lease, and once the lease has been released, the client exits. I could put this into a crontab and run it every 12 hours. However, this does not seem like a very elegant solution to my problem. I am wondering whether there is a more elegant solution. Before you look for a more elegant solution I suggest you try the inelegant solution and see if it actually works. At the moment all you really know is that rebooting fixes the problem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I've just found a new and interesting spam source - legitimate bounce messages
On Thu, 16 Oct 2008 08:54:55 -0700 (PDT) Luke Dean [EMAIL PROTECTED] wrote: On Thu, 16 Oct 2008, Matthew Seaman wrote: Until the wonderful day that the entire internet abides by these rules[*], use of technologies like SPF and DKIM can discourage but not entirely prevent the spammers from joe-jobbing you. I just started getting these bouncebacks en masse this week. My mail provider publishes SPF records. SPF increases the probability of spam being rejected at the smtp level at MX servers, so my expectation would be that it would exacerbate backscatter not improve it. Many people recommend SPF for backscatter, but I've yet to hear a cogent argument for why it helps beyond the very optimistic hope that spammers will check that their spam is spf compliant. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I've just found a new and interesting spam source - legitimate bounce messages
On Thu, 16 Oct 2008 11:58:44 -0500 [EMAIL PROTECTED] wrote: RW [EMAIL PROTECTED] escribi__: Many people recommend SPF for backscatter, but I've yet to hear a cogent argument for why it helps beyond the very optimistic hope that spammers will check that their spam is spf compliant. I feel the same way and thanks for adding some humor to the situation. Actually that wasn't a joke, some people do cite that as the reason why SPF helps with backscatter, that spammers will leave your domain out of the mail from line if you publish SPF records for it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system
On Thu, 16 Oct 2008 04:43:48 -0700 Jeremy Chadwick [EMAIL PROTECTED] wrote: What Michael's describing is a feature many DSL modems offer. There is no official term for what it is, They are commonly referred to as half-bridge modems. The reason this feature is HIGHLY desired is because not all PPPoE implementations are compatible with an ISPs implementation. Even more so if you have PPPoA with no, or poorly-supported, PPPoE. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd7 kde4 performance
On Sat, 11 Oct 2008 08:18:10 +0200 Michal Kulczewski [EMAIL PROTECTED] wrote: Hi, I'm a little bit disappointed with the performance of kde4 on freebsd7. I have Pentium M 2GHz, 1GB RAM, radeon x300, tried both, radeon and ati drivers, but kde4 is still so slow that I cannot work with it. Is it because of poor graphic card or driver itself? I'm looking forward to any suggestions. Have you tried turning-off all the effects. Personally I prefer KDE3, I don't think KDE4 is ready for serious use. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firewall and FreeBSD ports
On Fri, 10 Oct 2008 09:51:16 -0700 Jeremy Chadwick [EMAIL PROTECTED] wrote: On Fri, Oct 10, 2008 at 12:45:04PM -0400, John Almberg wrote: I just set up a new server with a very restricted PF configuration. One problem: I can no longer install software with ports (i.e, the / usr/ports collection.) I have to disable PF to do so. Obviously not a great solution. Am I correct in guessing that ports uses FTP to grab source files from mirrors? I'm trying to figure out the smallest number of ports (the TCP/IP kind) that I need to open in my firewall. I don't want to enable incoming FTP requests, but do want to allow outgoing ftp requests, I believe. Am I on the right track, here? See the fetch(1) man page. Try this first: sh/bash: export FTP_PASSIVE_MODE=true csh: setenv FTP_PASSIVE_MODE true passive ftp has been the default for long time, fetch is called with the -p option. If you have access to an http-proxy that supports ftp requests over http, fetch can use that. Alternately you can probably avoid ftp altogether by setting: MASTER_SORT_REGEX?= ^http: in make.conf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firewall and FreeBSD ports
On Fri, 10 Oct 2008 11:41:40 -0700 Jeremy Chadwick [EMAIL PROTECTED] wrote: On Fri, Oct 10, 2008 at 06:54:32PM +0100, RW wrote: On Fri, 10 Oct 2008 09:51:16 -0700 Jeremy Chadwick [EMAIL PROTECTED] wrote: passive ftp has been the default for long time, fetch is called with the -p option. Let's give the users some actual detail, not terse one-liners which will induce more questions/confusion. Snip some facts used as a blunt instrument The OP did not disclose how he was installing ports. A lot of users think that packages == ports, I don't normally do this as Watson is usually less impressed when Holmes reveals his working, but the clues were there. He wrote: install software with ports (i.e, the /usr/ports collection.) and FTP to grab source files from mirrors If you combine that with crediting the poster with enough common sense to mention he was using a version before 6.2, then it seemed unlikely to be a problem with active FTP. BTW neither of us actually answered the question. I know I forgot as I was in a hurry. I'm pretty sure you didn't either, but I don't have the time to read all of your reply in detail. The answer is: enable outgoing tcp connections to port 21 and to all ports above 1023. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fwd: Firewall and FreeBSD ports
On Fri, 10 Oct 2008 16:16:29 -0400 John Almberg [EMAIL PROTECTED] wrote: On Oct 10, 2008, at 2:41 PM, Jeremy Chadwick wrote: See the fetch(1) man page. Try this first: sh/bash: export FTP_PASSIVE_MODE=true csh: setenv FTP_PASSIVE_MODE true First off, this did solve the problem. Thank you, Jeremy. Now, as to the why... That's odd, because if you are running 7.x with a default settings, FTP_PASSIVE_MODE should be irrelevant to fetching distfiles - even if it's set to no. Do you have any FETCH_* variables defined? What happens if you cd to a port directory and type: make -V FETCH_CMD ? I believe I am using ports. In this case, I had just installed and configured PF (the first thing I do, now, when building a new machine.) I then wanted to install NTP: cd /usr/ports/net/ntp make config; make install clean This failed because the mirrors were not accessible. I just tried this port myself and it failed on all four servers configured in the Makefile, only succeeding on the fallback Freebsd server, (Freebsd's own cache for package building). Unless you turn-up something odd for FETCH_CMD, I think there's a good chance that you never had an FTP firewall problem in the first place, and that the file has simply been added to ftp.freebsd.org since you got the original failure. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Update System from 6.1 to last 6 Release with NOT generic Kernel...
On Wed, 8 Oct 2008 19:08:42 -0300 Agus [EMAIL PROTECTED] wrote: Hi guys... Just wanted to check a few things before crapping my system..hehehe I am planning on updating the system from 6.1 to the last 6.3-RELEASE p5 i think it isaccording to the freebsd-update.sh... I am plannin on doing it with this tool...but my main concern is the modified kernel and the ports... You can't use freebsd-update on a modified kernel. Ports can be left unchanged unless you change the major version and go to 7. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: daily/weekly/monthly periodic output
On Thu, 09 Oct 2008 10:52:14 -0400 Corey Dulecki [EMAIL PROTECTED] wrote: My question is this: How can I make it so that these periodic processes simply log their messages instead of sending emails that get stuck in clientmqueue? Take a look at the *_output variables in /etc/defaults/periodic.conf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: update.FreeBSD.org / No mirrors remaining, giving up
On Tue, 7 Oct 2008 18:55:24 +1100 Edwin Groothuis [EMAIL PROTECTED] wrote: $ freebsd-update fetch Fetching metadata signature for 7.0-RELEASE from update.FreeBSD.org... failed. No mirrors remaining, giving up. I've heard this before and it is caused by resolvers (most likely your router?) which don't understand requests for SRV records. freebsd-update and portsnap should fall back to the configured server if they can't get SRV records, they should be able to work through an http-proxy without any DNS access at all on the local machine. It sounds like a bug if SRV records are needed. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: From konsole, konq:
On Tue, 7 Oct 2008 09:13:33 -0700 Gary Kline [EMAIL PROTECTED] wrote: Here's what I get con my knosole: p8 1:20 tao [5112] konqueror konqueror: WARNING: Can't open /usr/home/kline/.kde/share/apps/konqueror/bookmarks.xml kio (KMimeType): WARNING: KServiceType::offers : servicetype not found kio (KMimeType): WARNING: KServiceType::offers : servicetype not found p8 9:00 tao [5113] konqueror Is ~/.kde from kde 3.x? If it is I'd try renaming it and starting over. When you use KDE 4 at the same time as KDE 3, it uses a separate .kde4 directory. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: From konsole, konq:
On Tue, 7 Oct 2008 13:17:37 -0700 Gary Kline [EMAIL PROTECTED] wrote: This is getting stranger and stranger. I did a pkg_delete -f kde, but/ p8 13:08 tao [5146] which konqueror /usr/local/bin/konqueror That's normal, the kde3 port is just a metaport - a dummy port that that causes a collection ports to be built as dependencies. Try using pkg_cutleaves. ___ 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 break portsnap
On Tue, 7 Oct 2008 13:56:37 -0700 Steve Franks [EMAIL PROTECTED] wrote: I've googled high low but I cannot find much other that this cannot happen replies. I've got a dual boot to amd64 and i386. The amd64 hasn't been able to portsnap fetch or cron since march. The i386 I just installed, and it portsnap's fine, so it's not a firewall or related issue. I've checked my key and it looks ok. What am I missing? ... Fetching 13708 new ports or files... /usr/sbin/portsnap: cannot open e53d7ea3f6fbc2e6a87a1f194ea623fc6b27c74d9aecfd61e0d765e86d861ad5.gz: No such file or directory snapshot is corrupt. It's pretty self-explanatory, the snapshot is corrupt. delete /var/db/portsnap/* and then start-again by do a fetch and extract. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: More RAM for buffers?
On Thu, 2 Oct 2008 09:58:54 -0500 Kirk Strauser [EMAIL PROTECTED] wrote: I have an AMD system with 6GB of RAM. From dmesg: usable memory = 6428237824 (6130 MB) avail memory = 6203797504 (5916 MB) However, most of it is just sitting there when it looks like it could be used for buffers or cache: Mem: 1186M Active, 3902M Inact, 468M Wired, 233M Cache, 214M Buf, 138M Free Swap: 8192M Total, 900K Used, 8191M Free Since I've yet to find a great explanation for what the different types of memory are, could someone say why all that inactive memory is better than using it for cache or buffers? The terms are a bit misleading, because the don't all relate to the use of the memory from the user's perspective, but how it's seen within FreeBSD's integrated cache/VM system. Active, Inact, Cache and Free are all part of the life-cycle of normal memory pages, they hold pretty much everything used by processes, and disk-caching. Cache actually has little to do with caching as such; it contains pages that are still holding data, but can be reused instantaneously because they are consistent with their backing store. In not exactly sure what Buf is, but I guess it's low-level disk buffering memory, that can't be discarded the way normal disk caching pages can. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: More RAM for buffers?
On Thu, 2 Oct 2008 13:14:35 -0400 Bill Moran [EMAIL PROTECTED] wrote: I've never been 100% clear on the exact differences, but it basically has to do with where the data in RAM came from. Depending on whether it was a VM page, or a disk page will determine what bucket it goes into when it moves out of active. The distinction is between clean pages (Cache) and dirty pages (Inactive), a dirty page needs to be written to swap or synced to the disk, before it can be reused. It's the cache queue that gives the kernel liquidity, once the free memory is drops below about 2%. It actively balances the cache and inactive queues to maintain this. I'm fairly sure that inactive is memory used by program code. Inactive and cached queues are the first step to recycling memory. The queues don't differentiate between different origins. When the program terminates, the memory is marked as inactive, which means the next time the program starts the code can simply be moved back to active and the program need not be reloaded from disk. I think such pages can remain active. The level of active memory seems to be mostly a matter of stock-control. When I shutdown Xorg/KDE, huge amounts of memory remain active for hours. When demand for memory increases, the queues get rebalanced to provide more cached/inactive memory. These figures don't really tell you much. Buffer and cache memory are disk data held at different points within the kernel. I've never been 100% clear on the difference, and I believe it depends heavily on a thorough understanding of how the kernel works. The other rule of thumb I've heard is that the closer memory is to the left side of top output, the less expensive it is for the kernel to move it to active ... inactive being the most efficient and cache requiring the most work by the kernel ... I could be wrong, though. Partly, but it's more the other way around, the further to the right the easier it is to reuse (not counting buffer and wired, which are outside the normal VM/cache system). I know that a lot of what I'm saying isn't authoritative, so I hope I'm not remembering any of this wrong. I think to fully understand how it works you'll need to read _The_Design_and_Implementation_. Matt Dillon's vm-design article is a good place to start. http://www.freebsd.org/doc/en_US.ISO8859-1/articles/vm-design/article.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: port marked as IGNORE ?
On Fri, 3 Oct 2008 13:26:04 -0400 Michael P. Soulier [EMAIL PROTECTED] wrote: When I portupgrade, I see this [EMAIL PROTECTED] ~]# portupgrade -a [Updating the pkgdb format:dbm_hash in /var/db/pkg ... - 369 packages found (-2 +1) (...). done] ** Port marked as IGNORE: misc/ldconfig_compat: isn't needed (part of base rc.d) But a couple of ports need it to upgrade, so they fail. How would this have been marked as IGNORE and what should I do to permit upgrades to continue? The port isn't needed in recent versions of the FreeBSD, and I see from your other post that you recently upgraded from 5.x to 6.x. Try deleting the port and running pkgdb -F. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: The consequences of turning off sendmail
On Sat, 27 Sep 2008 22:20:40 -0400 Sahil Tandon [EMAIL PROTECTED] wrote: Andrew Falanga [EMAIL PROTECTED] wrote: You can turn off the Sendmail daemon so that it does not actually listen for incoming connections or act as an MTA in the conventional sense. But local utilities like cron can still invoke the /usr/sbin/sendmail command to send you notifications. http://lists.freebsd.org/pipermail/freebsd-questions/2005-December/107610.html The default for sendmail is: sendmail_enable=NO sendmail_submit_enable=YES which has the sendmail daemon listening only on localhost. It's fully functional in all respects except that it can't be accessed from outside. You can use localhost:25 as an outgoing mail server if you wish. Turning-off the localhost daemon altogether and having /usr/sbin/sendmail deliver local mail directly is possible, but it's deprecated on security grounds as it needs to run setuid. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sound card and freebsd v7.0
On Sat, 27 Sep 2008 09:44:07 +1000 jonathan michaels [EMAIL PROTECTED] wrote: i do not understand this .. i mean i do not understant how freebsd can take a drive with the cylinders/heads/sectors that produces xxx million sectors that muitiplied by 512 bytes producs 120 gb (real gb) solaris also identifies this as a 120 gb drive as do several linux distrinutions (centos and ubuntu based). FreeBSD is reporting it in 1024-based units like memory/storage is usually reported within OSs - it's just that the use of MiB etc hasn't really caught on. Manufacturers use decimal units. It's actually reporting 114440MB rather than the 114GB you mentioned, so it's a factor of (1000/1024)^2 not (1000/1024)^3. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: using /dev/random
On Thu, 25 Sep 2008 20:33:34 +0100 Kris Kennaway [EMAIL PROTECTED] wrote: RW wrote: On Tue, 23 Sep 2008 11:52:07 -0400 kern.random.sys.seeded is just a flag that gets set to 1 on each reseed. IIRC it's also initialized to 1 so it doesn't actually do anything very useful. Except tell you that the kernel random number generator has finished seeding ;) Not if it's initialized to 1. I'm not really sure if this is a bug, or whether the developers simply gave-up on starting the device blocked - rc.d/initrandom would unblock it anyway. The checks in rc.d/sshd are pointless. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ccache on amd64
On Thu, 25 Sep 2008 01:00:07 +0200 Mel [EMAIL PROTECTED] wrote: Since it fails on the link, I wonder if the wrong linker is called by ccache. I'll see what I can find out when it quiets down, right now machine is under heavy load. (It might just be the path you set in /etc/profile. I use only the /etc/make.conf version, not set the path additionally and make -f /usr/src/Makefile.inc1 -V LIB32WMAKE shows it's mangeling the path) world-cc does this: #!/bin/sh unset CCACHE_PATH export CCACHE_HASH_COMPILER exec /usr/local/libexec/ccache/cc $@ So it unsets any ccache path variable set in /etc/profile. For the benefit of anyone that didn't follow the previous thread, the issue was that in building 32-bit libraries under amd64, extra arguments get passed to the compiler inside the CC variable definition, hence the problem with overriding CC/CXX. I doubt that those updated make.conf settings have had much testing, they were just something suggested in a thread. BTW I would suggest CCACHE_HASH_COMPILER is set globally, otherwise building world invalidates any cache object built with the default compiler. Only having it on for world is the default, but it seems perverse to me - I see most of the benefit of ccache on port building. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: using /dev/random
On Tue, 23 Sep 2008 00:51:02 -0700 Ted Mittelstaedt [EMAIL PROTECTED] wrote: The canonical way is to use the functions random(), or srandom() or srandomdev() or arc4random() depending on what you need the random data for. /dev/random is really only useful for seeding these functions (some of them pull data from /dev/random internally) It depends what you are trying to achieve, random and srandom aren't considered to be cryptographically secure. The userland version of arc4random() (which is RC4) is probably OK, but it's known to be distinguishable from random, which is technically a break. The kernel version is much less secure, because it's not guaranteed to be seeded properly. For non-trivial Monte-Carlo work you're better-off with something intended for the purpose, such as the Mersenne Twister. The device has thus been optimized for seed generation to feed these other functions. It wasn't, it was designed to be a fast and secure all-round random number generator. If you really want to roll-your-own and not use these functions then you could read blocks from /dev/random and run a Chi-square and Monte Carlo test on each block and discard the ones that don't pass. I've done my experimenting with the ENT program: http://www.fourmilab.ch/random/ I'm sceptical about this, if Rijndael in counter-mode produced output that's distinguishable from random numbers over a few thousand bytes it would surely never have made it into the AES competition, let alone win it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: using /dev/random
On Tue, 23 Sep 2008 13:39:35 +0100 RW [EMAIL PROTECTED] wrote: On Tue, 23 Sep 2008 00:51:02 -0700 Ted Mittelstaedt [EMAIL PROTECTED] wrote: If you really want to roll-your-own and not use these functions then you could read blocks from /dev/random and run a Chi-square and Monte Carlo test on each block and discard the ones that don't pass. I've done my experimenting with the ENT program: http://www.fourmilab.ch/random/ I'm sceptical about this, if Rijndael in counter-mode produced output that's distinguishable from random numbers over a few thousand bytes it would surely never have made it into the AES competition, let alone win it. I tried it myself (the windows binary runs under wine), it looks OK to me, they look like normal statistical fluctuations. You need to worry of they are consistently low or high, or if you *never* get extreme values. Discarding the blocks that don't pass would produce less random numbers, not better. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: blocksize when using dd to copy disks? bigger = better?
On Tue, 23 Sep 2008 11:37:00 -0400 Jerry McAllister [EMAIL PROTECTED] wrote: On Tue, Sep 23, 2008 at 11:04:13AM -0400, Joachim Rosenfeld wrote: When mirroring a disk with dd, I notice that a blocksize of 512 runs awfully slow, but with bs=1MB (2^10bytes), it runs fairly quickly. Can someone explain the implications of this? Did all the data not copy properly with the larger blocksize? If you are on a beach moving sand and you pick up one grain at a time and move it, it will take a very long time because the overhead of moving yourself is much higher than the amount of sand moved. If you use the largest bucket or scoop that you can handle, then it goes much faster because the same body motions result in much more being moved.Moving data has a similar dynamic. I tried playing around with this once, and I found that the speed rose rapidly up to a certain blocksize, then levelled-out for a decade or so and then dropped to half of the peak speed. IIRC in that particular case the optimum range was something like 20k-200k. I presume what happens is that you can make the blocksize too big for the other buffering, and end-up alternating reads and writes rather than doing them in parallel. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Filesystem of choice for a Linux/FreeBSD shared backup disk?
On Tue, 23 Sep 2008 17:17:21 +0200 (CEST) Andreas Davour [EMAIL PROTECTED] wrote: I've bought a usb connected disk to use as backup, and I've been thinking about trying to make the data as available as possible. Do anyone here have any suggestion about what kind of filesystem would be best to use? Can ufs2 be read by linux? It looks like it from my short persual of google hits, but it also looks kind of complicated. IS ext2 a safer bet? Anything totally different? If you want to, you can use ext3 on Linux, and treat it as ext2 on FreeBSD. You need sysutils/e2fsprogs to provide an fsck that can sync the journal. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: using /dev/random
On Tue, 23 Sep 2008 11:52:07 -0400 Lowell Gilbert [EMAIL PROTECTED] wrote: Robert Huff [EMAIL PROTECTED] writes: What is the canonical way to get data from /dev/random? Specifically: having opened the file, how do I read the stream? I'm currently using union { float f; char c[4]; } foo; foo.f = 0.0; fscanf(rand_fp,%4c,foo.c); which doesn't seem to produce anywhere near random bytes as promised by the man page. Have you turned off the seeded variable? You'll fall back to a software pseudorandom sequence if you don't. kern.random.sys.seeded is just a flag that gets set to 1 on each reseed. IIRC it's also initialized to 1 so it doesn't actually do anything very useful. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: quick slice question..
On Tue, 23 Sep 2008 15:33:41 -0400 B. Cook [EMAIL PROTECTED] wrote: I have slices a, d, e, f, g, and h.. I wouldn't be able to get one more would I? I've never tried it myself, but I've heard that it's possible to nest FreeBSD partitions indefinitely - leading to an unlimited number of partitions. I think you just need to run disklabel on a partition rather than a slice. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FSJ clone
On Mon, 22 Sep 2008 06:53:06 -0400 Tsu-Fan Cheng [EMAIL PROTECTED] wrote: something.___a, something__b... I'd try joining with cat, and then unraring or unzipping. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Segmentation fault when free
On Sun, 21 Sep 2008 05:57:06 -0700 (PDT) Nash Nipples [EMAIL PROTECTED] wrote: but even if you kill -SEGV `pgrep this` (Segmentation fault (core dumped) the memory is getting freed anyway (presumably by the glorious kernel). which you can see dynamicly by typing top in the console. The idea that malloc() allocates memory is really a C language abstraction. What it actually does is allocate a region in the process's virtual address space. The mapping of physical memory to virtual address space is handled at a lower-level and doesn't rely on malloc() or free(). in other words segmentation fault when free() is not a scary thing here. it is a matter of style and the way to find own errors. or maybe reading warnings if you compile with the flags -ansi -pedantic I'm not sure what you are saying here, but the handling of dynamic memory in C is something that needs to be well thought-out in advance. Bugs is this area can be very difficult and time-consuming to track-down. oh and by the way: char * function(void) { char buffer[100]; return buffer; } that is an easier approach because you get warned on passing an address to a local variable This was an example of how to generate a failure, it's not an approach. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FSJ clone
On Sun, 21 Sep 2008 17:07:48 -0400 Tsu-Fan Cheng [EMAIL PROTECTED] wrote: i try cat, but it doesn't seem right, The files i download are components of a movie, but after I cat them, mplayer can't read them. also the original post showed password is required when putting files together. Sounds like they are split rar or zip files. What do the ends of the filenames look like? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7.1 BETA and update to RELEASE
On Wed, 17 Sep 2008 03:29:55 -0400 Michael Powell [EMAIL PROTECTED] wrote: If the Beta installs and runs successfully you won't have any problem updating the system when 7.1-Release makes it out the door. It should be very straightforward if you later upgrade to RELENG_7_1 by from source, I doubt that the binary updater, freebsd-update, would work though. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kde4 build time
On Fri, 12 Sep 2008 05:29:28 + Desmond Chapman [EMAIL PROTECTED] wrote: I finally have kde4 building. How long will the process take? It's been two days thus far and it isn't finished. Impossible to say based on the information provided, but it is huge. Keep an eye on /usr if it's a separate partition. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: automagically share knoqueror with ff3-- bookmarks?
On Sat, 13 Sep 2008 01:48:03 +0200 Polytropon [EMAIL PROTECTED] wrote: On Fri, 12 Sep 2008 14:57:40 -0700, Gary Kline [EMAIL PROTECTED] wrote: Is there any way, short of writing my own program, to use the tens of bookmarks i've set up under konq and drop them into firefox3? Because I'm using neither of them, just a guess: Can Konqueror export the bookmarks as HTML file? Then they could be opened in Firefix 3. Maybe there's another export functionality in Konqueror or import functionality in Firefox? Maybe via CSV? You can export bookmarks in a number of formats, but you do it from the bookmark editor's menus. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: setup cronjob
On Thu, 11 Sep 2008 22:12:35 -0400 Darrell Betts [EMAIL PROTECTED] wrote: I have wrote a small script put it in my home directory. I am trying to setup a cronjob to run it every six hours. When it runs the job I receive the error message /usr/home/test/cronjobs/test.sh: not found I have tripe checked the file permissions and they appear correct so I am stumped as to why this won't run? Any ideas? Cron job example 0 /6 * * * test /usr/home/test/cronjobs/test.sh Does user test have access to /usr/home/test/cronjobs/? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with portsdb -Uu on FreeBSD 6.3
On Mon, 8 Sep 2008 19:43:14 -0400 Sean Cavanaugh [EMAIL PROTECTED] wrote: I've never fully trusted portsnap. I do run portsnap fetch before every portupgrade but I always follow it up with CVSUP and I usually find some more files that get changed anyway. portsnap fetch doesn't affect your ports tree at all, you need to follow it with portsnap update. There's no sense in in routinely mixing the two tools on the same tree. If you do find that portsnap isn't updating the tree correctly then you've either found a bug or have some corrupt data somewhere. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with portsdb -Uu on FreeBSD 6.3
On Mon, 8 Sep 2008 17:57:16 -0700 perikillo [EMAIL PROTECTED] wrote: On Mon, Sep 8, 2008 at 5:26 PM, Michael Powell [EMAIL PROTECTED]wrote: Please don't top-post. Unless you have a specific overriding reason to do -Uu you might want to try -uF instead. It's what I use and it's always worked. In fact, this is what I do to see if I need an upgrade: csup -L 2 ports portsdb -uF pkgdb -u portversion But since I have never used portsnap don't really know anything about it. -Mike I have been trying a lot of things, I want to start again, I think I just need to delete /usr/ports? Let me read again the manual and see those Flags. I remember that the first time u run portsdb the manuals recommend to sue Uu, but let read the manual page, I will back soon!!! portsdb -F and portsdb -U, both update the index file. The first downloads it, the second creates it from scratch (which is slow). Portsnap handles this automatically, so neither will be needed. The work done by portsdb -u will be done automatically when portupgrade is next run, but it may save a little time later. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail server DNS configuration questions
On Sat, 6 Sep 2008 19:28:28 -0600 Andrew Falanga [EMAIL PROTECTED] wrote: Hi, Well, my clients at church are still having issues and after working with George, a respondant to my original questions, I think that most, if not all, of my problems are related to DNS and how we've got it improperly configured. First, a crude drawing of how our mail server exists in the world: 192.168.2.x/24 72.24.23.252 lot's of networks Private Network -- CableOne -- Internet Now, our mail server's IP is 192.168.2.23. On the router, he (the person at whose house the mail server is) has IP forwarding setup so that mail get's sent to our FreeBSD machine. ... It doesn't take a rocket scientist, or a computer scientist, to figure out we've got DNS issues. I'm thinking that I should setup a domain within the 192.168.2.0/24 network on this box. This has little to do with DNS, and there's nothing obviously wrong. The router has the routable IP address and is forwarding incoming port 25 tcp connections to the real mail server using NAT. As far as the internet side is concerned your entire network has to look like a single server, so the mailserver has to pretend to be running on the router, and announce itself as mail.whitneybaptist.org. You'll probably need to pass your outgoing mail through another mail server to avoid its being rejected though. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portsnap in cron and firewall
On Fri, 5 Sep 2008 16:14:02 +0200 Albert Shih [EMAIL PROTECTED] wrote: Hi all I've some servers for internal use. On those servers I have some pf (or ipfw) rule to deny any connection from inside to outside. Long time ago when ports tree is update with cvs, I'm using something like pf command to open inside -- outside connection cvsup portupgrade --fetch-only --all pf command to close inside -- outside connection But now with portsnap cron (that's mean random sleep) I don't known when the system try to connect outside. Do you have any idea how can I make my update using portsnap (I known You can do this sleep `jot -r 1 0 3599` open pf portsnap fetch close pf However, I would suggest you simply create pf rules to allow the server contact to the portsnap servers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portsnap in cron and firewall
On Fri, 5 Sep 2008 16:49:26 +0100 RW [EMAIL PROTECTED] wrote: On Fri, 5 Sep 2008 16:14:02 +0200 Albert Shih [EMAIL PROTECTED] wrote: But now with portsnap cron (that's mean random sleep) I don't known when the system try to connect outside. You can do this sleep `jot -r 1 0 3599` open pf portsnap fetch close pf Actually, I just took a look at portsnap and I see that portsnap fetch has an explicit check for a terminal, so it wont work from crontab. However, I would suggest you simply create pf rules to allow the server contact to the portsnap servers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDE4 and plasma icons
On Wed, 03 Sep 2008 21:12:38 -0400 Eduardo Cerejo [EMAIL PROTECTED] wrote: Just installed kde4 on FBSD 7-stable and I start it I get the plasma with some icons like the trash icon but all of them are a simple file icon with a question mark on them. I try to change them and tells me that I don't have enough permissions to do it but I own every kde directory in my home directory though. Has anyone experienced this thing? The icons are from KDE3, but are not understood by KDE4. I don't know why it says you don't have enough permissions, but it's probably just the tip of the iceberg, for example I tried to save a file as Desktop/foo.avi, and it ended-up as something like Desktop_foo.avi. In a few hours I had so many such problem that I decided to go back to KDE3 - I don't think it's ready for real-world use. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrading kdeartwork to version 4.1.1 fetch error in ports
On Thu, 4 Sep 2008 14:01:49 -0700 (PDT) Dino Vliet [EMAIL PROTECTED] wrote: Hi peeps,I want to upgrade my kde41 installation and the kdeartwork port gives me troubles. I can't seem to fetch the files due to some checksum mismatch. Delete the file and start again. If that fails, update your ports, delete the file and start again. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Google Chrome
On Tue, 02 Sep 2008 16:16:08 -0800 Peter Giessel [EMAIL PROTECTED] wrote: And Safari is based on KDE's Konquerer (which already runs on FreeBSD), so with a FreeBSD version of Chrome, you would essentially have Konquerer ported to Apple, ported to Microsoft, ported to Linux, ported back to FreeBSD They've based their rendering on WebKit, but there's a lot more to Chrome than that: http://www.google.com/googlebooks/chrome/ I think it looks very interesting. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting an environment var at boot
On Wed, 3 Sep 2008 11:28:14 +0200 Polytropon [EMAIL PROTECTED] wrote: On Wed, 3 Sep 2008 10:49:25 +0200, Nicolas Letellier [EMAIL PROTECTED] wrote: What file do you advice? Unclean, but maybe early enough in the boot process: /etc/rc.local. This file won't be touched at port's or system's update. I don't think that would work, since rc.local is sourced from a subshell. Much more unclean, but certainly earlier: /etc/rc itself. Thile file is examined during system update. I've not tried it myself, but I think you could probably just export the variable in rc.conf (provided that the value isn't required in the rc.d script itself, for initialization, before run_rc_command is executed). You can also put per script configuration in the file /etc/rc.conf.d/name where name is whatever the rc.d script sets as name. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Google Chrome
On Wed, 3 Sep 2008 13:59:28 +0200 (CEST) Wojciech Puchar [EMAIL PROTECTED] wrote: anyway what a point of using google software having other alternatives. do you really like to everything be controlled by one company? google mail, google news, google browser, even google documents. within few years - google WWW (incompatible with normal). For most people that's already happened, except that it's Adobe-Flash WWW. Google's approach of open-source software, and open-extensions, leading to new standards, sounds a lot better to me. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Google Chrome
On Wed, 3 Sep 2008 09:39:01 -0500 David Kelly [EMAIL PROTECTED] wrote: On Wed, Sep 03, 2008 at 03:13:35PM +0100, RW wrote: For most people that's already happened, except that it's Adobe-Flash WWW. Google's approach of open-source software, and open-extensions, leading to new standards, sounds a lot better to me. What about this? http://www.theregister.co.uk/2008/09/03/google_chrome_eula_sucks/ That's for the binary. AFAIK the source is BSD licensed, with some third-party components under other open-source licences. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Google Chrome
On Thu, 4 Sep 2008 00:47:34 +0200 (CEST) Wojciech Puchar [EMAIL PROTECTED] wrote: For most people that's already happened, except that it's Adobe-Flash WWW. Google's approach of open-source software, and open-extensions, leading to new standards, sounds a lot better to me. except it leads to google-everything. not even a bit better than microsoft-everything There's a lot of difference. Microsoft has always tried to undermine standards because standards give its competitors a more level-playing field, which is what Google needs for its webapps to compete with Microsoft's desktop applications. I don't see how that's bad for anyone except Microsoft. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SYSCTL error message upon bootup
On Tue, 2 Sep 2008 11:11:20 -0400 Gerard [EMAIL PROTECTED] wrote: For no apparent reason, the following error message has suddenly started showing up when I reboot the machine: sysctl: unknown oid 'net.fibs' I am running FBSD-6.3 presently. Is this error important and if so, what can I do to correct it? Thanks! Do you have apache? http://groups.google.com/group/mailing.freebsd.ports-bugs/browse_thread/thread/b8f17e78869e738f ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cron Question
On Tue, 2 Sep 2008 11:40:37 -0500 Dan Nelson [EMAIL PROTECTED] wrote: I use the lockfile command ( from the procmail port ) to ensure that recurring cron jobs don't overlap if one run takes too long. For example, to run mrtg on a 1-minute cycle but prevent multiple mrtgs from running if one run takes longer than 1 minute: * * * * * /usr/local/bin/lockfile -r 1 -l 3600 /tmp/mrtg.LCK ( nice -19 /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg ; rm /tmp/mrtg.LCK ) The -l 3600 tells lockfile to remove any lockfiles over an hour old ( if the machine was rebooted during an mrtg run for example ) you could also handle stale lock-files, without installing procmail, like this: LCK=/tmp/foo.LCK find $LCK -mtime +3600s -delete if ![ -f $LCK ] ; then touch $LCK [ -f $LCK ] foo rm $LCK fi Presumably the lockfile command also eliminates the race between testing for, and creating, the lock-file, but that's not really needed here. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dump/restore don't work, handbook lies
On Sun, 31 Aug 2008 18:53:36 -0500 J.D. Bronson [EMAIL PROTECTED] wrote: dump -C 32 -0Lf - / | ( cd /mnta ; restore xf - ) One minor caveat: dumping a live filesystem require dump to take a snapshot, which in turn require soft-updates to be turned-on. The default in sysinstall is to enable it for everything but the root partition. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: most universal file system for 1TB external USB2 hard drive
On Fri, 29 Aug 2008 15:21:40 -0500 Andrew Gould [EMAIL PROTECTED] wrote: On Fri, Aug 22, 2008 at 7:17 PM, RW [EMAIL PROTECTED] wrote: There is also NTFS through ntfs-3g ,which is available for all of the above (sysutils/fusefs-ntfs on FreeBSD). Having a native Windows filesystem is sensible on a portable drive, and fat32 is not a great filesystem. http://www.ntfs-3g.org ___ freebsd-questions@freebsd.org Great suggestion! I have NTFS support compiled into the kernel. Do you know if this conflicts with the usage of ntfs-3g? I wouldn't have thought so, it uses the fuse kernel module, the rest is in userland. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: defrag
On Thu, 28 Aug 2008 10:13:40 +0200 Eduardo Morras [EMAIL PROTECTED] wrote: No, if you check a NTFS disk after some work, it's heavily fragmented. As you fill it and work with it, it becomes more and more fragmented. How did you measure it? AFAIK the percentage fragmentation figures given by windows tools and fsck, aren't measured on the same basis. On Thu, 28 Aug 2008 13:41:22 +0200 (CEST) Wojciech Puchar [EMAIL PROTECTED] wrote: it's just like FAT, because nothing is done to prevent fragmentation. if NTFS needs to allocate block, it simply get first free. consider writing to 3 files, one block at a time to each. you will get block arranged like this (where 1 is file 1's data,2 is data from file 2 and 3 from file 3): 123123123123123123123123213213 This is just untrue. I don't much like Microsoft, but I don't think there's much to be gained by out-fudding them. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: defrag
On Fri, 29 Aug 2008 02:43:40 +0200 (CEST) Wojciech Puchar [EMAIL PROTECTED] wrote: you will get block arranged like this (where 1 is file 1's data,2 is data from file 2 and 3 from file 3): 123123123123123123123123213213 This is just untrue. I don't much like Microsoft, but I don't think i AM sure it is like that under DOS up to 6.2 (where i tested it), and almost sure with windoze 9598. Well, you can't really say it's just like FAT if you've only looked at FAT. possibly untrue in Win NT, From what I've read, it's a journalling filesytem based on a B+ tree with small files stored directly in the tree and larger files in variable-length extents. It sounds superficially similar to several UNIX filesystems. I see that ext4 the successor to ext3, and which also has extent support, has a defragmenter. And it appears to give significant increases in read speeds. http://ols.108.redhat.com/2007/Reprints/sato-Reprint.pdf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: defrag
On Wed, 27 Aug 2008 22:08:47 -0400 Mike Jeays [EMAIL PROTECTED] wrote: That's true about FAT. What I have never understood is why Microsoft didn't fix the problem when they designed NTFS. UFS and EXT2 both existed at that time, and neither needs periodic defragmentation. I think they probably did, NTFS took a lot from UNIX filesystems, and at the time it was released they said that NTFS didn't need any defragmentation at all. I suspect that it's mostly a matter of attitude. Windows users have an irrational obsessive-compulsive attitude to fragmentation, so they end-up with good reliable defragmenters, and so less reason not to use them. We don't really care, so we end-up with no, or poor, defragmenters, which reinforces our don't care attitude. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I can't make world without the games group?
On Tue, 26 Aug 2008 13:20:31 -0400 Jerry McAllister [EMAIL PROTECTED] wrote: I have wondered if it might be reasonable to put a bunch of (more) of that sort of stuff in a select list during installation so a user can choose right then if certain things will be retained or dropped on the floor. Most of the base system options are either highly-technical or bike-shed options like removing games. If those options are exposed in the installer, they should be buried so deep you need caving equipment. Fortune and games and even the latest Perl and some other things might be good candidates for that select list. I know there is a place where you can run through pretty much the whole list of ports and select, but that is really too overwhelming. I would suggest this be a separate list, mostly limited to those things that many people want (but others don't) in the base system. Personally I think it's a very bad idea to blur the distinction between base system and packages in the installer. If you already know FreeBSD, it's potentially confusing; if you don't it just reinforces the misconception that everything is a package. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MTA advice ??
On Mon, 25 Aug 2008 06:49:56 +0100 Matthew Seaman [EMAIL PROTECTED] wrote: Jeffrey Goldberg wrote: Receiving mail directly will be more possible, but tricky. You will need to use a dynamic DNS system. Also do consider uptime and reliability. In the old days, if one MTA couldn't reach another it would hold stuff in its queue for four or five days. Now, most MTAs appear to be configured to give up after 24 hours. So if your mailserver is down for a day, mail will be bounced and never delivered to you. In which case those mail systems are not in compliance with the RFCs. RFC 2821 Section 4.5.4.1 says: Retries continue until the message is transmitted or the sender gives up; the give-up time generally needs to be at least 4-5 days. The parameters to the retry algorithm MUST be configurable. ie. 4-5 days is the /minimum/ time to hold messages in the queue and keep retrying. It doesn't say that. The only concrete requirement there is the last sentence about the retry algorithm, the rest is just friendly advice. There are cheap backup services that will avoid this kind of problem though. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: space char shell script problem
On Sat, 23 Aug 2008 06:19:42 -0400 David Banning [EMAIL PROTECTED] wrote: I am running into a problem with the space character in filenames. For instance, If I want to run the script; for x in `ls` do echo $x done for x in * ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: most universal file system for 1TB external USB2 hard drive
On Fri, 22 Aug 2008 13:13:29 -0500 Andrew Gould [EMAIL PROTECTED] wrote: I couldn't help myself. During lunch, I found a 3.5 1TB SATA internal HD **and** a USB2 HD enclosure for SATA drives on sale at large % discounts. It was more than I could resist. The operating systems in my home include FreeBSD, NetBSD, Mac OS X and Windows XP Pro. If I want all of these systems to be able to read and write to the drive, what file system should I use? I know fat32 is pretty universal, but is it advisable? There is also NTFS through ntfs-3g ,which is available for all of the above (sysutils/fusefs-ntfs on FreeBSD). Having a native Windows filesystem is sensible on a portable drive, and fat32 is not a great filesystem. http://www.ntfs-3g.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kde troubles....
On Mon, 18 Aug 2008 03:57:32 +0200 Polytropon [EMAIL PROTECTED] wrote: In the good old times, you could update your applications and they ran faster on the same hardware. That's what I've loved FreeBSD for. Today, the applications run slower after every update, so I have to update my hardware in order to just keep the speed? http://en.wikipedia.org/wiki/Wirth's_law ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fetching precompiled packages for external install
On Tue, 19 Aug 2008 23:50:51 +0200 Polytropon [EMAIL PROTECTED] wrote: On Tue, 19 Aug 2008 14:39:48 -0400, Lowell Gilbert [EMAIL PROTECTED] wrote: I don't see anything direct, but the *-depends-list targets will probably get you close enough to work it out. Sorry, I don't know what *-depends-list targets refers to. But I think it's something about the ports which I don't want to use, instead, using the precompiled packages is what I wanted to. It's not about building from ports, it's about using the ports tree to infer the runtime dependencies. You would recurse through make run-depends-list doing a make -V PKGNAME in each directory. If you don't mind downloading some build dependencies you can just do a make all-depends-list, which is already recursive. If you use the release port tree and the release package repository, the package versions will all match-up. ___ 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 use dig with an ip list
On Mon, 18 Aug 2008 21:03:36 -0500 Paul Schmehl [EMAIL PROTECTED] wrote: I know I'm missing the obvious. I want to use an IP list to generate an ip+hostname list. IOW, I want to go from this: x.x.x.x y.y.y.y to this; x.x.x.x foo.domain.tld y.y..y.y bar.domain.tld What's the best/easiest way to do this? You could pipe it through: while read ip;do echo ${ip} `dig +short -x ${ip}`;done ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: megaupload download script
On Tue, 12 Aug 2008 14:27:04 -0400 Tsu-Fan Cheng [EMAIL PROTECTED] wrote: Hi, I use service from megaupload, i wonder if there is a script that can automatically download each file, one after the other without me clicking myself? thank you!! There's a Java application called JDownloader. I've not tried it myself but I think it does what you want. http://jdownloader.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Working ccache configuration for buildworld on amd64?
On Fri, 15 Aug 2008 11:22:01 -0400 Maxim Khitrov [EMAIL PROTECTED] wrote: I think what's happening is that there is a collision in hash values generated by ccache. That's the only thing I can think of, because crt1.c is compiled twice; once from /usr/src/lib/csu/amd64/crt1.c, and a second time from /usr/src/lib/csu/i386-elf/crt1.c. If LIB32 is disabled in src.conf, only the first compilation takes place. If the generated hash values are the same, by some chance, then the actual problem is that the file is not compiled a second time when, in fact, it should be. This is only a guess, however. That collision isn't going to happen for several reasons, but it's missing the point I made earlier, that the build is failing on a cache miss. If the kind of situation you're describing is happening, then it's happening earlier, and the observed error is just a side-effect. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rc.d ?
On Thu, 14 Aug 2008 20:01:26 -0400 kalin m [EMAIL PROTECTED] wrote: hi all... i used to be able to put startup scripts in /usr/local/etc/rc.d/. now on a new 7 install i have the scripts there but after restart nothing happens What kind of scripts are they? Are they old-style simple shell scripts or modern rcng scripts. If the former they need a .sh extension, or they wont run. Otherwise you are going to have to give a lot more information. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Working ccache configuration for buildworld on amd64?
On Thu, 14 Aug 2008 16:04:52 -0400 Maxim Khitrov [EMAIL PROTECTED] wrote: This is an old problem, but so far I haven't been able to find a solution. When ccache is used to build world on amd64, the process fails when /usr/src/lib/csu/i386-elf/crt1.c is compiled. If WITHOUT_LIB32 is added to src.conf, this problem does not happen. Likewise, building without ccache works fine. I take it that you've already tried removing any unnecessary settings such as CFLAGS. What interesting about this is that it's failing on a compile; i.e. on a cache miss, when ccache is doing next to nothing. That suggests that there's either a problem in the way that the real compiler is invoked by ccache, or that the real failure occurred during the building of the toolchain and it's dependencies. I'd try setting CCACHE_RECACHE temporarily in the environment, to flush out the old cached files, and see if it makes a difference. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Add CONFIGURE_ARGS option for port in make.conf
On Thu, 07 Aug 2008 10:04:23 +0200 Matthias Kellermann [EMAIL PROTECTED] wrote: Hi list, I want to compile a port with an option that is not controllable through the FreeBSD Makefile or with make config. ... So I added an option to make.conf(5): .if ${.CURDIR:M*/lang/php4} CONFIGURE_ARGS+=--with-mime-magic .endif Unfortonately, this does not work. ... Any ideas whats wrong here? make.conf is read before the makefile. The use of CONFIGURE_ARGS= in the port makefile means that any change to CONFIGURE_ARGS made in make.conf is lost. I think you'll have to maintain a patch against the port makefile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Periodic scripts running twice
On Mon, 04 Aug 2008 13:21:36 -0500 CyberLeo Kitsana [EMAIL PROTECTED] wrote: Hi! For a while, I've noticed odd behavior with periodic scripts installed by certain ports (portaudit) as well as ones I've penned myself (corescan), in that they appear to be run twice in succession every time. Base system scripts, and some add-on scripts (freshclam) are run only once, even in the same periodic batch. Is there some end state the script is expected to be in to signal periodic of a successful run? (Incl: Sample email, weekly.txt) Thanks! Is this a long-standing problem? It sounds like you didn't fully complete the UPDATING instruction for the 20070519 xorg update, and /usr/local/etc/periodic is being access both directly and via the /usr/X11R6 symlink. Try adding local_periodic=/usr/local/etc/periodic to /etc/periodic.conf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gemeral questions (noobish)
On Sun, 3 Aug 2008 05:57:00 -0300 Gonzalo Nemmi [EMAIL PROTECTED] wrote: On Sunday 03 August 2008 05:41:19 you wrote: Well, yes. `portsnap cron update` if running from cron. My point was that you can do fetch and update in one operation :) Oh sure ! But check this out, this is interesting (at least for me): by using the -I flag I only update the INDEX file and not the whole port tree. From man portsnap: -I For the update command, update INDEX files, but not the rest of the ports tree. Now why would I want to do that? Well .. bandwith basically.. since Im running portsnap cron update via cron, on a daily basis, I don't want to hammer the repos for no real reason ;) I don't think that makes a difference, the -I option prevents portsnap from updating the ports tree from the local compressed snapshot, but AFAIK you're still updating the snapshot from the server. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: get periodic to not scan a partition
On Sat, 2 Aug 2008 06:22:17 -0400 B. Cook [EMAIL PROTECTED] wrote: hello all, I have a machine doing backups with backuppc (excellent program btw) and I have them being stored in /exports /dev/ad4s1h 57G 31G 21G60%/exports /dev/ad4s1h on /exports (ufs, local, noatime, soft-updates) it is now almost 6:20 am and periodic has been running since 3:01.. and it will complete in another 4 hours.. root 92866 0.6 0.1 3064 1488 ?? D 3:01AM 1:00.93 find / exports -xdev -type f ( -perm -u+x -or -perm -g+x -or -perm -o+x ) ( - perm -u+s -or -perm -g+s ) -print0 is there something I can do to get periodic to not look in /exports? The above search is looking for setuid binaries, if you mount /exports as noexec and/or nosuid then it wont get searched. You may also need to curtail the locate search as someone already mentioned, although that's only weekly and it only searches directories that the user nobody can read. 7 hours does seem a very long time though, these searches only take a few minutes for 1.3TB on my desktop machine, and it's several years old. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: get periodic to not scan a partition
On Sat, 2 Aug 2008 08:30:20 -0400 B. Cook [EMAIL PROTECTED] wrote: On Aug 2, 2008, at 8:19 AM, RW wrote: On Sat, 2 Aug 2008 06:22:17 -0400 B. Cook [EMAIL PROTECTED] wrote: hello all, I have a machine doing backups with backuppc (excellent program btw) and I have them being stored in /exports /dev/ad4s1h 57G 31G 21G60%/exports /dev/ad4s1h on /exports (ufs, local, noatime, soft-updates) it is now almost 6:20 am and periodic has been running since 3:01.. and it will complete in another 4 hours.. root 92866 0.6 0.1 3064 1488 ?? D 3:01AM 1:00.93 find / exports -xdev -type f ( -perm -u+x -or -perm -g+x -or -perm -o+x ) ( - perm -u+s -or -perm -g+s ) -print0 is there something I can do to get periodic to not look in /exports? The above search is looking for setuid binaries, if you mount /exports as noexec and/or nosuid then it wont get searched. I will see what happens when I do that.. as I remember it did something to break the building of world and I think port building as well.. this /exports also holds /usr/obj /usr/src and /usr/ports they are symlinks to here. In that case I'd try disabling the search with daily_status_security_chksetuid_enable=no in periodic.conf, and possibly putting a modified version in /usr/local/etc/periodic/security. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gemeral questions (noobish)
On Sat, 2 Aug 2008 15:50:48 +0200 mcassar [EMAIL PROTECTED] wrote: firstly - i have installed kde3 and xfce4 from packages (like most of it - xorg,etc) and have tried updates before with different results. i don't mind messing things up, as long as i can somehow surf or check mails - but would like to do a *proper* update. firstly, are [freebsd-update] and [cvsup stable src.all] necessary before installing anything from ports? freebsd-update does a binary update to the base system, csup of src-all is for fetching source to rebuild the base system. You can build ports and base independently BTW you should be using csup (in the base system), not cvsup. cvsup was written in modulo2, csup is a rewrite in C with fewer dependencies Also if you are new to FreeBSD, you should probably not be using a stable branch, these are stable development branches. Consider using a security branch like RELENG_7_0, and later moving to RELENG_7_1 and so on. and are ports considered stable or current? or are they automatically matched to the installed version? There's only one version of ports, the builds automatically adapt to your basesystem version. also, do portsnap and cvsup ports do the same thing? i've tried cvsup exactly after portsnap and it still seems to edit/update the ports tree. They're more or less the same. portsnap is faster, but it's for ports only and is less flexible. why i'm confused is that i get alot of warnings when many ports try to build, and many hiccups in apps once they are installed, and i don't know which way to go --- gcc manual and fixing my environment, build options, etc,, or if it still something in the actual ports? You don't need to set much, if anything. Read the entries in /usr/ports/UPDATING before doing an upgrade. Most build problems will fix themselves within a day or two if you resync the ports tree. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I can't make world without the games group?
On Sat, 2 Aug 2008 18:48:27 +0200 Redd Vinylene [EMAIL PROTECTED] wrote: Adding WITHOUT_GAMES=YES to /etc/src.conf most certainly didn't work. Why does FreeBSD pack so much, pardon my language, bullshit anyway? It's largely a consequence of having a coherent OS, rather than a kernel and third-party packages. Yes, one or two (out of one or two million) might need it, but can't we make it available to them in some other way? As a module or a port or something? Like I already said, that's been done, the actual games went to a port. I don't see why you care so much about removing 3.2Mb. BTW please stop cross-posting to bugs, if you think you've found a bug, you should go through proper channels and file a PR. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I can't make world without the games group?
On Fri, 1 Aug 2008 17:31:22 +0200 Redd Vinylene [EMAIL PROTECTED] wrote: Hello! Why can't I make world without the games group? I run a serious server, not a kindergarten ;) I don't want the games group there, I just don't need it! Games is a bit of a misnomer, Most of the old FreeBSD games have been moved into games/freebsd-games. What's left is not much more than fortune (for login tips), and includes several things that could equally well be regarded as utilities: primes(6), factor(6), random(6). Before you remove games, make sure you don't use any scripts that rely on these utilities. For example the ports system ignores RANDOMIZE_MASTER_SITES if you don't have random(6) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bypassing Transparent Proxy
On Thu, 31 Jul 2008 15:57:26 -0600 (MDT) Warren Block [EMAIL PROTECTED] wrote: On Thu, 31 Jul 2008, Jay Hall wrote: Is there an easy way to bypass the proxy server when accessing this one address? Instead of in the firewall, you can do that with squid: http://wiki.squid-cache.org/SquidFaq/ConfiguringSquid#head-d82a8d4c42f3600c857cef92d77d76914af54592 In case that URL doesn't work, it's the Can I make Squid go direct for some sites? question about the always_direct access list. That makes squid itself go direct, bypassing other caches in the hierarchy, but the access is still going through squid. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Root boot/mount Password?
On Sun, 27 Jul 2008 12:12:16 +0200 Roland Smith [EMAIL PROTECTED] wrote: Note that encrypting the partitions where the OS lives is not particularly usefull; there is nothing secret there. On the contrary, it would potentially make the encrypted partition vulnerable to a known plaintext attack. The reason for doing it is to protect the OS from modification. For that to be effective the /boot really needs to be on removable media. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Deinstalling X and all dependencies
On Sun, 27 Jul 2008 12:52:56 +0200 bsd [EMAIL PROTECTED] wrote: Hello, I have just received a new system that's planned to be a large scale DNS server. I have asked the guy who has setup the hardware not to install X___ This has been useless!! I am now ending up with 250 apps in the port tree!! Is there a good way to get rid of all these useless apps without breaking the system___ If you want to remove X you can use a leaf-cutting tool like ports-mgmt/pkg_cutleaves. But I would have thought that a dns server would require only very few ports (possibly even zero if you use the default BIND), so it might be simpler to start over. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: disk encryption; hidden containers
On Tue, 22 Jul 2008 17:47:42 +0200 cpghost [EMAIL PROTECTED] wrote: On Fri, Jul 18, 2008 at 09:56:24AM -0600, Chad Perrin wrote: My preliminary searches on the subject suggest that neither GBDE nor GELI encryption offers hidden volume/container capabilities. Are there any plans for implementing this in the future? What disk encryption softoware would you recommend for use with FreeBSD to provide hidden containers? Unless the containers are spread randomly across the partition and are small enough, they WILL appear very prominently, because they will usually have maximun entropy. To locate them, all a cyrptanalyst has to do is to look out for regions on the partition with very high entropy, The trick is to hide the volume somewhere that is legitimately filled with random numbers. One simple way to do this is to simply argue that an encrypted partition was previously an ordinary partition has been securely erased by filling it with random numbers. Since this is a reasonable thing to do, it provides a significant level of plausible deniability. Unfortunately you can't do this with geli, because it's actually designed to be detectable (I'm not sure about gbde). Some encryption software goes much further by allowing one or more levels of nesting within volumes. The way it works is that you create a normal volume, put in some dummy files, and then create a second level container in the freespace. Since it's good practice to prefill freespace with random numbers, and some encryption software does it automatically, it's very had to detect the second level. The advantage of this is that even if someone knows that you are using encryption, and can compel you to give-up the passphase, you can still keep the real secrets hidden. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Default config for claws-mail
On Mon, 21 Jul 2008 19:31:58 -0400 David Gurvich [EMAIL PROTECTED] wrote: I like to use claws-mail with the bogofilter plugin as it is fast and simple. The package is built without bogofilter and I wondered why that is so. Does having claws-mail built with bogofilter conflict with something else? Or is this a legacy of the time when the plugin was a separate port? The bogofilter option brings in a dependency on bogofilter. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Very Beginning CVSup Questions
On Mon, 21 Jul 2008 20:08:37 -0400 J.C. [EMAIL PROTECTED] wrote: I'm a beginner with FreeBSD and somewhat intermediate with Unix-like operating systems in general, so please bear the nature of my questions. I have some questions about CVSup that seem unclear from the handbook. Right now I'm sticking with RELENG_7_0; I intend to track -STABLE once I get the hang of CVSup, make buildworld, etc. You need to understand CVSup, make buildworld, to track RELENG_7_0 (and successors) too, are you sure you want to track a development branch? I understand that the supfile contains the list of *default settings (*default tag=RELENG_7_0 etc.) followed by the list of collections. The Using CVSup page suggests simply using the src-all collection. I understand that when tracking -STABLE I want to update the ports collection before running make buildworld; is the ports collection included in the base source tree (i.e. does src-all imply ports-all) No or should ports-all be included as a separate line beneath src-all? You can do that, but I think most people use separate files, so they can be updated independently. There are multiple sample files for this reason. The Using the Ports Collection page in the handbook says to make sure /usr/ports is empty before running csup because otherwise csup will not prune removed patch files. Isn't this what the delete in the supfile (as in the line *default release=cvs delete use-rel-suffix compress) is for? It's a bit subtle, csup has to establish a baseline in its metadata for it to be fully confident about which files it can delete, this can be done starting with an empty or fully syncronized tree. There's also a separate issue that it never deletes files which have never been under CVS. Do I have to clean /usr/ports every time I run csup or just the first time? Just the first. If I don't care about encrypted transmission or HTTP vs. CVS protocols, are there any compelling reasons to use portsnap instead of CVSup/csup? portsnap is much faster. And since the fetch part doesn't affect the ports tree it can be done safely from a crontab, which speeds things up even more. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Very Beginning CVSup Questions
On Tue, 22 Jul 2008 05:08:03 +0300 Giorgos Keramidas [EMAIL PROTECTED] wrote: On Mon, 21 Jul 2008 20:08:37 -0400, J.C. [EMAIL PROTECTED] wrote: The Using the Ports Collection page in the handbook says to make sure /usr/ports is empty before running csup because otherwise csup will not prune removed patch files. Isn't this what the delete in the supfile (as in the line *default release=cvs delete use-rel-suffix compress) is for? Do I have to clean /usr/ports every time I run csup or just the first time? Probably not. It's been a while that I haven't used CVSup for ports/, so someone with more recent experience should answer this. The issue isn't specific to ports. The same thing can happen with the base system too when you adopt an existing tree that's older than the CVS version. Deletions made in CVS between the two points on the branch don't get made locally, because they rely on the relevant csup list file. To be safe you either start from an empty tree, or do an intermediate sync to the point on the branch that matches the local copy. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Video Card Info
On Fri, 18 Jul 2008 18:15:48 -0700 George Hartzell [EMAIL PROTECTED] wrote: Warren Liddell writes: im looking to purchase the NVIDIA 8800GTX PCI Express Video Card an was wondering if anyone has heard or know of any issues within FreeBSD with this particular video card ? I use an Nvidia 8800GT in a Mac Pro running -STABLE with the xf86-video-nv-2.1.8 driver from ports back when I last upgraded and it works fine. But does the proprietary nvidia driver work? The nv driver is slow, makes heavy use of the CPU, and has no 3-d support. The nvidia driver doesn't work on the 64-bit version of FreeBSD through. ___ 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 prevent certain gnome apps from being installed ...
On Sat, 19 Jul 2008 21:26:42 +0200 [EMAIL PROTECTED] wrote: Every time gnome desktop is upgraded via portupgrade it reinstalls a bunch of applications that I had previously removed using pkg_delete. For example, since I only use firefox as my browser there's no need to also have epiphany nor galeon. However, by default they are always reinstalled. I've tried using the HOLD_PKGS array in pkgtools.conf to prevent this, but to no avail. What to do? Have you tried: WITH_GECKO=firefox ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel mode PPPoE or User mode PPPoE
On Sat, 19 Jul 2008 19:14:40 +0530 ___ Ashish Shukla [EMAIL PROTECTED] wrote: Hi I wanted to know if I'm using user-mode PPPoE or kernel-mode PPPoE. I'm following the handbook[1] to setup my PPPoE interface. Is there any way I can figure out this ? If you are starting it from the standard rc.d script, you are using user ppp. I think kernel ppp is a legacy feature that was used before the kernel supported tun interfaces. I don't know of any reason for still using it. IIRC with kernel ppp you run pppd (note the d) as root, and the interface shows-up as ppp0; with user ppp, you run ppp as any user, and the interface shows-up as tun0. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: disk encryption; hidden containers
On Fri, 18 Jul 2008 09:56:24 -0600 Chad Perrin [EMAIL PROTECTED] wrote: My preliminary searches on the subject suggest that neither GBDE nor GELI encryption offers hidden volume/container capabilities. Are you talking about steganography? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: disk encryption; hidden containers
On Fri, 18 Jul 2008 21:06:57 +0100 RW [EMAIL PROTECTED] wrote: On Fri, 18 Jul 2008 09:56:24 -0600 Chad Perrin [EMAIL PROTECTED] wrote: My preliminary searches on the subject suggest that neither GBDE nor GELI encryption offers hidden volume/container capabilities. Are you talking about steganography? Sorry, I guess you're talking about volumes hidden in the unused space on a filesystem. I don't think there's anything. I'm not sure what the status of truecrypt is, I've heard some talk about it running on freebsd eventually. It would be a start for geli to be able to encrypt its metadata. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: why is this script failing?
On Wed, 16 Jul 2008 16:03:32 -0700 Gary Kline [EMAIL PROTECTED] wrote: On Tue, Jul 15, 2008 at 08:42:13PM -0500, David Kelly wrote: You might consider adding something like setenv TMPDIR /home/dkelly/tmp setenv TMP /home/dkelly/tmp There are also KDEVARTMP and KDETMP which are specific to kde what i should probably do is make extract ktts or amarok and look for /tmp/kde-[usr]/* and se WHY these wav files are ever kept. for kttsd, yeah, it makes going back several lines easier. that may explain why i have found {garbage}wav{garbage} where {garbage} is several alpha-numbering. no dots, no hyphens. or files ending in *wav.part this may be a historical leftover from when memory was very pricey and disk-space much cheaper. [[ guessing ]] KAudioCreator and konqueror create intermediate wav[.part] files when they are extracting MP3s etc from CDs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: why is this script failing?
On Wed, 16 Jul 2008 15:52:59 +0930 Wayne Sierke [EMAIL PROTECTED] wrote: On Wed, 2008-07-16 at 11:42 +1000, Norberto Meijome wrote: you can always do find /tmp/kde-*/ -iname *wav -print0 | xargs -0 rm -vf the advantage over doing using rm * or for * in ... is that if you have LOTS of files, the expanded list of files may be too much. find | xargs will deal with each file in turn. ( -print0 and -0 is to use NULL char as a list delimiter instead of space... ). Note that - as highlighted in previous discussions on the fbsd lists re the use of xargs with find - find is eminently capable of handling large argument lists and filenames_with_spaces with its own -exec primary: find /tmp/kde-*/ -iname *wav -exec rm -vf {} \; to exec rm for each file individually, or: find /tmp/kde-*/ -iname *wav -exec rm -vf {} \+ to exec rm for multiple files at once. Piping to xargs in this case is unnecessary. You don't even need exec, since find has a -delete option. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: why is this script failing?
On Thu, 17 Jul 2008 00:08:56 +0930 Wayne Sierke [EMAIL PROTECTED] wrote: Except that the -delete primary of find is not the equivalent of rm -vf, or even of just rm -f. Obviously, but the -vf options weren't in the original script, they were added as an illustration by an intermediate post. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd-update says -p3, but i've got -p2
On Mon, 14 Jul 2008 16:35:42 -0700 Mark Boolootian [EMAIL PROTECTED] wrote: which leads me to conclude I've got -p3, including the BIND update. However 'uname -a' says something else: FreeBSD mumble.ucsc.edu 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Wed I don't use freebsd-update myself, but as I understand it, the kernel doesn't get modified just to change the versioning infomation, so if an update doesn't affect the kernel, you don't see a change in uname -a. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: why is this script failing?
On Mon, 14 Jul 2008 14:56:27 -0700 Gary Kline [EMAIL PROTECTED] wrote: You're right of course, and for the most bothersome hundreds of wav and log files this works: You might also consider adding clear_tmp_enable=yes to rc.conf, and daily_clean_tmps_enable=yes to periodic.conf, to delete old files under /tmp automatically. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Windows Firefox in Wine: Ugly Fonts
On Sun, 13 Jul 2008 19:00:49 +0300 Razmig K [EMAIL PROTECTED] wrote: Ross Cameron a __crit : You have two options to resolve this issue: Copy the fonts folder over from a WinXP/Vista install to the relevant wine bottle.or Install the winetricks tool and let it install all the Windows fonts for you. Hope this helps. Unfortunately neither works; I copied the fonts directory in a Windows XP installation to .wine/drive_c/windows/ to no avail, removed it and used winetricks to install allfonts (corefonts, tahoma, liberation) with similar results. Further suggestions? I found that running winecfg and playing around with screen resolution slider fixed it. This was after I installed the fonts. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrading a 6.3 box using portsnap and freebsd-update
On Sat, 12 Jul 2008 09:25:34 -0700 David Newman [EMAIL PROTECTED] wrote: === The textproc/p5-Text-ParseWords port has been deleted: Module included in core perl === Aborting update Running pkg_delete reveals dependencies: pkg_delete: package 'p5-Text-ParseWords-3.1' is required by these other packages and may not be deinstalled: p5-ExtUtils-ParseXS-2.19 p5-Module-Build-0.28.08_2 How to remedy? pkg_delete -f ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linux for freebsd admins
On Fri, 11 Jul 2008 07:29:35 -0400 Ian Lord [EMAIL PROTECTED] wrote: I have to install a linux machine and don't know which distribution to take. I tried debian ubuntu and fedora and didn't like them. I want: - A basic install (not 900 packages installed by default - No gui, I like my flashing cursor - an equivalent of ports. I want to easily compile my ports I don't like prebuilt package. Want to retrieve them by cvs. - an equivalent to portupgrade. Try Gentoo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Locate command
On Wed, 09 Jul 2008 21:48:02 -0500 Paul Procacci [EMAIL PROTECTED] wrote: Rem P Roberti wrote: Whenever I do a locate command on a new installation I get this message: locate: database too small: /var/db/locate.database Can someone give me a heads up on how to fix this? Run this shell script: /etc/periodic/weekly/310.locate You might also think about installing sysutils/anacron, so that the period scripts get run even if the machine is not left on overnight. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which VIA CPUs have hardware RNG support?
On Wed, 9 Jul 2008 11:31:36 -0400 Joseph Gleason [EMAIL PROTECTED] wrote: I am trying to figure out which VIA CPUs support hardware RNG under recent FreeBSD. I've been looking at things on 7.0-RELEASE-p2. If there is something that else I should be looking at, please let me know. Based on 'man 4 random' I see: The only hardware implementation currently is for the VIA C3 Nehemiah (stepping 3 or greater) CPU. More will be added in the future. Poking around in the kernel I see that indeed nehemiah and yarrow seem to be the only random sources there. If you have a need for a lot of entropy, you can also use the kernel RC4 generator via sysctl kern.arandom. A couple of other hardware sources are implemented as yarrow entropy sources rather than using the hardware generator directly. I think the support for AMD Geode LX, will be of this form. I suspect that this is more secure than the nehemiah support since it doesn't actually rely on on the hardware alone. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail not work
On Fri, 11 Jul 2008 04:06:01 +0300 Giorgos Keramidas [EMAIL PROTECTED] wrote: * Did you do anything to enable Sendmail (the default mail transfer agent)? It's enabled by default on localhost. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Configuring an older server for speed...
On Tue, 1 Jul 2008 08:26:16 -0700 Kurt Buff [EMAIL PROTECTED] wrote: However, I'll look up the diskd docs for squid, and see what that's all about. I'm not sure that diskd is still preferred for FreeBSD. The three cache types: ufs,aufs and diskd are all the same on disk. diskd is ufs with extra processes to handle disk access, aufs uses threads instead. The reason for using diskd was that earlier versions FreeBSD had poor threading support, but good shared memory support. From what I've read on the squid mailing list, aufs with libthr is being recommended these days. libthr is the default on FreeBSD 7, you need a libmap.conf entry on FreeBSD 6. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Configuring an older server for speed...
On Wed, 2 Jul 2008 17:15:58 +0200 (CEST) Wojciech Puchar [EMAIL PROTECTED] wrote: I'm not sure that diskd is still preferred for FreeBSD. i don't know what is preferred. i know what works. only ufs and diskd is reliable, The squid developers recommend aufs: http://www.squid-cache.org/mail-archive/squid-users/200709/0150.html Most people seem to regard it as stable. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade and change distro?
On Wed, 02 Jul 2008 17:13:11 -0500 Paul Schmehl [EMAIL PROTECTED] wrote: --On July 2, 2008 5:51:06 PM -0400 Sean Cavanaugh [EMAIL PROTECTED] wrote: AMD64 is for 64-bit chips from AMD and Intel. whether it is multi-core is beside. run i386 still if you want/need 32-bit operating system. there are some features and programs that will NOT work with AMD64. Thanks, Sean. Maybe I'll understand FreeBSD some day. :-) Will I need to rebuild all my ports after compiling the kernel and world? If you are talking about going from 6.x to 7.x then you should, but you can probably get away without doing it. If you are talking about going from i386 6.x to amd64 7.x, and you have to ask, you should be doing a clean FreeBSD install. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 7.0 No Sound: emu10k1
On Mon, 30 Jun 2008 15:28:37 -0400 David Horn [EMAIL PROTECTED] wrote: Thanks for the hint. snd_emu10kx instead of snd_emu10k1 (doh!) I knew it had to be something simple. Everything is working great now. For future reference there's an easy way to find the correct driver. You kldload snd_driver (which loads all sound drivers), start playing some audio, and then kldunload snd_driver. kldstat will then show you the driver that couldn't be unloaded because it's in use. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to fetch source files using FTP for FreeBSD 7.0-RELEASE-p2
On Fri, 27 Jun 2008 09:50:14 -0400 David Gurvich [EMAIL PROTECTED] wrote: Hi, You just need to change the release name to 7.0-RELEASE. Use sysinstall and change it in Options or a source supfile with that release name. Does that actually work? I'd always assumed that that would give you the release source, which would mean reverting two security updates. The normal way to get the source is to run csup, in this case using RELENG_7_0. The process is covered in the handbook. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]