Re: FreeBSD, Centos and ZFS
On Sat, Oct 12, 2013, at 10:53, aurfalien wrote: Hi, I would like to first say that by no means is this a hey, why is my Mac faster then my PC kind of email. I'm really hoping its an LSI driver issue. It may very well be an LSI firmware issue. What are the firmwares for those HBAs? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freebsd-update upgrade -r 7.4-RELEASE-p12
On Wed, Oct 9, 2013, at 8:36, Eduardo Morras wrote: On Tue, 8 Oct 2013 21:32:39 -0600 (MDT) Mike Brown m...@skew.org wrote: alexus wrote: ok, I just did fetch install and got bumped from p5 to p9 # uname -a FreeBSD XX.X.org 7.4-RELEASE-p9 FreeBSD 7.4-RELEASE-p9 #0: Mon Jun 11 19:47:58 UTC 2012 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 # can I take it all the way to -p12? -p10 through -p12 probably didn't involve any kernel changes. Bumping the reported patchlevel isn't considered important enough to warrant building a new kernel. That there's no kernel changes doesn't mean that uname -a info is not updated. You are incorrect. The output of uname -a is taken from the kernel and cannot be updated without installing a new kernel. The good news is that FreeBSD 10 will ship with a new utility called freebsd-version which will provide a better way of identifying if your system is up to date. From the commit message: Introduce the /libexec/freebsd-version script, which is intended to be used by auditing tools to determine the userland patch level when it differs from what `uname -r` reports. This can happen when the system is kept up-to-date using freebsd-update and the last SA did not touch the kernel, or when a new kernel has been installed but the system has not yet rebooted. http://svnweb.freebsd.org/base/head/bin/freebsd-version/ By the way, it will be /bin/freebsd-version as it has been relocated since the import into head. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freebsd-update upgrade -r 7.4-RELEASE-p12
On Tue, Oct 8, 2013, at 22:32, Mike Brown wrote: alexus wrote: ok, I just did fetch install and got bumped from p5 to p9 # uname -a FreeBSD XX.X.org 7.4-RELEASE-p9 FreeBSD 7.4-RELEASE-p9 #0: Mon Jun 11 19:47:58 UTC 2012 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 # can I take it all the way to -p12? -p10 through -p12 probably didn't involve any kernel changes. Bumping the reported patchlevel isn't considered important enough to warrant building a new kernel. If your sources are in /usr/src, do this: grep -v # /usr/src/sys/conf/newvers.sh | head -4 If he had sources on the box he probably would have just compiled the fixes himself. The version number shouldn't be embedded in the kernel like that so it's easier for people to audit their systems. I have VMs right now in Xen that report different FreeBSD versions and it's confusing for other sysadmins who aren't intimately familiar with FreeBSD. Some were updated by freebsd-update, some were updated by src. But they don't report the same OS version so I get asked why we haven't updated those servers yet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: gpart weirdness: diskid/DISK-3EV0P4PZ00007250010X GPT (17G)
On Wed, Oct 9, 2013, at 4:33, Anton Shterenlikht wrote: # gpart show = 34 35566411 da1 GPT (17G) 34 35566411 - free - (17G) = 34 35566411 diskid/DISK-3EV0P4PZ7250010X GPT (17G) 34 35566411- free - (17G) = 34 35566411 da2 GPT (17G) 34 35566411 - free - (17G) = 34 35566411 diskid/DISK-3EV0PWCX72500ZNJ GPT (17G) 34 35566411- free - (17G) # This is normal. Gpart is showing you both the physical dev versions of the devices and the GPT label versions of the devices. I'll admit it can be confusing, though. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: munin related
On Tue, Oct 8, 2013, at 1:15, Trond Endrestøl wrote: On Mon, 7 Oct 2013 19:57+0200, Laszlo Danielisz wrote: Yep killing nscd help me to get out of this trouble. I have long suspected nscd to reinitialise the timers whenever an entry is requested while still held in the cache, be it a positive or a negative result. As such the only reasonable solution is to never cache negative results (TTL=0) and keep the positive TTL relatively short, say no more than 60 minutes. Can someone more knowledgeable on nscd internals confirm my suspicion? I'm not that guy, but I do remember watching this closely on the mailing lists a while back. I can't deploy nscd because of negative cache issues and I don't think this patch in this thread was ever committed. I haven't had time to investigate, though. http://freebsd.1045724.n5.nabble.com/PATCH-Fix-for-negative-cacheing-problem-in-NSCD-td5722843.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: install packages with pkg_add(1) into another file system
On Tue, Oct 8, 2013, at 6:16, Matthias Apitz wrote: So far so good. Now I want install the packages as well into the image in /mnt. What would be the best method for this? Run pkg_add with the flag --chroot chrootdir, or use chroot(8) directly? Or any other idea? Thanks in advance All this is with 10-CURRENT (base and ports). pkg_add and all of the old pkgtools do not exist in 10-CURRENT anymore. Are you running a build of 10-CURRENT before they were removed? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: install packages with pkg_add(1) into another file system
On Tue, Oct 8, 2013, at 8:07, Matthias Apitz wrote: El día Tuesday, October 08, 2013 a las 07:58:06AM -0500, Mark Felder escribió: On Tue, Oct 8, 2013, at 6:16, Matthias Apitz wrote: So far so good. Now I want install the packages as well into the image in /mnt. What would be the best method for this? Run pkg_add with the flag --chroot chrootdir, or use chroot(8) directly? Or any other idea? Thanks in advance All this is with 10-CURRENT (base and ports). pkg_add and all of the old pkgtools do not exist in 10-CURRENT anymore. Are you running a build of 10-CURRENT before they were removed? No. The r255948 was built on a clean, empty environment but with $ cat /etc/src.conf WITH_PKGTOOLS=yes Ok, I won't question your needs for pkg_* as you seem to be aware of what you're doing :-) When you use pkg_* or pkg with their built-in chroot options it seems that it executes those tools within those chroots instead of setting the chroot as a destination for the installation. So if you wanted to use --chroot I think you have to make sure the packages are available inside the chroot. Perhaps there's some sort of DESTDIR option for the package installation? I've been searching but have had no luck yet. I'll ask around. It might be more reliable to do something like nullfs mount the packages into the chroot and do the installation completely within the chroot. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Where is pkg repository for 9.2-RELEASE (amd64)?
On Tue, Oct 8, 2013, at 10:58, Zoran Kolic wrote: Use PACKAGESITE=http://pkg-test.freebsd.org/pkg-test-${ABI}/latest That's the kit that will form the official FreeBSD package repository; it just lacks the crypto bits for signing the packages, which is why it's calling itself 'pkg-test' Oh -- there isn't an A record in the DNS for pkg-test.freebsd.org -- look up a SRV record for _http._tcp.pkg-test.freebsd.org instead. Well, I still have no idea what the address of the server is. Could someone post it (i.e. 123.456.789.123 or alike)? # dig _http._tcp.pkg-test.freebsd.org SRV ; DiG 9.9.3-P2 _http._tcp.pkg-test.freebsd.org SRV ;; global options: +cmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 8634 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 3 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4000 ;; QUESTION SECTION: ;_http._tcp.pkg-test.freebsd.org. INSRV ;; ANSWER SECTION: _http._tcp.pkg-test.freebsd.org. 120 IN SRV 10 10 80 pkg1.nyi.freebsd.org. ;; ADDITIONAL SECTION: pkg1.nyi.freebsd.org. 3600IN A 96.47.72.120 pkg1.nyi.freebsd.org. 3600IN 2610:1c1:1:6300::16:78 ;; Query time: 374 msec ;; SERVER: 192.168.93.251#53(192.168.93.251) ;; WHEN: Tue Oct 08 11:24:41 CDT 2013 ;; MSG SIZE rcvd: 144 After having it set as PACKAGESITE, I assume running pkg, pkg2ng, pkg update, pkg upgrade -fy enough? Best regards all Depends. Where are your other installed packages from? I'd probably re-install all of them from the pkg-test repository just to be safe. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: munin related
On Mon, Oct 7, 2013, at 12:57, Laszlo Danielisz wrote: Dear Dan, Yep killing nscd help me to get out of this trouble. Thank you very much! Some day it might be feasible to tie a hook into pkg that clears the uid/gid cache in nscd when trying to install packages so this isn't a problem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freebsd-update upgrade -r 7.4-RELEASE-p12
On Mon, Oct 7, 2013, at 14:22, alexus wrote: bash-4.2# freebsd-update upgrade -r 7.4-RELEASE-p12 Just freebsd-update fetch freebsd-update install is all you should have to run. The -r flag is for jumping major releases (from 7.x to 8.x, for example). I can't comment on whether or not the freebsd-update data for 7.x is still on the servers, though. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 9.2-RELEASE stability?
On Mon, Sep 30, 2013, at 14:01, Brett Glass wrote: How stable are folks finding FreeBSD 9.2-RELEASE to be? The improvements are welcome, but there have been a few troubling messages about kernel panics and VM issues on the various mailing lists. It's never clear until the release drops whether these are actual problems with the software or hardware defects in individual systems, so I am eager to hear how the new release is working for everyone. I upgraded our two main backup servers which are doing I/O via rsync/rsnapshot and sending ZFS snapshots to the other remote site every 15 minutes. I had several instances where the machines went unresponsive. They didn't panic, and they did respond to CTRL+ALT+DEL on the console, but they lost all networking and wouldn't do anything else. The only change was I enabled zfs prefetch which I previously had disabled for performance reasons. It never caused this issue on 9.1 when I had it enabled, though. The fix definitely was turning off prefetch again which doesn't bother me too much, but I can't use this environment to try to help debug it as it's important production data. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 9.2-RELEASE stability?
On Tue, Oct 1, 2013, at 18:54, ot...@ahhyes.net wrote: * I run powerdns recursor for resolution of domain names. Despite having the recursor as being one of the first things in rc.conf to start (certainly before ntpdate), ntpdate decides to run before the recursor has started. This causes the lookup of the ntp server hostname to fail (using -b ip.ip.ip.ip as a flag to ntpdate rather than a host is a way to work around the issue). Create in rc script in /usr/local/etc/rc.d that does nothing but set the REQUIRE and BEFORE fields. You can use that to re-order the startup scripts. Use the `service` command to see the new startup order -- there's a flag that will give you that output. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: after pkgng update, daily run still using pkg_info
On Sun, Sep 29, 2013, at 23:09, Gary Aitken wrote: Some of the packages reported as corrupt were installed *after* the conversion to pkgng, so why is pkg_info even noticing them? The only way this is possible is if they are in the old package format. Did you happen to convert your packages to pkgng and then install some software from ports without putting WITH_PKGNG=YES in your make.conf? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: after pkgng update, daily run still using pkg_info
Run pkg_info. If there is anything listed you have not fully converted to pkgng and have some old broken/corrupt packages. You'll want to clean this up. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to ask a DNS resolver listening on a different port than the tcp/udp 53
On Fri, Sep 27, 2013, at 13:20, Laurent SALIN wrote: Hello, I wondering how i can send queries to a dns resolver listening on a different port than the normaly 53 tcp/udp ? The situation: I've got a vps who running NSD as a autoritative nameserver, listening on tcp/udp 53 and unbound as personnal resolver, listening on a different tcp/udp port. It work very well on his own or with my OpenBSD gateway at home as DNS cache. Is there any way to use multiple IPs? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Organic SEO: Freebsdish.Org : MT
div dir=ltrfontspan style=font-family:verdana,sans-serifDear Freebsdish.Org Team,brbrI thought you might like to know some of the reasons why you are not getting enough Organic search engine and Social Media traffic for Freebsdish.Org.br br1. Your website Freebsdish.Org is not ranking top in Google organic search for many competitive keywords.brbr2. Your website profile needs to have regular update in major Social Media sites.brbr3. Your site has less number of Google amp; Yahoo back links, this can be improved further.br brThere are many additional improvements that could be made to your website, and if you would like to learn about them, and are curious to know what our working together would involve, then I would be glad to provide you with a detailed analysis in the form of a WEBSITE AUDIT REPORT for FREE.br brOur clients consistently tell us that their customers find them because they are at the top of the Google search rankings. Being at the top left of Google (#1- #3 organic positions) is the best thing you can do for your company#39;s website traffic and online reputation.br brOur packages are designed for a complete advance SEO experience which includes SMO, Brand management, Reputation management, SEO etc. in order to beat your competitors.brbrSounds interesting? Feel free to email us or alternatively you can provide me with your phone number and the best time to call you.br br--WBRbrBest Regards, brMasha Lockwood |SEO ConsultantbrPH. No: 631-292-4090brAUS: +61-39013-6090brSkype: seo.onlinebusinessbr--WBRbr PS1: This is onetime email and you may ask us to “REMOVE” you from our mailing list. brPS2: We operate 24 x7. I will be happy to send you links to price list, money back guarantee, client rankings, client testimonials, “How we are different from others?”, and “Why should you choose us?” on receiving a response from you.br span/span/span/font/div ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: find ports that aren't required anymore
On Sat, Aug 31, 2013, at 14:19, Dale Scott wrote: I was using the postfix port, but decided to replace it with ssmtp to reduce ports in use and simplify system updating (deleting postfix with pkg_delete). Is it possible that deleting postfix will leave ports installed that aren't required anymore? Will pkg_delete also delete any dependencies no longer required? If I could have ports still installed that aren't required anymore? How can I find them now? Portmaster? If you're using the old pkg format you'll want to use something like pkg_cutleaves which is in ports. If you're using the new pkg format you can simply run pkg autoremove. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Way to be announced about security updates and new releases
On Wed, Aug 21, 2013, at 1:54, Antonio Kless wrote: Is there any way to be noticed, when security updates or new releases are available? https://twitter.com/freebsd nearly would be a solution, if it did not repostquestions from its subscribers and other information that is not related to updates. http://twitter.com/freebsdsecurity is probably what you're looking for. There are several twitter accounts run by FreeBSD members ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Renumber users and groups
Can you please file a PR with your findings? That's definitely something we need fixed as mtree is pretty important to the project. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Setup HP Laserjet 1120m over network with LPD
On Thu, Aug 22, 2013, at 8:19, Juris Kaminskis wrote: generally i would prefer to stick with the native freebsd printing system which is LPD As you should! CUPS is horrible... I also use apsfilter. I can print almost any file I want just by doing lpr filename apsfilter's generated config required some hand tweaking by me, but here's an example I'll drop for you: /etc/printcap: netlaser|netlaser;r=600x600;q=medium;c=gray;p=letter;m=auto:\ :lp=9100@netlaser:\ :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\ :sd=/var/spool/lpd/netlaser:\ :lf=/var/spool/lpd/netlaser/log:\ :af=/var/spool/lpd/netlaser/acct:\ :mx#0:\ :sh: /etc/hosts: 192.168.94.5 netlaser /usr/local/etc/apsfilter/netlaser/apsfilterrc: # # don't delete these settings # PRINTER='PS' PAPERSIZE='letter' METHOD='auto' QUALITY='medium' COLOR='gray' RESOLUTION='600x600' # apsfilter as jukebox # important if audio playback device is a network print queue # INTERFACE='network' INTERFACE='network' And then I think I just had to create /var/spool/lpd/netlaser with ownership root:daemon and 755 After that I think restarting lpd and it just works? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Renumber users and groups
On Wed, Aug 21, 2013, at 7:36, Olivier Nicole wrote: Is there a clever/fast way to do that (other than find -exec chown)? Maybe! I haven't tried this myself yet, but next time I need to do this I think I'm going to take an mtree backup of the entire filesystem, change the UIDs and GIDs (vipw, then vi /etc/groups), and then re-apply the mtree to the entire filesystem. It should find all the files that are now orphaned and fix them to use the new UID/GID that you specified. :) What pitfall should I avoid? Not having a backup :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Renumber users and groups
On Wed, Aug 21, 2013, at 11:12, Frank Leonhardt wrote: On 21/08/2013 13:36, Olivier Nicole wrote: Hello, On my system legacy users come with UID starting from 200 upward, and all users come with GID lower that 100. I know it's not a good idea, but consider that some accounts are over 20 years old! This is not too much a problem with FreeBSD as I can renumber the few FreeBSD services that have a conflicting ID. But now I want to share the user directories with Mac (10.6). On Mac, any id lower than 512 should be reserved for the system. I tried to renumber the conflicting services on Mac OS, but it messes up the system. So I should renumber my users; it's not very difficult to do, but I have over 1TB of user files for 200 users. Is there a clever/fast way to do that (other than find -exec chown)? What pitfall should I avoid? Best regards, Olivier Both tar and rsync are spectacularly clever about this. I've never needed to renumber users, but I've noticed tar will restore a backup across hosts and try to resolve user names correctly. tar stores users and groups symbolically and will happily extract them to the correct numerical ID on the new host. All you need do, therefore, is merge the passwd and group files without conflict and untar everything. If you've got to do this in-place it's not going to work, but as you'd be wise to make a backup anyway you may as well make a copy instead, and let it convert them on the fly. rsync seems to pull the same trick. Those solutions sound pretty handy if I need to move the files at the same time. mtree should do this in-place with minimal fuss as it's just confirming permissions and ownership on all files. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Renumber users and groups
On Wed, Aug 21, 2013, at 11:36, Mark Felder wrote: Those solutions sound pretty handy if I need to move the files at the same time. mtree should do this in-place with minimal fuss as it's just confirming permissions and ownership on all files. I also just thought of an idea I need to benchmark: running mtree with and without nscd. I bet nscd could speed it up a lot. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Custom Software for Municipalities
This literally looks like a CRUD interface that could easily be rebuilt. PHPMyEdit, Dadabik, and others provide easy ways to produce these interfaces from database tables. For the record I wouldn't recommend Dadabik unless it does something specific that you need (postgres or sqlite support, I suppose). The developer is strange and doesn't understand open source licenses. A year or so ago I paid him $5 to get a copy of his program, received GPLv2 code, and then he got angry and started threatening me when I published it on github with some minor cleanup and translation fixes. He's since changed the license to something else. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: copying milllions of small files and millions of dirs
On Fri, Aug 16, 2013, at 1:46, Nicolas KOWALSKI wrote: On Thu, Aug 15, 2013 at 11:13:25AM -0700, aurfalien wrote: Is there a faster way to copy files over NFS? I would use find+cpio. This handles hard links, permissions, and in case of later runs, will not copy files if they already exist on the destination. # cd /source/dir # find . | cpio -pvdm /destination/dir I always found sysutils/cpdup to be faster than rsync. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: High availability on remote site
On Thu, 15 Aug 2013 18:19:35 +0700 Olivier Nicole olivier.nic...@cs.ait.ac.th wrote: Hi, I have been assigned to offer HA on a 3 tiers architecture. Data storage tier will be MySQL, so replication is easy. Keep in mind that MySQL replication has plenty of its own issues. It does not replicate every SQL command to the slave. Guaranteeing that data on both servers is identical is also a very tricky process. You might want to first browse through the sections here to get an idea: http://dev.mysql.com/doc/refman/5.5/en/replication-features.html HA should be implemented only on the Data storage tier, Active/Active, but one of the sites is remote! When everything is working, each application accesses the local MySQL tier, but when the local MySQL becomes unavailable, it should be able to automatically move to the other database server. I have no access to the application, so I cannot modify it to test if local MySQL is working. So I should have an HA mechanism that enforces changing the IP address on the database server. This is easy. Use HAProxy. It can test to see if your local MySQL instance is up and running and if it detects it is not it will automatically pass connections to the remote site's MySQL server. If both servers are installed at different places, with different addresses, would there be a way beside establishing an IP tunnel/VPN between both places to have all machines in a single subnet? This seems unnecessary. Why do you need them to be on the same subnet? An image is here http://www.cs.ait.ac.th/~on/HA.gif I am really bothered by the IP tunnel, but that's the only way I see to keep HA. Hopefully I've answered this question for you and you see that you shouldn't need these to be on the same subnet. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: SolarFlare 10GB card
Don't use the driver on their website. It's very old. Use the driver that comes with FreeBSD 9.1 which you don't have to compile. Someone should ask them to remove the link on their website... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: SolarFlare 10GB card
On Wed, 14 Aug 2013 10:51:03 -0700 aurfalien aurfal...@gmail.com wrote: On Aug 14, 2013, at 5:49 AM, Mark Felder wrote: Don't use the driver on their website. It's very old. Use the driver that comes with FreeBSD 9.1 which you don't have to compile. Yea, that driver sux actually. But how would I compile the driver in 9.2RC1 as I see the source is included? Why do you believe the driver in 9.1-RELEASE sucks? Do you have a specific issue? FYI, the driver in 9.1-RELEASE, upcoming 9.2-RELEASE, and even CURRENT are almost 100% identical: http://svnweb.freebsd.org/base/release/9.1.0/sys/dev/sfxge/ http://svnweb.freebsd.org/base/head/sys/dev/sfxge/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: SolarFlare 10GB card
On Wed, 14 Aug 2013 11:48:52 -0700 aurfalien aurfal...@gmail.com wrote: On Aug 14, 2013, at 11:34 AM, Mark Felder wrote: On Wed, 14 Aug 2013 10:51:03 -0700 aurfalien aurfal...@gmail.com wrote: On Aug 14, 2013, at 5:49 AM, Mark Felder wrote: Don't use the driver on their website. It's very old. Use the driver that comes with FreeBSD 9.1 which you don't have to compile. Yea, that driver sux actually. But how would I compile the driver in 9.2RC1 as I see the source is included? Why do you believe the driver in 9.1-RELEASE sucks? Do you have a specific issue? I meant the driver off there site. I'm trying the one with 9.1 in a few. Didn't meant to sound like a barney. Unsure why the SolarFlare driver is even up on there site, seems unstable. - aurf Ahhh, I see. You won't have to compile anything with FreeBSD 9.1 or later. Just boot up the OS and you'll see sfxge in the output of ifconfig. Enjoy! :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: SolarFlare 10GB card
On Wed, 14 Aug 2013 12:05:56 -0700 aurfalien aurfal...@gmail.com wrote: Well my fine feathered friend, thats my dilemma. I do not see the SolarFlare via ifconfig. Now pciconf -l shows much stuff, even my built in 1Gb nics but not my 10Gb Solars. I'm sure one of the many PCI devices is listed, but not as a SlarFlare, but some generic device. Any guidance? - aurf Just logged into the only Solarflare box I have access to -- /boot/loader.conf has sfxge_load=YES So on a running system you'll have to # kldload sfxge And my pciconf -l has these entries: sfxge0@pci0:6:0:0: class=0x02 card=0x71041924 chip=0x08131924 rev=0x00 hdr=0x00 sfxge1@pci0:6:0:1: class=0x02 card=0x71041924 chip=0x08131924 rev=0x00 hdr=0x00 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: BSD Magazine
Isn't BSDMag now owned by iXSystems (purchased as part of BSDMall?)? And this seems odd / unprofessional to just blindly post on the -questions mailing list ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Update /usr/src with subversion
On Mon, Aug 5, 2013, at 10:16, David Noel wrote: Ooops. Top-posted. I always forget. Does anyone know how to change the default reply behavior of gmail? Last I searched the only way to do it was with a greasemonkey script... Google still hasn't figure out how to bottom post. Can you imagine how awful their internal emails are? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
php problems
A few years ago (2011) I set up an email system for a small internet based company. I used postfix with a mysql backend for virtual accounts. I also set up apache to test a php based webmail front-end. I set up several php scripts that would run from cron that would query a database and look for new email account requests and then do a variety of tasks to get everything set up properly. After I left, someone else made modifications to the system and things stopped working properly. A few months ago I was asked to try and get things working again. I discovered that all php scripts now generate a seg fault. I tried a simple hello world type program the actual code is : ?php echo test ? and the output was; testsegmentation fault The system is FreeBSD 8.2 and php 5.3 If anyone has any idea of what changes might have been made that could cause this, please let me know. My other thought was to try reinstalling / upgrading php. Thanks in advance Mark Moellering ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: System hangs for several minutes (disk IO related)
If you Google SmartArray P400 I'm sure you will find tons of horror stories. As soon as I saw that in your post I recalled looking into an issue for a customer not too long ago. In short, it's a very bad controller with tons of issues. I could be mistaking this for another controller, but I'm pretty confident this is the same one. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 2 lines
The right way to handle this is to get your own IP allocation and do BGP out both providers. Then the internet can reach you over both internet connections and when one goes down all traffic is routed through your other connection. Another feasible, but poor option: proxy your services out in the cloud and have it be intelligent enough to be able to reach your content over both providers and properly failover when one goes down. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Unusual file: /bin/[
That's a real binary, also known as /bin/test ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Web Business Optimization: hk4u.com :MT
fontspan style=font-family:verdana,sans-serif /span/fontp class=MsoNormal style=text-align:justifyfontspan style=font-family:verdana,sans-serifspan lang=EN-INHi hk4u.com Team,/span/span/font/pp class=MsoNormal style=text-align:justifyfontspan style=font-family:verdana,sans-serifspan lang=EN-INbr/span/span/font/pfontspan style=font-family:verdana,sans-serif /span/fontp class=MsoNormal style=text-align:justifyfontspan style=font-family:verdana,sans-serifspan lang=EN-INHope you are doing well./span/span/font/pp class=MsoNormal style=text-align:justifyfontspan style=font-family:verdana,sans-serifspan lang=EN-INbr/span/span/font/pfontspan style=font-family:verdana,sans-serif /span/fontp class=MsoNormal style=text-align:justifyfontspan style=font-family:verdana,sans-serifspan lang=EN-INYour website can give you productive result in business. It sounds great! In addition, you want your website to remain at the top on the search engine./span/span/font/pp class=MsoNormal style=text-align:justifyfontspan style=font-family:verdana,sans-serifspan lang=EN-INbr /span/span/font/pfontspan style=font-family:verdana,sans-serif /span/fontp class=MsoNormal style=text-align:justifyfontspan style=font-family:verdana,sans-serifspan lang=EN-INOur company is here to help you out for the same. We span style=work as per the Google webmaster guidelines and the latest updates of SE /spanalgorithm,span style= where we /spanwill work for your website success and overcome the barriers./span/span/font/pp class=MsoNormal style=text-align:justifyfontspan style=font-family:verdana,sans-serifspan lang=EN-INbr /span/span/font/pfontspan style=font-family:verdana,sans-serif /span/fontp class=MsoNormal style=text-align:justifyfontspan style=font-family:verdana,sans-serifspan lang=EN-INUnlike other companies we provide a quality and theme based backlinks which is a result of a complete organic link building process. This is a continuous effort to provide a quality results to our clients by providing EDU amp; GOV links. br/span/span/font/pp class=MsoNormal style=text-align:justifyfontspan style=font-family:verdana,sans-serifspan lang=EN-INbr /span/span/font/pfontspan style=font-family:verdana,sans-serif /span/fontp class=MsoNormal style=text-align:justifyfontspan style=font-family:verdana,sans-serifspan lang=EN-INOur packages are designed for a complete advance SEO experience which includes SMO, Brand management, Reputation management, SEO. In order to beat your competitor in todays competitive Online market we implement highend SEO techniques which includes Articles, Blogs, EDUamp; GOV links, Review posting etc. to deliver you tremendous result. /span/span/font/pfontspan style=font-family:verdana,sans-serif /span/fontp style=margin-bottom:12pt;background:none repeat scroll 0% 0% whitefontspan style=font-family:verdana,sans-serifspan style= lang=EN-INFollowing are some of the major factors which need to be overcome for your website in order to increase your website value amp; Productivity./span/span/font/pfontspan style=font-family:verdana,sans-serif /span/fontp style=margin:5pt 0in 12pt 0.5in;background:none repeat scroll 0% 0% whitefontspan style=font-family:verdana,sans-serifspan style= lang=EN-INspan1.span style=font-style:normal;font-variant:normal;font-weight:normal;line-height:normal;font-size-adjust:none;font-stretch:normal /span/span/spanspan style= lang=EN-INYour website carries a lot of technical errors which is preventing search engine to crawl and index the pages properly./span/span/font/pfontspan style=font-family:verdana,sans-serif /span/fontp style=margin:5pt 0in 12pt 0.5in;background:none repeat scroll 0% 0% whitefontspan style=font-family:verdana,sans-serifspan style= lang=EN-INspan2.span style=font-style:normal;font-variant:normal;font-weight:normal;line-height:normal;font-size-adjust:none;font-stretch:normal /span/span/spanspan style= lang=EN-INProper keyword selection and optimization needs to be done on your website. /span/span/font/pfontspan style=font-family:verdana,sans-serif /span/fontp style=margin:5pt 0in 12pt 0.5in;background:none repeat scroll 0% 0% whitefontspan style=font-family:verdana,sans-serifspan style= lang=EN-INspan3.span style=font-style:normal;font-variant:normal;font-weight:normal;line-height:normal;font-size-adjust:none;font-stretch:normal /span/span/spanspan style= lang=EN-INYour website is not well furnished with enough quality and theme based back links./span/span/font/pfontspan style=font-family:verdana,sans-serif /span/fontp style=margin:5pt 0in 12pt 0.5in;text-align:justify;background:none repeat scroll 0% 0% whitefontspan style=font-family:verdana,sans-serifspan lang=EN-INspan4.span style=font-style:normal;font-variant:normal;font-weight:normal;line-height:normal;font-size-adjust:none;font-stretch:normal /span/span/spanspan style=
Re: Saving scanned document
Can your machine email the PDF? That's how I'd solve it... have it send to a mailbox on your local machine and have a script that grabs the attachment and puts it in a directory shared on the network. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: trashed installation ?
John, Can you link to the screenshots? They're stripped when you post to the mailing list. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: linux-f10-hal-libs
On Tue, Jul 16, 2013, at 6:26, R Skinner wrote: I've discovered a fix for certain videos using flashplayer on websites. Apparently they require hal to access the DRM (?!), so I've just whipped up a port to fix this. It has been done in a real hurry; unfortunately I don't have any further time to spend on this as I'm way over my head at the moment, but I hope this helps fix some issues for some. If there are any problems with the way I've set this up, can you let me know via this address and advice on the error would be very appreciated. Can you provide a link to a video that is broken and requires this so we have a test case? Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: [Bulk] FreeBSD upgrade woes (8.3 - 8.4)
On Thu, 11 Jul 2013 05:00:39 -0500, Eduardo Morras emorr...@yahoo.es wrote: Perhaps make buildkernel was compiled with -j 1, it's known to create a buggy kernel. This is not true to my knowledge. If buildkernel produced bad kernels with -j1 we'd not allow you to do that without jumping through hoops. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: [Bulk] FreeBSD upgrade woes (8.3 - 8.4)
On Thu, Jul 11, 2013, at 14:37, David Noel wrote: If this is the case replacing the kernel should have no effect. But what then? Any thoughts? I'd contact freebsd-fs@ and see what they have to say ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: courier imap - unable to access shared folders: operation not supported
The courier documentation says this about using enhanced idle over NFS FAM (but not Gamin) also works with NFS filesystems. On NFS clientsfam transparently forwards file monitoring requests to a peer famprocess on the NFS server. Do you have a peer fam process on the NFS server? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: courier imap - unable to access shared folders: operation not supported
On Tue, 09 Jul 2013 08:00:22 -0500, R Skinner ro...@herveybayaustralia.com.au wrote: No, I don't. But then it was something I thought might help the situation and another feature to start playing with. Bit of a stretch really... but I was getting desperate. Would that have anything to do with the main problem though? I'm honestly not sure. The doc seem to indicate that it won't work without a fam daemon on the NFS server, so maybe that's the root of the errors. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: courier imap - unable to access shared folders: operation not supported
On Tue, 09 Jul 2013 08:23:05 -0500, R Skinner ro...@herveybayaustralia.com.au wrote: Ok. I'll give it a try. But why would it work with the NFS server - before the repair and without FAM - and not now? Oh, I misunderstood. I thought you weren't having problems until you turned on that enhanced idle feature. I'd start asking in a courier irc channel or on their mailing lists -- this sounds quite odd. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: sleepycat db VS MySQL or postgres
On Tue, 02 Jul 2013 05:45:47 -0500, Ivan Voras ivo...@freebsd.org wrote: Well, this is essentially a bikeshed thread... so why not chip in I disagree; all of these databases have distinctly different uses. MySQL/PostgreSQL: pick your poison. Relational databases. Will you have multiple users connecting to the database? Will there be lots of updates to the data? These are what you want. If you care about data integrity, I'd choose Postgres. SQLite: Do you want a relational database without needing a daemon to be running and will only have a single user/process accessing the database at one time? This is what you want. NoSQL: Do you want to dabble with the mess that is NoSQL so you can build your cloud? Don't care if other nodes aren't guaranteed to get the latest copy of the data? This is what you want. SleepyCat/BerkleyDB: Is your data WORM? (Write Once Read Many) If so, this is *ABSOLUTELY* what you want. If twitter was built upon a WORM database instead of MySQL they could host the entirety of twitter on a handful of servers instead of the gross MySQL+Cassandra mess they're fighting with today. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: sleepycat db VS MySQL or postgres
On Tue, 02 Jul 2013 07:12:37 -0500, Ivan Voras ivo...@freebsd.org wrote: On 02/07/2013 13:55, Mark Felder wrote: If twitter was built upon a WORM database instead of MySQL they could host the entirety of twitter on a handful of servers instead of the gross MySQL+Cassandra mess they're fighting with today. I'd say their problem is not exactly solvable by only choosing a database :D They, like Facebook, have the problem of fanout, where a single piece of data goes into thousands of different user pages. Whatever they save in the raw data access operations will probably be relatively small compared to the horsepower needed to combine pages from all these fleeting data pieces. Good point :) I'm still sure it would work much, much better though. However, I'm just glad that's not *my* problem to fix. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: pure-ftpd Ldap
On Fri, 28 Jun 2013 09:37:12 -0500, maral ff ffma...@gmail.com wrote: I installed Pure-ftpd + Ldap and add a user in Ldap but Pure-ftpd don't recognize that user how can i fix this issue? We're going to need some sort of confirmation that you actually configured pure-ftpd to bind to your LDAP server. Can you provide your pureftpd-ldap.conf? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Compile a port without its dependencies?
Sometimes build dependencies are just that -- You might benefit from using the poudriere tool to build these things in a clean environment and then you can just install the package/runtime dependencies. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Should I be able to use mergemaster with freebsd-update?
On Wed, Jun 26, 2013, at 2:07, Mike Brown wrote: Next step, I think, is reboot, before another 'freebsd-update install' run. I'm worried something is still amiss, though, so I'm holding off for now. :( When in doubt: fetch source, build, install, and use mergemaster. Then reboot. Better safe than sorry. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD:: How to set VLAN priority?
Alex Liptsin wrote this message on Wed, Jun 26, 2013 at 11:54 +: I work with FreeBSD 9.1 RELEASE. I had configured VLANs on my server, but I can't find a way to configure VLAN priority. How can I do it? Looks like you can't w/ the default VLAN code: BUGS No 802.1Q features except VLAN tagging are implemented. You could probably implement it w/ ng_patch, but that would also mean you'd lose the feature of the card adding the VLAN tag for you... -- John-Mark Gurney Voice: +1 415 225 5579 All that I will do, has been done, All that I have, has not. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Which is the public interface to use for ipfw when lagg(4)?
On Tue, Jun 25, 2013, at 7:13, Unga wrote: What is the interface should I use for the pif? Is it lagg1? The interface you should use is the interface the IPs are on. It doesn't matter what kind of interface it is. In this case it looks like lagg1. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Should I be able to use mergemaster with freebsd-update?
On Tue, Jun 25, 2013, at 3:14, Mike Brown wrote: Well, thanks for reading this far. I'm scared to death to reboot now, since my server is in another city, but we'll see how it goes. I always avoid freebsd-update when moving between releases simply because of this atrocity. If it requires we setup a stupid kickstarter to fund a developer to sit down and rip into freebsd-update so it uses mergemaster I would be incredibly thankful. I don't know how anyone can upgrade between FreeBSD releases without an /etc/mergemaster.rc with the following settings: AUTO_INSTALL='yes' AUTO_UPGRADE='yes' # keep our custom motd IGNORE_FILES='/etc/motd' # Do not display changes that only affect whitespace DIFF_FLAG='-Bub' FREEBSD_ID='yes' DELETE_STALE_RC_FILES='yes' ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: http://www.freebsd.org/doc/en/books/handbook/serialconsole-setup.html
On Tue, Jun 25, 2013, at 11:23, Stephen Burke wrote: Does anyone know how I could push serial output to an IP port that I could SSH to? You want something like a Portmaster or Lantronix device that will provide serial consoles over SSH http://www.lantronix.com/device-networking/external-device-servers/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Should I be able to use mergemaster with freebsd-update?
On Tue, Jun 25, 2013, at 15:29, Eugene wrote: Hi all, I do not quite understand. Is the freebsd-update upgrade process completely broken? Or is it some special mode? Or was it broken recently? Because some time ago I have upgraded from 8.1 to 8.2 quite nicely, with editor-based merging of config files, and was planning to upgrade to 8.4 soon (especially as 8.2 is already not compatible with some ports). It depends on how many changes happen between the releases. Have you tried taking 7.x to 9.x before? You'll have to deal with that editor for merging many, many files. Maybe nearly everything in /etc. It's quite time consuming, whereas I can get mergemaster to auto-merge all of those files and only show me the 5 that I've personally touched. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: When to submit regression in a PR
On Fri, Jun 21, 2013, at 2:42, Aymeric Mansoux wrote: My question therefore is: while I will mention these problems upstream, should I also make the PR? Contact the port maintainer directly? I understand it is not FreeBSD specific (same issue on Debian Sid) however it really make the current port unusable for those working on laptops and those needing to input characters only reachable with the compose key. It's probably a good idea to open a PR and let the port maintainer know, but we really need to have upstream to fix it. FreeBSD discourages doing custom development in the ports tree, so even if you could whip up a patch to fix it we would prefer that it get committed upstream and the port updated to pull the new version rather than have the port committer include a custom patch with the port. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD maximum password length
There isn't a max password length as far as I'm aware, but there is a max username length that drive me insane sometimes. I should really file a PR about that... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD maximum password length
On Mon, 17 Jun 2013 12:25:54 -0500, Teske, Devin devin.te...@fisglobal.com wrote: The default in FreeBSD is MD5 MD5 is no longer the default. http://svnweb.freebsd.org/base?view=revisionrevision=238484 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD maximum password length
On Mon, 17 Jun 2013 12:52:48 -0500, Teske, Devin devin.te...@fisglobal.com wrote: Is sha512 the highest it goes in our system? Not sure what the limitations are. I know OpenBSD uses blowfish and I have been using that on older FreeBSD servers as a workaround. I think that OpenBSD uses a high number of rounds on their blowfish to make brute forces more difficult because of how slow it gets. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD maximum password length
On Mon, Jun 17, 2013, at 21:19, Brandon Gooch wrote: On Mon, Jun 17, 2013 at 6:35 AM, takCoder tak.offic...@gmail.com wrote: Perhaps your PR is unnecessary: $ svn log -v -r243023 /usr/src/sys/sys/param.h Hmm, looks like it wasn't MFC'd to 9-STABLE before 9.1's release. Well, at least it's good to know that it's coming. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Bourne shell if syntax
On Mon, 10 Jun 2013 14:05:45 -0500, Tim Daneliuk tun...@tundraware.com wrote: if [ _$PTR == _ ] ; then I've never seen this syntax before. Intriguing! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Max top end computer for Freebsd to run on
On 6/7/2013 7:52 PM, lokada...@gmx.de wrote: On 02.06.2013 22:34, Fbsd8 wrote: I'm a sub second speed freak. What is the max number of cpu's and memory size that Freebsd can handle? Can it handle 16 4ghz cpu's and 32gb of memory? I need a gaming server with some really big balls for hundreds of jails. Money is not a deciding factor here, horse power is. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Looks like there is set up to 128 maxcpu (or no limit) since FBSD 9.0. http://forums.freebsd.org/showthread.php?t=13261 Memory i don't know. With 64Bit it should many ram avaible. Greeting In theory, max RAM would be 18446744073709551616 bits (2^64) I know it is possible to configure a system with 64 cores (4 x 16-core cpus). However, I haven't seen definitive tests on scaling that far. Last I saw, somewhere in the 6 to 8 core range, you really hit the point of diminishing returns. If you are doing lots of jails, I would suggest splitting up 'sets' of jails and limiting them to run on a group of specific cores. In the above configuration, you could have 8 groups of 8 cpu-cores, each handling a specific set of jails. Good luck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: System Calls that do DNS
On Mon, 03 Jun 2013 21:57:07 -0500, Doug Hardie bc...@lafn.org wrote: I have an unusual situation. A program is doing a DNS lookup and often the IP address has no reverse DNS entries. As a result the program hangs for several timeouts. The call is not being made directly in its code, but is occurring in a system call. There are no specific calls to DNS, its something else doing it. I have been trying to track down which system call is doing it, but without success so far. I have tried syslog calls around each of the system calls I thought might be the culprit, but my guessing is not very good. How can I identify the system call that is calling DNS? If I can find it, I hopefully can find another way to do whatever it does that does not involve a reverse DNS lookup. The system DNS lookups are handled by libc. Probably somewhere in the code here: http://svnweb.freebsd.org/base/head/lib/libc/nameser/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Can sasl/sendmail Report IP Of Failed Access?
On Tue, 04 Jun 2013 10:47:16 -0500, Tim Daneliuk tun...@tundraware.com wrote: I am seeing login dictionary attacks on a FreeBSD mail server being reported. Is there a way to determine the IPs that are doing this so they can be blocked at the firewall? auth.log only notes the attempted user name, not the IP of origin. I don't use sendmail, but aren't the login attempts at least logged in maillog as well? If so, you could use fail2ban to ban them. We do this with postfix/exim/dovecot/etc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: VIMAGE (slightly off topic)
On 5/30/2013 8:29 AM, Joe wrote: Pietro Paolini wrote: Hello all, I am a new bye on the FreeBSD and I am looking at the VIMAGE features experiencing some problems. I added the options : VIMAGE if_bridge and I removed STCP then I recompiled my kernel and install it. After that, following this tutorial http://imunes.tel.fer.hr/virtnet/eurobsdcon07_tutorial.pdf I tried the Exercise 2 which consist on the following commands: vimage -c n1 vimage -c n2 ngctl mkpeer efface ether ether ngctl mkpeer efface ether ether ngctl mkpeer em0: bridge lower link0 ngctl name em0:lower bridge0 ngctl connect em0: bridge0: upper link1 ngctl connect ngeth0: bridge0: ether link2 ngctl connect ngeth1: bridge0: ether link3 vimage -i n1 ngeth0 e0 But my virtual interface on the n1 vimage does not receive any packet from the external network while I can see the packet go out from it. For instance using DHCP, e0 on n1 sends DHCP packets but it does not receive the answers (which are send, I verified it from wireshark), in adding the ARP request for his IP address (if I try to add it statically) are not received then it can not answer. At the end of the line the question is: how can I make this virtual network and the external real network be able to communicate ? Thanks in advance. Pietro. 1. That link is from 2007. So very much has changed since then. There are more current links on the internet about this subject. Most are for 8.X releases. 2. If your running 8.2-RELEASE or 9.1-RELEASE all you need to add is options vimage statement to your kernel source and recompile. 3. There are 2 networking methods available for creating vnet/vimage jail networks, if_bridge/epair and netgraph. The if_bridge/epair method is far simpler to config and use then the netgraph method. 4. There are 2 methods of jail setup, the rc.d method where your jail definition parameters go into the hosts rc.conf and the jail(8) method where you can place each jails definition parameter in separate files. 5. There are two very important show stopper PRs on vimage, 164763 memory leak and 149050 the rc.d keyword nojail problem. Vimage is a very long way from prime time usage, thats why it's labeled as highly experimental. Host system freezes and page faults are common. 6. When it comes to running a firewall in a vnet/vimage jail your limited to IPFW and it has limitations. Dummynet and in kernel NAT cause system freezes. IPFILTER causes page fault at boot time. PF will run on the host but not run in the vnet/vimage jail. Here are a bunch of PRs on vimage firewall problems, 143621, 176092, 161094, 176992, 143808, 148155, 165252, 178480, 178482 Check out these links http://druidbsd.sourceforge.net/vimage.shtml http://devinteske.com/vimage-jails-on-freebsd-8 http://lists.freebsd.org/pipermail/freebsd-virtualization/2011-September/000747.html http://bsdbased.com/2009/12/06/freebsd-8-vimage-epair-howto http://zewaren.net/site/?q=node/78 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I would like to thank Pietro for asking the question and Joe for answering, as I was looking into vimage myself. This sort of thing really helps a lot of people who are exploring FreeBSD and new features. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: setup journaling for root partition
On Tue, 21 May 2013 06:43:34 -0500, saeedeh motlagh saeedeh.motl...@gmail.com wrote: thanks Julien, but i think it's not true. man page for newfs seys that journaling is done via gjournal and in freebsd handbook it says do journaling with gjournal for UFS file system. No, he's right. It's generally not recommended to use gjournal anymore. It's still supported for those that have existing implementations and want to be able to update their FreeBSD install without breaking their filesystems. UFS' SUJ (soft updates journaling) is what you should be using. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Tell me how to increase the virtual disk with ZFS?
Alexander Yerenkow wrote this message on Sat, May 11, 2013 at 18:13 +0300: zpools or increase/decrease UFS partitions. growfs(8) NAME growfs -- grow size of an existing ufs file system HISTORY The growfs utility first appeared in FreeBSD 4.4. -- John-Mark Gurney Voice: +1 415 225 5579 All that I will do, has been done, All that I have, has not. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: is there any books about network with FreeBSD
Michael Lucas has published some highly regarded books on Freebsd and Networking. Here is a link to his site https://www.michaelwlucas.com/ Full Disclosure: I have known Michael for many, many years so I am somewhat biased but I do use his books and they answer over 95% of my questions / problems. Mark Moellering On 5/10/2013 1:32 AM, Aric wrote: Hi all. is there some books about network, such as gateway,vpn,turnnel,bridge! the books is more about netwok, no server or the basic Unix telnologic or only a little server and basic command thanks ! -- ---Aric Liang mail: leea...@126.com MSN: leea...@live.cn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: VMware tools for FreeBSD
If this is a production server operation VMWare will *only* support you running their list of supported FreeBSD versions and their official VMWare Tools. This means you'll often be left behind several releases with the most recent available being completely abandoned by the FreeBSD project. It's a sad situation that they call this supported. If you really don't have any concerns about that what you want is emulators/open-vm-tools or emulators/open-vm-tools-nox11 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: pkgng repositories
On Wed, 01 May 2013 08:54:33 -0500, Quark unixuser2000-f...@yahoo.com wrote: Does some noble soul maintain any publically accessible pkgng repo? PCBSD has one! ftp://ftp.pcbsd.org/pub/mirror/packages/9.1-RELEASE/amd64/ (or i386) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD-update?
On Wed, 24 Apr 2013 14:34:30 -0500, Steve O'Hara-Smith st...@sohara.org wrote: You have updated to 9.1-RELEASE-p2 - but since there have been no kernel changes since 9.1-RELEASE the kernel version message hasn't changed. This could very reasonably be regarded as bug in the update/version reporting process but I wouldn't hold my breath for a fix, as things stand the version reported only changes when the kernel is updated, or if you recompile it after the update. It would be nice if the version of the OS itself was stored in something like /etc/freebsd-version so you know what the version of the OS as a whole is. I'd even accept some sort of output by freebsd-update. It just seems silly that there's no other way -- kern.osrelease is just the base release and kern.version is the same thing that uname -a outputs. It's hard to pick this up and monitor it accurately. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD-update?
On Wed, Apr 24, 2013, at 18:07, Mike Brown wrote: Da Rock wrote: sysctl kern.version For me, that's the same info as in uname -a. Try this: grep -v # /usr/src/sys/conf/newvers.sh | head -4 Not useful if you don't have src on your servers, but that's good to know. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD-update?
On Wed, Apr 24, 2013, at 20:41, Da Rock wrote: On 04/25/13 09:07, Mike Brown wrote: Da Rock wrote: sysctl kern.version For me, that's the same info as in uname -a. Try this: grep -v # /usr/src/sys/conf/newvers.sh | head -4 That shows even less. But the point of the OP was having a file in etc with the info on version, which I fell could be redundant given the excessive detail available in sysctl which is what it is meant for. uname actually refers to the sysctl as a neat command for a shell user, doesn't it? The point is that the uname and sysctl output is inaccurate. If the latest release is -p6 and the kernel hasn't been touched since -p4, both uname and the sysctl only show -p4. It's impossible to tell otherwise that the system is really -p6 if you don't have /usr/src/. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
OT: posix sh problem
Hi all, Hopefully someone here is much more clever than I am. I've run out of ideas on how to cleanly convert this chunk of ksh to posix sh. This is from a BB/Hobbit/Xymon monitoring script for ZFS. I'd really like to have this working cleanly on FreeBSD without requiring any funky shells or using any temporary files. The following is supposed to be able to loop through the output of multiple zpools reading one line at a time and each line item is set as a variable: /sbin/zpool list -H | while read name size used avail cap dedup health altroot do # do interesting things here done Unfortunately you can't pipe through read in posix sh. You also can't use process substitution: while read var1 var1 (/sbin/zpool list -H) Any ideas are greatly appreciated. I know there's a python-based script floating on github but I cant guarantee every server will have python on it... Source of script is here: http://en.wikibooks.org/wiki/System_Monitoring_with_Xymon/Other_Docs/HOWTO#Hobbit_Client_and_ZFS_monitoring ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OT: posix sh problem
On Thu, 04 Apr 2013 07:47:09 -0500, Quartz qua...@sneakertech.com wrote: I'd really like to have this working cleanly on FreeBSD without requiring any funky shells Define funky shell. Does it have to be straight up plain sh? Can it use csh or tcsh syntax? Does bash count as 'funky'? Any shells not in the FreeBSD base system, basically. I don't want this script to stop working because someone somehow broke bash or zsh and nobody noticed because nobody ever uses it. or using any temporary files. Do you mean manually created temp files? because some of the different ways of doing process substitution and redirection will automatically create temp files for you in the background and fail on an unwritable filesystem. Yes, I mean manually created temp files. It looks pretty ugly to /tmp/foo and read from it a line later :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OT: posix sh problem
On Thu, 04 Apr 2013 08:54:30 -0500, Teske, Devin devin.te...@fisglobal.com wrote: Wait, you can't? Then I've been doing something wrong all these years… #!/bin/sh printf line1\nline2\n | while read line do echo line=[$line] done You sort-of can, but it's not portable at all. As detailed here: http://www.etalabs.net/sh_tricks.html One common pitfall is trying to read output piped from commands, such as: foo | IFS= read var POSIX allows any or all commands in a pipeline to be run in subshells, and which command (if any) runs in the main shell varies greatly between implementations — in particular Bash and ksh differ here. The standard idiom for overcoming this problem is to use a here document: IFS= read var EOF $(foo) EOF I was having problems with the variables magically becoming empty, remembered I had Rich's site bookmarked, checked to see if it mentioned and it was. I'll admit there's a high chance that due to lack of sleep user error was the culprit. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: [ZFS] recover destroyed zpool - what are the available options?
Original Message From: Beeblebrox zap...@berentweb.com To: freebsd-questions@freebsd.org Sent: Wed, April 3, 2013 10:50:55 AM Subject: Re: [ZFS] recover destroyed zpool - what are the available options? Volodymyr, thank you very much for answering. A strange problem is that ZFS thinks the pool is on-line: # zpool list NAMESIZE ALLOC FREECAP DEDUP HEALTH ALTROOT bsdr - - - - - FAULTED - So when I try to import, it objects. I can think of 2 things to do: a- export the pool first, then re-import b- Disconnect the original hdd / create pool bsdr on another hdd@s small gpt partition / re-connect the original hdd / somehow force the import or add the original pool to the newly created bsdr pool, and maybe the original data will come back on line?? What would you suggest? Thanks again. What does gpart show return? Are all the pool members there and working? My guess is that one member is missing or a mbr is bad. I have used the zfs import function with good results. -- View this message in context: http://freebsd.1045724.n5.nabble.com/ZFS-recover-destroyed-zpool-what-are-the-available-options-tp5800299p5801356.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OT: posix sh problem
Sorry, my email client did something weird with collapsing and I didn't see you mention that it appeared to be working for you. On Thu, 04 Apr 2013 08:54:30 -0500, Teske, Devin devin.te...@fisglobal.com wrote: The only things I saw that needed changing to go from ksh to /bin/sh were: if [ … == … ]; then Needs to be if [ … = … ]; then And optionally, a style nit would be to convert back-tick pairs into nestable $(…) syntax. For example, change: cap=`…` to instead: cap=$(…) Oh and of course, the HTML should go away since you're making a command-line tool and not a BB/Hobbit/Xymon module. I actually will be using this with Xymon at work. I did fix the == and style nit when I went over this script I'm still having a problem. When I started debugging this last night $STRING led me to believe the pipe into read wasn't working right. At the bottom of the script I added echo in front of the $BB $BBDISP line. My output is this: # sh zfs_xymon.sh status .zfs green Thu Apr 4 09:59:36 CDT 2013 zfs - health: okay - capacity: okay table border=0 cellpadding=10trth/ththZpool Name/ththStatus/ththCapacity/th/tr /tablebrbrall pools are healthy Where are the other parts of the table showing each zpool? Those are just the headers. If you sh -x you'll see it flow like this: + read name size used avail cap depup health altroot + STRING='table border=0 cellpadding=10trth/ththZpool Name/ththStatus/ththCapacity/th/tr /tablebrbr' + /sbin/zpool status -xv It's like everything between do ... done never happened? If you put echo in front of line 60 you DO get output: # sh zfs_xymon.sh STRING=table border=0 cellpadding=10trth/ththZpool Name/ththStatus/ththCapacity/th/tr trtdgreen/tdtdtank/tdtdONLINE/tdtd48/td/tr status .zfs green Thu Apr 4 10:07:30 CDT 2013 zfs - health: okay - capacity: okay table border=0 cellpadding=10trth/ththZpool Name/ththStatus/ththCapacity/th/tr /tablebrbrall pools are healthy But as you can see, everything in that do ... done is disappearing. According to Rich's Posix sh tricks site it explains that the things to the right of that pipe are completed in a subprocess. The updates it makes to STRING never make it out so it can be used in the rest of the script. Do you see what I mean now? :( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OT: posix sh problem
On Thu, 04 Apr 2013 11:16:11 -0500, Teske, Devin devin.te...@fisglobal.com wrote: Here's what I suggest (the following works for me -- lists all my pools and shows healthy): Fantastic! I'd have never considered wrapping the entire thing into STRING=$STRING$(). I can't tell you how much I appreciate your assistance with making this functional. Thank you!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: State of Packages
On 4 Apr 2013, at 21:21, Bryan Drewery bdrew...@freebsd.org wrote: On 4/4/2013 1:57 PM, d...@safeport.com wrote: Its seems certain that pkg_add is not [going to] be[ing] restored. Progress is being made on providing pkg_add and pkgng packages again. They will come back. For those who might be interested in an interim solution, we've set up an unofficial but public pkgng format repository at http://mirror.exonetric.net/pub/pkgng To use these packages, just set your PACKAGESITE variable in /usr/local/etc/pkg.conf like so, PACKAGESITE : http://mirror.exonetric.net/pub/pkgng/${ABI}/latest These have FreeBSD 8, 9 and 10, i386 and amd64 kernel pkgng format packages for the whole ports tree, build failures notwithstanding. You'll have to explicitly make the decision to trust or not these builds, of course, but all are welcome to use them until the official ones are available. - Mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
snd_hda and front headphones jack
Hi guys, I seem to be having problems getting my front headphones jack to work. I've read the snd_hda man page and perhaps I'm doing this wrong, but here's my setup: dev.hdaa.4.%desc: Conexant CX20641 Audio Function Group dev.hdaa.0.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0 dev.hdaa.1.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0 dev.hdaa.2.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0 dev.hdaa.3.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0 dev.hdaa.4.nid24_original: 0x40f001f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=1 dev.hdaa.4.nid25_original: 0x02214040 as=4 seq=0 device=Headphones conn=Jack ctype=1/8 loc=Front color=Green misc=0 dev.hdaa.4.nid26_original: 0x02a19020 as=2 seq=0 device=Mic conn=Jack ctype=1/8 loc=Front color=Pink misc=0 dev.hdaa.4.nid27_original: 0x01a1903e as=3 seq=14 device=Mic conn=Jack ctype=1/8 loc=Rear color=Pink misc=0 dev.hdaa.4.nid28_original: 0x01014010 as=1 seq=0 device=Line-out conn=Jack ctype=1/8 loc=Rear color=Green misc=0 dev.hdaa.4.nid29_original: 0x01813030 as=3 seq=0 device=Line-in conn=Jack ctype=1/8 loc=Rear color=Blue misc=0 dev.hdaa.4.nid30_original: 0x40f001f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=1 dev.hdaa.4.nid31_original: 0x9217011f as=1 seq=15 device=Speaker conn=Fixed ctype=Analog loc=0x12 color=Unknown misc=1 dev.hdaa.4.nid32_original: 0x40f001f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=1 dev.hdaa.4.nid33_original: 0x40f001f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=1 dev.hdaa.4.nid38_original: 0x40f001ff as=15 seq=15 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=1 If I am looking at this right I believe I need to set nid25 to as=1 which matches the nid31 Speaker and probably also set seq=15. However, this doesn't seem to be working. Am I overlooking something obvious? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: no 9.1-release packages?
On 7 Mar 2013, at 15:52, Ruben de Groot mai...@bzerk.org wrote: Hi, I just rented a 9.1-release VPS and was trying to install some packages. This however does not work as there is no directory packages-9.1-release on the ftp server (ftp.freebsd.org). Why is this? If you're prepared to move to pkgng for binary packages, https://wiki.freebsd.org/pkgng There's an unofficial pkgng format repository of binary packages available After installing pkgng (from ports), then edit your /usr/local/etc/pkg.conf to use this line. PACKAGESITE : http://mirror.exonetric.net/pub/pkgng/${ABI}/latest - Mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: https://wiki.freebsd.org/ certificate error
On Fri, 01 Mar 2013 08:08:17 -0600, fb...@a1poweruser.com wrote: When my browser access wiki.freebsd.org I get certificate error message. Who should I notify about this problem?] What do you get for results when you run # openssl s_client -showcerts -connect wiki.freebsd.org:443 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Limiting jail CPU memory resources
On Fri, 01 Mar 2013 08:38:05 -0600, fb...@a1poweruser.com wrote: Is there anything in 9.1 to Limit jail CPU memory resources? https://wiki.freebsd.org/Hierarchical_Resource_Limits ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: https://wiki.freebsd.org/ certificate error
On Fri, 01 Mar 2013 09:23:25 -0600, je...@seibercom.net wrote: I am not sure what he gets, but I receive this: That Gandi certificate is correct. I wonder if he's got some strange MITM going on. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: https://wiki.freebsd.org/ certificate error
On Fri, 01 Mar 2013 09:42:58 -0600, fb...@a1poweruser.com wrote: The fact remains, the ms/browsers do find the wiki.freebsd.org wedsite's certificate invalid because the certificate ip address does not match the ip address the public dns points to. You can put a certificate on any IP address you want. It's not embedded into the certificate. For the most part it only matters that the CommonName on the certificate matches the hostname of the website and the certificate chain is valid. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Limiting jail CPU memory resources
On Fri, 01 Mar 2013 09:52:41 -0600, fb...@a1poweruser.com wrote: Read that all ready and left me with more question than answers. Its experimental and has to be compiled into the kernel. Need solutions that are provided as part of the base system. Such as a loadable kernel module. Can not be risking the security of production jails on some experimental software. Unfortunately there's nothing else available yet. You'd be better off using full-fledged hypervisors like Xen, KVM, or ESXi. I'm also anxiously awaiting some improvement in this area. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: https://wiki.freebsd.org/ certificate error
On Fri, 01 Mar 2013 10:40:48 -0600, Brad Mettee bmet...@pchotshots.com wrote: On 3/1/2013 11:11 AM, Mark Felder wrote: On Fri, 01 Mar 2013 09:42:58 -0600, fb...@a1poweruser.com wrote: The fact remains, the ms/browsers do find the wiki.freebsd.org wedsite's certificate invalid because the certificate ip address does not match the ip address the public dns points to. You can put a certificate on any IP address you want. It's not embedded into the certificate. For the most part it only matters that the CommonName on the certificate matches the hostname of the website and the certificate chain is valid. And in this particular case, the certificate is for www.freebsd.org and freebsd.org, and the browser is complaining because it's being used on wiki.freebsd.org. Their certificate should have been issued for *.freebsd.org instead of just the main site name. Unfortunately I think all of the certificate issuers charge big $$$ for that type of cert.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: https://wiki.freebsd.org/ certificate error
On Fri, 01 Mar 2013 10:40:48 -0600, Brad Mettee bmet...@pchotshots.com wrote: And in this particular case, the certificate is for www.freebsd.org and freebsd.org, and the browser is complaining because it's being used on wiki.freebsd.org. No, the certificate being used on wiki.freebsd.org is NOT the one being used for (www\.)?freebsd.org. http://i.imgur.com/WHg9hI1.png If you're seeing the certificate from (www\.)?freebsd.org on the wiki site you either are a victim of a MITM attack or the specific regional FreeBSD webserver you're talking to has the wrong certificate configured. I'm not even sure if the FreeBSD website has multiple webservers based on geographical region. If you're seeing the (www\.)?freebsd.org certificate on wiki.freebsd.org site please report which IP you're connecting to so we can start comparing notes. If we can prove there are multiple webservers/IPs hosting wiki.freebsd.org we need to contact whoever manages the webserver next. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Linux's magic sysrq
On Fri, 08 Feb 2013 18:46:06 -0600, Joshua Isom jri...@gmail.com wrote: I was reading the comments on a slashdot article about moving kernel console to userland. One thing that came up with Linux's sysrq support, documented at http://en.wikipedia.org/wiki/Magic_SysRq_key to see the abilities. I'd never heard of this, and I doubt FreeBSD has anything similar, but have I just never heard of it? It's one of the few things I actually miss from Linux. Server hose? Alt+SysRq+RSEIUB (raising skinny elephants is utterly beautiful) and you have killed all processes, synced data to disk, unmounted drives, and rebooted the server. They're going to lose a lot more than the Magic SysRq if they move to userland... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: which pkg repository with 9.1
On 4 Feb 2013, at 18:53, mhca12 wrote: On Mon, Feb 4, 2013 at 7:48 PM, mhca12 wrote: On Mon, Feb 4, 2013 at 7:31 PM, mhca12 wrote: I have just installed 9.1 amd64 on a test machine and wanted to install rsync. Is pkgng the right choice and if so is there a handy guide how to get started or should I use pkg_add -r? Is this any different for i386? It used to be that there's no i386 pkgng repository. I ran pkg and it fetched and setup pkgng. That was easy. Is it possible that the November 2012 security incident means there's still no installable packaged via pkg-install? I was going to install rsync. If you're interested, we've set up an unofficial but public pkgng format repository at http://mirror.exonetric.net/pub/pkgng To use these packages, just set your PACKAGESITE variable in /usr/local/etc/pkg.conf like so, PACKAGESITE : http://mirror.exonetric.net/pub/pkgng/${ABI}/latest These have FreeBSD 8 and 9, i386 and amd64 kernel pkgng format packages for the whole ports tree, build failures notwithstanding. You'll have to explicitly make the decision to trust or not these builds, of course, but all are welcome to use them until the official ones are available. - Mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Software raid VS hardware raid
On Tue, 29 Jan 2013 08:57:31 -0600, Warren Block wbl...@wonkity.com wrote: As far a gmirror is concerned, yes, drives can be removed and new drives inserted while the mirror is running. Hot swap is more of an issue with the hardware. I have not tried it with SATA drives, although I think it should work. The Handbook chapter on gmirror talks about the problems with GPT and GEOM metadata. In short: right now, they conflict. It's possible to mirror GPT partitions, but be aware that if you mirror more than one partition on a drive, a rebuild after replacing a drive could thrash the heads as mirrors are rebuilt simultaneously. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-mirror.html Why isn't gmirror more intelligent? I hate to use Linux as an example, but mdadm won't simultaneously rebuild multiple RAID sets if they use the same physical providers to prevent this. Could this be added as a feature? Even a sysctl toggle? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ffmpef 1.1
On Tue, 15 Jan 2013 13:47:49 -0600, Zyumbilev, Peter pe...@aboutsupport.com wrote: Hi, Does anybody know if there soon be port of ffmpeg 1.1 to FreeBSD ? I assume multimedia/ffmpeg1 just needs an update ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ffmpef 1.1
On Tue, 15 Jan 2013 14:22:56 -0600, Zyumbilev, Peter pe...@aboutsupport.com wrote: 1.1 has REALLY cool features - burn subtitles Hardcoded subs are the worst :( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Jails
On Fri, 11 Jan 2013 18:28:41 +0200 Zyumbilev, Peter pe...@aboutsupport.com wrote: 1. Use http://download.openvz.org/template/precreated/debian-6.0-x86.tar.gz instead the file listed in the howto. 2. Run sysctl compat.linux.osrelease=2.6.32 in Freebsd shell before starting the jail, otherwise you will get error kernel too old. Does PLEX work? I'm highly interested in this I even posted asking for FreeBSD support on the relevant forum post... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD: GIT instaed of SVN?
On Thu, 3 Jan 2013 12:19:55 +0200 Volodymyr Kostyrko c.kw...@gmail.com wrote: Nope, importing svnsup would suffice. http://svnweb.freebsd.org/base/user/des/svnsup/ As far as I know that's not a completed project. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD: GIT instaed of SVN?
On Thu, 3 Jan 2013 12:24:31 -0400 Joseph Mingrone j...@ftfl.ca wrote: A little of topic, but Fossil is BSD licensed. It also would work poorly as an SCM for FreeBSD because everything would be in a giant sqlite database :( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD: GIT instaed of SVN?
Git is also not BSD licensed. I believe it may require bringing Python into base as well. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: is csup broken?
On Wed, 2 Jan 2013 11:08:24 -0500 fb...@a1poweruser.com wrote: This 9.1 release was released prematurely. It has more problems them 5.0 had which had a re-release 2 weeks later to fix problems. This is FUD. Stop being afraid of change. Users use portsnap Power users use svn There's no use trying to cover everyone's edge cases. You'll never keep everyone happy. Now I just had a port I maintain committed yesterday and I have no way to test it to verify the port is working. Please don't commit ports to the ports tree if you have not tested them! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: SOLVED...Re: Trying to find out how to mount as user
On Wed, 2 Jan 2013 17:47:15 +0100 Leslie Jensen les...@eskk.nu wrote: I was on a wired connection first and the on wifi so I had two different IP-addresses! FYI a cool trick is to bridge your ethernet and wifi so you can keep your IP and roam between wired and wireless :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org