Re: ftp passive mode
In message 111263.90106...@web52308.mail.re2.yahoo.com, gahn (ipfr...@yahoo.com) wrote: I am behind firewall and only pass ftp sessions are allowed. With that, most ftp sessions of portupgrade would not be able to connect to remote FreeBSD sites. Could I reconfigure the my FreeBSD 7.3 in a way so that it would only start ftp sessions in PASV mode? The on-line handbook in section 4.5.2 'Installing Ports' says: The ports system uses fetch(1) to download the files, which honors various environment variables, including FTP_PASSIVE_MODE, FTP_PROXY, and FTP_PASSWORD. So try setting FTP_PASSIVE_MODE in your environment. man ports and man fetch may also be worth a read. Cheers, Nick. -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: src.conf: WITHOUT_SOMETHING
In message [EMAIL PROTECTED], Redd Vinylene ([EMAIL PROTECTED]) wrote: Let's say I add WITHOUT_SOMETHING to /etc/rc.conf, and remake and reinstall my world. What will happen to the previous install of SOMETHING? Will it be removed or just left there to rot? After doing make installworld you should do a make delete-old . During the latter which you will be prompted to delete the various bits which you no longer require. Cheers, Nick. -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Crontab Not Sending Email - nrcpts=0
In message [EMAIL PROTECTED], Schiz0 ([EMAIL PROTECTED]) wrote: I have another odd problem. Cron refuses to send any emails. Here's what DID work: [...] I also see this, both on 6-STABLE and 7-STABLE. I have not tried 8-CURRENT. This is what I have found so far. After cron has sent the header information to sendmail and before it sends the body, cron detects a SIGPIPE and stops further processing of the cron job. (This gives the size=0 in the sendmail log file.) sendmail then drops the uncompleted message. Sadly, I have not had enough time to dig any deeper. I ended up patching cron to ignore SIGPIPE and this fixed the problem. I really must make some more time to look into this. Cheers, Nick. -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: doesn't change to Daylight Saving Time
In message [EMAIL PROTECTED], Derek Ragona ([EMAIL PROTECTED]) wrote: At 08:17 AM 3/10/2008, Robert Huff wrote: Derek Ragona writes: My FreeBSD 6.2 doesn't change to Daylight Saving Time. How should I fix it? I'm having the same problem with -CURRENT. I have updated the zoneinfo files (using misc/zoneinfo) and (re-)run tzsetup, but am still a hour behind. Are you running ntpd? I am. (If it matters, I have rebooted the system since updating the tz files/settings.) Have you checked the ntpd log file for errors, and verified it is running. Often ntpd won't reset the time if the delta is too large, and you have to stop nrpd and run ntpdate instead, then start ntpd. If you have securelevel greater than 1 the kernel prevent large time changes. See man init(8). Cheers, Nick. -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: keep track of a text file
In message [EMAIL PROTECTED], Jeff Laine wrote: Just wonder about one catch: is it possible to keep track of any text file's contents in a real time? For example, I open ttyv1 and via some magic command :) I get my file's contents updating in real time if any modifications occured. Any advices will be very much appreciated. tail -f filename man tail(1) for details Cheers, Nick. -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: flash player
In message [EMAIL PROTECTED], Michael S wrote: I am trying to install flash 7 from ports, I keep on getting this message linux-flashplugin -- critical vulnerabilities. Reference: http://www.FreeBSD.org/ports/portaudit/b42e8c32-34f6-11dc-9bc9-001921ab2fa4.html I know that I uninstalled portaudit. I strongly suggest you reinstall it straight away. The gains far out way the (supposed) pain. Is there a way to still install the plugin? man ports You are looking for DISABLE_VULNERABILITIES Cheers, Nick. -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: uknd - uhub DRAC woes.
In message [EMAIL PROTECTED], Grant Peel wrote: Whenever I reset my DRAC cards on my Dell machines, I'm sorry but I can't help you with your problem. But, you do need to reset your clock, since you appear to have reached October two months before the rest of us. I noticed this, because my spam filters flagged your message as probably spam, where of course it wasn't. Cheers, Nick. -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Custom builds from ports
In message [EMAIL PROTECTED], CyberLeo Kitsana wrote: My question concerns building ports with custom options. With some ports, 'make config' governs the options, and stores them in a file someplace so they are honored the next time you build or upgrade the port. With most ports, however, this is controlled by passing variables on the command line or via the environment. The most obvious location for these variables to be placed, so that they may affect recursive builds and upgrades, is make.conf. However, I've noticed that some ports use the same variable names for similar options ('WITH_MYSQL'), when I may not want that option set in both ports. Is there a way to specify which ports certain options are to be applied to, without having to craft custom command lines and build ports individually? Is ports-mgmt/portconf what you are looking for? Cheers, Nick. -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Mailing List
Hi, On Tuesday, 12 June, 2007 at 13:23:47 +0100, Graham Potts wrote: I seem to be having trouble with spam from your email servers - I have been receiving emails from your mailing list for some time now. The problem is that I do not want them, nor have I ever asked for them. Despite sending 4 requests to the unsubscribe link at the bottom of the emails, I am STILL receiving them! Have you at anytime actually subscribed to this list? If so, did you attempt to unsubscribe from the same email address? I ask this because it may be that a third party is sending the list mail to you. The only way to determine this is for you to send a example of the mail you are receiving _including_ the _complete_ headers to the mailing list maintainers. They ought to be able to sort this out for you. Of course, if there is a third party involved the mailing list maintainers may not be able to help you. Cheers, Nick. -- Please do not email me AS WELL as replying to the list. Please send your reply to the list only. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: passing parameters to configure script of a port
On Sunday, 10 June, 2007 at 14:29:46 +0300, Angelin Lalev wrote: I want to build squid from ports, but I need to pass some custom options to configure script. Something more, I want to be sure that when I run portupdate it won't revert to default options. Which is the right way to do this ? ports-mgmt/portconf may be what you are looking for. I use it to select the correct dictionary for ispell. Cheers, Nick. -- Please do not email me AS WELL as replying to the list. Please send your reply to the list only. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Tagging email subject line with something like [fbsd-questions]
On Wednesday, 25 April, 2007 at 15:44:20 -0600, Chad Perrin wrote: [...] I fully expect that there isn't really an answer aside from using mutt's list subscription functionality, which unfortunately overwrites the name or email of the original sender in the diplay. It doesn't for me. The only time I see the list name in place of the message sender's email address is for my own posts, where it displays the To: address instead of the From: address, which is what I prefer. Perhaps you have something wrong with your setting of index_format? Cheers, Nick. -- Please do not CC me on replies, I read the list and don't need the dupes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Tagging email subject line with something like [fbsd-questions]
On Thursday, 26 April, 2007 at 14:43:35 -0600, Chad Perrin wrote: On Thu, Apr 26, 2007 at 08:03:19PM +0100, N.J. Mann wrote: On Wednesday, 25 April, 2007 at 15:44:20 -0600, Chad Perrin wrote: [...] I fully expect that there isn't really an answer aside from using mutt's list subscription functionality, which unfortunately overwrites the name or email of the original sender in the diplay. It doesn't for me. The only time I see the list name in place of the message sender's email address is for my own posts, where it displays the To: address instead of the From: address, which is what I prefer. Perhaps you have something wrong with your setting of index_format? I think you must misunderstand something in what I said. I'm talking about ways to get visual cues for the list origins of emails. The fact that the subscribe setting in .muttrc allows the display to show the list's address (the To: address) instead of the sender's address (the From: address) is a means of achieving that. That's not the best way, in my opinion, to make the list association of an email clear, but it's the way the subscribe setting does it. Okay, I think I understand. :-) I think the misunderstanding was because I am using mutt very differently from you. I have each list I am subscribed to filtered into its own mail box by procmail. I have listed all of these mailing lists in mutt's subscribed setting. I also have status_on_top set and pager_index_lines set to 10. The up shot of all this is that I know which mailing list I am reading because it is listed in the status line. Separate mail boxes for each mailing list just makes more sense to me. :-) Cheers, Nick. -- Please do not CC me on replies, I read the list and don't need the dupes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Tagging email subject line with something like [fbsd-questions]
On Wednesday, 25 April, 2007 at 14:05:21 -0600, Chad Perrin wrote: On Wed, Apr 25, 2007 at 02:53:40PM +0100, Alex Zbyslaw wrote: Amarendra Godbole wrote: I subscribe to many fbsd lists through gmail, and am not able to visually detect which email was sent to which fbsd list. Is it possible to add a tag in the subject line, something like, [fbsd-q], or [fbsd-questions], or similar so that emails can be visually classified? Given that these lists have been around for a long time, was there a discussion on this? If the idea of tagging was dropped, can someone inform me about the rationale behind this decision? Thanks in advance! All messages are already tagged with a List-ID e.g. List-Id: User questions freebsd-questions.freebsd.org Can gmail not filter on that? Do you have any suggestions for how to do something similar with mutt or procmail? http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-procmail.html Cheers, Nick. -- Please do not CC me on replies, I read the list and don't need the dupes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Tagging email subject line with something like [fbsd-questions]
On Wednesday, 25 April, 2007 at 14:47:30 -0600, Chad Perrin wrote: On Wed, Apr 25, 2007 at 09:30:42PM +0100, N.J. Mann wrote: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-procmail.html I wasn't referring to a desire for instructions on how to use procmail. Sorry, but that is what I thought you were after. I was hoping for some suggestion as to what to set up. It's usually not really polite to change subject lines on a mailing list, so using procmail to add [fbsdq] (or whatever) to the beginning of every subject line doesn't really strike me as a good solution to the problem. Now I am totally confused. What exactly do you want? (If you want to add or remove something from the subject line during local mail delivery use formail.) Cheers, Nick. -- Please do not CC me on replies, I read the list and don't need the dupes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Tagging email subject line with something like [fbsd-questions]
On Wednesday, 25 April, 2007 at 15:14:59 -0600, Chad Perrin wrote: On Wed, Apr 25, 2007 at 10:03:05PM +0100, N.J. Mann wrote: On Wednesday, 25 April, 2007 at 14:47:30 -0600, Chad Perrin wrote: On Wed, Apr 25, 2007 at 09:30:42PM +0100, N.J. Mann wrote: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-procmail.html I wasn't referring to a desire for instructions on how to use procmail. Sorry, but that is what I thought you were after. I was hoping for some suggestion as to what to set up. It's usually not really polite to change subject lines on a mailing list, so using procmail to add [fbsdq] (or whatever) to the beginning of every subject line doesn't really strike me as a good solution to the problem. Now I am totally confused. What exactly do you want? (If you want to add or remove something from the subject line during local mail delivery use formail.) I'm looking for an easy way to visually mark messages as being from the freebsd-questions list so I can recognize them at a glance without screwing with the subject line if I reply. Right. In an earlier message you mentioned mutt and procmail, so here is a procmail/mutt solution. First off write a procmail recipe that matches the mail list(s) you wish to flag. In the action line of said recipe use formail to add the header X-Status. Configure mutt to high light message which contain the X-Status header. If you want me to give you a step-by-step it will have to wait until tomorrow because it is time for me to hit the sack. If you can't wait that long look in the archives for the procmail users' mailing about 6 or so years ago - may be even longer: flagging is what this is called. Oh, just remembered, the above assumes you are using mbox format. If you are using maildir there is a solution, but the action is different. Cheers, Nick. -- Please do not CC me on replies, I read the list and don't need the dupes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: completly remove (or modify) a port
On Wednesday, 18 April, 2007 at 12:16:28 -0600, Ray wrote: Hello all, I have been trying to work with postfix from the ports collection. I need to rebuild it to include mysql support. I tried #make deinstall but a subsequent #make install doesn't give me the options screen. make rmconfig See man ports(7) Cheers, Nick. -- Please do not CC me on replies, I read the list and don't need the dupes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: One hurdle left to switch
On Tuesday, 6 February, 2007 at 10:04:17 -0600, Paul Schmehl wrote: I'm chafing at the bit to get rid of Windows at home and move to FreeBSD. I've even got my wife convinced that she wouldn't have any more problems with KDE than she presently has with Windows. (Reality is she'd have less!) There's just one problem. I can use gnucash to do my finances, but what do I use to do my taxes? Without that, I'm stuck on Windows ('cause I'm damn sure not going to do my taxes by hand!) I'd be willing to pay for a tax program that runs on FreeBSD. Is there one? Have you searched in the ports? http://www.freebsd.org/ports/categories-grouped.html For example, what about finance/opentaxsolver which claims to be US tax prep software? Cheers, Nick. -- Please do not CC me on replies, I read the list and don't need the dupes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS (freebsd /src) confusion
On Monday, 5 February, 2007 at 12:17:18 -0500, Dan Casey wrote: Using cvsup I am upgrading my boxes from RELENG_6_1, to RELENG_6_2. I've been noticing something strange, and I'm wondering if I'm thinking too much into it. I've modified mergemaster so that instead of using diff, it would just append to a text the files that need to be diffed. This way i can do it with vimdiff instead. I would think that the RELENG_6_2 would have more recent files then 6_1. Here are a few examples. I'm looking at cvsweb, which seems to confirm that that the versions of these files are correct. /etc/defaults/devfs.rules version in 6.1 - $FreeBSD: src/etc/defaults/devfs.rules,v 1.3.12.1 2006/04/26 18:39:17 version in 6.2 - $FreeBSD: src/etc/defaults/devfs.rules,v 1.3.8.1 2006/04/26 18:38:43 /etc/defaults/periodic.conf version in 6.1 - $FreeBSD: src/etc/defaults/periodic.conf,v 1.33.2.1 2006/03/08 23:01:18 version in 6.2 - $FreeBSD: src/etc/defaults/periodic.conf,v 1.33.2.2 2006/09/28 01:59:29 I just checked in the CVS repository using the web interface at http://www.freebsd.org/cgi/cvsweb.cgi and it appears you have the correct versions of the files. As to why the devfs.rules is (an apparently) earlier version, I don't know. You could try browsing the CVS repository if you really want to know. :-) Cheers, Nick. -- Please do not CC me on replies, I read the list and don't need the dupes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rc.conf Where to put DNS Servers addresses
On Sunday, 7 January, 2007 at 13:05:04 +0100, VeeJay wrote: During installation, we provide DNS server address, Defaultrouter address, machin's IP address and Netmask address. I can find and change the IP, Netmask and Defaultrouter addresses in /etc/rc.conf. But where to find change DNS1 DNS2 servers IP's? In which file and what location, I can find the DNS Server IP address I gave during installation? /etc/resolv.conf Cheers, Nick. -- Please do not CC me on replies, I read the list and don't need the dupes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS Setting
On Tuesday, 2 January, 2007 at 13:22:15 +0330, Mohamad Babaei wrote: I want to put my web server (ex. www.mysite.com) on a FreeBSD server and my mail server on another server (ex. mail.mysite.com), would you tell me how should i set my DNS setting how my DNS files should look like ? where should i set my MX records ? This is covered in Greg Lehey's excellent book The Complete FreeBSD. You can even download a copy (in PDF format) from his website. For more details see the email message he sends to this list *every* Friday afternoon at about 5pm (UTC) with the subject line The Complete FreeBSD: errata and addenda If you are just starting out in FreeBSD you will find this book a great source of information. Cheers, Nick. -- Please do not CC me on replies, I read the list and don't need the dupes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Calculate the time of last modification of a file
On Wednesday, 27 December, 2006 at 18:53:17 +0300, Odhiambo Washington wrote: Hiya, I hope you had a merry Christmas ;) I am trying to determine the time of last modification of a file, on FreeBSD. The following code achieves the same on Linux: # AGE = (current time) - (time of last modification of $FILE) # please check your systems 'stat' command! AGE=$(($(date +%s) - $(stat -c '%Y' $FILE))) test $AGE -lt $DELAY { echo -n yes exit 0 } I *think* what you are looking for is: stat -f '%Sm' -t '%s' There is probably a much easier way to do that, but I couldn't find it in the five minutes I had to spare. :-) Cheers, Nick. -- Please do not CC me on replies, I read the list and don't need the dupes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error when doing make installworld
On Sunday, 24 December, 2006 at 08:46:15 -0800, Dino Vliet wrote: Hi peeps, I have tried to update my src with cvsup and got stuck because of an error while doing make installworld. My system is an amd64 machine running freebsd 6.1 and I have performed the steps without problems: -make buildworld -make buildkernel kernconf=mykkernel -make installkernel kernconf=mykernel Normally I would then immediately follow this sequence with a mergemaster -p, make installworld and mergemaster -i and then reboot. However, this time I decided to check the handbook and saw that it recommended to do a boot into single user mode between the step -make installkernel kernconf=mykernel AND the step mergemaster -p. So I did it and when I rebooted and saw the beastie splash screen, I hit option 4. Then I had to press enter to get to the shell. When I did I noticed I couldn't cd into the /usr/src directory because the /usr/src directory was missing! Probably because /usr wasn't mounted. Try mount -a and then cd /usr/src Cheers, Nick. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: find port install options
On Wednesday, 20 December, 2006 at 12:42:09 +, Robin Becker wrote: Robin Becker wrote: [...] thread sample script. But I guess I still need to know if any other options were used during the install. /var/db/ports e.g. cat /var/db/ports/portupgrade/options # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for portupgrade-2.1.3.2_1,2 _OPTIONS_READ=portupgrade-2.1.3.2_1,2 WITH_BDB4=true WITHOUT_BDB1=true Cheers, Nick. -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Checking processes without PIDs
On Mon 27 Nov 20:46, [EMAIL PROTECTED] wrote: I have written a script to determine if processes are running. I am using, as an example, ps -ax | grep -c postgrey Are you aware of pgrep(1) ? Cheers, Nick. -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How RAID 10 works (was: Re: Password Security)
PMFJI On Thu 23 Nov 23:08, VeeJay wrote: Well, I am not an expert on FreeBSD. And thats why I don't know that how it works that If 4 Disks of same size for example 146GB each and they are configured with RAID 10, and Root, SWAP, /usr, /var File systems have been created on them. And if one takes one or two harddisks and how come he would be able to read the data when data is splited on 4 disks? With a four disk RAID 10 array you would need two (or more) drives and it would have to be the right two in order to read _all_ of the data. See: http://www.techtutorials.net/tutorials/hardware/raid.shtml RAID 10 is near the bottom. Cheers, Nick. -- Elves are wonderful. They provoke wonder. Elves are marvellous. They provoke marvels. Elves are fantastic. They create fantasies. Elves are glamorous. They project glamour. Elves are enchanting. They weave enchantment. Elves are terrific. They beget terror. No-one ever said elves are _nice_. Elves are _bad_. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Another FBSD utility/script question
On Wed 15 Nov 09:17, Jack Stone wrote: Here I come with another easy one for most on the list -- except for me. I have 12,000 plus lines that have an empty line in between each real line, like so: [...] grep -v '^$' Cheers, Nick. -- With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead. -- RFC 1925 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]