Re: USB mouse problems.
El Sáb 09 Ago 2008, Bernt Hansson escribió: > > ums0: on uhub1 > ums0: 8 buttons and Z dir > if you see those lines, means the kernel found your mouse, run the command ps axw|grep -i mouse to see if moused is running maps ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how to let MPD check the password against POP3, IMAP or WWW?
On Sun, Aug 10, 2008 at 6:20 PM, assetburned <[EMAIL PROTECTED]> wrote: > Hi > > I have a MPD VPN server and another machine which runs WWW, IMAP and POP3 > services. > > I know that I could check if a password is valid e.g. by writing a script > which calls a Lynx command. > > But how can I forward the password from MPD to that script? And I also think > that the password has to be unencrypted for the lynx command, so how can I > manage that? > > CU AssetBurned I run dovecot with MySQL database on one of my servers. Dovecot provides POP3/IMAP. I also have mpd5 on this box and I use credentials from the DB (which contains cleartext passwords) for mpd5 to authenticate, but I do it using a script which extracts the username and cleartext password and writes those to mpd.secret, and also sets the correct permissions on the file. It's a simplistic shell script, called from cron once a day. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Oh My God! They killed init! You Bastards!" --from a /. post ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
web log in FreeBSD box to /exchange
Aloha, One of my clients just switched from a RedHat server to an /exchange web mail on some kind of M$ server. I used to get emails by ssh into the Linux box on my FreeBSD terminal. I tried to get onto the URL they gave me for the webmail on line, but it wants me to load an unamed binary for some reason. I had web mail from another client 2 years ago that I just logged on to a url and up it came with a place to input your user name. It was squirell mail if I remember correctly. Any Ideas how to get on to this web mail site with out down loading some M$ file? Do we have a FreeBSD work around for this? Thanks ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: [EMAIL PROTECTED] > "All that's really worth doing is what we do for others."- Lewis Carrol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: terminology question - upgrading one port with another
On 08/11/2008 10:31 PM Jim wrote: I'm trying to update something (actually install KDE4), and In need to make an 'update chain', but I can't remember the proper term. Namely I have port found in 'foo/abc' (abc-12345) and want to replace it with 'var/xyz'. I know there are several ways to do this (one involving entries in a file in etc?), but I cannot come up with the proper terms to find what I'm looking for in a search? Can anyone tell me a few terms that might help with this one? I've tried compbinations of "port", "upgrade", "search" and "different", but that (unsurprisingly) isn't getting anywhere. portupgrade --origin maybe? From man portupgrade: Replace ghostscript-gnu with ghostscript-afpl: portupgrade -o print/ghostscript-afpl ghostscript-gnu -o / --origin was originally the option to supply a missing origin of an outdated package before FreeBSD 4.2, but this example shows another useful usage. Use portupgrade like this, and all the depen- dencies on the old package (ghostscript-gnu) will be succeeded to the new one (ghostscript-afpl) cleanly, without leaving inconsistency. Ron Wilhoite ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Xerox Phaser 6110 printer
> > Does anybody have a Xerox Phaser 6110 printer working with FreeBSD? > > I've never had any trouble with my 6120, but I guess the crucial > difference is the PostScript support in the 6120. The 6130 "just works" -- it internally supports lpr/lpd, not even needing CUPS -- but it, too, is PostScript. I'd be very cautious about any printer that doesn't support PostScript or at least PCL, even one from a first-rate supplier like Xerox. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD, Ubuntu and Win XP on one system
> I recommend installing FreeBSD first, then Windows and then > Ubuntu ... Unless something has changed since the last time I was messing with this sort of thing, one hazard of installing a Linux last is that there may by then be no space left for the /boot partition, which has to be below cylinder 1024 to be accessible by BIOS. One might want to allocate what will become /boot as early in the process as possible. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
terminology question - upgrading one port with another
I'm trying to update something (actually install KDE4), and In need to make an 'update chain', but I can't remember the proper term. Namely I have port found in 'foo/abc' (abc-12345) and want to replace it with 'var/xyz'. I know there are several ways to do this (one involving entries in a file in etc?), but I cannot come up with the proper terms to find what I'm looking for in a search? Can anyone tell me a few terms that might help with this one? I've tried compbinations of "port", "upgrade", "search" and "different", but that (unsurprisingly) isn't getting anywhere. Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: general questions about 7.0 and computer efficiency......
On Tue, Aug 12, 2008 at 12:46:56AM +0100, Chris Whitehouse wrote: > > Hi Gary > > Just back from hols so hope I'm not too late to add 2c. If you do go for > new machines it's worth doing some research. I found there's no single > component to go for when aiming for energy efficiency, you need to look > at them all. tHis was the point one person made, and of course it makes sense to weigh every variable. Including use patterns. E.G., I've cut my personal hacking way down, save for PHP, but still build most things during a portupgrade. > I made energy efficiency and silence the top priorities > when researching parts for my current desktop and the two pretty much go > together. I ended up with Asus M2NPV-VM motherboard and AMD 35watt cpu > and Seasonic high efficiency power supply. The CPU is even lower power > than AMD's low power range (search for ADD3800CUBOX). It was cheap then > but they are hard to find now. There seems to be a lot of variation in > CPU power consumption in CPU's with the same performance, eg > ADO3800CUBOX, virtually identical, is 65 watts. Do you build your hardware from the tower case up? ---Green is "in" these days; so maybe some of us, or each of us, can contribute to a best-of list for those who are going to find a local builder or roll their own. First time I'll be in an "in" group :-) > > You can also reduce consumption by choosing an energy efficient model of > power supply and by choosing lower output power. I calculated the power > consumption for each component and found I could buy the smallest power > supply in the Seasonic range and still have power to spare. Only one > hard drive of course. I bought SATA but it turns out IDE uses less > power. Also limiting the amount of memory and keeping the monitor > brightness turned down keeps power consumption down. Hmm, any idea if a large drive <= 200G is more/less watts than having, oh, 4Gigs of ram?? > > It's a while since I measured the power consumption of the finished > machine but I seem to remember it uses about 35 watts at idle and about > 95 watts while exercising everything to the max. The Dells at work use > quite a lot more, in the region of 60 to 130 I think. Not that bad if you've got only one box. My Ubuntu is a bear to reboot, sometimes, because the mouse goes nuts every other reboot. > > It's a good idea to turn computers off at the wall when not using them > not just shut them down. I was surprised to find mine uses about 25 > watts when shut down. Again the Dells at work use even more. The > corporate environment must waste so many megawatts... > > For servers my workplace is heading towards fewer physical machines and > running virtual servers to implement their 'green ICT' policy. > > It's great to hear that someone else is thinking about the environmental > effects. I've been thinking about my footprint ever since talking to a friend up in Ottawa who was looking into building a hay-bail home. This is [tiny] green [/tiny]. Hay-bail insulation is [HUGE] Green [/HUGE]. I told him I was going to buy some land north of Nome and plant palm trees! gary > > Chris > -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD, Ubuntu and Win XP on one system
Sorry for not making myself clear... When I said "Ubuntu uses GRUB boot manager and as far as I remember it won't recognize FreeBSD partition out of the box" I was referring to the GRUB installed by Ubuntu installation which won't come with FreeBSD partition configured. On Mon, Aug 11, 2008 at 6:48 PM, Mike Clarke <[EMAIL PROTECTED]>wrote: > On Monday 11 August 2008, Bruno Schmitt wrote: > > > Ubuntu uses GRUB boot manager and as far as I remember it won't > > recognize FreeBSD partition out of the box, so you will have to add > > some lines to /boot/grub/menu.lst > > > > # For booting FreeBSD > > title FreeBSD 5.2 > > root (hd0,a) > > chainloader +1 > > > > where "(hd0,a)" reflects the position of the FreeBSD primary > > partition. > > Grub does recognise FreeBSD partitions so you can use either the > chainloader command or point grub directly to /boot/loader, though I > can't speak for the Ubuntu version. Here's the menu file for my box > with FreeBSD 6.3, FreeBSD 7.0 and Windoze: > > default 0 > timeout 3 > hiddenmenu > color white/blue yellow/blue > > title FreeBSD 6.3 > root (hd0,0,a) > kernel /boot/loader > > title FreeBSD 7.0 > root (hd0,1,a) > kernel /boot/loader > > title MS Windows > root(hd0,3) > makeactive > chainloader +1 > > title Floppy > root (fd0) > chainloader +1 > > > -- > Mike Clarke > ___ > 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: [kde-freebsd] KDE4 libssl conflicts
On Tuesday 12 August 2008 00:57:16 Warren Liddell wrote: > How do i avoid//overturn this conflict ? > > > /usr/bin/ld: warning: libssl.so.4, needed by /usr/local/lib/libcurl.so, may > conflict with libssl.so.5 > /usr/bin/ld: warning: libcrypto.so.4, needed by /usr/local/lib/libcurl.so, > may conflict with libcrypto.so.5 > /usr/bin/ld: warning: libz.so.3, needed by /usr/local/lib/libcurl.so, may > conflict with libz.so.4 > /usr/bin/ld: warning: libm.so.4, needed by /usr/local/lib/libxslt.so, may > conflict with libm.so.5 > /usr/bin/ld: warning: libcrypt.so.3, needed > by /usr/local/lib/mysql/libmysqlclient.so, may conflict with libcrypt.so.4 > ../librdf/.libs/librdf.so: undefined reference to `db_create' > ../librdf/.libs/librdf.so: undefined reference to `db_strerror' looks like it's already known: http://groups.google.com/group/lucky.freebsd.ports/browse_thread/thread/062933bb91c04166?fwc=1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: general questions about 7.0 and computer efficiency......
Gary Kline wrote: Folks, Actually, I have two 'general-computer' type questions, but it might be better to ask them in separate posts. First about FBSD (6.x or 7.x) and newer vs older computers. First, 7.0 seems as stable or more so than its predecessor. It may even be faster and more efficient. How much more "green" this is isn't a main question. But let's take my 1998 Computer each maxed out with a Gig or close to and having been upgraded to small 2005 drives. Would it make more sense from a environmental vp to buy a newer, faster servers with probably more efficient drives, or just buy new drives and stay at the current 400MHz speed? I kep track on the load on my main server, and it is rarely above 0.20. If the load is a poor metric of power use, what is better? (My new `Watt-o-Meter' is checking the power right now, but I would like to know what drink the most juice: disk,RAM, processor, OpSys? Number of hit/hours? I want my upgrades to be as cost-effective as possible, in other words. thanks in advance, gary Hi Gary Just back from hols so hope I'm not too late to add 2c. If you do go for new machines it's worth doing some research. I found there's no single component to go for when aiming for energy efficiency, you need to look at them all. I made energy efficiency and silence the top priorities when researching parts for my current desktop and the two pretty much go together. I ended up with Asus M2NPV-VM motherboard and AMD 35watt cpu and Seasonic high efficiency power supply. The CPU is even lower power than AMD's low power range (search for ADD3800CUBOX). It was cheap then but they are hard to find now. There seems to be a lot of variation in CPU power consumption in CPU's with the same performance, eg ADO3800CUBOX, virtually identical, is 65 watts. You can also reduce consumption by choosing an energy efficient model of power supply and by choosing lower output power. I calculated the power consumption for each component and found I could buy the smallest power supply in the Seasonic range and still have power to spare. Only one hard drive of course. I bought SATA but it turns out IDE uses less power. Also limiting the amount of memory and keeping the monitor brightness turned down keeps power consumption down. It's a while since I measured the power consumption of the finished machine but I seem to remember it uses about 35 watts at idle and about 95 watts while exercising everything to the max. The Dells at work use quite a lot more, in the region of 60 to 130 I think. It's a good idea to turn computers off at the wall when not using them not just shut them down. I was surprised to find mine uses about 25 watts when shut down. Again the Dells at work use even more. The corporate environment must waste so many megawatts... For servers my workplace is heading towards fewer physical machines and running virtual servers to implement their 'green ICT' policy. It's great to hear that someone else is thinking about the environmental effects. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrade v5.x to v7.0
** At 00:25 +0200 on 08/12/2008, Ivan Voras wrote: Vince Sabio wrote: I am currently running FreeBSD v5.1 (yes, I am a Bad Person(tm)), and need to update it to v7.0. Questions: 1. Can I go straight from v5.1 to v7.0? Or do I need to make a stop at v6.x? Theoretically it might be possible but definitely not recommended. 5.1 is very old (it's not even labeled STABLE Neither am I -- so my FreeBSD box and I are even. - are you sure "FreeBSD updates" track such old releases?) I don't think they do. and there might be unexpected problems. 2. I'm Unix shell literate with a reasonable level of Solaris sysadmin experience, but have no experience (yet) with FreeBSD updates. Is there a site with step-by-step instructions for the uninitiated, to help minimize Pr(failure)? 3. Anything else I should know? You probably don't want to do it with binary upgrades, for many reasons, including unexpected problems (i.e. possibility of ending up with a system so messed up nobody could help you restore it). Do a source upgrade to 6.0 then to 7.0 - it's not hard. For best effects, you need to also recompile all additional ports installed on the server (actually, you *can* run ports compiled for 5.x on 7.x but as soon as you need to upgrade one of them, you'll probably need to upgrade all or most of them because of cross-dependencies). Got it. There are sites that go through the 6.x to 7.0 upgrade, but I've foud nothing that explains how to get from 5. to 6.x. Any ideas here? __ Vince Sabio [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: Kernel compile R7.0 i386 GENERIC, fails
>> In previous releases. It was possible to make at leas the generic >> kernel compile out of the box. > >It still is. You have to get the full sources though. > >What you are trying to do now, by extracting more parts of the source >tree as you need them is a very good way to learn the dependencies of >the various parts of the source tree, but it is likely to fail a few >times until you get all the necessary bits. > >All this is *very* good as learning experience, but it may be >frustrating if you just want ``something that works now, instead of, >say, a week later''. I found the errors: 1) add "device acpi" to kernel configuration file. 2) Faulty FreeBSD NFS server makeing directory entries empty. So I got all the required source distributions. And I got the ae and ath driver upgraded and working. Thanks anyway for trying to point in the right direction. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
installing in a ext3 partition?
Is it possible to install in an existing ext3 partition? Can freebsd make use of a linux-swap as swap space? how? _ Plug&Play te trae en exclusiva los mejores conciertos de la red http://club.prodigymsn.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: KDE4 libssl conflicts
Hi-- On Aug 11, 2008, at 3:57 PM, Warren Liddell wrote: How do i avoid//overturn this conflict ? You've got a mix of older and newer library versions, which makes me think that you are trying to do a partial upgrade of your ports after upgrading the FreeBSD base system to a newer version. You really need to rebuild all ports when doing that, or else you'll run into issues. However, the specific problem you mention should have been resolved by this change here: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/126410 ...so please double-check that your ports tree has been updated to get this fix. Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
KDE4 libssl conflicts
How do i avoid//overturn this conflict ? /usr/bin/ld: warning: libssl.so.4, needed by /usr/local/lib/libcurl.so, may conflict with libssl.so.5 /usr/bin/ld: warning: libcrypto.so.4, needed by /usr/local/lib/libcurl.so, may conflict with libcrypto.so.5 /usr/bin/ld: warning: libz.so.3, needed by /usr/local/lib/libcurl.so, may conflict with libz.so.4 /usr/bin/ld: warning: libm.so.4, needed by /usr/local/lib/libxslt.so, may conflict with libm.so.5 /usr/bin/ld: warning: libcrypt.so.3, needed by /usr/local/lib/mysql/libmysqlclient.so, may conflict with libcrypt.so.4 ../librdf/.libs/librdf.so: undefined reference to `db_create' ../librdf/.libs/librdf.so: undefined reference to `db_strerror' gmake[1]: *** [redland-db-upgrade] Error 1 gmake[1]: Leaving directory `/usr/ports/textproc/redland/work/redland-1.0.7/utils' gmake: *** [all-recursive] Error 1 *** Error code 2 Stop in /usr/ports/textproc/redland. *** Error code 1 Stop in /usr/ports/textproc/soprano. *** Error code 1 Stop in /usr/ports/x11/kdelibs4. *** Error code 1 Stop in /usr/ports/x11/kdebase4-runtime. *** Error code 1 Stop in /usr/ports/x11/kde4. *** Error code 1 Stop in /usr/ports/x11/kde4. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Kernel compile R7.0 i386 GENERIC, fails
On Mon, 11 Aug 2008 18:32:02 +0200 (MEST), Peter B <[EMAIL PROTECTED]> wrote: >>> Extracted sources: sbase, srelease, ssys >> >> You also need scontrib (ACPI sources are there) component and maybe >> some others for successful build. btw, this is not a very usual (and >> a simple) way to make kernel. > > I added "device acpi" to the kernel configuration file. And it made the error > go away. I'm downloading scontrib.* now. > > But now it complains on: > ln -sf /usr/obj/usr/src/sys/GENERIC/opt_ses.h opt_ses.h > awk -f @/tools/makeobjops.awk @/kern/device_if.m -h > awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h > awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p > awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q > awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h > make: don't know how to make cam.c. Stop > *** Error code 2 > In previous releases. It was possible to make at leas the generic > kernel compile out of the box. It still is. You have to get the full sources though. What you are trying to do now, by extracting more parts of the source tree as you need them is a very good way to learn the dependencies of the various parts of the source tree, but it is likely to fail a few times until you get all the necessary bits. All this is *very* good as learning experience, but it may be frustrating if you just want ``something that works now, instead of, say, a week later''. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrade v5.x to v7.0
Vince Sabio wrote: I am currently running FreeBSD v5.1 (yes, I am a Bad Person(tm)), and need to update it to v7.0. Questions: 1. Can I go straight from v5.1 to v7.0? Or do I need to make a stop at v6.x? Theoretically it might be possible but definitely not recommended. 5.1 is very old (it's not even labeled STABLE - are you sure "FreeBSD updates" track such old releases?) and there might be unexpected problems. 2. I'm Unix shell literate with a reasonable level of Solaris sysadmin experience, but have no experience (yet) with FreeBSD updates. Is there a site with step-by-step instructions for the uninitiated, to help minimize Pr(failure)? 3. Anything else I should know? You probably don't want to do it with binary upgrades, for many reasons, including unexpected problems (i.e. possibility of ending up with a system so messed up nobody could help you restore it). Do a source upgrade to 6.0 then to 7.0 - it's not hard. For best effects, you need to also recompile all additional ports installed on the server (actually, you *can* run ports compiled for 5.x on 7.x but as soon as you need to upgrade one of them, you'll probably need to upgrade all or most of them because of cross-dependencies). signature.asc Description: OpenPGP digital signature
Re: Xerox Phaser 6110 printer
On 11/08/08 17:33, Mike Clarke wrote: > Does anybody have a Xerox Phaser 6110 printer working with FreeBSD? My > current inkjet is on it's last legs and the 6110 looks like a good deal > at only 90 GBP for a colour laser. It's listed in the OpenPrinting > database as working "mostly" but I'm not sure if that applies to > FreeBSD as well as Unix and how good "mostly" is. > > I've never had any trouble with my 6120, but I guess the crucial difference is the PostScript support in the 6120. -- Chris Hastie Find tree care advice at http://www.tree-care.info/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: mysql and BIND 9.4.2
Thanks Chris, I'll look into this. Have you or anyone you know ever set something like this before? What I'm trying to do is replace our name servers, they will be Virtualized. James Johnson -Original Message- From: Chris Hastie [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2008 3:04 PM To: Johnson, James Subject: Re: mysql and BIND 9.4.2 On 11/08/08 19:17, Johnson, James wrote: > Does any know how to make mysql and BIND work together. > > Configure bind with --with-dlz-mysql. I seem to recall that using --disable-threads is also recommended with MySql. Lots of info at http://bind-dlz.sourceforge.net/ There is an issue with bind giving up if the MySQL server goes away, which is helped by this patch: --- contrib/dlz/drivers/dlz_mysql_driver.c.orig 2007-11-15 09:08:05.0 + +++ contrib/dlz/drivers/dlz_mysql_driver.c 2007-11-15 09:10:49.0 + @@ -923,6 +923,13 @@ pass = getParameterValue(argv[1], "pass="); socket = getParameterValue(argv[1], "socket="); +if(mysql_options((MYSQL *) dbi->dbconn, MYSQL_OPT_RECONNECT, "1")) { + isc_log_write(dns_lctx, DNS_LOGCATEGORY_DATABASE, + DNS_LOGMODULE_DLZ, ISC_LOG_ERROR, + "Could not set database reconnect option"); +} + + for (j=0; dbc == NULL && j < 4; j++) dbc = mysql_real_connect((MYSQL *) dbi->dbconn, host, user, pass, dbname, port, socket, -- Chris Hastie Find tree care advice at http://www.tree-care.info/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mysql and BIND 9.4.2
On 11/08/08 19:17, Johnson, James wrote: > Does any know how to make mysql and BIND work together. > > > Configure bind with --with-dlz-mysql. I seem to recall that using --disable-threads is also recommended with MySql. Lots of info at http://bind-dlz.sourceforge.net/ There is an issue with bind giving up if the MySQL server goes away, which is helped by this patch: --- contrib/dlz/drivers/dlz_mysql_driver.c.orig 2007-11-15 09:08:05.0 + +++ contrib/dlz/drivers/dlz_mysql_driver.c 2007-11-15 09:10:49.0 + @@ -923,6 +923,13 @@ pass = getParameterValue(argv[1], "pass="); socket = getParameterValue(argv[1], "socket="); +if(mysql_options((MYSQL *) dbi->dbconn, MYSQL_OPT_RECONNECT,"1")) { + isc_log_write(dns_lctx, DNS_LOGCATEGORY_DATABASE, + DNS_LOGMODULE_DLZ, ISC_LOG_ERROR, + "Could not set database reconnect option"); +} + + for (j=0; dbc == NULL && j < 4; j++) dbc = mysql_real_connect((MYSQL *) dbi->dbconn, host, user, pass, dbname, port, socket, -- Chris Hastie Find tree care advice at http://www.tree-care.info/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Monitoring raid health with mpt
I have a Dell PowerEdge 860 with SAS 5iR RAID controller and FreeBSD 6.2. The controller is configured for RAID 1. The controller is recognised as mpt0 and seen as a SCSI device da0. All seems to be working fine, but is there any way to tell if one of the disks fails? Lots of searching has suggested that most people reckon 'no', but some reckon sysctl -a | grep nonoptimal_volumes should come up with something useful. I've had a poke around in the source, which is probably pointless since my knowledge of C is next to zilch. But it looks like a number of sysctl oids are defined in mpt_raid.c: vol_member_wce, vol_queue_depth, vol_resync_rate and nonoptimal_volumes. I see none of these, just a couple from mpt.c: paddington# sysctl dev.mpt.0 dev.mpt.0.%desc: LSILogic SAS/SATA Adapter dev.mpt.0.%driver: mpt dev.mpt.0.%location: slot=8 function=0 dev.mpt.0.%pnpinfo: vendor=0x1000 device=0x0054 subvendor=0x1028 subdevice=0x1f09 class=0x01 dev.mpt.0.%parent: pci2 dev.mpt.0.debug: 3 dev.mpt.0.role: 1 Should I expect to see some other values? Will the nonoptimal_volumes value turn up if a drive fails? Or will I see some messages in syslog? Anything that will give me some notice of a failed drive would help - the machine is colocated so keeping an eye open for flashing LEDs isn't really an option :( This is the relevant bit of demesg: mpt0: port 0xec00-0xecff mem 0xfe9fc000-0xfe9f,0xfe9e-0xfe9e irq 16 at device 8.0 on pci2 mpt0: [GIANT-LOCKED] mpt0: MPI Version=1.5.13.0 mpt0: mpt_cam_event: 0x16 mpt0: Unhandled Event Notify Frame. Event 0x16 (ACK not required). mpt0: mpt_cam_event: 0x12 mpt0: Unhandled Event Notify Frame. Event 0x12 (ACK not required). mpt0: mpt_cam_event: 0x12 mpt0: Unhandled Event Notify Frame. Event 0x12 (ACK not required). mpt0: mpt_cam_event: 0x16 mpt0: Unhandled Event Notify Frame. Event 0x16 (ACK not required). mpt0: mpt_cam_event: 0xb mpt0: Unhandled Event Notify Frame. Event 0xb (ACK not required). da0 at mpt0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-5 device da0: 300.000MB/s transfers, Tagged Queueing Enabled da0: 237464MB (486326272 512 byte sectors: 255H 63S/T 30272C) Trying to mount root from ufs:/dev/da0s1a -- Chris Hastie Find tree care advice at http://www.tree-care.info/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD, Ubuntu and Win XP on one system
On Monday 11 August 2008, Bruno Schmitt wrote: > Ubuntu uses GRUB boot manager and as far as I remember it won't > recognize FreeBSD partition out of the box, so you will have to add > some lines to /boot/grub/menu.lst > > # For booting FreeBSD > title FreeBSD 5.2 > root (hd0,a) > chainloader +1 > > where "(hd0,a)" reflects the position of the FreeBSD primary > partition. Grub does recognise FreeBSD partitions so you can use either the chainloader command or point grub directly to /boot/loader, though I can't speak for the Ubuntu version. Here's the menu file for my box with FreeBSD 6.3, FreeBSD 7.0 and Windoze: default 0 timeout 3 hiddenmenu color white/blue yellow/blue title FreeBSD 6.3 root (hd0,0,a) kernel /boot/loader title FreeBSD 7.0 root (hd0,1,a) kernel /boot/loader title MS Windows root(hd0,3) makeactive chainloader +1 title Floppy root (fd0) chainloader +1 -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Xerox Phaser 6110 printer
On Monday 11 August 2008, Warren Block wrote: > Printers with sole-source drivers like that make me nervous. If the > driver or certain features doen't work on your system, it doesn't > leave a lot of options. > > foo2qpdl doesn't appear to be in ports, but probably it'll build okay > anyway. If it were me, I'd make sure that builds and runs first, > making a port of it. Then test the output on a sample printer before > buying. I'm using CUPS which seems to support the Phaser 6110 via the SpliX port so I assume I wouldn't need foo2qpdl. But rather worryingly pkg-descr lists the 6110 as "Untested". I don't have the necessary skills to hack the driver if things don't work so it looks like I'll probably have to eliminate this model from my list unless I can get any feedback from anybody who is successfully using one with FreeBSD. -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD, Ubuntu and Win XP on one system
Le Mon, 11 Aug 2008 18:05:10 +0200, "Jack Raats" <[EMAIL PROTECTED]> a écrit : > I would like to put FreeBSD, Ubuntu and WInXP on one system using a > boot manager. > > Which version do I have to put first on the harddisk, which second > and which last? > > I also want to know which bootmanager to use? By default, (the last time i tried Ubuntu) Ubuntu removes the bootmanager to put Grub. But with the "alternate" CD of Ubuntu you can choose to install Grub (or Lilo) on the Linux partition. For the bootmanager I use GAG, GAG is cool and very simple. I'm not sure is there is still an alternate CD for Ubuntu. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: buildworld, buildkernel, installkernel, shutdow now, fsck -p -- NO WRITE ACCESS
[EMAIL PROTECTED] wrote: Daniel Bye wrote: On Mon, Aug 04, 2008 at 06:37:28PM -0400, email wrote: I thank you. In addition, I am quite sure the command we are referred to in "23.4.5 Drop to Single User Mode" is in fact 'shutdown now' and not 'shutdown -r now'. Yes. But that section relates to dropping to single user mode for the duration of the build, not for the installworld phase. To quote from 23.4.5: You may want to *compile* the system in single user mode. (Emphasis mine) It is merely a possible preparatory step that some people like to take before embarking on the rest of the process. Section 23.4.9 goes on to talk about what to do after the world and kernel build are complete, and you have installed the new kernel: You should reboot into single user mode to test the new kernel works. Do this by following the instructions in Section 23.4.5. This refers specifically to the part of 23.4.5 that talks about rebooting into single user mode, and not the part that talks about dropping to single user mode. (A subtle, but important, distinction.) I would suggest that the simplest approach would be something like: # cd /usr/src # make buildworld && make buildkernel # make installkernel (reboot into single user mode) # fsck -p # mount -u / # mount -at ufs # swapon -a # cd /usr/src # make installworld # mergemaster (Just so we're clear - section 23.4.5 talks about going to single user mode for the duration of the *first 3 steps* of the above process. As I mentioned previously, I have never found this step necessary, but there is certainly no harm in it, and it may be the sensible thing to do if your system has a lot of users logged in during normal operations. Note that you must still reboot after installing the new kernel, and before continuing to installworld.) Dan I followed 'your' suggestion/recommendation and did 'shutdown -r now' with great results; -- fsck -p works fine. However allow me to say that the fbsd handbook section 23.4.9, which I was initially following referred me back/up to section 23.4.5. The entire section -- 23.4 Rebuilding “world” only mentioned 'shutdown -r now' one (1) time in section 23.4.12. Had the fbsd handbook mentioned 'shutdown -r now' instead of referring the reader to another section perhaps I wouldn't be discussing this with you. :-) Sorry to make this longer than it needed to be. I thank you once again. The handbook does say in section 23.4.2 that if /usr/src/UPDATING contradicts something you read in the handbook, UPDATING takes precedence so I guess it does cover itself. The steps in UPDATING seem to work pretty well. I sometimes do mergemaster -iU at the second mergemaster step in the "To rebuild everything and install it on the current system" step as I mostly don't change the files that get reviewed by mergemaster, otherwise I stick exactly to UPDATING and get almost no problems. Chris ___ 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: FreeBSD, Ubuntu and Win XP on one system
I recommend installing FreeBSD first, then Windows and then Ubuntu. For reasons that I don't know, WinXP SP3 will become unable to start if you installs FreeBSD after it (It will freeze on the welcome screen). - I don't know if this problem just happened with me or with others people too, but it happened more than one time. Ubuntu uses GRUB boot manager and as far as I remember it won't recognize FreeBSD partition out of the box, so you will have to add some lines to /boot/grub/menu.lst # For booting FreeBSD title FreeBSD 5.2 root (hd0,a) chainloader +1 where "(hd0,a)" reflects the position of the FreeBSD primary partition. On Mon, Aug 11, 2008 at 1:05 PM, Jack Raats <[EMAIL PROTECTED]> wrote: > I would like to put FreeBSD, Ubuntu and WInXP on one system using a boot > manager. > > Which version do I have to put first on the harddisk, which second and > which last? > > I also want to know which bootmanager to use? > > > Thanks for your time > > Greeting > Jack > > ___ > 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: Kernel compile R7.0 i386 GENERIC, fails
Peter B wrote: [snip] > > In previous releases. It was possible to make at leas the generic kernel > compile out of the box. > As it still is. I just did a make buildkernel KERNCONF=GENERIC on a 7-Release box and it built with no difficulty. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Free wireless network (access point, router, transparent HTTP proxy setup)
Svein Halvor Halvorsen wrote: An alternative to the inserted text in all http traffic (and probably easier to implement) is just to divert all unknown traffic to an internal ip-adress (using the firewall), and setup a web page on that address. Then have people click some button, which will rewrite the fw rules for that specific machine (white list). I set something similar on my roommate's wireless network, and routinely use it on another server to inform banned users that they are. It's easy to set up for either a whitelist or a blacklist. It utilizes FreeBSD's IPFW, but is trivial to implement in PF as well. http://wiki.cyberleo.net/index.php/FirewallRedirect -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Xerox Phaser 6110 printer
On Mon, 11 Aug 2008, Mike Clarke wrote: Does anybody have a Xerox Phaser 6110 printer working with FreeBSD? My current inkjet is on it's last legs and the 6110 looks like a good deal at only 90 GBP for a colour laser. It's listed in the OpenPrinting database as working "mostly" but I'm not sure if that applies to FreeBSD as well as Unix and how good "mostly" is. Printers with sole-source drivers like that make me nervous. If the driver or certain features doen't work on your system, it doesn't leave a lot of options. foo2qpdl doesn't appear to be in ports, but probably it'll build okay anyway. If it were me, I'd make sure that builds and runs first, making a port of it. Then test the output on a sample printer before buying. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Like to call friends from your mobile?
Sunil, Did you know you can use jaxtr to call friends abroad from your mobile phone and bypass expensive international fees? Just click on the jaxtr link of your friend and enter your mobile or landline phone number. Then your phone rings, the phone of your friend rings and you can talk without paying international phone charges. If your friends don't already have a jaxtr link,invite them from your contact list on jaxtr now: http://www.jaxtr.com/user/friends.jsp -Your jaxtr Team P.S. See how it works by clicking on the jaxtr link of one of your friends: http://www.jaxtr.com/user/friends.jsp Sent by jaxtr, 855 Oak Grove, Suite 100, Menlo Park, California 94025. You received this message because you are a registered jaxtr user. If you don't wish to receive any more email from jaxtr, send an email 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]"
mysql and BIND 9.4.2
Does any know how to make mysql and BIND work together. I found this, it's similar to what I want to do. http://gentoo-wiki.com/HOWTO_Setup_Bind_with_DLZ,_MySQL_and_replication James Johnson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Video streaming with freeBSD
On Aug 11, 2008, at 11:23 AM, Sam Fourman Jr. wrote: Some year back I was meddling around with VLC (videolan) that does a pretty good job of the streaming part. There was issues with threads at the time so I let it rest though. Do you have any Idea, how much bandwidth it takes to stream HDTV 1080i via VLC I am assuming a T1 would not be enough upstream, unless you can buffer with something like a 5 min lag. 1080i uncompressed requires 37MHz of video bandwidth; using MPEG2/H. 262 or better yet MPEG4/H.264 you can usually fit into about 3Mhz of bandwidth. If you had to packetize this and transmit over an IP network, you'd need about 70Mbs for uncompressed (or half an OC3), or about 6Mbs (ie, four T1's, or about a 20% of a full T3) compressed. Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Video streaming with freeBSD
> Some year back I was meddling around with VLC (videolan) that does a pretty > good job of the streaming part. There was issues with threads at the time so > I let it rest though. Do you have any Idea, how much bandwidth it takes to stream HDTV 1080i via VLC I am assuming a T1 would not be enough upstream, unless you can buffer with something like a 5 min lag. > > Xmltv to grab the channels listings should also work. > > TV cards supported should be in the handbook Does anyone have any HDTV cards that are known to work? I know about the HDTV5 RT Lite, I found it on this page http://wiki.freebsd.org/HDTV has anyone tried it on FreeBSD? > > Please let us know the uri for the webpage! > > /R > > > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Upgrade v5.x to v7.0
I am currently running FreeBSD v5.1 (yes, I am a Bad Person(tm)), and need to update it to v7.0. Questions: 1. Can I go straight from v5.1 to v7.0? Or do I need to make a stop at v6.x? 2. I'm Unix shell literate with a reasonable level of Solaris sysadmin experience, but have no experience (yet) with FreeBSD updates. Is there a site with step-by-step instructions for the uninitiated, to help minimize Pr(failure)? 3. Anything else I should know? Muchas gracias __ Vince Sabio [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD, Ubuntu and Win XP on one system
On Mon, Aug 11, 2008 at 11:05 AM, Jack Raats <[EMAIL PROTECTED]> wrote: > I would like to put FreeBSD, Ubuntu and WInXP on one system using a boot > manager. > > Which version do I have to put first on the harddisk, which second and > which last? > > I also want to know which bootmanager to use? > > > Thanks for your time > > Greeting > Jack > > I would recommend installing WinXP first, then Ubuntu. The selection of a boot manager is a personal choice. I think Ubuntu uses the GRUB boot manager, which many people like. Install FreeBSD last, being careful not to overwrite the MBR of the hard drive. Once FreeBSD has been installed, boot up Ubuntu and modify the GRUB menu configuration file (/boot/grub/menu.lst). I found a sample of a FreeBSD entry here: http://ubuntuforums.org/showthread.php?t=455951 Best of luck, Andrew Gould ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
allowing rtprio in jail
can it be done? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Video streaming with freeBSD
Sam Fourman Jr. skrev: If the main purpose of your box is to be a PVR, I suggest going with a Linux distribution and using MythTV (http://www.mythtv.org). While I am a fan of FreeBSD as a web/mail/etc. server, it did not meet my needs when attempting to build a PVR. I found the Gentoo Linux distribution most comfortable for me because it uses a "portage" system similar to the "ports" system of FreeBSD. Others I tried were package based and didn't always support my hardware. I would like to try and put together the most functional FreeBSD based PVR system possible, even if it does have less functionality than it's Linux counterpart. does anyone have a recipe for a working FreeBSD based PVR? if not post Ideas for software / configurations / Hardware, and I will l make a web page out of it. Sam Fourman Jr. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: 270.6.0/1602 - Release Date: 2008-08-09 13:22 Some year back I was meddling around with VLC (videolan) that does a pretty good job of the streaming part. There was issues with threads at the time so I let it rest though. Xmltv to grab the channels listings should also work. TV cards supported should be in the handbook Please let us know the uri for the webpage! /R ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD, Ubuntu and Win XP on one system
I would like to put FreeBSD, Ubuntu and WInXP on one system using a boot manager. Which version do I have to put first on the harddisk, which second and which last? I also want to know which bootmanager to use? Thanks for your time Greeting Jack ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Xerox Phaser 6110 printer
Does anybody have a Xerox Phaser 6110 printer working with FreeBSD? My current inkjet is on it's last legs and the 6110 looks like a good deal at only 90 GBP for a colour laser. It's listed in the OpenPrinting database as working "mostly" but I'm not sure if that applies to FreeBSD as well as Unix and how good "mostly" is. -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Kernel compile R7.0 i386 GENERIC, fails
>> Extracted sources: sbase, srelease, ssys > >You also need scontrib (ACPI sources are there) component and maybe >some others for successful build. >btw, this is not a very usual (and a simple) way to make kernel. I added "device acpi" to the kernel configuration file. And it made the error go away. I'm downloading scontrib.* now. But now it complains on: ln -sf /usr/obj/usr/src/sys/GENERIC/opt_ses.h opt_ses.h awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h make: don't know how to make cam.c. Stop *** Error code 2 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Exit 1 Exit 1 In previous releases. It was possible to make at leas the generic kernel compile out of the box. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Kernel compile R7.0 i386 GENERIC, fails
[EMAIL PROTECTED]>[EMAIL PROTECTED] 2008/8/11 Peter B <[EMAIL PROTECTED]>: > > I'm trying to compile the generic FreeBSD kernel 7.0-RELEASE i386. But it > fails. Any tip on how to fix it? > > Extracted sources: sbase, srelease, ssys You also need scontrib (ACPI sources are there) component and maybe some others for successful build. btw, this is not a very usual (and a simple) way to make kernel. > > [EMAIL PROTECTED] /usr/src #make buildkernel KERNCONF=GENERIC > . > . > mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE > -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq > -I/usr/obj/usr/src/sys/GENERIC > /usr/src/sys/modules/accf_http/../../netinet/accf_http.c > ===> acpi (depend) > ===> acpi/acpi (depend) > @ -> /usr/src/sys > machine -> /usr/src/sys/i386/include > make: don't know how to make dsfield.c. Stop > *** Error code 2 > > Stop in /usr/src/sys/modules/acpi. > *** Error code 1 > > Stop in /usr/src/sys/modules. > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/GENERIC. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > Exit 1 wbr, pluknet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Upgrade v5.x to v7.0
Vince Sabio writes: > I am currently running FreeBSD v5.1 (yes, I am a Bad Person(tm)), Why? > and need to update it to v7.0. Questions: > > 1. Can I go straight from v5.1 to v7.0? Or do I need to make a > stop at v6.x? It is probably technically possible. However: when jumping major versions, my advice is always "If possible, install from clean disk." On the down-side, it is moderately more work than upgrading. On the up-side: 1) if something goes Horribly Wrong, you're not screwed 2) you will avoid library version conflicts, and indeed reclaim space used by orphaned libraries (and other files) 3) if desirable, you can re-size partitions Others are left as an exercise to the reader. In either case: remember to save critical config files (rc.conf, the kernel config, sshd_config, the named directory, etc.) elsewhere. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Screwed up upgrade to 7.0
Robert Fitzpatrick wrote: On Mon, 2008-08-11 at 14:09 +0100, Vincent Hoffman wrote: Robert Fitzpatrick wrote: I have screwed up my upgrade from 6.2 to 7.0 following the doc at... http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html I ran the install a second time and it completed before the next to the last step including 'portupgrade -af' was completed. I went back and ran the next to the last step, but still, all my packages complain of missing shared libraries. Is there any way to get everything rebuilt, saving me a complete reinstall? Fortunately, I am doing this on a test box. Try installing misc/compat6x as a stopgap? Sweet! Thank you very much, all services started. Now, how do I proceed with my upgrade to 7.0? Do I just rebuild all now and it will update to the 7.0 libraries and then how to undo COMPAT_FREEBSD6? As you upgrade the ports they will link against the new verson of the libraries, once you're certain you dont need them any more you can just pkg_delete the compat6x package. You can use something like pkg_libchk from the sysutils/bsdadminscripts to look check whats still compiled againt the compat libs. Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Changing 'From:' address of periodic scripts
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan Belson wrote: | Hiya | | I set up a remote box to e-mail 'periodic' output to me directly. It | has now | stopped working, and I suspect it's because the 'From:' addresses of the | status | e-mails is of the form '[EMAIL PROTECTED]' and the ISP has upped its | anti-spam | checks. | | I see /usr/sbin/periodic itself uses the 'mail' command to send the | mails, but I | couldn't see a command line option to specify a 'From:'. I guess 'mail' | uses | 'sendmail' to send e-mail; is there a simple way of forcing a 'From:' | address | via 'sendmail' config? | | Cheers, | | --Jon | Hi Jon, Have a look at this: http://www.sendmail.org/m4/masquerading.html and perhaps this, too: http://www.madboa.com/geek/sendmail-genericstable/ You can rewrite [EMAIL PROTECTED] to appear as though it's coming from a real email address by using the techniques on those pages. Please post back here if you run into any trouble! Best regards, Greg - -- Greg Larkin http://www.sourcehosting.net/ http://www.FreeBSD.org/ - The Power To Serve -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIoFkC0sRouByUApARAo8OAJ9zuwcF2RL5SyZa6udBc38dMlLO3wCeOlju FZhVVFU4d+aKeWtBFSnd/7Q= =B+FE -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: A few questions from a current linux user
On Mon, 11 Aug 2008 04:15:07 -0700, "Krishna Mohan Gundu" <[EMAIL PROTECTED]> wrote: >>> 2) Is it possible to compile multiple versions of gcc? If so what is >>> the best way to do it? >> >> Yes, of course. >> >> The "base system" of FreeBSD includes _one_ version of gcc, installed as >> `/usr/bin/gcc', but this does not mean that you are limited to *that* >> version only. You can use the Ports tree to install one or more >> versions[...] >> >> # pwd >> /usr/ports/lang >> # ls -ld gcc* | nl >> 1 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc-ooo >> 2 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc28 >> 3 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc295 >> 4 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc32 >> 5 drwxr-xr-x 3 root wheel - 512 Jul 22 05:03 gcc33 >> 6 drwxr-xr-x 3 root wheel - 512 Jul 29 04:46 gcc34 >> 7 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc41 >> 8 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc41-withgcjawt >> 9 drwxr-xr-x 3 root wheel - 512 Jul 22 05:03 gcc42 >> 10 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc42-withgcjawt >> 11 drwxr-xr-x 3 root wheel - 512 Jul 29 04:46 gcc43 >> 12 drwxr-xr-x 3 root wheel - 512 Aug 7 02:25 gcc44 >> # > > So I believe each gcc port keeps track of various dependencies and > their versions for a chosen gcc version. However if I need gcc40 (lets > say, not available from ports) or if I need to enable certain features > that ports disable then I guess I am on my own in that there are no > guarantees that it will compile. Then it's usually much easier to tweak the port than start from scratch. The Ports tree also includes various patches, updates and it supports a lot of things other than ``run the ./configure script with all the right options''. Some of these extra features are: * Dependency tracking of the package. * Conflicts tracking. If there are possible conflicts with already installed packages, you will get notified. * Recursive or simple one-port fetching of all the sources from their standard FTP, or HTTP site, including checksum verification of the distfiles. * Patching of the source tree with `make patch', as an integrated part of the port itself. * Package registration in `/var/db/pkg'. With this comes also the ability to pkg_delete the installed port in one, well-defined step. The alternative of manually tracking what was installed, where it was installed, which files it touched or added, and so on, may also work, but it's not really as nice as pkg_add/pkg_delete. * Package creation. You can build on one system, then `make package' and transfer the pre-compiled port to another system (i.e. your small sub-notebook EeePC that can do better things than build gcc all the time). Enabling a new option in a port is often just a matter of editing the port Makefile and adding a few extra arguments to CONFIGURE_ARGS, i.e.: # I like my gcc ports to have --enable-foo too (keramida) CONFIGURE_ARGS += --enable-foo Then you get to keep all the nice features of Ports, and if you find the new option useful, you can send it back to the Port maintainer :) > Coming from linux background, the different way of managing base > system and ports bothers me. I understand the reasons behind the > division but not the necessity to manage them differently. For > example how would I know if a package is in the base system or not? > Looks like for ports this can done with 'make search name=whatever'. > Is there an equivalent of freebsd-update for ports? The separation comes with its own advantages. For example, if you are tracking the 6.X-STABLE branch of the base system, then you can keep updating the base system as many times as you want and leave the Ports unchanged. The binary compatibility of the 6.X-STABLE branch guarantees that a thirdparty package you compiled on 6.0-RELEASE will keep working with a base system of 6.1-RELEASE, 6.2-RELEASE or 6.10-STABLE. As long as there are not major security issues with a specific port you do *not* have to upgrade it. The base system itself is not a package, and all the ports intstall software _exclusively_ under `/usr/local'. So you know that something is part of the Ports because it is installed under `/usr/local'. The opposite is also true: if something is in /usr/{bin,sbin,lib} then in a well-managed FreeBSD system it is *not* part of the Ports, but of the base system. To answer the question about updates, yes, there are tools like freebsd-update for Ports too. They are usually Ports themselves too, and they are found in the `/usr/ports/ports-mgmt' category of software. AFAIK, the most popular ones are `portupgrade', `portmanager' and `portmaster'. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, s
Re: Screwed up upgrade to 7.0
On Mon, 2008-08-11 at 14:09 +0100, Vincent Hoffman wrote: > Robert Fitzpatrick wrote: > > I have screwed up my upgrade from 6.2 to 7.0 following the doc at... > > > > http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html > > > > I ran the install a second time and it completed before the next to the > > last step including 'portupgrade -af' was completed. I went back and ran > > the next to the last step, but still, all my packages complain of > > missing shared libraries. Is there any way to get everything rebuilt, > > saving me a complete reinstall? Fortunately, I am doing this on a test > > box. > > > > > Try installing misc/compat6x as a stopgap? > Sweet! Thank you very much, all services started. Now, how do I proceed with my upgrade to 7.0? Do I just rebuild all now and it will update to the 7.0 libraries and then how to undo COMPAT_FREEBSD6? -- Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Cluster Filesystem
> Behalf Of Norberto Meijome > Sent: Monday, August 11, 2008 1:33 PM > To: Rudi Kramer - MWEB > Cc: freebsd-questions@freebsd.org > Subject: Re: Cluster Filesystem > > On Mon, 11 Aug 2008 09:51:33 +0200 > "Rudi Kramer - MWEB" <[EMAIL PROTECTED]> wrote: > > > I was speaking to a friend of mine and he also recommended looking at > > GlusterFS, http://www.gluster.org. > > thanks for the info. yes, it sounds VERY interesting, in particular I like the > modularity provided by FUSE. I'd love to be able to run it on bsd though ;) According to the wiki (http://en.wikipedia.org/wiki/GlusterFS) GlusterFS server has been tested on FreeBSD but the client has only been successfully tested on Linux. I'm not sure why though. I've dropped an email to the GlusterFS Devs asking for more info. Rudi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to stop my services from trying to bind to IPv6?
I just don't want my logs filling up with useless error messages ;) Thanks! On Mon, Aug 11, 2008 at 3:42 PM, Curt Micol <[EMAIL PROTECTED]> wrote: > On Mon, Aug 11, 2008 at 9:38 AM, Redd Vinylene <[EMAIL PROTECTED]> wrote: >> I use the default sshd config file, I'd rather not maintain one. >> >> As for my named.conf, I haven't enabled no IPv6 setting there either. >> >> Perhaps an ipv6_enable="NO" in rc.conf will do the trick? >> >> Honestly though, shouldn't FreeBSD assume I don't use IPv6 unless I >> tell it that I do? > > Nope, quite the opposite. IPv6 is in a lot of services, and keeping > it on is a good idea (at least imho). In rc.conf you can set many > *_flags to listen on IPv4. For example: > > sshd_flags="-4" > > You could also simply block all traffic on IPv6 (in pf): > block all inet6 > > HTH, > > -- > # Curt Micol > -- http://www.home.no/reddvinylene ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to stop my services from trying to bind to IPv6?
On Mon, Aug 11, 2008 at 9:38 AM, Redd Vinylene <[EMAIL PROTECTED]> wrote: > I use the default sshd config file, I'd rather not maintain one. > > As for my named.conf, I haven't enabled no IPv6 setting there either. > > Perhaps an ipv6_enable="NO" in rc.conf will do the trick? > > Honestly though, shouldn't FreeBSD assume I don't use IPv6 unless I > tell it that I do? Nope, quite the opposite. IPv6 is in a lot of services, and keeping it on is a good idea (at least imho). In rc.conf you can set many *_flags to listen on IPv4. For example: sshd_flags="-4" You could also simply block all traffic on IPv6 (in pf): block all inet6 HTH, -- # Curt Micol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to stop my services from trying to bind to IPv6?
I use the default sshd config file, I'd rather not maintain one. As for my named.conf, I haven't enabled no IPv6 setting there either. Perhaps an ipv6_enable="NO" in rc.conf will do the trick? Honestly though, shouldn't FreeBSD assume I don't use IPv6 unless I tell it that I do? On Mon, Aug 11, 2008 at 3:36 PM, Robert Huff <[EMAIL PROTECTED]> wrote: > Redd Vinylene writes: > > >> I haven't enabled IPv6, yet many of my processes are trying to bind to it. >> >> Aug 11 16:19:13 camel named[1562]: couldn't add command channel >> ::1#953: socket already bound >> Aug 11 16:19:20 camel sshd[1757]: error: Bind to port 22 on :: failed: >> Invalid argument. >> >> Is there an easy way to stop these services from trying to bind to >> IPv6, other than explicitly telling each and every one not to do so? > >In both cases, the first place to check would be the config > files. > > >Robert Huff > > -- http://www.home.no/reddvinylene ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to stop my services from trying to bind to IPv6?
Redd Vinylene writes: > I haven't enabled IPv6, yet many of my processes are trying to bind to it. > > Aug 11 16:19:13 camel named[1562]: couldn't add command channel > ::1#953: socket already bound > Aug 11 16:19:20 camel sshd[1757]: error: Bind to port 22 on :: failed: > Invalid argument. > > Is there an easy way to stop these services from trying to bind to > IPv6, other than explicitly telling each and every one not to do so? In both cases, the first place to check would be the config files. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Atheros (ath) MSI wireless embedded chipset fails to attach on 7.0-STABLE
On Fri, Aug 8, 2008 at 10:46 AM, Alexander Sack <[EMAIL PROTECTED]> wrote: > > > > Edwin L. Culp wrote: >> >> Alexander Sack <[EMAIL PROTECTED]> escribió: >> >>> >>> >>> >>> Edwin L. Culp wrote: "Alexander Sack" <[EMAIL PROTECTED]> escribió: > Final update, I got everything working! I came home and connected by > new notebook using the latest PCIe Atheros chipset to a WPA2 network > using wpa_supplicant! Yippie! > > Hope this thread helps someone else, > > -aps > > On Tue, Jun 17, 2008 at 5:17 PM, Alexander Sack <[EMAIL PROTECTED]> > wrote: >> On Tue, Jun 17, 2008 at 3:44 PM, Alexander Sack <[EMAIL PROTECTED]> >> wrote: >>> On Tue, Jun 17, 2008 at 3:35 PM, Edwin L. Culp >>> <[EMAIL PROTECTED]> wrote: "Manolis Kiagias" <[EMAIL PROTECTED]> escribió: > Edwin L. Culp wrote: >> >> "Alexander Sack" <[EMAIL PROTECTED]> escribió: >> >>> On Tue, Jun 17, 2008 at 11:31 AM, Manolis Kiagias >>> <[EMAIL PROTECTED]> wrote: Alexander Sack wrote: > > Hello: > > I have installed FreeBSD-7.0-amd64 stable on my new AMD X2 > Turon based > notebook, a MSI-1710A (GX710Ax) which has a generic embedded > controller. During boot up I notice that ATH complains with: > > ath_rate: version 1.2 > ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, > RF2413, > RF5413) > ath0: mem 0xfd7f-0xfd7f irq 16 at > device > 0.0 > on pci2 > ath0: Reserved 0x1 bytes for rid 0x10 type 3 at 0xfd7f > ath0: [MPSAFE] > ath0: [ITHREAD] > ath0: unable to attach hardware; HAL status 13 > device_attach: ath0 attach returned 6 > > HAL status 13 from the header file seems to indicate that the > 7.0-STABLE driver doesn't support my hardware revision. Here > is > my > pciconf -l output: > Maybe you could try compiling a kernel with a newer hal. This is the kind of hack we use on the eeepc. Have a look at this: http://nighthack.org/wiki/EeeBSD >>> >>> Thank you SO much for this link. That's EXACTLY what I want to >>> do >>> because I realize that this is a HAL problem. I've been >>> searching >>> like MAD where I could get an updated binary HAL for this chipset >>> (PCIe based). >> >> That makes two of us ;) >> >> My dmesg is very, very similar to yours and hoped that this would >> work. >> >> ath0: mem 0xf220-0xf220 irq 19 at >> device >> 0.0 >> on pci5 >> ath0: Reserved 0x1 bytes for rid 0x10 type 3 at 0xf220 >> ioapic0: routing intpin 19 (PCI IRQ 19) to vector 64 >> ath0: [MPSAFE] >> ath0: [ITHREAD] >> ath0: unable to attach hardware; HAL status 13 >> device_attach: ath0 attach returned 6 >> >> I followed the instructions from the web page, recompiled and it >> made no >> difference which really worries me that I must have done >> something wrong. >> >> cd madwifi-ng-r2756+ar5007/hal >> cp -R * /usr/src/sys/contrib/dev/ath/ >> >> I did not erase it previously but am going to try that. I made >> no >> kern >> configuration changes to find that the hal is from contrib. Is >> there >> nothing else I should do? >> >> Thanks, >> > > Well, I have only tested this on the eeepc and can confirm it > works. > Maybe different atheros chipset have other problems not directly > related > to the hal version. > You do not need to do anything more that what is shown in the > page: untar, > replace the existing files, recompile / install kernel, reboot. > If you got > no errors during the kernel compilation phase, you can safely > assume you did > everything correctly, and the problem lies elsewhere. At least there was a ray of hope for the time it took to compile the kernel. >>> >>> Ed: >>> >>> I took recompiled and got the same issue. If I use the LATEST mad >>> distro I get some compile bugs (ath_desc_status was moved into >>> ath_desc structure in ah_desc.h) which I can't completely work around >>> (apparently the API into the HAL has changed as well). What I'm >>> trying to do is look at the Linux driver and understand the newer API >>> in order to get pa
How to stop my services from trying to bind to IPv6?
Hello-hello! I haven't enabled IPv6, yet many of my processes are trying to bind to it. Aug 11 16:19:13 camel named[1562]: couldn't add command channel ::1#953: socket already bound Aug 11 16:19:20 camel sshd[1757]: error: Bind to port 22 on :: failed: Invalid argument. Is there an easy way to stop these services from trying to bind to IPv6, other than explicitly telling each and every one not to do so? Thanks! -- http://www.home.no/reddvinylene ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Screwed up upgrade to 7.0
Robert Fitzpatrick wrote: I have screwed up my upgrade from 6.2 to 7.0 following the doc at... http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html I ran the install a second time and it completed before the next to the last step including 'portupgrade -af' was completed. I went back and ran the next to the last step, but still, all my packages complain of missing shared libraries. Is there any way to get everything rebuilt, saving me a complete reinstall? Fortunately, I am doing this on a test box. Try installing misc/compat6x as a stopgap? Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Screwed up upgrade to 7.0
I have screwed up my upgrade from 6.2 to 7.0 following the doc at... http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html I ran the install a second time and it completed before the next to the last step including 'portupgrade -af' was completed. I went back and ran the next to the last step, but still, all my packages complain of missing shared libraries. Is there any way to get everything rebuilt, saving me a complete reinstall? Fortunately, I am doing this on a test box. -- Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Query regarding Advertisment
At 2008-08-11T08:10:02-04:00, Bill Moran wrote: > "Biju Sreenivasan" <[EMAIL PROTECTED]> wrote: >> >> Dear Sir, >> I am planning a website with BSD FDL. > > What is FDL? Perhaps "Free Documentation License", as in "G(NU)FDL". Raghavendra. -- N. Raghavendra <[EMAIL PROTECTED]> | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: shutdown/reboot suggestion
"Michael Grant" <[EMAIL PROTECTED]> wrote: > > I have such a script, I put it in /bin/require_hostname and symlinked > shutdown, halt, reboot, fastboot, and fasthalt to this script: > > #!/bin/sh > > if [ "$1" = `hostname` ]; then > shift > exec /sbin/`basename $0` $@ > else > echo "For your protection, use: $0 hostname ..." > fi > > I realize a lot of people have their own tricks and habits for > avoiding such stupidity, but what is the problem of fixing the problem > globally by getting these commands to take a hostname argument? > > This could certainly be the basis for another thread (and this is > perhaps not the correct list), but is there some way to request a > modification across all the unix/linux distributions out there to > maintain some level of consistency across them? Except for Posix, is > there some overall list which deals with this conformity of all these > sibling platforms? Changing that command globally is a huge undertaking. First off, it will break every single script out there that uses those commands, thus causing a worldwide riot. Second, it's not compliant with POSIX, thus we reopen the wound of The Unix Wars. Third, it's not a very good solution. Off the top of my head: 1) What happens to machines that don't have a hostname yet? (during install for example) you can't shut them down? 2) Which hostname? The FQDN, which can be REALLY long in many cases. Or the short name, which can be duplicated (how many web00s do I have in various facilities across the country?) so then doesn't solve the problem. 3) I'm not having the problem you describe, thus you're asking me to type more (possibly a LOT more) to solve a problem I don't have. 4) It breaks every single script out there that uses those commands 5) Tied in with #3, there's a REALLY easy way to fix this for those out there who are having trouble with it. I'm unclear why you find the mechanisms built into the system that allow you to fix this yourself to be inadequate? -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Query regarding Advertisment
"Biju Sreenivasan" <[EMAIL PROTECTED]> wrote: > > Dear Sir, > I am planning a website with BSD FDL. What is FDL? > Is advertisment allowed in > my website? If no, is there any other options. The license has no restrictions on what you can do with the software once you install it. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Need FreeBSD 7.0 XEN-KERNEL
I would only attempot this in Hypervisor mode where FreeBSD runs fine stock I dont think paravirtualized XEN FreeBSD instances are ready for production. Though I can assure you running FreeBSD 7 and CUURENt under linux KVM works fine, i have 13 hosts on two HVM capable systems under Ubuntu On Monday 11 August 2008 14:04:32 Cagri Ersen wrote: > Thanks mate, > If i need that FS files, i can give you a ftp accunt. > > BTW, My XEN server is installed on Fedora 8.0. And i need 3 FreeBSD as a > guest OS for production. That servers will be a qmail cluster with 2 > qmail/vpopmail and a NFS storage server for mail servers. > > Can you tell me your opinion about this condition ? > > Thanks again. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Wireless net Card
> Please provide more detailed informatio. Card model, at least, or the > output of > > pciconf -lv > > supposing that you have a real card, either internal or PCMCIA. If it > is a USB model, then use > > usbdevs -v [EMAIL PROTECTED]:3:5:0: class=0x02 card=0x700f1799 chip=0x700f1799 rev=0x20 hdr=0x00 vendor = 'Belkin Research and Development Labs' class = network subclass = ethernet Chipset is RT8185L an i used the ndisgen to create the .ko file, which is just over 572kb in size. ironically the 8180 works fine, but naturally wont do my wireless card. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cluster Filesystem
On Mon, 11 Aug 2008 09:51:33 +0200 "Rudi Kramer - MWEB" <[EMAIL PROTECTED]> wrote: > I was speaking to a friend of mine and he also recommended looking at > GlusterFS, http://www.gluster.org. thanks for the info. yes, it sounds VERY interesting, in particular I like the modularity provided by FUSE. I'd love to be able to run it on bsd though ;) B _ {Beto|Norberto|Numard} Meijome "Why do you sit there looking like an envelope without any address on it?" Mark Twain I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
bsdpan but would prefer deb-make-perl
Hi I dont like these bsdpan perl modules that I needed, but have. I would like to build and install these modules myself with something like debian's deb-make-perl. Is there anything like that for freebsd, of how do you guys go about with this. Kind Regards Brent Clark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: A few questions from a current linux user
First of all, let me thank everyone who has responded to my questions on this mailing list. Hi Giorgos, > I've been meaning to respond to this post for a couple of days, but it > took me a little longer than I originally hoped... Thank you for taking time to write a detailed response. > This may be totally unrelated to the real question, but doesn't Fedora > use pre-compiled packages by default? I thought that was pretty much > the One True Way(TM) of updating Fedora systems. Yes it is. I have friends who are happy doing dist-upgrades with one command. But I have been using Fedora from the beginning and I have had a few bad experiences with distribution upgrades leaving me to spend more time fixing the problems. I have decided not to risk upgrades after Fedora Core 4 and two years down the line I think it is a good decision with a few side effects, mainly keeping pace with newer versions of packages of interest. >> 1) Is a feature similar to magic SysRq in linux necessary for FreeBSD? >> (As I understand there is no such feature in FreeBSD) > > Not really. SysRq has a few nice characteristics, i.e. it can unmount > local filesystems gracefully to avoid `fsck' runs during the next boot. > It's a nice, handy tool in some cases. But it also comes at a cost: it > modifies the in-memory state of the running kernel. > > FreeBSD has a kernel debugger that can be enabled, called DDB. When the > kernel locks up or panics because something bogus happened, the DDB can > dump the state of the kernel into a preconfigured swap area, and the > startup scripts of the next boot will pick up the kernel coredump from > swap, save it in `/var/crash', and let you run post-mortem analysis on > the kernel core dump. > > If this is combined with something like SysRq, and there's really a bug > in the parts of the kernel that SysRq has to use to perform its final > steps, you lose. You may be modifying the parts of the kernel memory > that actually exhibit the bug, and make the kernel dump unusable. Should one risk losing the data or should one be able to debug reliably? I think letting the user decide on this option is a better solution than not implementing SysRq at all. But after reading the mailing lists, I got a feeling that most experienced FreeBSD users don't really need the SysRq feature. However I still don't understand how the data is safe even if one enables SoftUpdate with disk caching disabled. >> 2) Is it possible to compile multiple versions of gcc? If so what is >> the best way to do it? > > Yes, of course. > > The "base system" of FreeBSD includes _one_ version of gcc, installed as > `/usr/bin/gcc', but this does not mean that you are limited to *that* > version only. You can use the Ports tree to install one or more > versions. The snapshot of Ports I have on the laptop I am using to type > this includes 12 different gcc ports (and that does not include the > Fortran, Objective C, or Java backends GCC supports): > > # pwd > /usr/ports/lang > # ls -ld gcc* | nl > 1 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc-ooo > 2 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc28 > 3 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc295 > 4 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc32 > 5 drwxr-xr-x 3 root wheel - 512 Jul 22 05:03 gcc33 > 6 drwxr-xr-x 3 root wheel - 512 Jul 29 04:46 gcc34 > 7 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc41 > 8 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc41-withgcjawt > 9 drwxr-xr-x 3 root wheel - 512 Jul 22 05:03 gcc42 > 10 drwxr-xr-x 3 root wheel - 512 Jul 17 03:01 gcc42-withgcjawt > 11 drwxr-xr-x 3 root wheel - 512 Jul 29 04:46 gcc43 > 12 drwxr-xr-x 3 root wheel - 512 Aug 7 02:25 gcc44 > # > > So yes, you can install several different versions of GCC at the same > time. So I believe each gcc port keeps track of various dependencies and their versions for a chosen gcc version. However if I need gcc40 (lets say, not available from ports) or if I need to enable certain features that ports disable then I guess I am on my own in that there are no guarantees that it will compile. >> 3) Is it possible to perform a binary update from one release to >> another? If so can you please point me to the documentation? How are >> config files updated in this case? (Could not locate documentation on >> binup) > > Yes. In recent FreeBSD releases, the "base system" of FreeBSD includes > freebsd-update. This is a utility authored by Colin Percival, who is > currently the Security Officer of FreeBSD, and a very smart fellow :) > > What freebsd-update does is described in its manpage > >http://www.freebsd.org/cgi/man.cgi?query=freebsd-update&format=ascii > > but the basic idea is that is can do one of the following things: > >* Download binary update packs in `/var/db/freebsd-update'. These > are not installed immediatelly, so you can periodically pull the >
Changing 'From:' address of periodic scripts
Hiya I set up a remote box to e-mail 'periodic' output to me directly. It has now stopped working, and I suspect it's because the 'From:' addresses of the status e-mails is of the form '[EMAIL PROTECTED]' and the ISP has upped its anti-spam checks. I see /usr/sbin/periodic itself uses the 'mail' command to send the mails, but I couldn't see a command line option to specify a 'From:'. I guess 'mail' uses 'sendmail' to send e-mail; is there a simple way of forcing a 'From:' address via 'sendmail' config? Cheers, --Jon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd
At 01:32 AM 8/11/2008, AAH wrote: Hi, Can someone give me the correct settings to configure an att/sbcglobal 2wire 1800 gateway(it's a modem, router/gateway)to work with FreeBSD? I have been told my other users of FreeBSD that this router/gateway does work with FreeBSD. (Freebsd 6.3). However, the values given to me by att techs have not worked. This is why I am email you all for some assistance. The error message is that network/server is unknown or cannot be found. Thanks AAH The default setting for this router/gateway is to have the client systems on the LAN use DHCP for configuration. You should set your system up to use DHCP. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: problems with a C script, exiting with signal 10
Hi, i've been trying to debug what you suggested, but no luck so far :( The thing is that i checked out all the calls to arrays, space handling and so on, and i couldn't find anything wrong. After that, i ended up trying the "hard" way, which is to keep a file /tmp/debug.log where the script writes everything that it does. So... the problem was that even in those cases when postfix logged a "signal 10" error, the logs showed that the C script got to the end of the file, it executed every single line, it doesn't get stuck manipulating arrays or anything like that. any idea? Thanks. En/na Jordi Moles Blanco ha escrit: Hi, thanks for the reply, i will have a close look at what you suggested. The thing is that, yes, i work with arrays, pointers, mallocs and so on. I'll try to make sure everything is initiliazed properly before being used. Thanks for the advice. En/na Patrick Mahan ha escrit: Jordi Moles Blanco presented these words - circa 8/7/08 3:13 AM-> Hi, I've got this home-made script, written in C, on a Freebsd 7.0 server with different versions of postfix: 2.3,2,4 and 2.5 The problem is that, while most of the time it works like a charm, sometimes it crashes and bounces the message. It's not really a big deal, cause the sender gets notified that their mail wasn't delivered and hopefully, they will resend it. However, the problem is that I've tried to debug my script but found nothing wrong at all, cause it only fails from time to time, let's say... once for each 2000 messages that postfix receives, and it appears to do so in a random way. As i said... postfix can fail to deliver a message to one particular mailbox, but if then you resend the very same message to the very same mailbox, it will be delivered. The error is reported in both "maillog" and "messages", like this: **/var/log/maillog Aug 7 01:55:19 mail01 postfix/pipe[27534]: 3E1A0143709: to=, relay=quota_postfix, delay=0.23, delays=0.11/0/0/0.11, dsn=5.3.0, status=bounced (Command died with signal 10: "/usr/local/etc/postfix/quota_postfix") */var/log/messages*** Aug 7 01:55:19 mail01 kernel: pid 29535 (quota_postfix), uid 125: exited on signal 10 Well signal 10 is SIGBUS which is indicative of (generally) a bad address, non-aligned memory address (on platforms it matters) or a hardware error. I would look for places you are dereferencing a pointer without perhaps first validating it. Given that it rarely occurs, I might suspect that you are allocating some memory, but failing to completely initialize (malloc() doesn't zero out memory) it or assuming it is already initialize. Good luck, Patrick Here you have some extra information about the script itself and the master.cf */usr/local/etc/postfix/quota_postfix*** # ls -la /usr/local/etc/postfix/quota_postfix -rwsr-xr-x 1 postfix postfix 20048 Aug 4 10:18 /usr/local/etc/postfix/quota_postfix It's got de suid flag cause it performs a "du" command and other file operations which need permissions, although i've tried with other groups of permissions and it eventually crashes anyway with "signal 10" **master.cf* . # spamfilter spamfilter unix- n n - 20 pipe flags=R user=filter argv=/home/antispam.pl "localhost:10027" "antispam" "${sender}" "${recipient}" "/usr/local/bin/spamc" # from spamfilter to smtpd:10026 localhost:10027 inetn - n - 100 smtpd -o content_filter=quota_postfix # quota_postfix quota_postfix unix- n n - 20 pipe flags=R user=filter argv=/usr/local/etc/postfix/quota_postfix "localhost" "10028" "${sender}" "${recipient}" "${domain}" # from quota_postfix to smtpd:10028 localhost:10028 inetn - n - 100 smtpd -o content_filter= So far, any program which crashed would leave a ".core" file in /usr/crash, but this one is not doing the same, so... i can't actually debug from the core file either. Sysctl in my FreeBSD server is ok, but i guess that postfix, somehow is preventing this filter from generating a core file. Is that possible? Or am i completely wrong? How could I, at least, generate the .core file? Thanks. ___ 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]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
dhcp for ipv6
Hi, is there a working dhcp port for ipv6 which is able to populate dynamic zones in Bind and deliver ipv4/ipv6 addresses to the clients? Thanks Reinhard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Wireless net Card
> Which Belkin wireless card do you have? Which arch are you running > (i386/amd64)? > > I had horrific trouble with a Belkin on the Realtek chipset, played up > with Ubuntu, FreeBSD, Fedora, even Windows! > > Trouble with Belkin is, you never know what you're getting. You need > the revision number of the card, and then find out which chipset it > is. Make sure the drivers you downloaded are for that exact revision. > > Hope you have more luck than I did, I tossed mine and bought a Ralink. > > Chris AMD64 Arch & ironically it worked beautifully for ages in windows, but i got sick of windows having been used to FreeBSD, so i re-installed FreeBSD an using the onboard LAN card atm, but am wanting to goto wireless. [EMAIL PROTECTED]:3:5:0: class=0x02 card=0x700f1799 chip=0x700f1799 rev=0x20 hdr=0x00 vendor = 'Belkin Research and Development Labs' class = network subclass = ethernet Chipset is RT8185L an i used the ndisgen to create the .ko file, which is just over 572kb in size. ironically the 8180 works fine, but naturally wont do my wireless card. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: shutdown/reboot suggestion
On Sunday 10 August 2008 07:11, Michael Grant wrote: > I have such a script, I put it in /bin/require_hostname and symlinked > shutdown, halt, reboot, fastboot, and fasthalt to this script: > > #!/bin/sh > > if [ "$1" = `hostname` ]; then > shift > exec /sbin/`basename $0` $@ > else > echo "For your protection, use: $0 hostname ..." > fi > > I realize a lot of people have their own tricks and habits for > avoiding such stupidity, but what is the problem of fixing the problem > globally by getting these commands to take a hostname argument? The extra typing imposed on every admin in the world? Here's a trick or habit for avoiding the ohnosecond (``As your life flashes before your eyes, in the unit of time known as an ohnosecond...'' [Usenet, author unknown]): Pause to check the command before executing. The more dangerous or potentially disastrous the command, the longer the pause. What you're proposing is to enforce the thinking time by making the admin pause to type the fully-qualified hostname. Granted, you could change every command to enforce thinking time (to take this to the absurd, you could arrange that if you hit Enter less than five seconds after another key, the shell would give you a ``stop and think'' warning). It's safer just to develop the habit yourself. I recently saw a colleague take an install CD, put it into a machine, and power-cycle the box to start the install. I can't think of a technical measure that would have enforced thinking time on him. (And yes, it was the wrong box. Five seconds of thought would have saved five weeks of work). Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Cluster Filesystem
> Norberto Meijome > > On Thu, 7 Aug 2008 13:10:52 +0200 > "Rudi Kramer - MWEB" <[EMAIL PROTECTED]> wrote: > > > We have setup hadoop on FreeBSD, bit of mission cause of java and I'm > > not sure about performance but it can be done :) > > > > http://hadoop.apache.org/core/ > > Hi Rudi, > what versions of fbsd , java, hadoop and DB have u used? what were the issues? > how many nodes? We are running Fbsd 6.3, jdk-1.6.0.3p3_2, diablo-jdk-1.5.0.07.01_9, hadoop-0.15.3. We are only running 2 nodes, more for playing around with at the moment. We'll have to wait till end of year when we have a bit of R&D time to abuse it properly. I was speaking to a friend of mine and he also recommended looking at GlusterFS, http://www.gluster.org. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: tt/sbcglobal 2wire,1800 gateway (was: Re: freebsd)
AAH wrote: Hi, Can someone give me the correct settings to configure an att/sbcglobal 2wire 1800 gateway(it's a modem, router/gateway)to work with FreeBSD? I have been told my other users of FreeBSD that this router/gateway does work with FreeBSD. (Freebsd 6.3). However, the values given to me by att techs have not worked. This is why I am email you all for some assistance. The error message is that network/server is unknown or cannot be found. Well, is this connected through Ethernet? Then it is not a FreeBSD problem. You would want to check the following: - Your computer's IP address / subnet mask - Your router's IP address / subnet mask (and whether they are in the same subnet with the PC). If you are not sure of the router's IP, most of them have a reset hole you can use to return it to factory settings. Have a look at the manual to see the defaults if you are not sure. When you verify these, you should be able to ping the router from your terminal. Then it is simply a matter of entering the web interface of the router and provide a set of credentials and maybe a few more settings (like PPPoE or PPPoA and so on). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Need FreeBSD 7.0 XEN-KERNEL
Thanks mate, If i need that FS files, i can give you a ftp accunt. BTW, My XEN server is installed on Fedora 8.0. And i need 3 FreeBSD as a guest OS for production. That servers will be a qmail cluster with 2 qmail/vpopmail and a NFS storage server for mail servers. Can you tell me your opinion about this condition ? Thanks again. On Mon, Aug 11, 2008 at 4:53 AM, Outback Dingo <[EMAIL PROTECTED]>wrote: > heres three kernels working and my config, i also have 4, 8 and 16GB file > systems ready to roll, compressed they run 70+Megs each, if you want them i > > need a place to drop em, good luck though, paravirtualized is good for > maybe > light dev work, not production, hypervised under linux KVM both 7 and > CURRENT > work fine > > On Sun, Aug 10, 2008 at 10:39 PM, Cagri Ersen <[EMAIL PROTECTED]>wrote: > >> Hi list, >> I want to install a FreeBSD 7.0 on a XEN Server as (para-virtualize) domU. >> There is an installation document on FreeBSD handbook ( >> http://www.freebsd.org/doc/en/books/handbook/virtualization-guest.html) >> However, >> the link is broken on the page which is for downloading the kernel file. >> >> So, where can i get that file ? >> >> Thanks for help. >> -- >> Cagri Ersen >> ___ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> [EMAIL PROTECTED]" >> > > -- Cagri Ersen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"