portsnap and portupgrade question
Hello all, Thanks for the awesome OS! I am a Linux user and I just started using FreeBSD. It is awesome, and the Handbook as well! I am following Chapter 24 of the Handbook to update my system. First I completed the freebsd-update Then I ran portupgrade -av Then I ran portsnap. When I decided what to make PACKAGESITE I picked 8.0-RELEASE (not STABLE or CURRENT). I also mirrored the entire 20GB i386 8.0-RELEASE package set. I live in South-Africa and my ADSL is slow and expensive, so having the whole collection locally 'helps' :) Now here is my question. After I ran portsnap fetch extract, I ran portupgrade and got quite a fright. What does portsnap want to download? 8.0-RELEASE or STABLE? I did not mirror the ports because that would be really big, so it will cost me a lot of time to upgrade with portupgrade. Is there a way to do this with the binary packages instead? Or am I doing something wrong? Any pointers for this n00b would be greatly appreciated! Regards, Coert ___ 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
NANOBSD dhclient freeze
Hello, I'm having an issue with dhclient on nanobsd. It requests a lease and never exits truss /sbin/dhclient vr0 __sysctl(0xbfbfe684,0x2,0xbfbfe68c,0xbfbfe690,0x0,0x0) = 0 (0x0) mmap(0x0,328,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 671698944 (0x28095000) munmap(0x28095000,328) = 0 (0x0) __sysctl(0xbfbfe6e8,0x2,0x2808be3c,0xbfbfe6f0,0x0,0x0) = 0 (0x0) mmap(0x0,32768,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 671698944 (0x28095000) issetugid(0x280848a7,0xbfbfebac,0x104,0x0,0x0,0x0) = 0 (0x0) open(/etc/libmap.conf,O_RDONLY,0666) ERR#2 'No such file or directory' open(/var/run/ld-elf.so.hints,O_RDONLY,00) = 2 (0x2) read(2,ehnt\^a\0\0\0...@\0\0\0\^]\0\0\0...,128) = 128 (0x80) lseek(2,0x80,SEEK_SET) = 128 (0x80) read(2,/lib:/usr/lib:/usr/local/lib\0,29) = 29 (0x1d) close(2) = 0 (0x0) access(/lib/libc.so.7,0) = 0 (0x0) open(/lib/libc.so.7,O_RDONLY,00) = 2 (0x2) fstat(2,{ mode=-r--r--r-- ,inode=173008,size=1148004,blksize=4096 }) = 0 (0x0) pread(0x2,0x2808ad80,0x1000,0x0,0x0,0x0) = 4096 (0x1000) mmap(0x0,1155072,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 671731712 (0x2809d000) mmap(0x2809d000,1036288,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,2,0x0) = 671731712 (0x2809d000) mmap(0x2819a000,24576,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,2,0xfd000) = 672768000 (0x2819a000) mprotect(0x281a,94208,PROT_READ|PROT_WRITE) = 0 (0x0) close(2) = 0 (0x0) sysarch(0xa,0xbfbfe750,0x2805b37b,0x2808a2f8,0x2806ddd9,0x2808a2f8) = 0 (0x0) mmap(0x0,736,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 672886784 (0x281b7000) munmap(0x281b7000,736) = 0 (0x0) mmap(0x0,21896,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 672886784 (0x281b7000) munmap(0x281b7000,21896) = 0 (0x0) sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) __sysctl(0xbfbfe704,0x2,0x805a520,0xbfbfe70c,0x0,0x0) = 0 (0x0) sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) socket(PF_LOCAL,SOCK_DGRAM,0)= 2 (0x2) fcntl(2,F_SETFD,FD_CLOEXEC) = 0 (0x0) connect(2,{ AF_UNIX /var/run/logpriv },106)= 0 (0x0) __sysctl(0xbfbfe824,0x2,0x281a6400,0xbfbfe82c,0x0,0x0) = 0 (0x0) __sysctl(0xbfbfe744,0x2,0xbfbfe6dc,0xbfbfe74c,0x28192294,0xc) = 0 (0x0) __sysctl(0xbfbfe6dc,0x2,0x281a64f8,0xbfbfe788,0x0,0x0) = 0 (0x0) readlink(/etc/malloc.conf,0xbfbfe833,1024) ERR#2 'No such file or directory' issetugid(0x28190fb1,0xbfbfe833,0x400,0xbfbfe82c,0x0,0x0) = 0 (0x0) break(0x810) = 0 (0x0) __sysctl(0xbfbfeab4,0x2,0xbfbfeabc,0xbfbfeac0,0x0,0x0) = 0 (0x0) mmap(0x0,1048576,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 672886784 (0x281b7000) mmap(0x282b7000,299008,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 673935360 (0x282b7000) munmap(0x281b7000,299008)= 0 (0x0) access(/etc/localtime,4) = 0 (0x0) open(/etc/localtime,O_RDONLY,00) = 3 (0x3) fstat(3,{ mode=-r--r--r-- ,inode=133,size=751,blksize=16384 }) = 0 (0x0) read(3,TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0...,29000) = 751 (0x2ef) close(3) = 0 (0x0) clock_gettime(13,{1274949738.0 })= 0 (0x0) open(/etc/dhclient.conf,O_RDONLY,0666) = 3 (0x3) fstat(3,{ mode=-rw-r--r-- ,inode=142,size=162,blksize=16384 }) = 0 (0x0) read(3,initial-interval 1;\nsend host-n...,16384) = 162 (0xa2) read(3,0x2820d000,16384) = 0 (0x0) close(3) = 0 (0x0) socket(PF_INET,SOCK_DGRAM,0) = 3 (0x3) ioctl(3,SIOCGIFMEDIA,0xbfbfec80) = 0 (0x0) close(3) = 0 (0x0) open(/dev/null,O_RDWR,00) = 3 (0x3) stat(/etc/nsswitch.conf,{ mode=-rw-r--r-- ,inode=76,size=323,blksize=16384 }) = 0 (0x0) open(/etc/nsswitch.conf,O_RDONLY,0666) = 4 (0x4) ioctl(4,TIOCGETA,0xbfbfea10) ERR#25 'Inappropriate ioctl for device' fstat(4,{ mode=-rw-r--r-- ,inode=76,size=323,blksize=16384 }) = 0 (0x0) read(4,#\n# nsswitch.conf(5) - name ser...,16384) = 323 (0x143) read(4,0x28236000,16384) = 0 (0x0)
Re: Cloning question
On Wed, 26 May 2010 22:33:16 -0400, Steve Bertrand st...@ipv6canada.com wrote: I've written a few howto's on backup/restore/cloning in the past, but now I have a question that I hope to have quickly answered. I'm not looking for criticism on my approach, only on whether it will work. With that said, I'll lay out my scenario and my questions. Scenario: - live web server (300 domains), shut the box down and booted up a copy of the system on new hardware - changed the normal system items (nic, fstab etc) - new box is running fine under old system, but I need to transfer the old system data (all of it...*all* data) to the new disk sub-structure - new box has RAID card, but not compatible w/FBSD - new box has had RAID card disabled, so new disks show up as standard adX drives Questions: - while running the 'new' box under the 'old' system, can I: --- atacontrol create RAID1 ad4 ad6 --- fdisk --- label: to items under /mnt, as to prepare for copy - stop all services (or go into single-user), and dump each slice from orig to new ...if so, please advise of the dump command that I'd be using. Normally I'd use rsync, but this situation can sustain some downtime to ensure a complete and utter mirror. If you want to use dump/restore to copy the root partition from ad0s1a to ad4s1a you can use: # newfs -L NEWROOT /dev/ad4s1a # mount -t ufs /dev/ufs/NEWROOT /mnt # cd /mnt # dump -0auL -C 32 -f - / | restore -rf - When this is run in single-user mode, the partiion mounted at /mnt should have a copy of the root filesystem. Repeat the dump-restore pipe for other filesystems, e.g.: # newfs -L NEWDATA /dev/ad4s2a # mount -t ufs /dev/ufs/NEWDATA /mnt/data # cd /mnt/data # dump -0auL -C 32 -f - /data | restore -rf - # newfs -L NEWHOME /dev/ad4s3a # mount -t ufs /dev/ufs/NEWHOME /mnt/home # cd /mnt/home # dump -0auL -C 32 -f - /home | restore -rf - ... When you have dumped all your filesystems to properly mounted graft points under /mnt, update /mnt/etc/fstab and boot the new disk. ___ 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
debian compatibility
can I please be directed to any on-line reference as the procedures involved in executing a Debian binary on FreeBSD 8? 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: portsnap and portupgrade question
On Thu, 27 May 2010 08:23:58 +0200, Coert lgro...@waagmeester.co.za wrote: First I completed the freebsd-update Then I ran portupgrade -av Then I ran portsnap. It's a bit confusing to me. Why do you first update your installed ports, then the ports database? I would thing it would make more sense in reverse order, i. e. 1. freebsd-update This updates your operating system in binary way. 2. portsnap This brings your ports tree up to date 3. portupgrade -av This updates your installed ports. If you don't have much ports installed, or when you're just beginning to install a system, perform steps 1 and 2 first, then install portupgrade (or portmaster, another great tool), and then install everything else. This way you will receive the latest versions of the ports. If you wish to upgrade your installed system, perform steps 1, 2 and 3 in the proper manner. When I decided what to make PACKAGESITE I picked 8.0-RELEASE (not STABLE or CURRENT). As you updated your system with freebsd-update to follow the -RELEASE-p- branch, this is valid. Now here is my question. After I ran portsnap fetch extract, I ran portupgrade and got quite a fright. What does portsnap want to download? 8.0-RELEASE or STABLE? The portsnap program does usually download the latest version of the ports collection. Remember that ports do always get updated, there basically is no -RELEASE, -STABLE or -CURRENT branch for the ports as it is for the OS. I did not mirror the ports because that would be really big, so it will cost me a lot of time to upgrade with portupgrade. The ports tree itself is not that big - but installed applications can be. A portupgrade -av call would only upgrade your installed packages, not all that exist in ports tree. Is there a way to do this with the binary packages instead? Or am I doing something wrong? Yes, see the excellent documentation in man portupgrade: There are the -P and -PP switches (and -p might be interesting to you, too, to store and maybe transfer upgraded packages to other systems). Additionally, there's pkg_add -r to install binary packages. You can either install Latest or those refering to -RELEASE, depending on what PACKAGESITE or PACKAGEROOT are set; refer to man pkg_add for a better explaination. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: debian compatibility
On Wed, 26 May 2010 23:44:36 -0700, Jim Pazarena fqu...@paz.bz wrote: can I please be directed to any on-line reference as the procedures involved in executing a Debian binary on FreeBSD 8? http://www.freebsd.org/doc/en/books/handbook/linuxemu.html Basically see 10.2 (next page). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: portsnap and portupgrade question
Polytropon wrote: On Thu, 27 May 2010 08:23:58 +0200, Coert lgro...@waagmeester.co.za wrote: First I completed the freebsd-update Then I ran portupgrade -av Then I ran portsnap. It's a bit confusing to me. Why do you first update your installed ports, then the ports database? I would thing it would make more sense in reverse order, i. e. 1. freebsd-update This updates your operating system in binary way. 2. portsnap This brings your ports tree up to date 3. portupgrade -av This updates your installed ports. If you don't have much ports installed, or when you're just beginning to install a system, perform steps 1 and 2 first, then install portupgrade (or portmaster, another great tool), and then install everything else. This way you will receive the latest versions of the ports. If you wish to upgrade your installed system, perform steps 1, 2 and 3 in the proper manner. When I decided what to make PACKAGESITE I picked 8.0-RELEASE (not STABLE or CURRENT). As you updated your system with freebsd-update to follow the -RELEASE-p- branch, this is valid. Now here is my question. After I ran portsnap fetch extract, I ran portupgrade and got quite a fright. What does portsnap want to download? 8.0-RELEASE or STABLE? The portsnap program does usually download the latest version of the ports collection. Remember that ports do always get updated, there basically is no -RELEASE, -STABLE or -CURRENT branch for the ports as it is for the OS. I did not mirror the ports because that would be really big, so it will cost me a lot of time to upgrade with portupgrade. The ports tree itself is not that big - but installed applications can be. A portupgrade -av call would only upgrade your installed packages, not all that exist in ports tree. Is there a way to do this with the binary packages instead? Or am I doing something wrong? Yes, see the excellent documentation in man portupgrade: There are the -P and -PP switches (and -p might be interesting to you, too, to store and maybe transfer upgraded packages to other systems). Additionally, there's pkg_add -r to install binary packages. You can either install Latest or those refering to -RELEASE, depending on what PACKAGESITE or PACKAGEROOT are set; refer to man pkg_add for a better explaination. Hello Polytropon, The order of operations makes sense. I ran it that way now I checked the man page, and the -PP option is indeed what I am looking for. What I do see though, portupgrade is attempting to download the STABLE packages and not RELEASE. I have read nearly all of Chapter 24, and I looked at Chapter 4 as well. And I have scrunged through portsnap and portupgrade's man pages, but I can not yet find a way to force it to use RELEASE. I apologize if this is maybe a stupid noob thing Should I maybe not have used portsnap, so as to keep to ports tree that came with the release? Is there a way to get the original release ports tree back? Or should I maybe just be using STABLE? Here is what I get when I run portupgrade -PPanv --- Checking for the latest package of 'net/rsync' --- Found a package of 'net/rsync': /var/packages/FreeBSD/8.0-release-i386/Latest/rsync.tbz (rsync-3.0.6) --- Fetching the package(s) for 'rsync-3.0.7' (net/rsync) --- Fetching rsync-3.0.7 ++ Will try the following sites in the order named: ftp://ftp.FreeBSD.org//pub/FreeBSD/ports/i386/packages-8.0-release/ --- Invoking a command: /usr/bin/fetch -o '/var/tmp/portupgradeINlbeDr0/rsync-3.0.7.tbz' 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.0-release/All/rsync-3.0.7.tbz' fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.0-release/All/rsync-3.0.7.tbz: File unavailable (e.g., file not found, no access) ** The command returned a non-zero exit status: 1 ** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.0-release/All/rsync-3.0.7.tbz --- Invoking a command: /usr/bin/fetch -o '/var/tmp/portupgradeINlbeDr0/rsync-3.0.7.tgz' 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.0-release/All/rsync-3.0.7.tgz' fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.0-release/All/rsync-3.0.7.tgz: File unavailable (e.g., file not found, no access) ** The command returned a non-zero exit status: 1 ** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.0-release/All/rsync-3.0.7.tgz ** Failed to fetch rsync-3.0.7 --- Listing the results (+:done / -:ignored / *:skipped / !:failed) ! rsync-3.0.7 (fetch error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Fetching the latest package(s) for 'rsync' (net/rsync) --- Fetching rsync ++ Will try the following sites in the order named: ftp://ftp.FreeBSD.org//pub/FreeBSD/ports/i386/packages-8.0-release/ --- Invoking a command: /usr/bin/fetch -o '/var/tmp/portupgradeDlJGIGWL/rsync.tbz'
top memory usage question
Hello all, Just a question, on Linux the output of top's memory usage looks like this: Mem: 2075424k total, 1760848k used, 314576k free, 151872k buffers Swap: 4192924k total,0k used, 4192924k free, 1214052k cached on FreeBSD: Mem: 48M Active, 945M Inact, 190M Wired, 112M Buf, 804M Free Swap: 4063M Total, 4063M Free I have looked at the respective man pages, and googled. Where can I find out what Active, Inactive, and Wired mean? Thank you, Coert ___ 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: portsnap and portupgrade question
On Thu, 27 May 2010 10:26:49 +0200, Coert lgro...@waagmeester.co.za wrote: I checked the man page, and the -PP option is indeed what I am looking for. The -PP option forces packages. Keep in mind that it *may* happen that there isn't a package for a specific port, or a package uses the default options of a port (see make config) that won't fit your particular requirements. What I do see though, portupgrade is attempting to download the STABLE packages and not RELEASE. I think it will use the packages that correspond to the version actually present in your ports tree. If you updated your ports tree using portsnap, it's newer than RELEASE. I have read nearly all of Chapter 24, and I looked at Chapter 4 as well. And I have scrunged through portsnap and portupgrade's man pages, but I can not yet find a way to force it to use RELEASE. Just keep your ports tree as it came from the installation CD or DVD. It will then be in the state of RELEASE unless you update it (by portsnap or make update). I apologize if this is maybe a stupid noob thing No need. Should I maybe not have used portsnap, so as to keep to ports tree that came with the release? If you want to track RELEASE for your operating system anyway (by freebsd-update), it's okay to stay with the ports tree in the state of RELEASE. In this case, you can even omit using portupgrade for upgrading, simply because there is nothing to upgrade. :-) If you decide to make a release switch, e. g. from 8.0 to 8.1, it's a good chance to use portupgrade -va at this point in time - after getting the ports tree. Is there a way to get the original release ports tree back? Yes. First, delete /usr/ports. Then get the ports tree from the installation CD or DVD, e. g. by using the sysinstall program. If you want, you can remove everything except the system itself and start all over (of course, only ports will be affected, the system won't). You can obtain the -RELEASE ports tree also from the Internet, download it, and install it. But if you already have installation media, I think it's the easiest way to use this via sysinstall. Or should I maybe just be using STABLE? You have to decide this. If you plan to install once, then use, you can easily go with -RELEASE and its original ports tree. If you think you will want or need to randomly or periodically upgrade all your applications, go with -STABLE. Keep in mind you can't track -STABLE with freebsd-update - there are other means to do this (read man freebsd-update's first paragraph for an explaination why). Here is what I get when I run portupgrade -PPanv [...] ** No package available: net/rsync Why not use pkg_add -r rsync here, with PACKAGESITE / PACKAGEROOT set to the RELEASE subtree on the FreeBSD FTP server? The pkg_add program is intended to be used with binary packages. If you mix using pkg_add and portupgrade (which is possible), don't forget to keep your installed package database up to date (pkgdb -aF). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: top memory usage question
On Thu, 27 May 2010 11:52:15 +0200 Coert lgro...@waagmeester.co.za wrote: Hello all, Just a question, on Linux the output of top's memory usage looks like this: Mem: 2075424k total, 1760848k used, 314576k free, 151872k buffers Swap: 4192924k total,0k used, 4192924k free, 1214052k cached on FreeBSD: Mem: 48M Active, 945M Inact, 190M Wired, 112M Buf, 804M Free Swap: 4063M Total, 4063M Free This is missing Cache I have looked at the respective man pages, and googled. Where can I find out what Active, Inactive, and Wired mean? Active, Inact, Cache , and Free are all part of the same VM lifecycle. When the system need to allocate memory it comes from cache or free. Wired memory wont be paged-out. ___ 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: kernel build fails - .depend, line 27905: Need an operator --- SOLVED
Re. lest I forget. (...) I now will build world kernel and hope that it'll come out fine. And so it did. kldxref /boot/kernel The kernel runs now. So back to my ezjails. Thanks to all, Rgds., Peter. -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 ___ 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: Media streaming
-Original Message- From: Carl Chave [mailto:c...@chave.us] Sent: 27 May 2010 00:48 To: Graeme Dargie Cc: freebsd-questions@freebsd.org Subject: Re: Media streaming Graeme, No answer from me unfortunately, but, possibly mediatomb? I had a question for you about ushare though - I use it to use it with my SMCWAA-G media players and it came the closest to operating like I wanted, BUT, I wasn't never able to stream audio to more than one player at a time. I never figured out if it was a ushare problem or something else. Are you able to stream to more than one device at a time? I cant say I have ever tried, but I will give it a try and let you know. Regards Graeme ___ 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
Getting a USB mobile modem working
Hello List, I've recently installed FreeBSD on my laptop and everything seems to be working except my Novatel mobile modem. It's a modem that plugs into a USB port and gives me network access off nearby mobile towers. My issue is, I hope, mostly one of ignorance. When I was running Linux on my laptop, I'd plug the modem in and Network Manager would detect it and automatically start a connection. Making the transition to FreeBSD I've found there isn't any automated process. So I have two questions: 1. How can I find out if FreeBSD has the proper drivers/firmware to run the modem? 2. Assuming the modem is supported, how do I get it working? 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: How long do you go without upgrading FreeBSD to a newer release?
On Thu, 20 May 2010, Mehmet Erol Sanliturk wrote: (i) install onto a new computer , test it , and if it is working very well transfer data onto new system , and keep old system for a new release/update cycle . This step is most suitable for production systems exposed to outer world . (ii) attach a new hard disk to the computer , copy all of the present files to the new system , update it , test it , if it is successful , use previous hard disk for a new release/update cycle , (iii) back-up all of the data , and try update . Testing suitability may take a long time . In steps (ii) and (iii) , do not load new data during tests , because at the end , all of them may be destroyed . ( No one of the above steps are suitable for a proprietary , activation based operating system because they are not allowing so many computer and/or hard disk changes . ) Therefore , the problem is a system analysis and design process . In my case, I have nagios setup to advise me when its been 60 days since last upgrade and perform an upgrade religiously when the alarm is sounded ... have had this policy for *years* now without regret ... Marc G. FournierHub.Org Hosting Solutions S.A. scra...@hub.org http://www.hub.org Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.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
getty repeating too quickly port /dev/ttyv8
I upgraded a FreebSD 7.2 to 8.0. That system had KDE and KDM as window manager. Now, after rebooting I get two messages on the console init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 secs. I can login at the console in text mode (Ctrl-Alt-F1, F2, ... F8), Ctrl-Alt-F9 does not do anything but giving that getty repeating ... error My /etc/ttys has: ttyv8 /usr/local/bin/kdm -nodeamon xterm on secure Of course I can comment it out, then the errors don't pop up, but that not what I want How can I solve this? ___ 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
How to get more descriptive errors from auto-mount daemon?
Hi! I'm using the auto-mount daemon to access another server via NFS, and I keep getting error messages in `/var/log/messages`: May 27 01:03:26 hedwig amd[9851]: mountd rpc failed: RPC: Can't decode result May 27 01:03:26 hedwig last message repeated 4 times My searches so far on the web have failed to find anything that seems to apply. I'm wondering if there is a way that I can make amd or mountd provide more information in the logs? Thanks, Ricky Morse [pu...@hedwig ~]$ uname -a FreeBSD hedwig 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 21:11:58 UTC 2010 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. ___ 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: getty repeating too quickly port /dev/ttyv8
n dhert ndhert...@gmail.com writes: I upgraded a FreebSD 7.2 to 8.0. That system had KDE and KDM as window manager. Now, after rebooting I get two messages on the console init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 secs. I can login at the console in text mode (Ctrl-Alt-F1, F2, ... F8), Ctrl-Alt-F9 does not do anything but giving that getty repeating ... error My /etc/ttys has: ttyv8 /usr/local/bin/kdm -nodeamon xterm on secure Of course I can comment it out, then the errors don't pop up, but that not what I want How can I solve this? Look at the log messages from kdm (and X itself). You're looking for reasons why they (one of them, at least) exit quickly. ___ 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 get more descriptive errors from auto-mount daemon?
Richard Morse remo...@partners.org writes: Hi! I'm using the auto-mount daemon to access another server via NFS, and I keep getting error messages in `/var/log/messages`: May 27 01:03:26 hedwig amd[9851]: mountd rpc failed: RPC: Can't decode result May 27 01:03:26 hedwig last message repeated 4 times My searches so far on the web have failed to find anything that seems to apply. I'm wondering if there is a way that I can make amd or mountd provide more information in the logs? Start with -d for mountd. You will want to do this from the command line, not from the startup scripts. ___ 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 router - large scale
Hello everyone. We're in the very early stages of considering [Free|Open]BSD on commodity hardware to handle NAT *and* firewall duties for (what I consider to be) a sizable deployment. Overall bandwidth is low, only a gigabit connection, but we handle approximately fifteen thousand devices. DHCP and DNS would be passed through to other servers, this hardware would only be responsible for address translation and pf. I've done this on a very, very small scale (small/home office, small business) but I'm curious how many other folks are doing it on this scale, the hardware they are running on and any gotchas they may have faced. Does pf on FreeBSD take advantage of multiple cores/SMP? Is it preferable, as with OpenBSD, to go for a very stout processor without much consideration to cores? Would freebsd-net@ be a better place to ask this? I'm getting ready to start digging in to memory and other resources needed based on available documentation but real-world usage is much preferred to my academic assessment. Thanks! kmw -- A: Maybe because some people are too annoyed by top-posting. Q: Why do I not get an answer to my question(s)? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? ___ 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: Getting a USB mobile modem working
On Thu, May 27, 2010 at 8:51 AM, Jesse Smith jessefrgsm...@yahoo.ca wrote: Hello List, I've recently installed FreeBSD on my laptop and everything seems to be working except my Novatel mobile modem. It's a modem that plugs into a USB port and gives me network access off nearby mobile towers. My issue is, I hope, mostly one of ignorance. When I was running Linux on my laptop, I'd plug the modem in and Network Manager would detect it and automatically start a connection. Making the transition to FreeBSD I've found there isn't any automated process. So I have two questions: Hey Jesse, I don't have a precise answer for you but I can surely give some hints since I've been using these modems in Linux _way_ before they auto-mounted like today, so in FBSD you will likely have many of the proiblems I had... For one, many of these modes use the multi-device feature of USB, so you should look into how FBSD handles multi-device USB and how to choose from the different configurations available on the devce. Generally there will be one or several TTYs and probably a flash drive as well. For example some ZTE modems have 3 TTYs and one flash drive; only one of the TTYs actually does the dialing to GSM network, the other 2 are useless AFAIK. So, once you firgure out how to choose which devices will be mounted where, there must be support for the uart chip that the modem uses, this is so the OS can mount the device as a simple TTY which you can then send AT commands to. So the hardest part is to get the OS to mount the TTY, and then I recommend the use of wvdial which will greatly simplify the dialing process and the PPP, etc. etc. etc. Hope thsi helps and post your results back here to see if I can help you further... Good luck, Alejandro Imass 1. How can I find out if FreeBSD has the proper drivers/firmware to run the modem? 2. Assuming the modem is supported, how do I get it working? 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 ___ 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: portsnap and portupgrade question
Polytropon wrote: On Thu, 27 May 2010 10:26:49 +0200, Coert lgro...@waagmeester.co.za wrote: I checked the man page, and the -PP option is indeed what I am looking for. The -PP option forces packages. Keep in mind that it *may* happen that there isn't a package for a specific port, or a package uses the default options of a port (see make config) that won't fit your particular requirements. What I do see though, portupgrade is attempting to download the STABLE packages and not RELEASE. I think it will use the packages that correspond to the version actually present in your ports tree. If you updated your ports tree using portsnap, it's newer than RELEASE. I have read nearly all of Chapter 24, and I looked at Chapter 4 as well. And I have scrunged through portsnap and portupgrade's man pages, but I can not yet find a way to force it to use RELEASE. Just keep your ports tree as it came from the installation CD or DVD. It will then be in the state of RELEASE unless you update it (by portsnap or make update). I apologize if this is maybe a stupid noob thing No need. Should I maybe not have used portsnap, so as to keep to ports tree that came with the release? If you want to track RELEASE for your operating system anyway (by freebsd-update), it's okay to stay with the ports tree in the state of RELEASE. In this case, you can even omit using portupgrade for upgrading, simply because there is nothing to upgrade. :-) If you decide to make a release switch, e. g. from 8.0 to 8.1, it's a good chance to use portupgrade -va at this point in time - after getting the ports tree. Is there a way to get the original release ports tree back? Yes. First, delete /usr/ports. Then get the ports tree from the installation CD or DVD, e. g. by using the sysinstall program. If you want, you can remove everything except the system itself and start all over (of course, only ports will be affected, the system won't). You can obtain the -RELEASE ports tree also from the Internet, download it, and install it. But if you already have installation media, I think it's the easiest way to use this via sysinstall. Or should I maybe just be using STABLE? You have to decide this. If you plan to install once, then use, you can easily go with -RELEASE and its original ports tree. If you think you will want or need to randomly or periodically upgrade all your applications, go with -STABLE. Keep in mind you can't track -STABLE with freebsd-update - there are other means to do this (read man freebsd-update's first paragraph for an explaination why). Here is what I get when I run portupgrade -PPanv [...] ** No package available: net/rsync Why not use pkg_add -r rsync here, with PACKAGESITE / PACKAGEROOT set to the RELEASE subtree on the FreeBSD FTP server? The pkg_add program is intended to be used with binary packages. If you mix using pkg_add and portupgrade (which is possible), don't forget to keep your installed package database up to date (pkgdb -aF). Thankyou Polytropon. It is working perfectly now. I have the RELEASE ports tree back, and my system is at 8.0-RELEASE-p3 thanks to freebsd-update. Regards, Coert ___ 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 router - large scale
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27/05/2010 16:00:12, Kevin Wilcox wrote: Hello everyone. We're in the very early stages of considering [Free|Open]BSD on commodity hardware to handle NAT *and* firewall duties for (what I consider to be) a sizable deployment. Overall bandwidth is low, only a gigabit connection, but we handle approximately fifteen thousand devices. DHCP and DNS would be passed through to other servers, this hardware would only be responsible for address translation and pf. I've done this on a very, very small scale (small/home office, small business) but I'm curious how many other folks are doing it on this scale, the hardware they are running on and any gotchas they may have faced. Does pf on FreeBSD take advantage of multiple cores/SMP? Is it preferable, as with OpenBSD, to go for a very stout processor without much consideration to cores? Would freebsd-net@ be a better place to ask this? I'm getting ready to start digging in to memory and other resources needed based on available documentation but real-world usage is much preferred to my academic assessment. I've used OpenBSD/pf + carp for several sites; also + relayd for a reasonably high traffic website, plus various setups using IPSec tunnels. All very successfully. On a reasonably fast modern processor, PF can run pretty much at GB wirespeed for straight packet forwarding or NAT. Doing serious crypto slows things up somewhat. The hardest job I've had an OpenBSD firewall do is actually as a mid-level firewall between a DMZ full of web servers and a back-end database layer. The thing to watch out for is running out of states in PF. It's trivial to change that in the config, and given a machine with 1GB or so RAM dedicated to running PF, you can up the number of states by a factor of a hundred or more without problem. Also if you know all your connections are from directly attached networks and very low latency, you can be a lot more aggressive about dropping old states. PF is basically single-threaded -- even on FreeBSD, multiple cores won't help you a great deal. (Unless you've got anything else running on the firewall, when several cores is really useful, of course.) On the other hand, PF is not hugely CPU intensive. Better to spend your money on the best NICs you can afford. There are some useful enhancements in OpenBSD-4.7/pf which haven't made it into FreeBSD yet -- FreeBSD pf is basically equivalent to about OpenBSD-4.1 I think. FreeBSD is compatible with more varieties of amd64/i386 based hardware, and it does threading and multi-cpu very much better. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkv+mesACgkQ8Mjk52CukIyB4gCff56iOhw7jRwmH4jzhaRmZPiK COwAoINJQZ8YRk3s4plAuoru4CIdQr/h =xyZm -END PGP SIGNATURE- ___ 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
linux cp -u question
Hello all, Is there a FreeBSD equivalent for the linux cp -u ? http://linux.die.net/man/1/cp (-u, --update) Rgds, Coert ___ 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 cp -u question
rsync is almost certainly a better solution. On Thu, May 27, 2010 at 11:41 AM, Coert lgro...@waagmeester.co.za wrote: Hello all, Is there a FreeBSD equivalent for the linux cp -u ? http://linux.die.net/man/1/cp (-u, --update) Rgds, Coert ___ 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 -- Nothing unreal exists. - Kiri-kin-tha's First Law of Metaphysics. ___ 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: Media streaming
... So I am search of a media server that can transcode from native format to MPEG2 on the fly that does not require a GUI. I'm experimenting with FreeNAS (FreeBSD? NanoBSD?), which uses Fuppes (Free uPnP Entertainment Services) for on-the-fly transcoding (I'm streaming to a plasma tv from the FreeNAS box via an Xbox 360). It runs headless, although there's a webgui for configuration (FreeNAS and Fupples). Just mentioning in case any of the technology could be applied to your situation. Dale ___ 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
'Serious' crypto? (was: FreeBSD router - large scale)
Hi, NAT. Doing serious crypto slows things up somewhat. I've been pondering this since a while but thought that crypto engines on modern hardware would make 'extra' hardware accelerators obsolete? Or is it still worthwhile to consider hardware accelerators such as the ones guys like soekris [1] and others offer? Does anyone have an idea how much such an accelerator may help on older vs. on newer hardware? Would multiple engines work (and help) at all? From crypto(4), I would not guess so. One consequence would be that there may be certain limitations in using a separate accelerator once the platform comes with its own accelerator device? Thanks, Peter. --- [1] http://www.soekris.com/vpn1401.htm -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 ___ 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: debian compatibility
Jim Pazarena wrote: can I please be directed to any on-line reference as the procedures involved in executing a Debian binary on FreeBSD 8? Thanks! http://www.freebsd.org/doc/en/books/handbook/linuxemu.html HTH, KDK ___ 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: 'Serious' crypto? (was: FreeBSD router - large scale)
On May 27, 2010, at 1:49 PM, Peter Cornelius wrote: Hi, NAT. Doing serious crypto slows things up somewhat. I've been pondering this since a while but thought that crypto engines on modern hardware would make 'extra' hardware accelerators obsolete? It depends upon usage. Or is it still worthwhile to consider hardware accelerators such as the ones guys like soekris [1] and others offer? Does anyone have an idea how much such an accelerator may help on older vs. on newer hardware? Something like a 1GHz P3 or equivalent can generally do the symmetric crypto about as fast as a decent PCI crypto card like the HiFN 795x could; bus limitations made faster CPUs better, although a newer PCIe crypto device ought to be more competitive. What matters more for some common use cases is that crypto H/W tends to do asymmetric crypto like RSA/DSA signing to negotiate a shared session key-- aka SSL session creation for SSL websites, secure email, SSH keys, etc much faster than normal CPUs could. Would multiple engines work (and help) at all? From crypto(4), I would not guess so. One consequence would be that there may be certain limitations in using a separate accelerator once the platform comes with its own accelerator device? Sure, you can setup multiple engines, although this does better if you have separate services using each, since you do want to use an SSL session cache, but you don't want to pollute one for HTTPS with sessions from IMAPS and vice versa. Also, the config interface for Apache/IIS/whatever, or Dovecot/Cyrus/Exchange, etc might not let you specify more than one SSLEngine. On the other hand, it's not very much coding to adjust things to use multiple engines even within Apache or whatever-- I can recall some custom webserver modules from CryptoSwift for NSAPI / ISAPI / ASAPI which let you use multiple CryptoSwift boxes via ethernet network or local PCI slots, for example. Regards, -- -Chuck ___ 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: Media streaming
Sorry, yes I'm using Fuppes on FreeNAS now. FreeNAS was using Mediatomb on previous releases which I also used. On Thu, May 27, 2010 at 3:22 PM, Dale Scott dalesc...@shaw.ca wrote: ... So I am search of a media server that can transcode from native format to MPEG2 on the fly that does not require a GUI. I'm experimenting with FreeNAS (FreeBSD? NanoBSD?), which uses Fuppes (Free uPnP Entertainment Services) for on-the-fly transcoding (I'm streaming to a plasma tv from the FreeNAS box via an Xbox 360). It runs headless, although there's a webgui for configuration (FreeNAS and Fupples). Just mentioning in case any of the technology could be applied to your situation. Dale ___ 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
using portsnap and portmaster on my ns1.thought.org server.
i just tried using portmaster -a -B -d on my server that has many fewer ports than anywhere else. both here [on tao] and on the server, portmaster Aborts suddenly after complaining about my have defined or set WITH_KDE_PHONON anybody know what i'm foing wrong? tia, gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel ___ 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: Media streaming
-Original Message- From: Dale Scott [mailto:dalesc...@shaw.ca] Sent: 27 May 2010 20:23 To: Graeme Dargie; freebsd-questions@freebsd.org Subject: RE: Media streaming ... So I am search of a media server that can transcode from native format to MPEG2 on the fly that does not require a GUI. I'm experimenting with FreeNAS (FreeBSD? NanoBSD?), which uses Fuppes (Free uPnP Entertainment Services) for on-the-fly transcoding (I'm streaming to a plasma tv from the FreeNAS box via an Xbox 360). It runs headless, although there's a webgui for configuration (FreeNAS and Fupples). Just mentioning in case any of the technology could be applied to your situation. Dale Okies well so far I have tried mediatomb, the TV sees the server but gives the same message as with ushare this server does not support be useful if it said what it didn't support but there we go. I will look at Fuppes tomorrow. As for ushare and multiple streams Carl, I played something on the xbox360 upstairs then tried the Philips streamium downstairs, it could not see the media server at all, was that what you were getting ? I will test it again tomorrow as this streamium bit of kit is quite old and fairly flakey in its operation. Regards Graeme ___ 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: any shortcuts to doc to ascii?
On Thu, May 27, 2010 at 05:03:02AM +0200, Polytropon wrote: On Wed, 26 May 2010 18:38:47 -0700, Gary Kline kl...@thought.org wrote: guys, is there anything that can take these hex triplets such as We Don\xe2\x80\x99t and render them back to the ascii or keyboard equivalents? in this case, the \x99 would be an apostrophe. thus: We Don't tia, gsry ps: even lynx -dump messes up, i believe. i'm trying to go from DOC back to typewriter Yes, even a typewriter is better than DOC. :-) man, you got that right!! To process DOC files into ASCII, there are several ways, with different complexity: Most complex ones: Use OpenOffice or Abiword, open the file and save it as ASCII. Included special characters should be in regular ASCII representation now. Better: Use (from ports) catdoc or antiword. i don't see any ascii suffix [for OOo]. i saved as .txt. same krap. the \x94, x9d, \x9c... same with catdoc. i'll try antiword. [forgot about that. ] I'm not sure in how far conflicting codepages may be involved. It is known that Windows does have problems supporting standards, and this applies to character sets and language variations, too. your words could be emblazoned in 24k gold on some Monument of Truth. i've been fighting going for mac to OOo and back... (**) thanks. gary ps: antiword same as catdoc. back to my per substitutions. that works, along with vi's Builtin subs. pps::: -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel ___ 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
Mounting NFS From Within a Jail
Hi, Is it possible to mount an NFS file system from within a jail? On my jail host, I have: security.jail.mount_allowed: 1 From the jail host, I can mount just fine: r...@jailhost: mount /dev/da0s1a on / (ufs, local) devfs on /dev (devfs, local, multilabel) nfsserver:/usr/ports on /usr/ports (nfs) nfsserver:/usr/src on /usr/src (nfs) nfsserver:/usr/obj on /usr/obj (nfs) However, from within a jail, I get: r...@jailguest: mount nfsserver:/usr/ports /usr/ports mount_nfs: /usr/ports, : Operation not permitted Am I missing something else here? Tim Gustafson Baskin School of Engineering UC Santa Cruz t...@soe.ucsc.edu 831-459-5354 ___ 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: Media streaming
As for ushare and multiple streams Carl, I played something on the xbox360 upstairs then tried the Philips streamium downstairs, it could not see the media server at all, was that what you were getting ? I will test it again tomorrow as this streamium bit of kit is quite old and fairly flakey in its operation. Thanks for testing Graeme. It's been probably two years now since I last used ushare, but, it was the easiest and most reliable of the bunch for doing what I wanted, which was just to browse my directory structure - none of the annoying automatic categorization and cluttered menus. The fatal flaw was not being able to stream to two players at once (not talking about synchronizing here, just different streams to multiple players). I can't remember exactly what happened though either the second player would error out when attempting to start a track or it just didn't see the server as you described. Maddening and I never had the opportunity to ask anyone to test it to see if it was my specific setup or what... ___ 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: any shortcuts to doc to ascii?
On Thu, May 27, 2010 at 04:36:08PM -0700, Gary Kline wrote: ps: antiword same as catdoc. back to my per substitutions. that works, along with vi's Builtin subs. Have you considered using whatever replaces the most special characters, and fixing the few characters that remain with sed? ___ 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: Media streaming
On Thu, May 27, 2010 at 6:14 PM, Graeme Dargie a...@tangerine-army.co.ukwrote: Okies well so far I have tried mediatomb, the TV sees the server but gives the same message as with ushare this server does not support be useful if it said what it didn't support but there we go. I've used mediatomb fairly regularly. I stream to my ps3 and it works quite well but it is quite picky about format of the video. Check to make sure yours meets the specs. I don't know of anything that does transcoding on-demand if I understand your desires correctly. The video must be in the correct format to be streamed. Finding the correct format required trial and error and a lot of time. I suggest splitting off like 30 secs of a file and getting that work. After that, you can re-encode the files you want streamed. -- Adam Vande More ___ 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
SQLite2 PDO module?
Hi all, I see the sqlite2 port, which is installed, and accessable in PHP as sqlite2. However, I need the PDO module for sqlite2. PDO is loaded with sqlite, which phpinfo reports as version 3. How can I get sqlite2 setup? (I have Freebsd 8, latest ports loaded) I only need this as a lookup tool on an older php app. I was thinking there might be a reasonably easy way to get this loaded in my existing FreeBSD system. But... maybe it would just be easy to load an older Linux VM and store that away until needed. Thanks for the help, Greg ___ 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
Drive Space
Hi, Just wondering if someone could explain what's going on with my drive space. I've got 2 x 500GB and 1 x 1.5TB SATA drives. /dev/ad5p1 on /data/backup (ufs, NFS exported, local, soft-updates) /dev/ad6s1a on /data/windows (ufs, NFS exported, local) /dev/ad7s1a on /data/Public (ufs, NFS exported, local) What I can't understand is why when I do 'df -h' or 'df -k' the Used and Avail amounts don't add up to the Size: # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad5p1 1.3T131G1.2T10%/data/backup /dev/ad6s1a451G113G302G27%/data/windows /dev/ad7s1a451G 31G384G 8%/data/Public # df -k Filesystem 1024-blocks Used Avail Capacity Mounted on /dev/ad5p1 1442083968 137575328 129008780410%/data/backup /dev/ad6s1a 473012182 118932864 31623834427%/data/windows /dev/ad7s1a 473012182 32967330 402203878 8%/data/Public Can someone explain where I'm going wrong? ___ 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: Drive Space
On Thu, May 27, 2010 at 10:22 PM, Steve Laurie st...@foo-unix.org wrote: Hi, Just wondering if someone could explain what's going on with my drive space. I've got 2 x 500GB and 1 x 1.5TB SATA drives. /dev/ad5p1 on /data/backup (ufs, NFS exported, local, soft-updates) /dev/ad6s1a on /data/windows (ufs, NFS exported, local) /dev/ad7s1a on /data/Public (ufs, NFS exported, local) What I can't understand is why when I do 'df -h' or 'df -k' the Used and Avail amounts don't add up to the Size: # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad5p1 1.3T131G1.2T10%/data/backup /dev/ad6s1a451G113G302G27%/data/windows /dev/ad7s1a451G 31G384G 8%/data/Public # df -k Filesystem 1024-blocks Used Avail Capacity Mounted on /dev/ad5p1 1442083968 137575328 129008780410%/data/backup /dev/ad6s1a 473012182 118932864 31623834427%/data/windows /dev/ad7s1a 473012182 32967330 402203878 8%/data/Public Can someone explain where I'm going wrong? Each filesystem has a reversed amount, it defaults to 8%. -- Adam Vande More ___ 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: Drive Space
On Thu, May 27, 2010 at 11:16 PM, Adam Vande More amvandem...@gmail.comwrote: Each filesystem has a reversed amount, it defaults to 8%. reserved man newfs and http://www.freebsd.org/doc/en/books/faq/disks.html#DISK-MORE-THAN-FULL -- Adam Vande More ___ 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
BSD support for latest hardware
Hello all, I'm interested in finding out if the latest version of freebsd supports the latest processors from AMD (Magny-Cours) Intel Nehalem EP(Westmere) EX? How many cpu cores are supported in a single server? Max memory? The release notes seem to reference old hardware (not a bad thing) but I'm focused on latest architectures. Thanks for any input or pointers to where I can find this information. Thanks, Chip ___ 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: using portsnap and portmaster on my ns1.thought.org server.
On Thu, May 27, 2010 at 03:59:56PM -0700, Gary Kline wrote: i just tried using portmaster -a -B -d on my server that has many fewer ports than anywhere else. both here [on tao] and on the server, portmaster Aborts suddenly after complaining about my have defined or set WITH_KDE_PHONON anybody know what i'm foing wrong? Do you have WITH_KDE_PHONON in your make.conf? Are you trying to upgrade to KDE/QT 4? If so, look at the port makefiles for multimedia/phonon and multimedia/qt4-phonon and you'll see why it aborts. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpNrfwpp3QOU.pgp Description: PGP signature
Re: using portsnap and portmaster on my ns1.thought.org server.
On Fri, May 28, 2010 at 07:41:33AM +0200, Roland Smith wrote: On Thu, May 27, 2010 at 03:59:56PM -0700, Gary Kline wrote: i just tried using portmaster -a -B -d on my server that has many fewer ports than anywhere else. both here [on tao] and on the server, portmaster Aborts suddenly after complaining about my have defined or set WITH_KDE_PHONON anybody know what i'm foing wrong? Do you have WITH_KDE_PHONON in your make.conf? Are you trying to upgrade to KDE/QT 4? If so, look at the port makefiles for multimedia/phonon and multimedia/qt4-phonon and you'll see why it aborts. actually, i just realized this was for KDE4 only. altho the UPDATING mentioned kde 3.5.X to 4.4. anyhow, looks like i'm safe. still touching stuff. strangely, i was sending mail when tao did a sudden reboot. i lost every bit of mail... [[right now anm doing a portsnap extract.] gary Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: any shortcuts to doc to ascii?
On Thursday 27 May 2010 05:18:07 pm Bob Hall wrote: On Thu, May 27, 2010 at 04:36:08PM -0700, Gary Kline wrote: ps: antiword same as catdoc. back to my per substitutions. that works, along with vi's Builtin subs. Have you considered using whatever replaces the most special characters, and fixing the few characters that remain with sed? exactly!!! [from pc-bsd//kmail] ___ 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