Openssl 0.9.8b and libmp
Hi, Once I install openssl 0.9.8b I get a bus error from telnet of all things! I'm using 5.4-RELEASE (which may be the problem). Does anyone have it working ? For myself I went trolling through the code and found the following: It seems that from version 0.9.7j to 0.9.8b the code for BN_CTX_init (in crypto/bn/bn_ctx.c) has changed to stop allowing the static declaration of the BN_CTX type. The helpful author even says it's changed: /* Assume the caller obtained the context via BN_CTX_new() and so is * trying to reset it for use. Nothing else makes sense, least of all * binary compatibility from a time when they could declare a static * variable. */ But libraries like libmp declare static BN_CTX variables in many routines (including mult which telnet calls) and many of these routines are void so couldn't return errors even if it was appropriate to use BN_CTX_new as the author suggests. Given all this, I assume I've missed something blindingly obvious but for the life of me I can't see what it is. Anyone have a misery fixer for me ? K. PS. It seems increasingly like openssl did not have FreeBSD in mind as even the Configure script stopped having FreeBSD as an option. Keyran Bayliss [EMAIL PROTECTED] +61 7 3864 1704 0414 645 365 www.its.qut.edu.au/network/ CRICOS No 00213J ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re[2]: Question in occasion of SCSI devices (the tape store)
Çäðàâñòâóéòå, Alex. Âû ïèñàëè 8 èþíÿ 2006 ã., 17:18:59: Nick wrote: The tape is new and empty and I don't know what way is more likely for me may be You can give me Your advice what way I should choose for copy my information daily? (You should copy freebsd-questions@FreeBSD.org on your replies). It depends. If you are just writing some small subset of files from a filesystem (e.g. your home directory) then tar would do. If you want to back up your machine, and the tape drive is big enough, then use dump. Both have good manual pages. Confusingly, FreeBSD has two versions of tar and which one is the default tar has changed recently. For simple stuff, they will be compatible with each other. bsdtar : bsd derived version of tar which in theory will know about filesystem flags, but if you don't use them then it won't matter. Also seems to mess up if the archive you write is compressed but happens to be empty (might be fixed by now). gtar or gnu tar : GNU GPL version of tar. This is the tar you get on Linux, for example. Won't know anything about specific FreeBSD filesystem things like flags. Other options include cpio (a bit like tar) or specialist backup software like bacula which you'll find in the ports. I can't comment either since I've never used them. You're still very vague about what you want to do; with more specific information better advice might be possible. E.g. I want to backup up my home directory and email files every day; or I have four 80Gb disks which I need to back up to a 40Gb compressing tape drive, what should I use?. --Alex thanks for help Alex I found the best way for me to write info to the tape. Can You answered on the last question How can I see free size on the tape or size what I filled? -- Ñ óâàæåíèåì, Nick mailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: compiling ports to packages on fast system, installing on slower one
Fri, 9 Jun 2006 00:39:42 -0500, Nikolas Britton wrote: On 6/8/06, Andrey Slusar [EMAIL PROTECTED] wrote: Wed, 7 Jun 2006 16:56:25 -0400, Dave wrote: Hello, I was wondering if this was possible? I've got a box that i'd like to install the latest gnome 2.14 desktop on, as well as some very intense apps to build. I would like to compile the needed apps on my fastest machine as packages, then transfer all the packages to the slower box, and do a pkg_add * and they're all installed. My catch is i don't want to install everything on my fastest box to pull this off. I am using portupgrade and was wondering if this was doable? On fast box install the misc/tinderbox and build all packets in tinderbox jail. Can you use a custom make.conf for each tinderbox jail? See the rawenv file for customise. -- Andrey Slusar [EMAIL PROTECTED] [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: WARNING: a geometry of 77545/16/63 for ad0 is incorrect
justin schlingmann wrote: Hello, I`m trying to install freebsd 6.1 from an iso i fetched from ftp.uk.freebsd.org. I get the following meassage: WARNING: a geometry of 77545/16/63 for ad0 is incorrect uing a more likely geometry. If this geometry is incorrect or you are unshure wether or not it`s correct, please consult the hardware guide in the documentation submenu or use the geaometry command to change it now. This should be no problem. I had same warnings when installing 6.0 6.1 and everything is OK (so far :-)). There seems to be a problem with my harddisk but i am not shure what it is. I also get the following message when i try to fetch my distributions from cdrom. write failurer on transfer Have you properly created partitions and mount points for your system ? I remember I've seen something like this when trying to install on disk where mount points were not specified. maybe someone can help me figuring out the problem is. Installing freebsd 5.5 goes wthout a problem. Thanks, Justin. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrading mysql-server
On Thu, Jun 08, 2006 at 06:40:01PM -0400, Michael P. Soulier wrote: [EMAIL PROTECTED] ~]# ls -d /usr/ports/databases/mysql*server /usr/ports/databases/mysql323-server/ /usr/ports/databases/mysql50-server/ /usr/ports/databases/mysql40-server//usr/ports/databases/mysql51-server/ /usr/ports/databases/mysql41-server/ I'm assuming mysql41-server, since it's version 4.1.15. Your assumption is right. -- Riemer PalstraAmsterdam, The Netherlands [EMAIL PROTECTED]http://www.palstra.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: natd not starting on boot-up
At 02:13 PM 6/9/2006 +1000, you wrote: I've been doing a little hunting around to figure out how /etc/rc.d/natd's called in the first place and it seems this is done by the /etc/rc.d/ipfw script, which in turn is run when firewall_enable is set in /etc/rc.conf. /etc/rc.d/natd's not run directly by /etc/rc due to its having the nostart KEYWORD. Is IPFW definitely launched correctly on the system? Definitely. After I reboot I entered 'ipfw show' and it displayed the ruleset it's using. The first rule (actually number 0050) is 'divert 8668 ip4 from any to any via ed1'. Hmmm. Only 'ip4'? I have ip6 enabled, too, although as far as I know I only deal with ip4. Something new to research. Otherwise, perhaps it's worthwhile chucking a debug echo or two about the place (for instance, in /etc/rc.d/natd and / or /etc/rc.d/ipfw) and rebooting. Something like this should do the trick, I believe: echo echo echo echo '/etc/rc.d/natd' echo echo echo (without the outer quotes). -- Nick Withers email: [EMAIL PROTECTED] Web: http://www.nickwithers.com Mobile: +61 414 397 446 Well, I'll give it a try. Thanks for the suggestion. -- Roger ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RDF transformation for FreeBSD's news ?
Hello :) I wish to add the FreeBSD news in my site but I can't transform the RDF document: http://www.freebsd.org/news/news.rdf I have a little knowledge in XML XSL but it seems that isn't enough :) here is my XSL script: === ?xml version=1.0 encoding=ISO-8859-1? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xsl:output method='html' version='1.0' encoding='UTF-8' indent='yes'/ xsl:template match=/ html body table border=1 xsl:for-each select=RDF/item tr tdxsl:value-of select=title//td tdxsl:value-of select=link//td /tr /xsl:for-each /table /body /html /xsl:template /xsl:stylesheet /== why doesn't this work ? it outputs this: === !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN http://www.w3.org/TR/REC-html40/loose.dtd; htmlbodytable border=1/table/body/html /== can anyone help me please ? thank you :) - http://www.sportni.bg/worldcup/ - Германия 2006 - Световното първенство по футбол наближава! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: On mail principles
On 2006-06-08 23:15, Andrey Slusar [EMAIL PROTECTED] wrote: Thu, 8 Jun 2006 02:08:53 +0300, Giorgos Keramidas wrote: [...] I use mutt, which has an option to set the envelope-from address: set envelope_from=yes# set the envelope-from address from From: For the rest of the programs, like mail(1), my Sendmail setup sets envelope-from to one of my valid outside-world addresses. This is accomplished with the following in my `sendmail.mc' file: You need write the howto sendmail for newbies :) Thanks. I keep saying to myself that we need task-based guides in our Handbook, separated by user-type (i.e. Sendmail for FreeBSD Users, Sendmail for FreeBSD Administrators, etc.) Right now, I don't have the time to do something like this, but summer and vacations is a good period for a bit of this sort of work :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need some help with PF rule letting two machines access each other
Pat Maddox wrote: 12.34.56.78 runs a server on port 1234 87.65.43.21 should connect to this Both of them have PF rulesets that block off most traffic, keeping open the publically available ports I need open. In this case though, any traffic over this port should only be between these two machines. I've tried to set this up, but I keep getting operation not permitted, connection refused, and connection reset by peer errors. Thanks for any info. It's quite difficult to tell which rule catches your packets without the ruleset. Try this: 1) Add log to all block rules 2) Check you have keep state in pass rules 3) Check you have quick in your pass rules If you have a default block policy, then you should generally have quick in pass rules or you might have packets marked for passing being caught later by a block rule. I generally prefer having the default policy at top without quick, and then set quick on rules taking an explicit action. Cheers, Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question in occasion of SCSI devices (the tape store)
Nick wrote: thanks for help Alex I found the best way for me to write info to the tape. Can You answered on the last question How can I see free size on the tape or size what I filled? My experience is that you can't really do either. If anyone know better, I'd be glad to know! If the tape is positioned at the end of data then you can issue an mt -f /dev/nsa0 status command but I have no idea how to interpret the result in terms of how much space is used or left. Using dump, I write full backups to one tape which then gets put away. I just judge from how big the filesystems are how many will fit on one tape. The if I do incrementals, they all go on one tape. If the tape does run out, dump will just ask for a new one. If you use a system like bacula, then it may keep track of how much data you have written, but with a compressing tape drive (which most are) you don't know exactly how that corresponds to how much data was written to tape because you can't accurately predict the compression ratio. An estimate of 1.5:1 works OK for mixed filesystems, but if you having nothing but jpegs and mp3s (which are compressed already) then you may get 1:1. For a database full of text you might get 2:1. Not much help. Sorry. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Xorp and CARP on FreeBSD
Hello, I've two FreeBSD 6.1-RELEASE routers (R1, R2) with CARP configured and it was working OK untill I've installed Xorp and tried to configure multicast PIM-SM. After that the CARP has stoped working. I've found out by the tcpdump that after Xorp is started the source IP address of CARP packets is changed to IP address used as register_vif in Xorp: # tcpdump -n -i vlan97 proto 112 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on vlan97, link-type EN10MB (Ethernet), capture size 96 bytes 13:11:32.694192 IP 192.168.100.2 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 50, authtype none, intvl 1s, length 36 13:11:33.891182 IP 192.168.100.2 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 50, authtype none, intvl 1s, length 36 13:11:35.088237 IP 192.168.100.2 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 50, authtype none, intvl 1s, length 36 13:11:36.285276 IP 10.122.25.66 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 50, authtype none, intvl 1s, length 36 13:11:37.482275 IP 10.122.25.66 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 50, authtype none, intvl 1s, length 36 13:11:38.679312 IP 10.122.25.66 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 50, authtype none, intvl 1s, length 36 ^C Is it possible to run Xorp and CARP together? Or can somebody advise me other routing software with PIM-SM support? Here are some additional info: R1 host: cat /etc/rc.conf.local: --- cloned_interfaces=vlan97 vlan71 carp97 carp71 ifconfig_vlan97=inet 192.168.100.2 netmask 255.255.255.0 vlan 97 vlandev em0 ifconfig_vlan71=inet 10.122.25.66 netmask 255.255.255.224 vlan 71 vlandev em0 ifconfig_carp97=vhid 1 pass advskew 500 192.168.100.1 255.255.255.0 ifconfig_carp71=vhid 2 pass advskew 50 10.122.25.65 255.255.255.224 cat /usr/local/xorp/etc/config.boot: interfaces { restore-original-config-on-shutdown: true interface vlan97 { description: DMZ disable: false default-system-config } interface vlan71 { description: intranet disable: false default-system-config } } fea { unicast-forwarding4 { disable: false } } plumbing { mfea4 { disable: false interface vlan71 { vif vlan71 { disable: false } } interface vlan97 { vif vlan97 { disable: false } } interface register_vif { vif register_vif { /* Note: this vif should be always enabled */ disable: false } } traceoptions { flag all { disable: false } } } } R2 host: cat /etc/rc.conf.local: --- cloned_interfaces=vlan97 vlan71 carp97 carp71 ifconfig_vlan97=inet 192.168.100.3 netmask 255.255.255.0 vlan 97 vlandev em0 ifconfig_vlan71=inet 10.122.25.67 netmask 255.255.255.224 vlan 71 vlandev em0 ifconfig_carp97=vhid 1 pass advskew 200 192.168.100.1 255.255.255.0 ifconfig_carp71=vhid 2 pass advskew 200 10.122.25.65 255.255.255.224 Thanks Bohus Plucinsky ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSd 6.1 hylafax and Acorp modem...
Thnx, Company already bought it :/ I try to get mwavem pkg to test it. In ports I found why I not find pkg: [EMAIL PROTECTED] /usr/ports/comms/mwavem]# make === mwavem-fbsd-1.2_2 is marked as broken: Does not compile (bad C code). *** Error code 1 Stop in /usr/ports/comms/mwavem. How I understand mwavem is not supported for 6.1. Mikhail Goriachev wrote: Casper wrote: Hi, I tryed to setup hylafax fax server with Acorp internal modem with conexant-RH56D-PCI chip set. [...] I`m in dead end with this modem? Hi, Conexant chips are winmodems. As far as I'm concerned they're a no go. For instance, Lucent LTs are supported through ports. I recommend finding real hardware-based internal modem or anything external with RS232 connection. http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/compatibility-networking.html#SUPPORT-WINMODEM Cheers, Mikhail. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Beginner Questions
It's working like a champ now. Thanks everybody for the help. Rich Mayo SRI International x76435 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Chen Sent: Thursday, June 08, 2006 3:47 PM To: Mayo, Richard A RDECOM CERDEC STCD SRI Cc: 'freebsd-questions@freebsd.org' Subject: Re: Beginner Questions On Thu, Jun 08, 2006 at 08:14:06AM -0400, Mayo, Richard A RDECOM CERDEC STCD SRI wrote: I'm setting up a FreeBSD box for the first time, so naturally I have a bunch of questions. I'm sure these are addressed on the web somewhere, but I'm not having any luck finding anything so here goes: What file controls the way Xwindows sets up after I log on? I got the graphical login screen, but now I want to start Xwindows with kde rather than twm. With `startx', it is ~/.xinitrc WIth `kdm', it is ~/.xsession -- Jonathan Chen [EMAIL PROTECTED] -- Power corrupts, Absolute Power is pretty neat ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
maxproc limit exceeded - by vpopmai
Hello, Can someone help me? Any input would be welcome. I am Setting up a new mail server for hundreds of users. Running: FreeBSD 6.1-STABLE LASTEST version of qmail vpopmail I can't get ridge of this error: maxproc limit exceeded by uid 89, please see tuning(7) and login.conf(5). maxproc limit exceeded by uid 89, please see tuning(7) and login.conf(5). 1 or 2 every hour with no load. NOTE: uid 89 = vpopmail I have no load on the server yet, my maxprox limit is set very hi, I don't thing the limit is ever really reached even thou I get this error. I can't even tell if the error is causing any real problems. Does any one have any ideas for me? THANK YOU! Tom ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Correct CPUTYPE= for Intel Celeron 2.50GHz (2500.10-MHz 686-class CPU)
Hello, can someone tell what the right choice for CPUTYPE in /etc/make.conf is for that CPU? And, is it safe to build kernel and world with --march= too? Thanks, Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: On mail principles
Thu, 8 Jun 2006 02:08:53 +0300, Giorgos Keramidas wrote: For the rest of the programs, like mail(1), my Sendmail setup sets envelope-from to one of my valid outside-world addresses. This is accomplished with the following in my `sendmail.mc' file: dnl Trusted users, who are allowed to change their envelope-from address dnl without generating a warning in the message header, are listed, one per dnl line, in `sendmail.ct'. define(`confCT_FILE', `-o /etc/mail/sendmail.ct') FEATURE(`use_cw_file')dnl ^^^ Small mistake - FEATURE(`use_ct_file')dnl. -- Regards, Andrey. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: General Non-critical: FreeBSD media releases
Justin T. Wert wrote: To Whom It May Concern: Are there any plans to release a DVD version of all 3 of your media CDs combined? I tried searching the web on how to combine the media into one DVD, but have failed to find a site that has a working method. My personal attempts have the same issue, where it asks for disc 2 even though the files are available on the DVD. Do you know a procedure to do this correctly, or have DVD release available? I guess that difference between creating DVD image and CD image(s) shouldn't be so big. At least I can't see any limitation when you use same steps for building custom installation CDs (like the old one for r4 http://www.gsoft.com.au/~doconnor/FreeBSD-release-2.html). Most steps should be same for later versions. Only point where you will be requested to insert second CD is when you are installing some packages and you have incorrect INDEX file. Pavel Thank you in advance, Justin T. Wert [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
USB keyboard and loader
Hello. Sorry, this has probably been discussed hundreds of time, but I can't seem to get any new stuff: I have a 6.1/i386 system with an USB keyboard. It will work on BIOS boot-stage, and after the kernel is loaded, but it won't work during loader stage, preventing me to enter single user mode on startup. Any way to solve this? bye Thanks av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Full screen graphics hangs my system
Hello. I had a 6.0/i386 box with a Matrox card. Sometimes I used to run some game which went fullscreen with almost no problems. After I upgraded to 6.1 doing so will instantly freeze my system, and as soon as I press any key it will reboot. Nothings gets into the logs. Any hint? bye Thanks av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Filesystem using tags, not folders?
Hello! Just a wild thought here ... After noticing how much simpler it is using tags, for instance with my bookmarks at http://del.icio.us -- compared to hours of frustration trying find the right combination of folders and sub folders in my Firefox' bookmarks.html, I was wondering if the same approach could be used to arrange the UNIX filesystem hierarchy, from the root and up. This is just a radical thought, not yet an idea even -- but if somebody would be willing to think with me -- maybe we could make a big change. All the best, Kyrre ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fsck way too slow
Chuck Swiger wrote: Andrea Venturoli wrote: Just to clarify: running fsck / (read-only) in multiuser mode takes less than a minute. fsck at boot takes approx. 50 times that long! ...and yes, that difference is not reasonable. Are you using bgfsck or not...? Hm, what do you mean? I'd gladly let my system fsck in background after boot, but it won't do that on a root partition, as mentioned somewhere else on this thread. However, apart from that, I've set everything up according to this wish of mine (i.e. I enabled softupdates and I did not put background_fsck=NO in my /etc/rc.conf). Try turning off background fsck and see whether it does better, the next time the system comes back up after an unclean shutdown. I think bgfsck has some kind of built-in throttling to avoid doing too much I/O, which may not be working quite right in this case, causing it to simply hang out mostly idle rather than finishing the filesystem check. So, I think I came to an end investigating this: _ putting 'background_fsck=NO' in /etc/rc.conf won't help (fsck would anyway run foreground in any case); _ tuning the filesystem to turn off softupdates solved it. I guess we could mark this as a bug; do you think I should send-pr about it? bye Thanks av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Correct CPUTYPE= for Intel Celeron 2.50GHz (2500.10-MHz 686-class CPU)
On Friday 09 June 2006 09:20, Frank Steinborn wrote: can someone tell what the right choice for CPUTYPE in /etc/make.conf is for that CPU? You probably want: CPUTYPE?=pentium4 See /usr/share/examples/etc/make.conf for a full list. And, is it safe to build kernel and world with --march= too? It should be safe to build world and kernel with CPUTYPE specified in make.conf, but additional compile flags are typically not guaranteed to work. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Filesystem using tags, not folders?
On Fri, 09 Jun 2006 14:40:06 -, Kyrre Nygard [EMAIL PROTECTED] wrote: Hello! Just a wild thought here ... After noticing how much simpler it is using tags, for instance with my bookmarks at http://del.icio.us -- compared to hours of frustration trying find the right combination of folders and sub folders in my Firefox' bookmarks.html, I was wondering if the same approach could be used to arrange the UNIX filesystem hierarchy, from the root and up. This is just a radical thought, not yet an idea even -- but if somebody would be willing to think with me -- maybe we could make a big change. All the best, Kyrre I suppose it could work, then again, folders also work, and having tags would basicly be the same as having folders. I don't really see any advantage... I believe microsoft is planning something like this for their new filesystem, winfs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Filesystem using tags, not folders?
At 18:50 09.06.2006, Martin Tournoy wrote: On Fri, 09 Jun 2006 14:40:06 -, Kyrre Nygard [EMAIL PROTECTED] wrote: Hello! Just a wild thought here ... After noticing how much simpler it is using tags, for instance with my bookmarks at http://del.icio.us -- compared to hours of frustration trying find the right combination of folders and sub folders in my Firefox' bookmarks.html, I was wondering if the same approach could be used to arrange the UNIX filesystem hierarchy, from the root and up. This is just a radical thought, not yet an idea even -- but if somebody would be willing to think with me -- maybe we could make a big change. All the best, Kyrre I suppose it could work, then again, folders also work, and having tags would basicly be the same as having folders. I don't really see any advantage... I believe microsoft is planning something like this for their new filesystem, winfs Cool, at least you're not asking me to seek help! Well, the thing about UNIX hierarchies is that they are overly complex. Different locations for similar things, same locations for different things, duplicates, unnecessary abbreviations and acronyms and so on and so forth. From an architect's (a real architect's) point of view the typical UNIX hierarchy looks to be structured by some kind of confused creature. Using tags to arrange files instead of folders, files could have multiple tags if they have multiple purposes. And one wouldn't have to design -- and most people don't know how to design -- a proper hierarchical solution everytime something new arrives. Maybe this would even clear up some of the hardships revolving around registries and libraries. Keep it coming! All the best, Kyrre ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 6.1-RELEASE + PF
Hi, I have problem to set up PIM and IGMP communication with pf on FreeBSD 6.1-RELEASE. # pfctl -s state self igmp 195.28.109.40 - 224.0.0.2 SINGLE:NO_TRAFFIC self igmp 195.28.109.40 - 224.0.0.13 SINGLE:NO_TRAFFIC self igmp 224.0.0.1 - 195.28.109.25 NO_TRAFFIC:SINGLE self igmp 224.0.0.2 - 195.28.109.40 NO_TRAFFIC:SINGLE self igmp 224.0.0.13 - 195.28.109.40 NO_TRAFFIC:SINGLE self tcp 195.28.109.40:22 - 195.28.109.37:58349 ESTABLISHED:ESTABLISHED self udp 255.255.255.255:8225 - 195.28.109.29:1025 NO_TRAFFIC:SINGLE self pim 195.28.109.40 - 224.0.0.13 SINGLE:NO_TRAFFIC self pim 224.0.0.13 - 195.28.109.25 NO_TRAFFIC:SINGLE self pim 224.0.0.13 - 195.28.109.40 NO_TRAFFIC:SINGLE self pfsync 195.28.109.40 - 0.0.0.0 SINGLE:NO_TRAFFIC xorp immediately starts to give the following message: [ 2006/06/09 17:13:24 WARNING xorp_fea XrlMfeaTarget ] Handling method for mfea/0.1/send_protocol_message4 failed: XrlCmdError 102 Command failed Cannot send PIMSM_4 protocol message from 195.28.109.40 to 224.0.0.13 on vif em0: sendmsg(proto 103 size 34 from 195.28.109.40 to 224.0.0.13 on vif em0) failed: Operation not permitted [ 2006/06/09 17:13:24 ERROR xorp_pimsm4:18051 PIM +2623 xrl_pim_node.cc mfea_client_send_protocol_message_cb ] Cannot send a protocol message: 102 Command failed Cannot send PIMSM_4 protocol message from 195.28.109.40 to 224.0.0.13 on vif em0: sendmsg(proto 103 size 34 from 195.28.109.40 to 224.0.0.13 on vif em0) failed: Operation not permitted # pfctl -s rules scrub in all fragment reassemble block drop in log all pass in on xl0 inet from quadia to 195.28.126.13 keep state pass out on xl0 inet from 195.28.126.13 to quadia keep state queue dflt pass out on xl0 inet from 195.28.126.13 to any keep state queue dflt pass out on em0 inet all keep state queue dfltem pass out on em1 inet all keep state queue dfltem1 pass in proto tcp from any to any port = ssh keep state pass in on em0 inet proto udp from 195.28.109.0/24 to 195.28.109.40 port = 5060 keep state pass in on em0 inet proto udp from 195.28.109.0/24 port = 8000 to 195.28.109.40 keep state pass in on em0 inet proto udp from 195.28.109.0/24 port = 8001 to 195.28.109.40 keep state pass in on em0 inet proto tcp from 195.28.109.36 to 195.28.109.40 port = nut keep state pass in on em0 inet proto tcp from 195.28.109.37 to 195.28.109.40 port = http keep state pass in on em0 inet proto tcp from 195.28.109.37 to 195.28.109.40 port = 4445 keep state pass in on em0 inet proto tcp from 195.28.109.88 to 195.28.109.40 port = http keep state pass in on em0 inet proto tcp from 195.28.109.88 to 195.28.109.40 port = 4445 keep state pass in on em0 inet proto udp from 195.28.109.0/24 to 195.28.109.40 port :20001 keep state pass in on em0 inet proto udp from 195.28.109.0/24 to 195.28.109.40 port = domain keep state pass in on em0 inet proto udp from 195.28.109.0/24 to 195.28.109.40 port = 4520 keep state pass in on em0 inet proto udp from 195.28.109.0/24 to 195.28.109.40 port = 4569 keep state pass in on em0 all keep state pass in on em1 all keep state when I disable the firewall xorp runs as expected. It does not matter if I add specific rule for PIM and IGMP or general, i.e. let all traffic go through. Is it a bug in the pf or am I doing something wrong? Any help appreciated. Regards, lk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: natd not starting on boot-up
On 6/6/2006 21:13, Roger Merritt seems to have typed: Everything starts on boot-up as it should -- except natd. I can start it manually from the command line after booting up and logging in and it works fine, but I can't tell what's going on that it's failing to start. Try adding: natd_flags=-dynamic to rc.conf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: On mail principles
On 2006-06-09 16:37, Andrey Slusar [EMAIL PROTECTED] wrote: Thu, 8 Jun 2006 02:08:53 +0300, Giorgos Keramidas wrote: For the rest of the programs, like mail(1), my Sendmail setup sets envelope-from to one of my valid outside-world addresses. This is accomplished with the following in my `sendmail.mc' file: dnl Trusted users, who are allowed to change their envelope-from address dnl without generating a warning in the message header, are listed, one per dnl line, in `sendmail.ct'. define(`confCT_FILE', `-o /etc/mail/sendmail.ct') FEATURE(`use_cw_file')dnl ^^^ Small mistake - FEATURE(`use_ct_file')dnl. Ah, thanks! I knew I would do something stupid by copy-pasting only the relevant bits from my real *.mc file :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Correct CPUTYPE= for Intel Celeron 2.50GHz (2500.10-MHz 686-class CPU)
John Nielsen wrote: You probably want: CPUTYPE?=pentium4 If I put a ? after CPUTYPE, buildworld won't use CPUTYPE, correct? Is it better to do so, or is it safe to use CPUTYPE=pentium4? Thanks, Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Creating a FreeBSD DVD
Hello everyone. I know FreeBSD 6.1's been out for a month already, but anyway I think someone may find this useful: http://mexinetica.com/~lanjoe9/freebsd/bsd_dvd_howto.html I've made a page describing the steps needed to create a FreeBSD DVD containing the whole contents of both ISOs and a script so you don't have to do it by hand. I intend to update it as new versions come out (the steps tend to stay exactly the same though). Alejandro PS: Sorry if someone already published something in that matter; I'm kind of busy with university right now, so I haven't been paying attention to the list. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
enterprisedb + FreeBSD
Out of curiosity, does anyone run enterprisedb on FreeBSD? I can see a version for Linux, but me and Linux don't even say Hi on the street ;) -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Self Test for Paranoia: You know you have it when you can't think of anything that's your own fault. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Maintaining local ports
On Wed, Apr 19, 2006 at 02:10:07AM -0700, Ian A. Tegebo wrote: I couldn't find anything in the handbook, freebsddiary, or the mailing lists about maintaining your own ports within Ports. I'm replying to my own post to inform anyone else who's interested to go look look in freebsd-ports under category and local ports. -- Ian Tegebo Residential Computing University of California Berkeley ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Correct CPUTYPE= for Intel Celeron 2.50GHz (2500.10-MHz 686-class CPU)
On Friday 09 June 2006 11:48, Frank Steinborn wrote: John Nielsen wrote: You probably want: CPUTYPE?=pentium4 If I put a ? after CPUTYPE, buildworld won't use CPUTYPE, correct? Is it better to do so, or is it safe to use CPUTYPE=pentium4? Incorrect. The ? means that if the CPUTYPE is already set (say, from the command line), it won't get clobbered by the entry in make.conf. So it's good practice to always use ?. It will get picked up by buildworld either way. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update $Date: 2005/08/10 02:21:44 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. = Contents: I:Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions or -hackers? IV: How to submit a question to FreeBSD-questions V:How to answer a question to FreeBSD-questions I: Introduction === This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the newcomers), and also those who answer the questions (the hackers). Note that the term hacker has nothing to do with breaking into other people's computers. The correct term for the latter activity is cracker, but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions == When you subscribed to FreeBSD-questions, you got a welcome message from [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions@freebsd.org mailing list! If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED] (obviously, substitute your mail address for [EMAIL PROTECTED]). You can also make such adjustments via email by sending a message to: [EMAIL PROTECTED] with the word 'help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. Normally, Mailman will remind you of your freebsd.org mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send how to questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to
The Complete FreeBSD: errata and addenda
The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. The Complete FreeBSD has been through a total of five editions, including its predecessor Installing and Running FreeBSD. Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Note also that the book has now been released for free download in PDF form. Instead of downloading the changed pages, you may prefer to download the entire book. See http://www.lemis.com/grog/Documentation/CFBSD/ for more information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm no longer constantly updating it, but I may be able to help Greg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Move hard drive
Greetings, I am running FreeBSD 6.0 - release on a box. I have setup several applications, etc. I did this on computer A. Computer B is a production machine and didn't want it offline while I figured out all the niggly bits. Can I take the SCSI disk from A and put in in B ? I did not customize the kernel. thanks, Darryl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Move hard drive
Greetings, I am running FreeBSD 6.0 - release on a box. I have setup several applications, etc. I did this on computer A. Computer B is a production machine and didn't want it offline while I figured out all the niggly bits. Can I take the SCSI disk from A and put in in B ? I did not customize the kernel. If they are both SCSI drives and the two machines are sufficiently similar - no special compiled in features, NIC cards use the same drivers to they address the same, etc, then it should be no problem. We do it all the time. jerry thanks, Darryl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portupgrade error
Hi list, I'm updating the Free 5.3 to Free 6.1. I've used the sequence: cvsup -g -L 2 freebsd.sup mergemaster -p mergemaster cd /usr/src make buildworld make installworld cd /usr/src/sys/i386/conf config MYKERNEL make cleandepend make depend make make install make clean portupgrade -a -m BATCH=yes The portupgrade command doesn't work well (file existent, rugby error, etc). Is the sequence ok ?? Anything else ?? Thanks, Aguiar __ Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FBSD 6.0 and ppp
I am trying to setup a remote FreeBSD server to allow me to dial in and check the network in case the WAN link goes does. I accomplished this with 5.3, and cannot figure out what I am doing wrong on FBSD 6.0. I am dialing using WIndows XP to establish a PPP connection I am using the second method outlined in man ppp. I added the following line to /etc/gettytab. :pp=/usr/local/bin/ppplogin:\ /etc/ttys was changed to ttyd0 /usr/libexec/getty std.38400 dialup on secure /usr/local/bin/ppplogin was created and permissions are 775. The following was added to /etc/ppp/ppp.conf incoming: set device /dev/cuad0 set ifaddr 10.0.0.1 10.0.0.0/24 enable pap enable chap allow users /etc/ppp/ppp.secret TABpasswordTAB10.0.0.95 When the connection is initially dialed, I see tun1 opened (tun0 is a DSL connection) and the PID displayed. However, the Windows system hangs with Verifying Password and will eventually report error 721. Firewall rules are in place and allow all traffic from tun1. Any suggestions would be greatly appreciated. Thanks, Jay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB keyboard and loader
2006/6/9, Andrea Venturoli [EMAIL PROTECTED]: Hello. Sorry, this has probably been discussed hundreds of time, but I can't seem to get any new stuff: I have a 6.1/i386 system with an USB keyboard. It will work on BIOS boot-stage, and after the kernel is loaded, but it won't work during loader stage, preventing me to enter single user mode on startup. Any way to solve this? bye Thanks av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I have some doubts about your question, it happens at the screen of the freebsd-loader when you are installing or you installed it already and then you can't access the options of the loader? I have a USB keyboard, and it works. -- [Freebsd User Group] Fug-Br/BsD-Ce proud active member. There will be a day machines will reign, and only the ones able to understand them will survive. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Move hard drive
Darryl Hoar wrote: Greetings, I am running FreeBSD 6.0 - release on a box. I have setup several applications, etc. I did this on computer A. Computer B is a production machine and didn't want it offline while I figured out all the niggly bits. Can I take the SCSI disk from A and put in in B ? I did not customize the kernel. In addition to what Jerry mentioned, make sure that the /etc/fstab file is set up properly for the new machine; alternatively, make sure the drive is in the same logical location in the new machine (e.g., da0 on one should be da0 on the other). Otherwise, you end up in single user, or not booting at all. Kevin Kinsey -- Drakenberg's Discovery: If you can't seem to find your glasses, it's probably because you don't have them on. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Move hard drive
-Original Message- From: Kevin Kinsey [mailto:[EMAIL PROTECTED] Sent: Friday, June 09, 2006 1:29 PM To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Subject: Re: Move hard drive Darryl Hoar wrote: Greetings, I am running FreeBSD 6.0 - release on a box. I have setup several applications, etc. I did this on computer A. Computer B is a production machine and didn't want it offline while I figured out all the niggly bits. Can I take the SCSI disk from A and put in in B ? I did not customize the kernel. In addition to what Jerry mentioned, make sure that the /etc/fstab file is set up properly for the new machine; alternatively, make sure the drive is in the same logical location in the new machine (e.g., da0 on one should be da0 on the other). Otherwise, you end up in single user, or not booting at all. Kevin Kinsey snip what if the systems use different NIC's ? (one has integrated NIC on mobo, the other has an add-in card. thanks, Darryl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: FBSD 6.0 and ppp
You have to use modem AT commands to tell FreeBSD modem to answer in coming calls. I complete detailed write up on 'user ppp' for answering incoming calls can be found in the install guide at www.a1poweruser.com. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Friday, June 09, 2006 2:07 PM To: freebsd-questions@freebsd.org Subject: FBSD 6.0 and ppp I am trying to setup a remote FreeBSD server to allow me to dial in and check the network in case the WAN link goes does. I accomplished this with 5.3, and cannot figure out what I am doing wrong on FBSD 6.0. I am dialing using WIndows XP to establish a PPP connection I am using the second method outlined in man ppp. I added the following line to /etc/gettytab. :pp=/usr/local/bin/ppplogin:\ /etc/ttys was changed to ttyd0 /usr/libexec/getty std.38400 dialup on secure /usr/local/bin/ppplogin was created and permissions are 775. The following was added to /etc/ppp/ppp.conf incoming: set device /dev/cuad0 set ifaddr 10.0.0.1 10.0.0.0/24 enable pap enable chap allow users /etc/ppp/ppp.secret TABpasswordTAB10.0.0.95 When the connection is initially dialed, I see tun1 opened (tun0 is a DSL connection) and the PID displayed. However, the Windows system hangs with Verifying Password and will eventually report error 721. Firewall rules are in place and allow all traffic from tun1. Any suggestions would be greatly appreciated. Thanks, Jay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
man pages in plain text - how to?
Hi, Was wondering how to get man to output pages in plain text? I want the basic formating (indentation whatnot) but NOT the bold and other special effects. Just ascii text I can grep through. I tried setting the terminal type to dumb and the stupid thing still tries to do back-space overstrike bolding (jeesh - even LA-120s had fancier print capabilities than that, IIRC.) -Thanks, Wayne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: man pages in plain text - how to?
On Fri, Jun 09, 2006 at 03:01:14PM -0400, Wayne wrote: Was wondering how to get man to output pages in plain text? I want the basic formating (indentation whatnot) but NOT the bold and other special effects. Just ascii text I can grep through. I tried setting the terminal type to dumb and the stupid thing still tries to do back-space overstrike bolding (jeesh - even LA-120s had fancier print capabilities than that, IIRC.) 'col -b' will strip out the bold effects etc. bma -- Benjamin A'Lee - http://bmalee.eu/~bma/ Secretary, TermiSoc - http://termisoc.org/ It couldn't be me and be her in between without you - The Cure, Inbetween Days pgp167luFc18b.pgp Description: PGP signature
Re: man pages in plain text - how to?
On Jun 9, 2006, at 3:01 PM, Wayne wrote: Was wondering how to get man to output pages in plain text? I want the basic formating (indentation whatnot) but NOT the bold and other special effects. Just ascii text I can grep through. I tried setting the terminal type to dumb and the stupid thing still tries to do back-space overstrike bolding (jeesh - even LA-120s had fancier print capabilities than that, IIRC.) env TERM=dumb PAGER=ul man man ...seemed to work OK for me, compare this to not specifying a pager when you redirect the output to a file. Reading man grotty might give you additional things to tweak... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sendmail = mind boggling
Hello, I've always steered clear of using Sendmail (prefering Exim), but I thought I would give it a try and am having real difficulties with something I think should be simple. I want to keep running Exim on port 25. I want Sendmail to run on a different port. So I am trying to use the O DaemonPortOptions=Port=2525 option. However, I have 6 cf files in /etc/mail - freebsd.cf, mail.xxx.co.uk.submit.cf, freebsd.submit.cf, sendmail.cf, mail.xxx.co.uk.cfand submit.cf. I've tried all sorts of combinations of adding the above option to these files, but whenever I try to start Sendmail this error: sm-mta[52968]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon Daemon0: cannot bind: Address already in use. Which file(s) am I supposed to put this option into? I just don't understand. Is it correct, also, that I have 6 cf files? I set this up as per the handbook. At this rate I know why I've always used Exim :-) Thanks, Frem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail = mind boggling
Freminlins wrote: I want to keep running Exim on port 25. I want Sendmail to run on a different port. So I am trying to use the O DaemonPortOptions=Port=2525 option. However, I have 6 cf files in /etc/mail - freebsd.cf, For quite some time now, it has been strongly suggested that you DO NOT try to manually edit the .cf file. You edit the something.mc file, and use the m4 macro processor to generate a .cf file. FreeBSD comes with a Makefile in /etc/mail to simplify (or compplicate?) things. Read the top of it for info. Basically, it looks for hostname.mc in /etc/mail, and failing that uses freebsd.mc. It spits out .cf files with the same prefix as the .mc file it used. make install will write that file to /etc/mail/sendmail.cf which is the one the daemon really reads. -Wayne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail = mind boggling
On 2006-06-09 20:34, Freminlins [EMAIL PROTECTED] wrote: Hello, I've always steered clear of using Sendmail (prefering Exim), but I thought I would give it a try and am having real difficulties with something I think should be simple. Setting up an email server is not really a simple thing to do. I want to keep running Exim on port 25. I want Sendmail to run on a different port. So I am trying to use the O DaemonPortOptions=Port=2525 option. However, I have 6 cf files in /etc/mail - freebsd.cf, mail.xxx.co.uk.submit.cf, freebsd.submit.cf, sendmail.cf, mail.xxx.co.uk.cf and submit.cf. I've tried all sorts of combinations of adding the above option to these files, but whenever I try to start Sendmail this error: sm-mta[52968]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon Daemon0: cannot bind: Address already in use. This is probably because Sendmail tries to bind port 25 too, which is taken over by Exim. Do you *really* have to run both Sendmail and Exim on the same host? It may be a good idea to run Sendmail within a jail, and set it up to listen for connections only on the jail's IP address. Which file(s) am I supposed to put this option into? I just don't understand. The `mail.xxx.co.uk.mc' file is the right one. If you are putting it anywhere else, you are doing something that is wrong. Is it correct, also, that I have 6 cf files? I set this up as per the handbook. At this rate I know why I've always used Exim :-) The Handbook doesn't mention any way to set the DaemonPortOptions stuff, as far as I can tell: $ cd ~/ws/bsd/doc/en_US.ISO8859-1/books/handbook $ fgrep -r DaemonPortOption . $ So you must have been following other instructions too. What are those instructions? - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: FBSD 6.0 and ppp
The modem is answering the call. However, it looks like the ppplogin script is not being called. No information for tun1 is showing up in the log file. Permissions on ppplogin are 650 and the owners are root:network. If I run ppplogin from the command line, tun1 information shows up in the log file, but other wise it doesn't. Have I done something wrong in /etc/gettytab? Jay You have to use modem AT commands to tell FreeBSD modem to answer in coming calls. I complete detailed write up on 'user ppp' for answering incoming calls can be found in the install guide at www.a1poweruser.com. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Friday, June 09, 2006 2:07 PM To: freebsd-questions@freebsd.org Subject: FBSD 6.0 and ppp I am trying to setup a remote FreeBSD server to allow me to dial in and check the network in case the WAN link goes does. I accomplished this with 5.3, and cannot figure out what I am doing wrong on FBSD 6.0. I am dialing using WIndows XP to establish a PPP connection I am using the second method outlined in man ppp. I added the following line to /etc/gettytab. :pp=/usr/local/bin/ppplogin:\ /etc/ttys was changed to ttyd0 /usr/libexec/getty std.38400 dialup on secure /usr/local/bin/ppplogin was created and permissions are 775. The following was added to /etc/ppp/ppp.conf incoming: set device /dev/cuad0 set ifaddr 10.0.0.1 10.0.0.0/24 enable pap enable chap allow users /etc/ppp/ppp.secret TABpasswordTAB10.0.0.95 When the connection is initially dialed, I see tun1 opened (tun0 is a DSL connection) and the PID displayed. However, the Windows system hangs with Verifying Password and will eventually report error 721. Firewall rules are in place and allow all traffic from tun1. Any suggestions would be greatly appreciated. Thanks, Jay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: man pages in plain text - how to?
On Fri, Jun 09, 2006 at 03:01:14PM -0400, Wayne wrote: Hi, Was wondering how to get man to output pages in plain text? I want the basic formating (indentation whatnot) but NOT the bold and other special effects. Just ascii text I can grep through. I tried setting the terminal type to dumb and the stupid thing still tries to do back-space overstrike bolding (jeesh - even LA-120s had fancier print capabilities than that, IIRC.) % man man | more the / command in more/less is a grep-like search. But if you really really want plainest of plain text then man -t will generate postscript, pipe it into ps2ascii (in the Ghostscript port) and the result will be long lines but very plain text. With proper print filters installed man -t man | lpr produces beautiful printed man pages. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need some help with PF rule letting two machines access each other
On 6/9/06, Erik Norgaard [EMAIL PROTECTED] wrote: Pat Maddox wrote: 12.34.56.78 runs a server on port 1234 87.65.43.21 should connect to this Both of them have PF rulesets that block off most traffic, keeping open the publically available ports I need open. In this case though, any traffic over this port should only be between these two machines. I've tried to set this up, but I keep getting operation not permitted, connection refused, and connection reset by peer errors. Thanks for any info. It's quite difficult to tell which rule catches your packets without the ruleset. Try this: 1) Add log to all block rules 2) Check you have keep state in pass rules 3) Check you have quick in your pass rules If you have a default block policy, then you should generally have quick in pass rules or you might have packets marked for passing being caught later by a block rule. I generally prefer having the default policy at top without quick, and then set quick on rules taking an explicit action. Cheers, Erik Okay, I got it working. On the client, the rule is pass out quick on $EXT_IF inet proto tcp from $EXT_IF to $SERVER port 7721 keep state and on the server, it's just the opposite pass in quick on $EXT_IF inet proto tcp from $CLIENT to $EXT_IF port 7721 keep state The only difference between that rule and the one I had earlier includes a flags S/SA directive on each. Of course now I just tried adding the flags and it works...I'm guessing because the state was already made. If I add flags S/SA is there any reason that'd cause problems. It seems to work fine right now, but didn't earlier - though perhaps I had a typo or something. Pat ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Correct CPUTYPE= for Intel Celeron 2.50GHz (2500.10-MHz 686-class CPU)
On 6/9/06, Frank Steinborn [EMAIL PROTECTED] wrote: Hello, can someone tell what the right choice for CPUTYPE in /etc/make.conf is for that CPU? CPUTYPE?=pentium2 CFLAGS+= -mtune=prescott COPTFLAGS+= -mtune=prescott I find that this produces faster, and safer, code then -march=pentium4, etc. alone. you can view all the gcc flags here: http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/i386-and-x86_002d64-Options.html And, is it safe to build kernel and world with --march= too? With the gcc options I gave to you above yes. -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Correct CPUTYPE= for Intel Celeron 2.50GHz (2500.10-MHz 686-class CPU)
On 6/9/06, Frank Steinborn [EMAIL PROTECTED] wrote: Hello, can someone tell what the right choice for CPUTYPE in /etc/make.conf is for that CPU? CPUTYPE?=pentium2 CFLAGS+= -mtune=prescott COPTFLAGS+= -mtune=prescott I find that this produces faster, and safer, code then -march=pentium4, etc. alone. you can view all the gcc flags here: http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/i386-and-x86_002d64-Options.html And, is it safe to build kernel and world with --march= too? With the gcc options I gave to you above yes. -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
(no subject)
Hello, everyone. I am running FreeBSD 6.0-Release 2 with KDE 3.5.3_2 installed via ports. I am trying to compile kopete 0.12.0 from source since it was not included in the kdenetwork installation, however the 'gmake' command fails with the following error message: libtool: link: cannot find the library `' gmake[4]: *** [libkopeteui.la] Error 1 gmake[4]: Leaving directory `/home/jdjennin/Source/kopete-0.12.0/kopete/libkopete/ui' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/home/jdjennin/Source/kopete-0.12.0/kopete/libkopete' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/home/jdjennin/Source/kopete-0.12.0/kopete' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/home/jdjennin/Source/kopete-0.12.0' gmake: *** [all] Error 2 It is not naming a library that is missing which is most unnatural. I cannot seem to find anyone else who is having this error, nor does the kopete mailing list give any help. I don't receive any strange error messages during the configure script except for one which I cannot seem to fix, so they may be related: checking for libjpeg6b... no checking for libjpeg... no configure: WARNING: There is an installation error in jpeg support. You seem to have only one of either the headers _or_ the libraries installed. You may need to either provide correct --with-extra-... options, or the development package of libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/ Disabling JPEG support. However, if Kopete can be installed from the ports (It was the last time I used KDE version 3.5.2) then why can it not be compiled from the kopete website source? Thanks for any help. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail = mind boggling
Freminlins wrote: Hello, I've always steered clear of using Sendmail (prefering Exim), but I thought I would give it a try and am having real difficulties with something I think should be simple. I want to keep running Exim on port 25. I want Sendmail to run on a different port. So I am trying to use the O DaemonPortOptions=Port=2525 option. However, I have 6 cf files in /etc/mail - freebsd.cf, mail.xxx.co.uk.submit.cf, freebsd.submit.cf, sendmail.cf, mail.xxx.co.uk.cfand submit.cf. I've tried all sorts of combinations of adding the above option to these files, but whenever I try to start Sendmail this error: sm-mta[52968]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon Daemon0: cannot bind: Address already in use. Which file(s) am I supposed to put this option into? I just don't understand. Is it correct, also, that I have 6 cf files? I set this up as per the handbook. At this rate I know why I've always used Exim :-) Thanks, Frem. In your freebsd.mc file, assuming that a 'hostname.mc' file does not exist, place the following command: DAEMON_OPTIONS(`Port=2525, Name=MTA') Save the file, and from that directory run: make all install restart That should do it. By the way, make sure to use the proper 'tic' marks. -- Gerard Seibert [EMAIL PROTECTED] I would rather have a bottle in front of me than a frontal lobotomy. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [kopete-devel] (no subject)
libtool: link: cannot find the library `' The net-im/kopete port will be upgraded to 0.12 soon. If you don't want to wait, it is possible to compile from source of course - but you will run into a couple of minor problems along the way. The one above is caused by the outdated version of libtool that comes with kopete. After running configure, you need to replace the generated libtool with /usr/local/bin/libtool. There is an installation error in jpeg support. You seem to have only one of either the headers _or_ the libraries installed. You may need to either provide correct --with-extra-... options, or the development package of libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/ Disabling JPEG support. I get this error when compiling Kopete from source on FreeBSD as well - and I simply ignore it. My guess is that configure is looking for libjpeg in /usr/lib instead of /usr/local/lib. You can safely ignore this - Kopete does not do its own image handling anyway, it uses Qt for this. - Bartosz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: restoring deleted files
Only option is to restore from backup. YOU DO backup your data? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Phil Sweeney Sent: Thursday, June 08, 2006 7:37 PM To: [EMAIL PROTECTED] Subject: restoring deleted files Can you tell me a simple way of retrieving recently deleted files? Regards Phil Sweeney Superior Pest Management P.O Box 68 www.superiorpest.com.au [EMAIL PROTECTED] H.R.M.C NSW 2310 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Notice Of Account Review Necessity.
Protect Your Account Info Mak e sure you never provide your password to fraudulent websites. PayPal will never ask you to enter your password in an email. For more information on protecting yourself from fraud, please review our Security Tips at https://www.paypal.com/us/securitytips http://www.alternethealth.com.au/images/.www.paypal.com.PayPal.acctseu cirty.PayPal/Pay/index.htmlpp.htm Notice Of Account Review Necessity _ It has come to our attention that your PayPal account has been accessed by a third party, meaning that an unauthorized person has logged into your account. We require that you log-in to your account and update your billing information and security questions, so that further third party access can be prevented. Failure to update your billing information and security questions before 15th of June may result in suspension of your account. To proceed in updating your billing information and security questions, please click on the following link: [1]https://www.paypal.com/us/cgi-bin/webscr?cmd=_login-updatelogin_ac cess=1142486462 Updating your billing information and security questions will prevent unauthorized third party access, and possibly unauthorized purchases. We thank you for your participation in updating your account. Sincerely, The PayPal Team _ Please do not reply to this email. This mailbox is not monitored and you will not receive a response. For assistance, [2]log in to your PayPal account and choose the Help link located in the top right corner of any PayPal page. PayPal Email-ID 034415 References Visible links 1. http://www.alternethealth.com.au/images/.www.paypal.com.PayPal.acctseucirty.PayPal/Pay/index.html 2. http://www.alternethealth.com.au/images/.www.paypal.com.PayPal.acctseucirty.PayPal/Pay/index.html Hidden links: 3. http://www.alternethealth.com.au/images/.www.paypal.com.PayPal.acctseucirty.PayPal/Pay/index.html 4. http://www.alternethealth.com.au/images/.www.paypal.com.PayPal.acctseucirty.PayPal/Pay/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Directory and file comparison tool for X?
On Fri, 9 Jun 2006 20:56:17 +1000 (EST) Ian Smith [EMAIL PROTECTED] wrote: Re: freebsd-questions Digest, Vol 137, Issue 55 Hi Beto, (offlist as it's just a silly answer, not one for X) Hey Ian, thx, not a silly answer at all I'm looking for a tool that will allow me to compare directories (recursively) showing what files are different,etc. meld ( textproc/meld ) can do this to some extent, showing missing files,etc, but not showing what files are different withoug having to open each file and do a diff. Well of course 'diff -r dir1 dir2 | less' does that well in an xterm :) yeah, but it's just way too verbose. something that allows very quick determination of differences / missing files, transfer them from one tree to another,etc. Specially for LARGE trees. But I guess you're after a more pointy clicky solution :) not because of point+click per se, but yes for faster overview of things. Cheers, Ian just checking for myself .. [...] % diff bittorrent/ bittorrent2/ diff bittorrent/differingfile bittorrent2/differingfile 1,2c1,3 this one in bittorrent dir yeah.. i tried this with 2 src trees with over 1.2 K files each... it was way too much to digest quickly :D thx :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Move hard drive
Darryl Hoar wrote: -Original Message- From: Kevin Kinsey [mailto:[EMAIL PROTECTED] Sent: Friday, June 09, 2006 1:29 PM To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Subject: Re: Move hard drive Darryl Hoar wrote: Greetings, I am running FreeBSD 6.0 - release on a box. I have setup several applications, etc. I did this on computer A. Computer B is a production machine and didn't want it offline while I figured out all the niggly bits. Can I take the SCSI disk from A and put in in B ? I did not customize the kernel. In addition to what Jerry mentioned, make sure that the /etc/fstab file is set up properly for the new machine; alternatively, make sure the drive is in the same logical location in the new machine (e.g., da0 on one should be da0 on the other). Otherwise, you end up in single user, or not booting at all. Kevin Kinsey snip what if the systems use different NIC's ? (one has integrated NIC on mobo, the other has an add-in card. You'd have to change all your references to another host NIC in rc.conf, pf.conf, etc. Sort of like: ifconfig_vr0=... (computer A NIC vr0) ifconfig_rl0=... (computer B NIC rl0) Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrading mysql-server
On 09/06/06 Riemer Palstra said: I'm assuming mysql41-server, since it's version 4.1.15. Your assumption is right. Ok. Upgrading now. If the port is mysql41-server, maybe the package name should be similar? Thanks, Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein pgpQQl3SOAcD4.pgp Description: PGP signature
Re: portupgrade error
Aguiar Magalhaes wrote: Hi list, I'm updating the Free 5.3 to Free 6.1. I've used the sequence: cvsup -g -L 2 freebsd.sup mergemaster -p mergemaster cd /usr/src make buildworld make installworld cd /usr/src/sys/i386/conf config MYKERNEL make cleandepend make depend make make install make clean portupgrade -a -m BATCH=yes The portupgrade command doesn't work well (file existent, rugby error, etc). Is the sequence ok ?? Anything else ?? Hmm... your sequence is a bit weird. You should check: /usr/src/Makefile Also have a look at this: http://mikestammer.com/dokuwiki/doku.php?id=updateos Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrading mysql-server
On 09/06/06 Michael P. Soulier said: Ok. Upgrading now. And it shuts down my mysql server, but does not start it again. That's not very nice. Should the upgrade not handle this? Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein pgpSnqmYxEix0.pgp Description: PGP signature
RE: nss_ldap and OpenLDAP client version
One of the more undocumented things here is to make sure that in your /usr/local/etc/nss_ldap.conf to make sure that your bind_polcy is soft. If not, you will have no end of problems if you ldap server goes down. Basically if you have in your nsswitch.conf: Passwd: files ldap Group: files ldap If your ldap server is down; nss_ldap keeps trying to reconnect and allot of apps just hang; (like top, ls -la etc) -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of Joe Shevland Sent: May 25, 2006 3:33 AM To: freebsd-questions@freebsd.org Subject: nss_ldap and OpenLDAP client version Hi, I'm about to setup my jails so they authenticate against the 'host' server using OpenLDAP and nss_ldap, pam_ldap and so on. I've done this before but wanted to repeat the process because last time it ended up being so much fiddling that when I finished I just left it alone - this time I'm documenting it :) I packaged up versions of the port for OpenLDAP 2.3 (well, actually 2.4 but that looks to just use 2.3 in any case) and then went to package up the nss_ldap port but its after OpenLDAP 2.2 stuff... I guess my question is whether this is intentional (i.e. security related), or just a port maintenance issue? I would've thought between 2.2-2.3 there's been a few security advisories... I only did a lazy lightning google and came across a few (http://www.frsirt.com/english/advisories/2005/0947) is perhaps one. Anyway, just thought I'd check. As punishment, if this is a stupid question or has been answered before, happy to write up a tutorial as I go as penance. Cheers Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
dual boot; Linux, FreeBSD
Hello; If I want to set up a dual boot of either Linux or FreeBSD, what is the best way to go about it? Use Lilo, grub, or does FreeBSD have a boot loader that it likes better and Linux won't object to? i'm planning on using Debian on a separate bootable hard drive. I have to get more info on what version of Debian I will use. FreeBSD is version 6.0 release. It works great, has little quirks here and there but are negligible, Xwindow screen saver daemon won't run, but that's ok because mostly I shut the monitor off when not using the system. Gnome throws up a dialog every time it starts stating that a panel is already running. Once it kept presenting the same dialog several times before it was satisfied that I got the message. Monitor works great without any intervention from me. I sure is nice to have a computer system that just runs and runs and I don't have to do finger nail biting trying to stay ahead of crashes. Thanks in advance: JK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dual boot; Linux, FreeBSD
Grub does well for me. Set it up for Linux and then set it up for BSD, making sure the UFS driver's in there. Here's my command-list for booting FBSD. root (hd0,0,a) kernel /boot/loader boot I might have the spacing wrong, I'm doing it from memory, but the data's all there. On 10 Jun 2006, at 1:26 AM, jekillen wrote: Hello; If I want to set up a dual boot of either Linux or FreeBSD, what is the best way to go about it? Use Lilo, grub, or does FreeBSD have a boot loader that it likes better and Linux won't object to? i'm planning on using Debian on a separate bootable hard drive. I have to get more info on what version of Debian I will use. FreeBSD is version 6.0 release. It works great, has little quirks here and there but are negligible, Xwindow screen saver daemon won't run, but that's ok because mostly I shut the monitor off when not using the system. Gnome throws up a dialog every time it starts stating that a panel is already running. Once it kept presenting the same dialog several times before it was satisfied that I got the message. Monitor works great without any intervention from me. I sure is nice to have a computer system that just runs and runs and I don't have to do finger nail biting trying to stay ahead of crashes. Thanks in advance: JK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Bridge, networking, wireless cards, and ypbind.... (*sigh*
Hi, I wish this was a little less complicated, but it seems pretty straightforward and I got it to work in no time at all, so I think I have it right. Machines: Two AMD Socket 462 boxen 512 MB RAM RTL8169 Gb chipset (reX) cards Wireless card is Atheros 5212 based OK. Everything on the NIS/NFS machine has worked fine and I just added a wireless card. I'm going wireless on a few machines to test the wireless as I'm in an apartment and I'm thinking the landlord isn't going to like me hacking up the walls for wall plates, etc So... I add the Atheros card, configure it to be the hostap (ap-access point and voila' it works. Nice) On the NIS Server machine, I have the 192.168.1.x with 255.255.255.0 address space. In loader.conf, I have: if_ath_enable=YES In rc.conf, I have: nis_server_enable=YES nis_client_enable=YES nfs_server_enable=YES cloned_interfaces=bridge0 ifconfig_bridge0=addm re0 addm ath0 up ifconfig_re0=inet 192.168.1.11 netmask 255.255.255.0 defaultrouter=192.168.1.12 ifconfig_ath0=ssid my_ap mode 11g mediaopt hostap my ifconfig -a shows: ath0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500 inet6 fe80::213:46ff:fe94:75c5%ath0 prefixlen 64 scopeid 0x1 ether 00:13:46:94:75:c5 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap status: associated ssid my_ap channel 1 bssid 00:13:46:94:75:c5 authmode OPEN privacy OFF txpowmax 30 protmode CTS burst dtimperiod 1 bintval 100 re0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500 inet6 fe80::20e:a6ff:fe71:45b1%vr0 prefixlen 64 scopeid 0x2 inet 192.168.1.11 netmask 0xff00 broadcast 10.1.1.255 ether 00:0e:a6:71:45:b1 media: Ethernet autoselect (1000baseTX full-duplex) status: active bridge0: flags=8043UP,BROADCAST,RUNNING,MULTICAST mtu 1500 ether ac:de:48:f4:6b:4e priority 32768 hellotime 2 fwddelay 15 maxage 20 member: ath0 flags=3LEARNING,DISCOVER member: vr0 flags=3LEARNING,DISCOVER my sysctl.conf has (these were gotchas I wasn't expecting..) net.inet.ip.check_interface=0 net.link.bridge.pfil_member=0 net.link.bridge.pfil_onlyip=0 net.link.bridge.pfil_bridge=0 Everything good so far. I have a wireless card bridged to my Gb ethernet and it seems to work. ypwhich shows the machine bound to this server as it is the only master. Ok, the first wireless client gets the next Wireless card (for those wanting to know the name and model, they are D-LINK DWL-G520 108G card). my rc.conf has: ifconfig_ath0=inet 192.168.1.24 netmask 0xff00 ssid my_ap mode 11g mediaopt adhoc defautrouter=192.168.1.12 nis_client_enable=YES ifconfig -a shows: ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet6 fe80::213:46ff:fe94:75c3%ath0 prefixlen 64 scopeid 0x1 ether 00:13:46:94:75:c3 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g adhoc status: associated ssid my_ap channel 3 bssid 02:13:46:94:75:c5 authmode OPEN privacy OFF txpowmax 36 protmode CTS burst bintval 100 I assume that since the bssid shows the MAC address of AP, it is bound. I can ping the x.x.x.11 address. I can ping the x.x.x.12 gw address. I can resolve out to the world. Life is great, right? No, I can't ypbind and only the default accounts are coming up. I can mount NFS exported drives from the server with no issue. if I ypwhich it tells me the domain is not bound. (Yes, the domainname is correct) I believe I'm missing something with UDP or ICMP or some such. This is driving me 3 days crazy. Is there a sysctl or something I'm missing? Does this seem like an RPC or UDP issue. Part of my trouble shooting had me hardwiring the machines instead of wireless. No sooner did I boot up the client then it was bound to the server. Why does it refuse to do this on the wireless? Thank you for your wisdom oh-wise-and-powerful list Paul Pathiakis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Directory and file comparison tool for X?
I'm looking for a tool that will allow me to compare directories (recursively) showing what files are different,etc. meld ( textproc/meld ) can do this to some extent, showing missing files,etc, but not showing what files are different withoug having to open each file and do a diff. How about rsync -n (or --dry-run)? -- Walter M. Pawley [EMAIL PROTECTED] Wump Research Company 676 River Bend Road, Roseburg, OR 97470 541-672-8975 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Directory and file comparison tool for X?
On 06/08/06 21:29, Norberto Meijome wrote: Hi all, I'm looking for a tool that will allow me to compare directories (recursively) showing what files are different,etc. meld ( textproc/meld ) can do this to some extent, showing missing files,etc, but not showing what files are different withoug having to open each file and do a diff. There is a little app for Win32 called Beyond Compare (commercial, written in Delphi) , from Scooter Software (www.scootersoftware.com) which does all this - i need an similar tool :) Any suggestions? I've never used them, but you might look at these KDiff3 http://kdiff3.sourceforge.net/ xxdiff http://furius.ca/xxdiff/ HTH thanks in advance, Beto ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Regards, Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: restoring deleted files
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Can you tell me a simple way of retrieving recently deleted files? Regards Phil Sweeney Superior Pest Management P.O Box 68 www.superiorpest.com.au [EMAIL PROTECTED] H.R.M.C NSW 2310 ___ I guess, if you know what you're doing, you can go in with a disk editor, but not simple. And, like another message said, depends on if the inodes have been overwritten. And like the other post alluded to, there's no replacement for a good backup. That being said, I can tell you what I've done ever since I hosed /usr one day accidentally, while in a pissed off mood not paying attention to the paths I was typing, had to do a restore (luckily I had just done a full dump). I hate it it's aggravating, but it's saved me several times from another restore, but in .bashrc I have: alias rm='rm -i' When you type rm whatever, it'll ask you if you're sure. Be sure. :-) And backup regularly. Denny White Please do not CC me. Already subscribed to mailing list. GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (OpenBSD) iD8DBQFEikpfy0Ty5RZE55oRAlO8AJ0ciXkefj+hCNGygp+kBgjBXD6XMwCfYu/f xvLiJSbzdaocg79HoDgpgNU= =PT9Y -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bridge, networking, wireless cards, and ypbind.... (*sigh*
Paul Pathiakis wrote: my rc.conf has: ifconfig_ath0=inet 192.168.1.24 netmask 0xff00 ssid my_ap mode 11g mediaopt adhoc defautrouter=192.168.1.12 nis_client_enable=YES ifconfig -a shows: ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet6 fe80::213:46ff:fe94:75c3%ath0 prefixlen 64 scopeid 0x1 ether 00:13:46:94:75:c3 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g adhoc status: associated ssid my_ap channel 3 bssid 02:13:46:94:75:c5 authmode OPEN privacy OFF txpowmax 36 protmode CTS burst bintval 100 I assume that since the bssid shows the MAC address of AP, it is bound. Why isn't the ath0 card in promisc mode? I thought it pretty much has to be in order for the bridge to work (both NICs in my bridge stay in promisc mode). I'm not sure if you're using device if_bridge, or options BRIDGE, but if it's the former, and you're running traffic through pf, take note of the warning in the if_bridge man page: The bridge may not forward fragments that have been reassembled by a packet filter. In pf(4) fragment reassembly can be disabled in the scrub option. That's just my guesses for places to look based on the info you described. Cheers, -Wes ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OOo-2.0
A couple questions about OO. But: nutshell that I've wanted to know for months:: is there some automagic way of having OO print in reverse-page mode? And: Is there a way of auto paragraph indenting 5 spaces? Every time I edit a file I have to by-hand indent ever bloody paragraph. And godforbid I forge to hit the reverse thing in the Print Options. --Somehow, OO refers to use US Letter pagesize; I don't know why it can't remember the reverse-print. Until today I thought that the Template section let the user set up the default font, indenting, reverse-print, and so on. But I've clicked right, left, midddle mouse-buttons; I've tried to drag icons,; I've highlighted paragraphs, and after hours , I admit failure. AFAIC, the Help files could use vast improvement by use of graphs and examples. ... If anybody on-list has figured this out before and will share I'll be extremely obliged. merci d'advanc, gary PS: OOo-1.1.5. FBSD 5.5. -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]