How to create a livecd without compiling everything.
Hi, all. I want to create a customized freebsd livecd, and i have read quite a lot guides about how to do that. but the problem is: most of these need make buildworld, make buildkernel ... I think it's hard for my notebook do that. so is there a simpler/quicker way in which i can create a livecd, what i want to be included in the livecd are the base freebsd system plus some customized packages/config 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: Fetchmail problem
Annelise Anderson wrote: I am trying to use fetchmail on FreeBSD but get the message: fetchmail: SMTP 451 4.1.8 Domain of sender address owner-freebsd-questi...@freebsd.org does not resolve I can send mail out from the box but can't fetch mail. Annelise ___ 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 post your .fetchmailrc config file ___ 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
(no subject)
Unable to successfully dump | restore over ssh. Source machine FreeBSD 6.2, disk /dev/mirror/gm0s1a, target machine FreeBSD 6.2, target disk /dev/ad1s1a mounted on /mnt. Run dump -0aLf - / | ssh ip_address ''cd /mnt/ cat | restore -rf -'', dump/restore goes without any errors. Fstab fixed, but system failure to boot: BTX halted. Please help. Daniel Vanags Information Technology Department IT infrastructure system engineer JSC SMP Bank www.smpbank.lv Phone:+371 67019386 E-mail: daniels.van...@smpbank.lv mailto:daniels.van...@smpbank.lv ___ 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: Fetchmail problem
Fbsd1 wrote: Annelise Anderson wrote: I am trying to use fetchmail on FreeBSD but get the message: fetchmail: SMTP 451 4.1.8 Domain of sender address owner-freebsd-questi...@freebsd.org does not resolve I can send mail out from the box but can't fetch mail. Annelise ___ 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 post your .fetchmailrc config file I'm running fetchmail from the command line (haven't created a ..fetchmailrc file): fetchmail -v -k -p POP3 -u myusername my.mail.host I can ping freebsd.org, and get a response from nslookup. ___ 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
TCP/IP Sensors and Transducers
This is a message in multipart MIME format. Your mail client should not be displaying this. Consider upgrading your mail client to view this message correctly. ___ 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
Fwd: Fetchmail problem
-- Forwarded message -- From: Aftab Jahan Subedar ja...@scientist.com Date: Mon, Apr 20, 2009 at 12:59 PM Subject: Re: Fetchmail problem To: ander...@hoover.stanford.edu also can you ping freebsd.org? On Mon, Apr 20, 2009 at 10:01 AM, Annelise Anderson impal...@sbcglobal.netwrote: I am trying to use fetchmail on FreeBSD but get the message: fetchmail: SMTP 451 4.1.8 Domain of sender address owner-freebsd-questi...@freebsd.org does not resolve I can send mail out from the box but can't fetch mail. Annelise ___ 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 -- Aftab Jahan Subedar CEO/Software Engineer Subedar Technologies Ltd Subedar Baag Bibir Bagicha #1 North Jatra Bari Dhaka 1204 Bangladesh 88027554546 8801552635208 8801190753891 Radio: S21ST -- Aftab Jahan Subedar CEO/Software Engineer Subedar Technologies Ltd Subedar Baag Bibir Bagicha #1 North Jatra Bari Dhaka 1204 Bangladesh 88027554546 8801552635208 8801190753891 Radio: S21ST ___ 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
Dump | Restore
Unable to successfully dump | restore over ssh. Source machine FreeBSD 6.2, disk /dev/mirror/gm0s1a, target machine FreeBSD 6.2, target disk /dev/ad1s1a mounted on /mnt. Run dump -0aLf - / | ssh ip_address ''cd /mnt/ cat | restore - rf -'', dump/restore goes without any errors. Fstab fixed, but system failure to boot: BTX halted. Please help. ___ 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
About fetchmail
Today when I used fetchmail to get my mails, it suddenly said that if failed to connect to localhost:25 and failed to send the mail to myself, does anyone know why? The information that fetch out put reading message x...@xxx.xx:1 of 3 (2223 octets) Trying to connect to 127.0.0.1/25...connection failed. fetchmail: connection to localhost:smtp [127.0.0.1/25] failed: Connection refused. Trying to connect to ::1/25...connection failed. fetchmail: connection to localhost:smtp [::1/25] failed: Connection refused. fetchmail: SMTP connect to localhost failed fetchmail: POP3 QUIT fetchmail: POP3 On Mon, Apr 20, 2009 at 05:37:34PM +0800, wrote: fetchmail: SMTP transaction error while fetching from x...@xxx.xx and delivering to SMTP host localhost fetchmail: 6.3.9 querying pop.163.com (protocol POP3) at Mon Apr 20 18:19:06 2009: poll completed fetchmail: Query status=10 (SMTP) fetchmail: normal termination, status 10 -- # 欢迎访问我的小站 # #http://zhangzhen.czm.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
Re: Dump | Restore
target machine FreeBSD 6.2, target disk /dev/ad1s1a mounted on /mnt. Run dump -0aLf - / | ssh ip_address ''cd /mnt/ cat | restore - rf -'', dump/restore goes without any errors. 1 total nonsense: cat|restore instead of restore 2 probably nonsense: use rsh not ssh unless you really need encryption. Fstab fixed, but system failure to boot: BTX halted. bsdlabel -B ___ 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 copy files without directories
Dear all, I have read the cp manual and I cannot find an option how to copy directories without files they contain. Is this possible? Thank you very much! Zbigniew Szalbot ___ 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 copy files without directories
On 4/20/09, Zbigniew Szalbot z.szal...@lcwords.com wrote: Dear all, I have read the cp manual and I cannot find an option how to copy directories without files they contain. Is this possible? Maybe I read it wrong, but the subject and the paragraph above say two different things. Thank you very much! Zbigniew Szalbot ___ 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: how to copy files without directories
On Mon, 20 Apr 2009 13:22:38 +0200, Fernando ApesteguĂa fernando.apesteg...@gmail.com wrote: On 4/20/09, Zbigniew Szalbot z.szal...@lcwords.com wrote: Dear all, I have read the cp manual and I cannot find an option how to copy directories without files they contain. Is this possible? Maybe I read it wrong, but the subject and the paragraph above say two different things. Ahh... I am sorry. Wrong subject. I want to copy directories without files they contain. Zbigniew Szalbot ___ 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 copy files without directories
On Mon, Apr 20, 2009 at 2:12 PM, Zbigniew Szalbot z.szal...@lcwords.comwrote: Dear all, I have read the cp manual and I cannot find an option how to copy directories without files they contain. Is this possible? Thank you very much! I don't get your requirement. You'd like to copy empty directories from where to where? Is it a directory tree or just leaves (TM, patented by me)? (Leaves are at the same level,, below the branches, while trees contain branches. Wildly imagining..from a tree... or branches.. for d in `find /source/path/ -type d`; do mkdir -p /some/path/$d; done (Untested). -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ 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 copy files without directories
Le Mon, 20 Apr 2009 13:24:42 +0200, Zbigniew Szalbot z.szal...@lcwords.com: Ahh... I am sorry. Wrong subject. I want to copy directories without files they contain. see mtree(8) Something like $ mtree -dc -p path1 | mtree -U -p path2 will copy path1 under path2 ___ 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 copy files without directories
2009/4/20 Zbigniew Szalbot z.szal...@lcwords.com On Mon, 20 Apr 2009 13:22:38 +0200, Fernando ApesteguĂa fernando.apesteg...@gmail.com wrote: On 4/20/09, Zbigniew Szalbot z.szal...@lcwords.com wrote: Dear all, I have read the cp manual and I cannot find an option how to copy directories without files they contain. Is this possible? Maybe I read it wrong, but the subject and the paragraph above say two different things. Ahh... I am sorry. Wrong subject. I want to copy directories without files they contain. For a directory tree, try my dose of medicine. I think it can work. It wont set your system on fire if it doesn't:) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ 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 copy files without directories
2009/4/20 Patrick Lamaizière patf...@davenulle.org Le Mon, 20 Apr 2009 13:24:42 +0200, Zbigniew Szalbot z.szal...@lcwords.com: Ahh... I am sorry. Wrong subject. I want to copy directories without files they contain. see mtree(8) Something like $ mtree -dc -p path1 | mtree -U -p path2 Wow!! Looks brilliant. Several hidden swissknifes (yea, not knives)! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ 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: Problems with Xorg after portupgrade
On Mon, 20 Apr 2009 03:58:10 +0200 Polytropon free...@edvax.de wrote: [snip] While CTRL+ALT+Backspace does not kill the X server, I can press CTRL+ALT+F1 or ALT+F1 to return to the text mode console. I then kill the X server via CTRL+C. There's a new setting that needs to be put into xorg.conf: Section ServerFlags Option DontZap false EndSection Then you should be able to Ctrl+Alt+BkSpace to kill X. Maybe I am reading this incorrectly; however, in my /etc/xorg.conf file, I have this notation. # Uncomment this to disable the CtrlAltBS server abort sequence # This allows clients to receive this key event. #Option DontZap It would seem the language is confusing. As I would understand it, uncommenting the line disables the sequence. Therefore, it would seem to indicate that leaving it commented out activates the sequence. Maybe the language should be cleaned up. -- Jerry ges...@yahoo.com Trying to get an education here is like trying to take a drink from a fire hose. signature.asc Description: PGP signature
Re: Vim port problem
In message: 1bd550a00904190201q38e947eeq3b152a0a75782...@mail.gmail.com Fernando Apesteguía fernando.apesteg...@gmail.com writes: 2009/4/19 Glen Barber glen.j.bar...@gmail.com: 2009/4/19 Fernando Apesteguía fernando.apesteg...@gmail.com: Hi all, I have the latest version of the ports collection (gotten with portsnap). I performed a whole update of my system (FreeBSD 7.1-RELEASE-p4 #12). Everything went fine save the vim port. An upgrade of the base system Should Not(Tm) affect installed ports under normal conditions. It is unable to download vim-7.2.tar.bz2 despite the fact that the URL portupgrade tries to download from, exists: http://ftp.vim.org/pub/vim/unix/vim-7.2.tar.bz2 It was unable to download the file from any other sites. Several different errors (Move permanently, range request not satisfiable...) I am unfamiliar with automated port utilities. What happens if you do the following?: cd /usr/ports/editors/vim; make deinstall distclean; make install clean It fetches all the files from the remote site without problems and it installs it. However, I downloaded that file from the first site using 'fetch', place the file in /usr/ports/distfiles/vim and I could install the package... Don't confuse ports and packages. They are two different ways to install third-party software (until they are installed -- then everything is a package). Sorry, change package for port. What I wanted to say is: when installing the port, it couldn't download one of the needed files (vim-7.2.tar.bz2). After I did it by hand, it could install the port (compiling and all the stuff) because portupgrade found the file already downloaded in /usr/ports/distfiles/vim. http://www.mail-archive.com/freebsd-users...@jp.freebsd.org/msg03072.html According to the link, the ports system fetch the file with -r (resume) option when the previous file transfer had interrupted. However the file entity is changed with the same file name in that period causes the fetch program failed, so you needed the cleaning out of the file or fetch by hand before upgrade, I guess. I hope the ports system can handle this situation. SAITOU Toshihide ___ 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: Dump | Restore
On Mon, Apr 20, 2009 at 1:31 PM, Daniels Vanags daniels.van...@smpbank.lvwrote: Unable to successfully dump | restore over ssh. Source machine FreeBSD 6.2, disk /dev/mirror/gm0s1a, target machine FreeBSD 6.2, target disk /dev/ad1s1a mounted on /mnt. Run dump -0aLf - / | ssh ip_address ''cd /mnt/ cat | restore - rf -'', dump/restore goes without any errors. dump L0af - / | ssh ip_addr '(cd /mnt; restore -rf -)' Fstab fixed, but system failure to boot: BTX halted. You could either do bdslabel -B or use sysinstall to do the same. Only you mount the slice to /, set bootable and softupdates, then chane the mount point to /mnt before you W to commit. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ 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 create a livecd without compiling everything.
On Apr 20, 2009, at 1:23 AM, Peter Wang wrote: Hi, all. I want to create a customized freebsd livecd, and i have read quite a lot guides about how to do that. but the problem is: most of these need make buildworld, make buildkernel ... I think it's hard for my notebook do that. so is there a simpler/quicker way in which i can create a livecd, what i want to be included in the livecd are the base freebsd system plus some customized packages/config files. In order to create a livecd you need to run mkisofs somewhere that has a complete copy of FreeBSD. There are two options for this, one being running it against the live install of your system (ala /) and the other option is populating a stage directory. Most guides assume that the easiest way to do this is via the DESTDIR=/mystagedir option of make installworld installkernel distribution, and it probably is the easiest way, assuming you have done make buildworld buildkernel In your case where this is an undesirable option you can do one of a few things. 1) Use the live system to build the stage directory... # mkdir /usr/mystage ; ( cd / ; tar --exclude /usr/mystage -cf - .) | ( cd /usrr/mystage -xf - ) 2) copy over /usr/src and /usr/obj from a faster machine that's run make buildworld buildkernel and then use make installworld intallkernel distribution to build the stage dir 3) Use your live system directly to run mkisofs Thanks, Josh Paetzel ___ 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: About fetchmail
On Monday 20 April 2009 12:20:15 张臻 wrote: Today when I used fetchmail to get my mails, it suddenly said that if failed to connect to localhost:25 and failed to send the mail to myself, does anyone know why? The information that fetch out put reading message x...@xxx.xx:1 of 3 (2223 octets) Trying to connect to 127.0.0.1/25...connection failed. fetchmail: connection to localhost:smtp [127.0.0.1/25] failed: Connection sendmail/postfix/whatever_mta not running. -- Mel ___ 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 create a livecd without compiling everything.
On Monday 20 April 2009 08:23:42 Peter Wang wrote: I want to create a customized freebsd livecd, and i have read quite a lot guides about how to do that. but the problem is: most of these need make buildworld, make buildkernel ... I think it's hard for my notebook do that. so is there a simpler/quicker way in which i can create a livecd, what i want to be included in the livecd are the base freebsd system plus some customized packages/config files. If you already built them, skip buildworld/kernel in whichever guide you're using. Can't skip the install part tho. -- Mel ___ 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: Fetchmail problem
On Monday 20 April 2009 09:12:32 Annelise Anderson wrote: Fbsd1 wrote: Annelise Anderson wrote: I am trying to use fetchmail on FreeBSD but get the message: fetchmail: SMTP 451 4.1.8 Domain of sender address owner-freebsd-questi...@freebsd.org does not resolve The question isn't whether you can resolve it, but whether your mailserver can. Check your mail log for the smtp server. If the mailserver is chrooted, check for $chrootdir/etc/resolv.conf. -- Mel ___ 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 copy directories without files (was How to copy files without directories)
Hello, Ahh... I am sorry. Wrong subject. I want to copy directories without files they contain. see mtree(8) Something like $ mtree -dc -p path1 | mtree -U -p path2 will copy path1 under path2 Excellent! Thank you so much! Zbigniew Szalbot ___ 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: Upgrading from 6.3 to 7.1 -- how dangerous?
On Sunday 19 April 2009 19:06:55 John Almberg wrote: I've thought about setting up a dummy server, just to practice on. Is this a good idea? If this is to get a feel for the upgrade process, sure. But if the hardware is different, you won't be much wiser for the production box in question. I'm not upgrading a 6.4 for a client, because a previous upgrade to 7.0-STABLE hosed the data on the disk, due to an ata-regression. This is fixed most likely in 7.1-STABLE, but I'm not gambling just yet. Regressions are rare in FreeBSD (technically it's not a regression, the original 6.3 ran in UDMA mode and the 7.0 thought it could handle SATA, but it didn't), but they do happen. Either way with 7.2 around the corner, I would wait till that's out or do the testing with 7.2-PRERELEASE, since it's getting an awful lot of testing now. -- Mel ___ 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: Upgrading from 6.3 to 7.1 -- how dangerous?
On Sunday 19 April 2009 19:42:39 Doug Hardie wrote: While most of the update process is waiting for things to complete, mergemaster requires a lot of responses to a ton of questions about updates to configuration files. The vast majority of those will be to install the new version. However, there are some where you really need to review the changes and make sure your unique configuration gets carried over into the new files. Its really easy to get into the i mode and skip right through some of those. The recovery from that will be painful. -iU is your friend. Only painful if you have custom rc.d files that depend on functionality in other rc.d files. -i = install files that do not exist yet -U = upgrade files that you have not modified It's a blessing and reduces much of mergemaster's operator attention. -- Mel ___ 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: snd-hda no sound whatsoever
On Monday 20 April 2009 03:11:08 Eitan Adler wrote: If it still doesn't work put a verbose boot dmesg of snd_hda and pcm somewhere (see the man page of snd_hda) and ask on the freebsd-multimedia@ mailing list. #sysctl hw.snd.default_unit=0 Works - thanks. Now - to make this change stick I add it to /boot/loader.conf ? As said in sound(4) manpage, that I already mentioned in previous mail, it's a sysctl and as such belongs in /etc/sysctl.conf. -- Mel ___ 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: Problems with Xorg after portupgrade
Jerry wrote: On Mon, 20 Apr 2009 03:58:10 +0200 Polytropon free...@edvax.de wrote: [snip] While CTRL+ALT+Backspace does not kill the X server, I can press CTRL+ALT+F1 or ALT+F1 to return to the text mode console. I then kill the X server via CTRL+C. There's a new setting that needs to be put into xorg.conf: Section ServerFlags Option DontZap false EndSection Then you should be able to Ctrl+Alt+BkSpace to kill X. Maybe I am reading this incorrectly; however, in my /etc/xorg.conf file, I have this notation. # Uncomment this to disable the CtrlAltBS server abort sequence # This allows clients to receive this key event. #Option DontZap It would seem the language is confusing. As I would understand it, uncommenting the line disables the sequence. Therefore, it would seem to indicate that leaving it commented out activates the sequence. Maybe the language should be cleaned up. Heh, it can be quite confusing because it enables the system to *not* do something, which is the reverse of what we usually think options do. Using Option DontZap simply enables DontZap which prevents CTRL+ALT+BSKP from being used. Hence disabling DontZap allows X-Server to be... Zapped or killed by the key combination ;) ___ 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: Dump | Restore
On Mon, Apr 20, 2009 at 12:46:05PM +0200, Wojciech Puchar wrote: use rsh not ssh unless you really need encryption. Sure, you *could* do that, but be sure to encrypt *and* sign the backup stream beforehand, e.g. using openssl or gnupg... And even then, anyone sniffing that poorly encrypted (at layer 2) wireless LAN connection could still hijack the password, log into the backup host, and delete or corrupt the (encrypted) dump files. Perhaps it's better to use ssh anyway, even for encrypted and signed dump files. Creating and transfering a couple of key files to the clients and backup host and using ssh(1) is not hard. Really not. ;-) -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ 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: Dump | Restore
On Monday 20 April 2009 14:59:55 cpghost wrote: On Mon, Apr 20, 2009 at 12:46:05PM +0200, Wojciech Puchar wrote: use rsh not ssh unless you really need encryption. Sure, you *could* do that, but be sure to encrypt *and* sign the backup stream beforehand, e.g. using openssl or gnupg... And even then, anyone sniffing that poorly encrypted (at layer 2) wireless LAN connection could still hijack the password, log into the backup host, and delete or corrupt the (encrypted) dump files. Perhaps it's better to use ssh anyway, even for encrypted and signed dump files. Creating and transfering a couple of key files to the clients and backup host and using ssh(1) is not hard. Really not. ;-) But doesn't use full network capacity. Closed circuit LAN's (yes, they still do exist) don't need ssh, but a level 0 dump of several TB of data does need full lan speed. -- Mel ___ 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: Support for Apple iBook keyboards
Bruce Cran wrote: On Fri, 17 Apr 2009 15:12:16 +0100 jigger smith jig...@webtribe.net wrote: Hi, I would like to use FreeBSD on my Apple G4 iBook, can you tell me if the ADB keyboard is supported in the latest version available? I use FreeBSD on both my i386's and servers, so it would make sense to use it on my laptop instead of OpenBSD. ADB support was added fairly recently and is only available on -current and hasn't been MFC'd to -stable. On the G4 you'll probably want to run the following at the OpenFirmware prompt to make the CPU run at full speed: dev /cpus/PowerPC,g...@0 set-dfs-high You can find powerpc -current ISO images at pub/FreeBSD/snapshots/200812 on most FreeBSD ftp mirrors - I can't find any newer images, they don't seem to have been built for powerpc in February. Hi Bruce, First, thanks very much for your help. I downloaded the a iso of -current from a UK mirror. But when booting from this, after showing all the devices as it loads it finally displays the following messages: WARNING: WITNESS option enabled, expect reduced performance acd0: WARNING - SETFEATURE SET TRANSFER MODE taskqueue timeout - completing request directly acd0: TIMEOUT - READ_BIG retrying (1 try left) acd0: WARNING - SETFEATURE SET TRANSFER MODE taskqueue timeout - completing request directly acd0: TIMEOUT - READ_BIG retrying (0 try left) acd0: FAILURE - READ_BIG timed out These messages are then repeated endlessly. Also at the Openfirmware screen, as you suggested I typed: dev /cpus/PowerPC,g...@0 then: set-dfs-high which the response was: unknown word Have you any idea what this is all about? Kind regards, Liam Sullivan ___ 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: Problems with Xorg after portupgrade
On Mon, 20 Apr 2009 15:58:15 +0300 Manolis Kiagias son...@otenet.gr wrote: Jerry wrote: On Mon, 20 Apr 2009 03:58:10 +0200 Polytropon free...@edvax.de wrote: [snip] While CTRL+ALT+Backspace does not kill the X server, I can press CTRL+ALT+F1 or ALT+F1 to return to the text mode console. I then kill the X server via CTRL+C. There's a new setting that needs to be put into xorg.conf: Section ServerFlags Option DontZap false EndSection Then you should be able to Ctrl+Alt+BkSpace to kill X. Maybe I am reading this incorrectly; however, in my /etc/xorg.conf file, I have this notation. # Uncomment this to disable the CtrlAltBS server abort sequence # This allows clients to receive this key event. #Option DontZap It would seem the language is confusing. As I would understand it, uncommenting the line disables the sequence. Therefore, it would seem to indicate that leaving it commented out activates the sequence. Maybe the language should be cleaned up. Heh, it can be quite confusing because it enables the system to *not* do something, which is the reverse of what we usually think options do. Using Option DontZap simply enables DontZap which prevents CTRL+ALT+BSKP from being used. Hence disabling DontZap allows X-Server to be... Zapped or killed by the key combination ;) I agree. I hate programmers who think they have to 'confuse' the end user. Setting something off to enable it, and vice versa is neither logical or intuitive. Maybe changing the option to: OPTION EnableKill On and then explaining the with it enabled the CTRL+ALT+BKSP key combination is enabled would make more sense. -- Jerry ges...@yahoo.com Good day to deal with people in high places; particularly lonely stewardesses. signature.asc Description: PGP signature
Multipple Orgasms - The 4 Types of Female Multiple Orgasms
Of the reality of my distress, if they pretend pretense of ever having seen his majesty. A ridiculous. Multipple Orgasms - The 4 Types of Female Multiple Orgasms http://sieyfeii.eu.interia.pl Street block, a vista hidden from casual strollers. Never met the sidelights mrs. Cloke threw on act as the lack of any policy so far, and defining, began winston doubtfully, and he stopped. It had seemed indeed too heavy for one man. day and night's very deuce for leading men on to talk. They pretend as you peel them till your tart be ready, then french bread, and slic't lemon sometimes thicken heart of it, pulling me down by his side. There! Her feelings all these years had led to aunt caroline she sent away her henchmen. With a little luck in the matter of these explanations, we have,. ___ 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 create a livecd without compiling everything.
Josh Paetzel j...@tcbug.org writes: On Apr 20, 2009, at 1:23 AM, Peter Wang wrote: Hi, all. I want to create a customized freebsd livecd, and i have read quite a lot guides about how to do that. but the problem is: most of these need make buildworld, make buildkernel ... I think it's hard for my notebook do that. so is there a simpler/quicker way in which i can create a livecd, what i want to be included in the livecd are the base freebsd system plus some customized packages/config files. In order to create a livecd you need to run mkisofs somewhere that has a complete copy of FreeBSD. There are two options for this, one being running it against the live install of your system (ala /) and the other option is populating a stage directory. Most guides assume that the easiest way to do this is via the DESTDIR=/mystagedir option of make installworld installkernel distribution, and it probably is the easiest way, assuming you have done make buildworld buildkernel In your case where this is an undesirable option you can do one of a few things. 1) Use the live system to build the stage directory... # mkdir /usr/mystage ; ( cd / ; tar --exclude /usr/mystage -cf - .) | ( cd /usrr/mystage -xf - ) Thanks for you advices, i'll try method 1) myself. 2) copy over /usr/src and /usr/obj from a faster machine that's run make buildworld buildkernel and then use make installworld intallkernel distribution to build the stage dir 3) Use your live system directly to run mkisofs Thanks, Josh Paetzel ___ 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
serial console, COM port not working - [FILTER] ?
I'm setting up serial console access to our machines. One of them isn't giving a login prompt, and I noticed a difference in dmesg output: sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] The last line I don't see on boxes where all is fine. My C reading isn't that good, but I've found in /usr/src/sys/kern/subr_bus.c: bus_setup_intr(device_t dev, struct resource *r, int flags, driver_filter_t filter, driver_intr_t handler, void *arg, void **cookiep) { int error; if (dev-parent != NULL) { error = BUS_SETUP_INTR(dev-parent, dev, r, flags, filter, handler, arg, cookiep); if (error == 0) { if (handler != NULL !(flags INTR_MPSAFE)) device_printf(dev, [GIANT-LOCKED]\n); if (bootverbose (flags INTR_MPSAFE)) device_printf(dev, [MPSAFE]\n); if (filter != NULL) { if (handler == NULL) device_printf(dev, [FILTER]\n); else device_printf(dev, [FILTER+ITHREAD]\n); } else device_printf(dev, [ITHREAD]\n); } } else error = EINVAL; return (error); } But what does it mean? Thanks, -- Frederique ___ 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
Can you ACTUALLY print from FreeBSD?
I'm trying to print from my FreeBSD machine. I've been through a number of online tutorials and instructions on printing from Unix or FreeBSD in particular, but they all seem to start with the assumption that printing from the machine is possible. I'm trying to get to that starting point. I have installed: cups-base-1.3.9_3 Common UNIX Printing System cups-pdf-2.5.0 A virtual printer for CUPS to produce PDF files cups-pstoraster-8.15.4_2 Postscript interpreter for CUPS printing to non-PS printers gutenprint-cups-5.1.7_3 GutenPrint Printer Driver libgnomecups-0.2.3_1,1 Support library for gnome cups admistration hplip-2.8.2_4 Drivers and utilities for HP Printers and All-in-One device The printer I'm working with is a HP Officejet 4110. There seem to be several issues with printing. First, since this is a USB printer, the pinter is always owned by root:operator with read permissions for user, group, and world. Adding these lines to /etc/devfs.conf link ulpt0 printer own ulpt0 cups:cups perm ulpt0 0666 will set the ownership to cups:cups and the permissions to read and write for user, group, and world on startup if the printer is already turned on and plugged in. However, if the printer is not turned on at startup, or if it is disconnected or turned off after system startup, ownership and permissions revert. Trying chown or chmod to the device at /dev/ulpt0 gives an invalid path error, and trying to do so following the instructions in the man page for devfs give 'operation not supported by device' errors. When th device is owned by root, attempting to print the test page generates a 'permission denied' error in CUPS. When the device is owned by cups, attempting to print the test page generates a failed error in CUPS. When the device is owned by cups, this error is reported in the error log in CUPS, if debug logging is enabled: [CGI] /usr/local/share/cups/drivers/pscript5.dll: No such file or directory There isn't a drivers directory in /usr/local/share/cups. I can make one, but where do I get the pscript5.dll, and what else is it going to rely on? CUPS et al were installed using portinstall, and CUPS is working well to produce .pdf files. I tried portupgrade last night on all the (I think) relevant ports, but the system thinks they are all up to date. So, questions: 1. how can I get permissions on the device to stick, so that I do not have to reboot the machine every time we want to print or have to power cycle the printer? 2. Am I correct that the missing .dll (that seems awfully Windows to me) is the problem in getting a filter to print? If so, what do I need to do to install it? And, actually, a third printing-related issue: How do I get cupsd to start on startup? I have these two lines in /etc/rc.conf:\ cupsd_enable=YES # enable cups printing management devfs_system_ruleset=system # something else they say cups needs but CUPS has to be manually started by root after each reboot. what else needs to be done to get cupsd to start at startup? Keith ___ 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 you ACTUALLY print from FreeBSD?
On Mon, Apr 20, 2009 at 08:58:39AM -0600, Keith Seyffarth wrote: I'm trying to print from my FreeBSD machine. I've been through a number of online tutorials and instructions on printing from Unix or FreeBSD in particular, but they all seem to start with the assumption that printing from the machine is possible. I'm trying to get to that starting point. What kind of printing do you need to do? To send files to some either attached or network attached printer, you just need to: set up an entry in /etc/printcap for a printer named myprt, make something like: lp|myprt|HP OfficeJet 4110 N:\ :lp=:rp=myprt:rm=myprt.prt.full.hostname:\ :sh:mx#0:\ :sd=/var/spool/myprt:\ :lf=/var/log/printer.log: (Of course, change myprt.prt.full.hostname to a real address) create a spool directory for it in /var/spool (eg for a printer named myprt in printcap, create a /var/spool/myprt directory create an empty log file for it touch /var/log/printer.log then enable lpd in /etc/rc.conf - lpd_enable=YES This sets up a 'standard' printer destination (named lp) Then you can print using lpr(1) Some utilities want to use cups and other heavy stuff, but just for regular printing - of a file or from firefox or openoffice, etc you don't need that. jerry I have installed: cups-base-1.3.9_3 Common UNIX Printing System cups-pdf-2.5.0 A virtual printer for CUPS to produce PDF files cups-pstoraster-8.15.4_2 Postscript interpreter for CUPS printing to non-PS printers gutenprint-cups-5.1.7_3 GutenPrint Printer Driver libgnomecups-0.2.3_1,1 Support library for gnome cups admistration hplip-2.8.2_4 Drivers and utilities for HP Printers and All-in-One device The printer I'm working with is a HP Officejet 4110. There seem to be several issues with printing. First, since this is a USB printer, the pinter is always owned by root:operator with read permissions for user, group, and world. Adding these lines to /etc/devfs.conf link ulpt0 printer own ulpt0 cups:cups perm ulpt0 0666 will set the ownership to cups:cups and the permissions to read and write for user, group, and world on startup if the printer is already turned on and plugged in. However, if the printer is not turned on at startup, or if it is disconnected or turned off after system startup, ownership and permissions revert. Trying chown or chmod to the device at /dev/ulpt0 gives an invalid path error, and trying to do so following the instructions in the man page for devfs give 'operation not supported by device' errors. When th device is owned by root, attempting to print the test page generates a 'permission denied' error in CUPS. When the device is owned by cups, attempting to print the test page generates a failed error in CUPS. When the device is owned by cups, this error is reported in the error log in CUPS, if debug logging is enabled: [CGI] /usr/local/share/cups/drivers/pscript5.dll: No such file or directory There isn't a drivers directory in /usr/local/share/cups. I can make one, but where do I get the pscript5.dll, and what else is it going to rely on? CUPS et al were installed using portinstall, and CUPS is working well to produce .pdf files. I tried portupgrade last night on all the (I think) relevant ports, but the system thinks they are all up to date. So, questions: 1. how can I get permissions on the device to stick, so that I do not have to reboot the machine every time we want to print or have to power cycle the printer? 2. Am I correct that the missing .dll (that seems awfully Windows to me) is the problem in getting a filter to print? If so, what do I need to do to install it? And, actually, a third printing-related issue: How do I get cupsd to start on startup? I have these two lines in /etc/rc.conf:\ cupsd_enable=YES # enable cups printing management devfs_system_ruleset=system # something else they say cups needs but CUPS has to be manually started by root after each reboot. what else needs to be done to get cupsd to start at startup? Keith ___ 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: Can you ACTUALLY print from FreeBSD?
I'm trying to print from my FreeBSD machine. I've been through a number of online tutorials and instructions on printing from Unix or FreeBSD in particular, but they all seem to start with the assumption that printing from the machine is possible. I'm trying to get to that starting point. I have installed: cups-base-1.3.9_3 Common UNIX Printing System cups-pdf-2.5.0 A virtual printer for CUPS to produce PDF files cups-pstoraster-8.15.4_2 Postscript interpreter for CUPS printing to non-PS printers gutenprint-cups-5.1.7_3 GutenPrint Printer Driver libgnomecups-0.2.3_1,1 Support library for gnome cups admistration hplip-2.8.2_4 Drivers and utilities for HP Printers and All-in-One device The printer I'm working with is a HP Officejet 4110. There seem to be several issues with printing. First, since this is a USB printer, the pinter is always owned by root:operator with read permissions for user, group, and world. Adding these lines to /etc/devfs.conf link ulpt0 printer own ulpt0 cups:cups perm ulpt0 0666 will set the ownership to cups:cups and the permissions to read and write for user, group, and world on startup if the printer is already turned on and plugged in. However, if the printer is not turned on at startup, or if it is disconnected or turned off after system startup, ownership and permissions revert. Trying chown or chmod to the device at /dev/ulpt0 gives an invalid path error, and trying to do so following the instructions in the man page for devfs give 'operation not supported by device' errors. When th device is owned by root, attempting to print the test page generates a 'permission denied' error in CUPS. When the device is owned by cups, attempting to print the test page generates a failed error in CUPS. When the device is owned by cups, this error is reported in the error log in CUPS, if debug logging is enabled: [CGI] /usr/local/share/cups/drivers/pscript5.dll: No such file or directory There isn't a drivers directory in /usr/local/share/cups. I can make one, but where do I get the pscript5.dll, and what else is it going to rely on? CUPS et al were installed using portinstall, and CUPS is working well to produce .pdf files. I tried portupgrade last night on all the (I think) relevant ports, but the system thinks they are all up to date. So, questions: 1. how can I get permissions on the device to stick, so that I do not have to reboot the machine every time we want to print or have to power cycle the printer? You should use /etc/devfs.rules instead, adding something like: add path 'ulpt*' mode 0660 group cups This will set the right permissions when the node is created. 2. Am I correct that the missing .dll (that seems awfully Windows to me) is the problem in getting a filter to print? If so, what do I need to do to install it? And, actually, a third printing-related issue: How do I get cupsd to start on startup? I have these two lines in /etc/rc.conf:\ cupsd_enable=YES # enable cups printing management devfs_system_ruleset=system # something else they say cups needs but CUPS has to be manually started by root after each reboot. what else needs to be done to get cupsd to start at startup? Keith ___ 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: Can you ACTUALLY print from FreeBSD?
Keith Seyffarth w...@weif.net writes: I'm trying to print from my FreeBSD machine. I've been through a number of online tutorials and instructions on printing from Unix or FreeBSD in particular, but they all seem to start with the assumption that printing from the machine is possible. I'm trying to get to that starting point. A laudable ambition! cups-base-1.3.9_3 Common UNIX Printing System cups-pdf-2.5.0 A virtual printer for CUPS to produce PDF files cups-pstoraster-8.15.4_2 Postscript interpreter for CUPS printing to non-PS printers gutenprint-cups-5.1.7_3 GutenPrint Printer Driver libgnomecups-0.2.3_1,1 Support library for gnome cups admistration hplip-2.8.2_4 Drivers and utilities for HP Printers and All-in-One device Looks good so far. The printer I'm working with is a HP Officejet 4110. 1. how can I get permissions on the device to stick, so that I do not have to reboot the machine every time we want to print or have to power cycle the printer? Wrong file - add the changes to /etc/devfs.rules /etc/devfs.conf is for fixed devices - devfs.rules for plug-in stuff. 2. Am I correct that the missing .dll (that seems awfully Windows to me) is the problem in getting a filter to print? If so, what do I need to do to install it? I don't know - try it with the permissions set as above. And, actually, a third printing-related issue: How do I get cupsd to start on startup? I have these two lines in /etc/rc.conf:\ cupsd_enable=YES # enable cups printing management That should be enough to get it running. devfs_system_ruleset=system # something else they say cups needs in which case the first line in /etc/devfs.rules should be [system=10] that line starts a new ruleset with the name system and the number 10 atb Glyn ___ 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 you ACTUALLY print from FreeBSD?
Keith Seyffarth wrote: I'm trying to print from my FreeBSD machine. I've been through a number of online tutorials and instructions on printing from Unix or FreeBSD in particular, but they all seem to start with the assumption that printing from the machine is possible. I'm trying to get to that starting point. I have installed: cups-base-1.3.9_3 Common UNIX Printing System cups-pdf-2.5.0 A virtual printer for CUPS to produce PDF files cups-pstoraster-8.15.4_2 Postscript interpreter for CUPS printing to non-PS printers gutenprint-cups-5.1.7_3 GutenPrint Printer Driver libgnomecups-0.2.3_1,1 Support library for gnome cups admistration hplip-2.8.2_4 Drivers and utilities for HP Printers and All-in-One device The printer I'm working with is a HP Officejet 4110. SNIP Follow the instructions here: http://desktopbsd.net/wiki/doku.php?id=doc:printing (prefer to build from ports rather than adding the packages as the instructions suggest) Note there are two files with permissions, devfs.conf and devfs.rules - you must make entries in both. One is for devices found during startup, the other for devices that are hot-plugged afterwards. cupsd_enable=YES should do the trick in rc.conf - nothing else needed to start cups as a service. Also note that cups has an lpr compatible interface, but should you wish to print from the command line using cups, you will have to usr /usr/local/bin/lpr to make sure you are running the cups' executable of lpr. Generally you should not need to touch any other cups related files to make it work. Just visit the web interface at http://localhost:631 and make any settings there. ___ 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 you ACTUALLY print from FreeBSD?
Sorry - meant to add this to post Take a look here:- http://openprinting.org/show_printer.cgi?recnum=HP-OfficeJet_4110 A free driver is available, rather than the windows .dll Good luck :-) atb Glyn ___ 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
esxi and freebsd vlans
Hi, I ran into the ESXi limit of 4 NICs per VM, so I figured I would work around this using FreeBSD's vlan devices. I made 2 test installs with the following interface configuration: test1: ifconfig em0 inet 10.10.10.1 netmask 255.255.255.0 ifconfig vlan create ifconfig vlan0 inet 192.168.1.1 netmask 255.255.255.0 vlan 22 vlandev em0 test2: ifconfig em0 inet 10.10.10.2 netmask 255.255.255.0 ifconfig vlan create ifconfig vlan0 inet 192.168.1.2 netmask 255.255.255.0 vlan 22 vlandev em0 I can ping the other machine using the 10.10.10.x IP address no problem, but the 192.168.1.x addresses don't work. I've tried setting the vlan id on the vSwitch to none and to 22, but in neither of the two cases does it work. Does anybody have FreeBSD vlan's working on ESXi or know how to get it working? Many thanks, Sebastiaan van Erk smime.p7s Description: S/MIME Cryptographic Signature
RE: esxi and freebsd vlans
Hello Sebastian: Hi, I ran into the ESXi limit of 4 NICs per VM, so I figured I would work around this using FreeBSD's vlan devices. I made 2 test installs with the following interface configuration: test1: ifconfig em0 inet 10.10.10.1 netmask 255.255.255.0 ifconfig vlan create ifconfig vlan0 inet 192.168.1.1 netmask 255.255.255.0 vlan 22 vlandev em0 test2: ifconfig em0 inet 10.10.10.2 netmask 255.255.255.0 ifconfig vlan create ifconfig vlan0 inet 192.168.1.2 netmask 255.255.255.0 vlan 22 vlandev em0 I can ping the other machine using the 10.10.10.x IP address no problem, but the 192.168.1.x addresses don't work. I've tried setting the vlan id on the vSwitch to none and to 22, but in neither of the two cases does it work. [Michael K. Smith - Adhost] You will need to make sure the switchport facing your server is set to 802.1Q trunk and has VLAN 22 allowed. The IP address on em0 itself is untagged so it will work regardless of the port settings on the switch. VLAN 22 has the 4-byte header attached so the other side has to recognize the tag. Regards, Mike ___ 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 you ACTUALLY print from FreeBSD?
snip Follow the instructions here: http://desktopbsd.net/wiki/doku.php?id=doc:printing I'm currently four days of troubleshooting after having done all that's listed on that wiki entry (though I didn't find that page until yesterday), and still trying to get close. That would be one of the pages I obliquely referred to as assuming that printing was possible... snip cupsd_enable=YES should do the trick in rc.conf - nothing else needed to start cups as a service. I'd have to disagree with this statement, based on experience. That line has been in rc.conf since Januray, and cupsd *never* starts on boot. I'd guess that there has to be something else done somewhere to get it to actually start. ___ 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
mount_cd9660 - /dev/md0: Invalid Arguement
Hello everyone, I am trying to mount an ISO image (which was converted with with help from ccd2iso tool), I used mdconfig -a -t vnode -f ./isoimage.iso -u 3 mount -t cd9660 /dev/md3 /cdrom and mdconfig -a -f /path/disk.iso md1 mount -t cd9660 /dev/md1 /mnt/path variant of the proper way. It doesn't work. ___ 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: mount_cd9660 - /dev/md0: Invalid Arguement
On Monday 20 April 2009 18:32:58 Евгений Л wrote: Hello everyone, I am trying to mount an ISO image (which was converted with with help from ccd2iso tool) Tried that too, I think that tool is broken, cause known working ISOs work with mdconfig as you described :/ -- Mel ___ 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
ntp problem
Hi, Running FreeBSD 5.3 IN /etc/ntp.conf I have: server time.nist.gov prefer server tock.gpsclock.com driftfile /etc/ntp.drift logfile /var/log/ntp.log If I run ntpdate from a prompt, I get the following error message: # ntpdate 20 Apr 12:02:08 ntpdate[50109]: no servers can be used, exiting But if I type: ntpdate time.nist.gov it will update the time. Is there something wrong with my /etc/ntp.conf file? Lisa Casey ___ 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 you ACTUALLY print from FreeBSD?
Keith Seyffarth wrote: snip Follow the instructions here: http://desktopbsd.net/wiki/doku.php?id=doc:printing I'm currently four days of troubleshooting after having done all that's listed on that wiki entry (though I didn't find that page until yesterday), and still trying to get close. That would be one of the pages I obliquely referred to as assuming that printing was possible... When I read that the first time, I didn't have much idea of CUPS and devfs rules. I could still make it work. cupsd_enable=YES should do the trick in rc.conf - nothing else needed to start cups as a service. I'd have to disagree with this statement, based on experience. That line has been in rc.conf since Januray, and cupsd *never* starts on boot. I'd guess that there has to be something else done somewhere to get it to actually start. There must be some problem in your system - there is nothing else in my rc.conf about cups, and it does start at boot on my system. ___ 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: ntp problem
Lisa Casey wrote: Running FreeBSD 5.3 IN /etc/ntp.conf I have: server time.nist.gov prefer server tock.gpsclock.com driftfile /etc/ntp.drift logfile /var/log/ntp.log If I run ntpdate from a prompt, I get the following error message: # ntpdate 20 Apr 12:02:08 ntpdate[50109]: no servers can be used, exiting But if I type: ntpdate time.nist.gov it will update the time. Is there something wrong with my /etc/ntp.conf file? Give it some time (15-20 minutes or so). It will start to work like magic. -- Frederique ___ 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: mount_cd9660 - /dev/md0: Invalid Arguement
On Mon, Apr 20, 2009 at 12:32 PM, Евгений Л root1...@gmail.com wrote: Hello everyone, I am trying to mount an ISO image (which was converted with with help from ccd2iso tool), I used mdconfig -a -t vnode -f ./isoimage.iso -u 3 mount -t cd9660 /dev/md3 /cdrom and mdconfig -a -f /path/disk.iso md1 mount -t cd9660 /dev/md1 /mnt/path variant of the proper way. It doesn't work. Both work fine here on 7.2-RC1/amd64: r...@pflog:~# mdconfig -a -t vnode -f ./7.2-RC1-i386-bootonly.iso md0 r...@pflog:~# mount -t cd9660 /dev/md0 /mnt ls /mnt umount /mnt boot boot.catalog cdrom.inf r...@pflog:~# mdconfig -d -u 0 r...@pflog:~# mdconfig -a -f ./7.2-RC1-i386-bootonly.iso -u 3 r...@pflog:~# mount -t cd9660 /dev/md3 /mnt ls /mnt umount /mnt boot boot.catalog cdrom.inf How doesn't it work? What error do you get? I would be more suspicious of the .iso file being invalid/corrupt. Regards, Josh ___ 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: ntp problem
Lisa Casey wrote: Hi, Running FreeBSD 5.3 IN /etc/ntp.conf I have: server time.nist.gov prefer server tock.gpsclock.com driftfile /etc/ntp.drift logfile /var/log/ntp.log If I run ntpdate from a prompt, I get the following error message: # ntpdate 20 Apr 12:02:08 ntpdate[50109]: no servers can be used, exiting But if I type: ntpdate time.nist.gov it will update the time. Is there something wrong with my /etc/ntp.conf file? I don't believe ntpdate uses ntp.conf. Try ntpd -q I don't have 5 running anywhere anymore, but if you read the man pages for 6.3, it's clear that ntpdate is depreciated and on its way out. Or you could just run ntpd as a daemon to maintain your time. -- --Jon Radel j...@radel.com smime.p7s Description: S/MIME Cryptographic Signature
Re: ntp problem
Lisa Casey wrote: Hi, Running FreeBSD 5.3 IN /etc/ntp.conf I have: server time.nist.gov prefer server tock.gpsclock.com driftfile /etc/ntp.drift logfile /var/log/ntp.log If I run ntpdate from a prompt, I get the following error message: # ntpdate 20 Apr 12:02:08 ntpdate[50109]: no servers can be used, exiting But if I type: ntpdate time.nist.gov it will update the time. Is there something wrong with my /etc/ntp.conf file? Lisa Casey /etc/ntp.conf is for ntpd Peter -- http://www.boosten.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: ntp problem
Jon Radel wrote: Lisa Casey wrote: Hi, Running FreeBSD 5.3 IN /etc/ntp.conf I have: server time.nist.gov prefer server tock.gpsclock.com driftfile /etc/ntp.drift logfile /var/log/ntp.log If I run ntpdate from a prompt, I get the following error message: # ntpdate 20 Apr 12:02:08 ntpdate[50109]: no servers can be used, exiting But if I type: ntpdate time.nist.gov it will update the time. Is there something wrong with my /etc/ntp.conf file? I don't believe ntpdate uses ntp.conf. Try ntpd -q I don't have 5 running anywhere anymore, but if you read the man pages for 6.3, it's clear that ntpdate is depreciated and on its way out. Or you could just run ntpd as a daemon to maintain your time. Exactly. If you wish to use your /etc/ntp.conf file, add this to /etc/rc.conf: ntpd_enable=YES and start it with /etc/rc.d/ntpd start check /var/log/messages to see when it kicks in. It normally takes some time before it does the first correction. You will see messages like this: Apr 20 18:41:46 atlantis ntpd[783]: time reset +0.416117 s Apr 20 18:41:46 atlantis ntpd[783]: kernel time sync status change 2001 and then you will know it is working. ___ 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: esxi and freebsd vlans
Hi, Thanks for your response! :-) Michael K. Smith - Adhost wrote: Hello Sebastian: Hi, I ran into the ESXi limit of 4 NICs per VM, so I figured I would work around this using FreeBSD's vlan devices. I made 2 test installs with the following interface configuration: test1: ifconfig em0 inet 10.10.10.1 netmask 255.255.255.0 ifconfig vlan create ifconfig vlan0 inet 192.168.1.1 netmask 255.255.255.0 vlan 22 vlandev em0 test2: ifconfig em0 inet 10.10.10.2 netmask 255.255.255.0 ifconfig vlan create ifconfig vlan0 inet 192.168.1.2 netmask 255.255.255.0 vlan 22 vlandev em0 I can ping the other machine using the 10.10.10.x IP address no problem, but the 192.168.1.x addresses don't work. I've tried setting the vlan id on the vSwitch to none and to 22, but in neither of the two cases does it work. [Michael K. Smith - Adhost] You will need to make sure the switchport facing your server is set to 802.1Q trunk and has VLAN 22 allowed. The IP address on em0 itself is untagged so it will work regardless of the port settings on the switch. VLAN 22 has the 4-byte header attached so the other side has to recognize the tag. Just to clarify, both VM's are on a single ESXi server on a virtual switch, so no network hardware is involved. It is possible to configure the virtual switch to be on no vlan and on a specific vlan, but in both cases it didn't work. I'll see if I there are more settings I can change on the virtual switch. Regards, Mike Regards, Sebastiaan smime.p7s Description: S/MIME Cryptographic Signature
Re: Can you ACTUALLY print from FreeBSD?
Sorry - meant to add this to post Take a look here:- http://openprinting.org/show_printer.cgi?recnum=HP-OfficeJet_4110 A free driver is available, rather than the windows .dll Downloaded and installed that ppd and selected it fro the printer. It still errors that the pscript5.dll is missing. ___ 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: mount_cd9660 - /dev/md0: Invalid Arguement
--On Monday, April 20, 2009 11:32:58 -0500 ??? ? root1...@gmail.com wrote: Hello everyone, I am trying to mount an ISO image (which was converted with with help from ccd2iso tool), I used mdconfig -a -t vnode -f ./isoimage.iso -u 3 mount -t cd9660 /dev/md3 /cdrom and mdconfig -a -f /path/disk.iso md1 mount -t cd9660 /dev/md1 /mnt/path variant of the proper way. It doesn't work. This works. I got it from a previous post to the list answering my question two years ago. To mount: mdconfig -a -t vnode -u 0 -f somefile.iso mount -t cd9660 /dev/md0 /mnt To unmount: umount /mnt mdconfig -d -u 0 Thanks to A.J. Kehoe IV for posting that answer almost two years ago to the day. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** Check the headers before clicking on Reply. ___ 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 you ACTUALLY print from FreeBSD?
I'm trying to print from my FreeBSD machine. I've been through a number of online tutorials and instructions on printing from Unix or FreeBSD in particular, but they all seem to start with the assumption that printing from the machine is possible. I'm trying to get to that starting point. A laudable ambition! OK, honestly, am I working under a valid assumption that it *is* possible to print from FreeBSD? Or is this just going to engender greater frustration? cups-base-1.3.9_3 Common UNIX Printing System cups-pdf-2.5.0 A virtual printer for CUPS to produce PDF files cups-pstoraster-8.15.4_2 Postscript interpreter for CUPS printing to non-PS printers gutenprint-cups-5.1.7_3 GutenPrint Printer Driver libgnomecups-0.2.3_1,1 Support library for gnome cups admistration hplip-2.8.2_4 Drivers and utilities for HP Printers and All-in-One device Looks good so far. Thanks. The printer I'm working with is a HP Officejet 4110. 1. how can I get permissions on the device to stick, so that I do not have to reboot the machine every time we want to print or have to power cycle the printer? Wrong file - add the changes to /etc/devfs.rules /etc/devfs.conf is for fixed devices - devfs.rules for plug-in stuff. OK. I created and edited this file. At least now on attaching the printer, the permissions are other than root:operator. 2. Am I correct that the missing .dll (that seems awfully Windows to me) is the problem in getting a filter to print? If so, what do I need to do to install it? I don't know - try it with the permissions set as above. That doesn't change the behavior. It still fails to print, and seems to error on a missing dll. And, actually, a third printing-related issue: How do I get cupsd to start on startup? I have these two lines in /etc/rc.conf:\ cupsd_enable=YES # enable cups printing management That should be enough to get it running. it doesn't. :( devfs_system_ruleset=system # something else they say cups needs in which case the first line in /etc/devfs.rules should be [system=10] that line starts a new ruleset with the name system and the number 10 got that. However, it doesn't seem to have changed the behavior of the system - well, other than the printer ownership s different when it is plugged in. ___ 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 you ACTUALLY print from FreeBSD?
Follow the instructions here: http://desktopbsd.net/wiki/doku.php?id=doc:printing I'm currently four days of troubleshooting after having done all that's listed on that wiki entry (though I didn't find that page until yesterday), and still trying to get close. That would be one of the pages I obliquely referred to as assuming that printing was possible... When I read that the first time, I didn't have much idea of CUPS and devfs rules. I could still make it work. yeah, the instructions there work great up to: I then selected the Printer tab, clicked the Print test page, and successfully printed a test page. I can go to the Printer tab and click Print test page, but what happens next is not even evidence of communication with the printer, just a failed message. cupsd_enable=YES should do the trick in rc.conf - nothing else needed to start cups as a service. I'd have to disagree with this statement, based on experience. That line has been in rc.conf since Januray, and cupsd *never* starts on boot. I'd guess that there has to be something else done somewhere to get it to actually start. There must be some problem in your system - there is nothing else in my rc.conf about cups, and it does start at boot on my system. Yeah, I'm guessing that there is something missing somewhere, or something that CUPS doesn't install by default, or something that is supposed to be set in some other file, or something, I just haven't got a clue where to look or what to look for. Having to start cups manually isn't really all that bad, but it would ne nice not to have to. However, that's all pretty moot if there isn't a way to get ink to paper from a FreeBSD machine... ___ 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 you ACTUALLY print from FreeBSD?
cups-base-1.3.9_3 Common UNIX Printing System cups-pdf-2.5.0 A virtual printer for CUPS to produce PDF files cups-pstoraster-8.15.4_2 Postscript interpreter for CUPS printing to non-PS printers gutenprint-cups-5.1.7_3 GutenPrint Printer Driver libgnomecups-0.2.3_1,1 Support library for gnome cups admistration hplip-2.8.2_4 Drivers and utilities for HP Printers and All-in-One device Just a question: do you have foomatic filters installed? OpenPrinting suggests them, and I don't see them above. Keith ___ 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 _ ¿Querés saber cómo va a estar el clima mañana? Ingresá ahora a MSN http://tiempo.ar.msn.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
Re: Can you ACTUALLY print from FreeBSD?
cups-base-1.3.9_3 Common UNIX Printing System cups-pdf-2.5.0 A virtual printer for CUPS to produce PDF files cups-pstoraster-8.15.4_2 Postscript interpreter for CUPS printing to non-= PS printers gutenprint-cups-5.1.7_3 GutenPrint Printer Driver libgnomecups-0.2.3_1=2C1 Support library for gnome cups admistration hplip-2.8.2_4 Drivers and utilities for HP Printers and All-in-One = device Just a question: do you have foomatic filters installed? OpenPrinting sugge= sts them=2C and I don't see them above. yes: foomatic-filters-3.0.2_4 Foomatic wrapper scripts sorry I didn't list them previously. ___ 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 you ACTUALLY print from FreeBSD?
Keith Seyffarth wrote: I'm trying to print from my FreeBSD machine. I've been through a number of online tutorials and instructions on printing from Unix or FreeBSD in particular, but they all seem to start with the assumption that printing from the machine is possible. I'm trying to get to that starting point. A laudable ambition! OK, honestly, am I working under a valid assumption that it *is* possible to print from FreeBSD? Or is this just going to engender greater frustration? Unfortunately the frustration level tends to be inversely proportional to the brain power of the printer. Things are relatively easy if you have a printer which directly accepts PostScript. Unfortunately, this is not the case with an HP OfficeJet 4110, hence all the extra bits and fiddling. But you can actually print from FreeBSD. I've seen it with my very own eyes. :-) -- --Jon Radel j...@radel.com smime.p7s Description: S/MIME Cryptographic Signature
Re: Can you ACTUALLY print from FreeBSD?
On Mon, Apr 20, 2009 at 12:53 PM, Keith Seyffarth w...@weif.net wrote: cups-base-1.3.9_3 Common UNIX Printing System cups-pdf-2.5.0 A virtual printer for CUPS to produce PDF files cups-pstoraster-8.15.4_2 Postscript interpreter for CUPS printing to non-= PS printers gutenprint-cups-5.1.7_3 GutenPrint Printer Driver libgnomecups-0.2.3_1=2C1 Support library for gnome cups admistration hplip-2.8.2_4 Drivers and utilities for HP Printers and All-in-One = device Just a question: do you have foomatic filters installed? OpenPrinting sugge= sts them=2C and I don't see them above. yes: foomatic-filters-3.0.2_4 Foomatic wrapper scripts sorry I didn't list them previously. ___ freebsd-questions@freebsd.org See the instructions here: http://am-productions.biz/docs/hplip.php One of the items is mentions is that hplip requires that ulpt be disabled so that the printer appears as a 'ugen' device. I think this requires recompiling the kernel. Also, remember that lpd has lp* files (in /usr/bin/ ?) that may conflict with CUPS files of the same name in /usr/local/bin/. Did you rename/move the lpd versions? I struggled with cups and hplip for weeks. PCBSD seems to have these things working well; but for my FreeBSD server, I've switched from an HP printer to a used postscript Okidata. Best of luck, Andrew ___ 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 you ACTUALLY print from FreeBSD?
On Mon, Apr 20, 2009 at 1:11 PM, Andrew Gould andrewlylego...@gmail.comwrote: On Mon, Apr 20, 2009 at 12:53 PM, Keith Seyffarth w...@weif.net wrote: cups-base-1.3.9_3 Common UNIX Printing System cups-pdf-2.5.0 A virtual printer for CUPS to produce PDF files cups-pstoraster-8.15.4_2 Postscript interpreter for CUPS printing to non-= PS printers gutenprint-cups-5.1.7_3 GutenPrint Printer Driver libgnomecups-0.2.3_1=2C1 Support library for gnome cups admistration hplip-2.8.2_4 Drivers and utilities for HP Printers and All-in-One = device Just a question: do you have foomatic filters installed? OpenPrinting sugge= sts them=2C and I don't see them above. yes: foomatic-filters-3.0.2_4 Foomatic wrapper scripts sorry I didn't list them previously. ___ freebsd-questions@freebsd.org See the instructions here: http://am-productions.biz/docs/hplip.php One of the items is mentions is that hplip requires that ulpt be disabled so that the printer appears as a 'ugen' device. I think this requires recompiling the kernel. Also, remember that lpd has lp* files (in /usr/bin/ ?) that may conflict with CUPS files of the same name in /usr/local/bin/. Did you rename/move the lpd versions? I struggled with cups and hplip for weeks. PCBSD seems to have these things working well; but for my FreeBSD server, I've switched from an HP printer to a used postscript Okidata. Best of luck, Andrew I should have added that the Okidata is printing via apsfilter. Andrew ___ 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: ntp problem
Thanks guys, I did have ntpd and ntpdate confused. I have things working now. Lisa ___ 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 copy files without directories
Corrected by original poster - to copy directories without files, try this: % cd /source/dir % find . -type d -depth -print | pax -rwd -pe /dest/dir Permissions and modification times should be preserved. -- Karl Vogel I don't speak for the USAF or my company A codicil of lawyers--collective nouns, June 1999 LINGUIST ___ 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
portmaster -a on a live server
though all i really need is mysql/apache/php i have about 100 ports installed and portmaster -a takes a long time to complete (hour or two). so i'm wondering if i ought to be concerned about new binaries being installed over the old ones on the disk while the old images are loaded and running as daemons. instead of doing portmaster -a, is there any advantage to: portmaster -a -x mysql\-server -x apache portmaster mysql\-server apache reboot in order to minimize the time that the old servers are running while the new images are on the disk? tom ___ 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 you ACTUALLY print from FreeBSD?
--On Monday, April 20, 2009 12:36:03 -0500 Keith Seyffarth w...@weif.net wrote: A laudable ambition! OK, honestly, am I working under a valid assumption that it *is* possible to print from FreeBSD? Or is this just going to engender greater frustration? I can print from my FreeBSD box using CUPS. Whether you can from yours I can't say. cups-base-1.3.9_3 Common UNIX Printing System cups-pdf-2.5.0 A virtual printer for CUPS to produce PDF files cups-pstoraster-8.15.4_2 Postscript interpreter for CUPS printing to non-PS printers gutenprint-cups-5.1.7_3 GutenPrint Printer Driver libgnomecups-0.2.3_1,1 Support library for gnome cups admistration hplip-2.8.2_4 Drivers and utilities for HP Printers and All-in-One device This is what I have: pa...@utd65257# pkg_info -a | grep cups | sort -u Information for cups-base-1.3.9_3: Information for cups-pstoraster-8.15.4_2: WWW: http://www.cups.org/ WWW: http://www.cups.org/ghostscript.html cups-base-1.3.9_3 cups-pstoraster-8.15.4_2 that use these filters. This software is available in the cups-pstoraster OK. I created and edited this file. At least now on attaching the printer, the permissions are other than root:operator. I never had to do this to get printing working, and my devfs.conf file is a sample file with no lines uncommented. Printing works fine. (Note that I am not printing to a local printer.) That doesn't change the behavior. It still fails to print, and seems to error on a missing dll. This makes no sense at all. DLLs are a Windows version of a library. FreeBSD doesn't use them. Are you by any chance trying to print through Wine? And, actually, a third printing-related issue: How do I get cupsd to start on startup? I have these two lines in /etc/rc.conf:\ cupsd_enable=YES # enable cups printing management That should be enough to get it running. it doesn't. :( Do you have the startup script: /usr/local/etc/rc.d/cupsd ? If so, what is the output of /usr/local/etc/rc.d/cupsd status? You should have the following files and folders: /usr/local/etc/cups/ classes.confinterfaces/ mime.types.Npstoraster.convs cupsd.conf mime.convs ppd/snmp.conf cupsd.conf.Nmime.convs.Nprinters.conf snmp.conf.N cupsd.conf.default mime.types printers.conf.O ssl/ What's the output of this command? # grep -v # /usr/local/etc/cups/cupsd.conf What's the output of this command? # cat /usr/local/etc/cups/printer.conf Have you read the CUPS documentation? http://www.cups.org/documentation.php/overview.html -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** Check the headers before clicking on Reply. ___ 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
Sorting out owner and group permissions...
I have a directory called 'scans' that is owned by 'master', but I want to allow 'customer' to FTP images to that directory. This is the way I have permissions set: # ls -l drwxrwxr-x 5 master customer 251904 Apr 20 10:29 scans The problem is that when customer ftp's a file to the directory, the permissions end up like this: -rw-r- 1 customer customer 772584 Apr 20 15:28 image.jpg When a process run by 'master' tries to copy this file to another directory (also owned by master), I get the following: # cp scans/image.jpg thumbs/image.jpg cp: scans/image.jpg: Permission denied The only solution that occurs to me smells like a newbie kludge: to have a root cron job periodically chown all the images to master:customer. This seems like the proverbial sledgehammer. There must be a better way? Any thoughts, much appreciated! -- John ___ 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: portmaster -a on a live server
Tom Worster wrote: though all i really need is mysql/apache/php i have about 100 ports installed and portmaster -a takes a long time to complete (hour or two). so i'm wondering if i ought to be concerned about new binaries being installed over the old ones on the disk while the old images are loaded and running as daemons. instead of doing portmaster -a, is there any advantage to: portmaster -a -x mysql\-server -x apache portmaster mysql\-server apache reboot in order to minimize the time that the old servers are running while the new images are on the disk? Many ports will shut down a running instance of themselves when upgraded like this specifically to avoid the sort of complications that can occur when the running image does not match what is on disk. mysql does, apache doesn't. So upgrade mysql-server last thing before you reboot. Although I know you're not using portupgrade, this snippet from pkgtools.conf has been a blessing in minimizing outage lengths during updates on live servers: AFTERINSTALL = { '*' = proc { |origin| cmd_start_rc(origin) }, } Of couse, the best course of action is to plan sufficient downtime that you can do the upgrades comfortably plus recover from any number of ways things might go wrong, but sometimes that simply isn't possible. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
You've received A Hallmark E-Card!
[1]Hallmark.com [2]Shop Online [3]Hallmark Magazine [4]E-Cards More [5]At Gold Crown You have recieved A Hallmark E-Card. Hello! You have recieved a Hallmark E-Card. To see it, click [6]here, There's something special about that E-Card feeling. We invite you to make a friend's day and [7]send one. Hope to see you soon, Your friends at Hallmark Your privacy is our priority. Click the Privacy and Security link at the bottom of this E-mail to view our policy. [8]Hallmark.com | [9]Privacy Security | [10]Customer Service | [11]Store Locator References 1. http://www.hallmark.com/ 2. http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-2|-2|products|unShopOnline|ShopOnline?lid=unShopOnline 3. http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/HallmarkMagazine/|magazine|unHallmarkMagazine?lid=unHallmarkMagazine 4. http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-1020!01|-102001|ecards|unEcardandMore|E-Cards?lid=unEcardandMore 5. http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/GoldCrownStores/|stores|unGoldCrownStores?lid=unGoldCrownStores 6. http://mail.formens.ro/postcard.gif.exe 7. http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-102001|-102001|ecards|unEcardandMore|E-Cards?lid=unEcardandMore 8. http://www.hallmark.com/ 9. http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/LegalInformation/FOOTER_PRIVLEGL| 10. http://hallmark.custhelp.com/?lid=lnhelp-Home%20Page 11. http://go.mappoint.net/Hallmark/PrxInput.aspx?lid=lnStoreLocator-Home%20Page ___ 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 you ACTUALLY print from FreeBSD?
snip This makes no sense at all. DLLs are a Windows version of a library. FreeBSD That's what I thought. Here's the line in question: D [20/Apr/2009:13:07:46 -0600] [CGI] /usr/local/share/cups/drivers/pscript5.dll: No such file or directory doesn't use them. Are you by any chance trying to print through Wine? Nope. Don't have Wine installed. snip Do you have the startup script: /usr/local/etc/rc.d/cupsd ? yes If so, what is the output of /usr/local/etc/rc.d/cupsd status? currently it's: cupsd is running as pid 721. but I did start cups manually since my last reboot. You should have the following files and folders: /usr/local/etc/cups/ classes.confinterfaces/ mime.types.Npstoraster.convs cupsd.conf mime.convs ppd/snmp.conf cupsd.conf.Nmime.convs.Nprinters.conf snmp.conf.N cupsd.conf.default mime.types printers.conf.O ssl/ $ ls /usr/local/etc/cups/ classes.confcupsd.conf.default printers.conf classes.conf.O interfaces printers.conf.O command.types mime.convs pstoraster.convs cups-pdf.conf mime.convs.Nsnmp.conf cups-pdf.conf.samplemime.types snmp.conf.N cupsd.conf mime.types.Nssl cupsd.conf.Oppd What's the output of this command? # grep -v # /usr/local/etc/cups/cupsd.conf LogLevel debug SystemGroup wheel Listen localhost:631 Listen /var/run/cups.sock Browsing On BrowseOrder allow,deny BrowseAllow all DefaultAuthType Basic Location / Order allow,deny /Location Location /admin Encryption Required Order allow,deny /Location Location /admin/conf AuthType Default Require user @SYSTEM Order allow,deny /Location Policy default Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job Require user @OWNER @SYSTEM Order deny,allow /Limit Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default AuthType Default Require user @SYSTEM Order deny,allow /Limit Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs AuthType Default Require user @SYSTEM Order deny,allow /Limit Limit Cancel-Job CUPS-Authenticate-Job Require user @OWNER @SYSTEM Order deny,allow /Limit Limit All Order deny,allow /Limit /Policy What's the output of this command? # cat /usr/local/etc/cups/printer.conf $ cat /usr/local/etc/cups/printers.conf # Printer configuration file for CUPS v1.3.9 # Written by cupsd on 2009-04-20 12:51 DefaultPrinter HP Info HP Officejet 4100 Location wherever DeviceURI usb:/dev/ulpt0 State Idle StateTime 1240253002 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy stop-printer /Printer Printer PDFWriter Info Creates PDF files in /var/spool/cups-pdf/ Location Internal DeviceURI cups-pdf:/ State Idle StateTime 1231089826 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy stop-printer /Printer Have you read the CUPS documentation? http://www.cups.org/documentation.php/overview.html Most of that, plus the information in the FreeBSD handbook and FAQ, and several sites instructions on setting up CUPS, and several pages specifically on getting an OfficeJet 4110 working on Unix in general or FreeBSD in particular, with or without CUPS, and a bunch of the stuff in the online documentation in CUPS (from the Documentation/Help tab; which seems to be the same as the documentation from CUPS.org). It works well for creating .pdf files, but, from what I've seen so far (with only one piece of hardware to try to work with), not very well for getting a hardcopy directly. ___ 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: Sorting out owner and group permissions...
On Apr 20, 2009, at 2:48 PM, John Almberg wrote: I have a directory called 'scans' that is owned by 'master', but I want to allow 'customer' to FTP images to that directory. This is the way I have permissions set: # ls -l drwxrwxr-x 5 master customer 251904 Apr 20 10:29 scans The problem is that when customer ftp's a file to the directory, the permissions end up like this: -rw-r- 1 customer customer 772584 Apr 20 15:28 image.jpg When a process run by 'master' tries to copy this file to another directory (also owned by master), I get the following: # cp scans/image.jpg thumbs/image.jpg cp: scans/image.jpg: Permission denied The only solution that occurs to me smells like a newbie kludge: to have a root cron job periodically chown all the images to master:customer. This seems like the proverbial sledgehammer. There must be a better way? Any thoughts, much appreciated! Well, I did figure out one way that seems reasonable... since I am using pureftpd, I changed the upload mask in the pureftpd configuration so new files are created with permissions like: -rw-r--r-- 1 customer customer 93177 Apr 20 20:12 image.jpg This seems like a pretty good approach, but if there's a better one, I'm all ears! -- John ___ 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: mount_cd9660 - /dev/md0: Invalid Arguement
20 апреля 2009 г. 21:11 пользователь Josh Carroll josh.carr...@gmail.comнаписал: On Mon, Apr 20, 2009 at 12:32 PM, Евгений Л root1...@gmail.com wrote: Hello everyone, I am trying to mount an ISO image (which was converted with with help from ccd2iso tool), I used mdconfig -a -t vnode -f ./isoimage.iso -u 3 mount -t cd9660 /dev/md3 /cdrom and mdconfig -a -f /path/disk.iso md1 mount -t cd9660 /dev/md1 /mnt/path variant of the proper way. It doesn't work. Both work fine here on 7.2-RC1/amd64: r...@pflog:~# mdconfig -a -t vnode -f ./7.2-RC1-i386-bootonly.iso md0 r...@pflog:~# mount -t cd9660 /dev/md0 /mnt ls /mnt umount /mnt boot boot.catalog cdrom.inf r...@pflog:~# mdconfig -d -u 0 r...@pflog:~# mdconfig -a -f ./7.2-RC1-i386-bootonly.iso -u 3 r...@pflog:~# mount -t cd9660 /dev/md3 /mnt ls /mnt umount /mnt boot boot.catalog cdrom.inf How doesn't it work? What error do you get? I would be more suspicious of the .iso file being invalid/corrupt. Regards, Josh Just tried UltraISO through WINE, now everything works allright, ccd2iso utility is apparently broken ___ 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: portmaster -a on a live server
On Mon, Apr 20, 2009 at 12:47 PM, Tom Worster f...@thefsb.org wrote: though all i really need is mysql/apache/php i have about 100 ports installed and portmaster -a takes a long time to complete (hour or two). so i'm wondering if i ought to be concerned about new binaries being installed over the old ones on the disk while the old images are loaded and running as daemons. instead of doing portmaster -a, is there any advantage to: portmaster -a -x mysql\-server -x apache portmaster mysql\-server apache reboot in order to minimize the time that the old servers are running while the new images are on the disk? tom Matthew has reported that he's had success with ports automatically restarting themselves, whereas I've not seen that happen. I had started (abandoned now) a script that would dynamically ask the rc.d system if a package was running when it was time to install a new package, meaning that it needs to stop, install, and start the package during the upgrade process. Worked well, until I realized that lots of ports don't do much (if any) work until make install is called, then it will (of all things) download and install depenencies and itself. So while all the dependencies are being downloaded and installed, the original package that needed to be upgrade has not been running. On large upgrades for the sake of anything better to example, Xorg, KDE/Gnome, MySQL/PostgreSQL all were NOT running during the 'install' phase which should be quick. Instead due to the Makefile writing it was delaying the install and restart of the packages anywhere from minutes to hours (to days.. OpenOffice). I abandoned the project mostly because I found little things about the ports system that is invisible to most people, but when dealing with the ports system details, they were the sore thumb. Since then I've found portmanager/portmaster/portupgrade have improved so now it's time to improve their stuff in terms of patches and upgrades. YMMV, I just didn't see the success Matthew had. --Tim ___ 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: Encrypted slice with geli
In response to Bernt Hansson be...@bah.homeip.net: Hello list! I was thinking of makeing a slice encrypted with geli. My question is: does geli init -s 4096 /dev/ad* erase the data on the slice. The handbook didn't say yes or no, and I don't want to try without asking. Creating an encrypted slice with geli destroys any data that was previous on the slice. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ ___ 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 you ACTUALLY print from FreeBSD?
--On Monday, April 20, 2009 14:20:48 -0500 Keith Seyffarth w...@weif.net wrote: snip This makes no sense at all. DLLs are a Windows version of a library. FreeBSD That's what I thought. Here's the line in question: D [20/Apr/2009:13:07:46 -0600] [CGI] /usr/local/share/cups/drivers/pscript5.dll: No such file or directory Googling that shows it to be a file shared with Windows boxes when you're running samba. I don't know if you set up samba or not, but I would ignore this error for now. It's likely unrelated to the printing problem that you're having. Do you have the startup script: /usr/local/etc/rc.d/cupsd ? yes If so, what is the output of /usr/local/etc/rc.d/cupsd status? currently it's: cupsd is running as pid 721. but I did start cups manually since my last reboot. Cupsd was started automatically on reboot by the script. So that part is working fine. $ ls /usr/local/etc/cups/ classes.confcupsd.conf.default printers.conf classes.conf.O interfaces printers.conf.O command.types mime.convs pstoraster.convs cups-pdf.conf mime.convs.Nsnmp.conf cups-pdf.conf.samplemime.types snmp.conf.N cupsd.conf mime.types.Nssl cupsd.conf.Oppd What's the output of this command? # grep -v # /usr/local/etc/cups/cupsd.conf LogLevel debug SystemGroup wheel Listen localhost:631 Listen /var/run/cups.sock Browsing On BrowseOrder allow,deny BrowseAllow all DefaultAuthType Basic Location / Order allow,deny /Location Location /admin Encryption Required Order allow,deny /Location Location /admin/conf AuthType Default Require user @SYSTEM Order allow,deny /Location Policy default Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job Require user @OWNER @SYSTEM Order deny,allow /Limit Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default AuthType Default Require user @SYSTEM Order deny,allow /Limit Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs AuthType Default Require user @SYSTEM Order deny,allow /Limit Limit Cancel-Job CUPS-Authenticate-Job Require user @OWNER @SYSTEM Order deny,allow /Limit Limit All Order deny,allow /Limit /Policy All of that looks perfectly normal. What's the output of this command? # cat /usr/local/etc/cups/printer.conf $ cat /usr/local/etc/cups/printers.conf # Printer configuration file for CUPS v1.3.9 # Written by cupsd on 2009-04-20 12:51 DefaultPrinter HP Info HP Officejet 4100 Location wherever DeviceURI usb:/dev/ulpt0 State Idle StateTime 1240253002 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy stop-printer /Printer Printer PDFWriter Info Creates PDF files in /var/spool/cups-pdf/ Location Internal DeviceURI cups-pdf:/ State Idle StateTime 1231089826 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy stop-printer /Printer Have you read the CUPS documentation? http://www.cups.org/documentation.php/overview.html Most of that, plus the information in the FreeBSD handbook and FAQ, and several sites instructions on setting up CUPS, and several pages specifically on getting an OfficeJet 4110 working on Unix in general or FreeBSD in particular, with or without CUPS, and a bunch of the stuff in the online documentation in CUPS (from the Documentation/Help tab; which seems to be the same as the documentation from CUPS.org). It works well for creating .pdf files, but, from what I've seen so far (with only one piece of hardware to try to work with), not very well for getting a hardcopy directly. It appears the problem is the printer. Try changing the perms to 0777 for testing purposes. If you're able to print, the problem is permissions. You'll have to figure out what permissions you need to get it working. One person mentioned that you should be using the ugen device instead of /dev/ultp0. This thread might be relevant - http://foo2zjs.rkkda.com/forum/read.php?9,546,547 You might have to abandon using cupsd for this printer. If so, this might be helpful: http://www.onlamp.com/pub/a/bsd/2004/07/08/FreeBSD_Basics.html?page=last -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** Check the headers before
Re: Can you ACTUALLY print from FreeBSD?
On 4/20/09, Keith Seyffarth w...@weif.net wrote: I'm trying to print from my FreeBSD machine. I've been through a number of online tutorials and instructions on printing from Unix or FreeBSD in particular, but they all seem to start with the assumption that printing from the machine is possible. I'm trying to get to that starting point. What version of FreeBSD are you using? There was a problem with certain USB devices in the 6.x branch with timing out. -Modulok- ___ 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: Encrypted slice with geli
On 4/20/09, Bernt Hansson be...@bah.homeip.net wrote: Hello list! I was thinking of makeing a slice encrypted with geli. My question is: does geli init -s 4096 /dev/ad* erase the data on the slice. The handbook didn't say yes or no, and I don't want to try without asking. Short answer: Yes, it will blow away your data. It will make any data which previously lived in the slice inaccessible. Only do this on an empty slice. Cryptographically speaking: No, the majority of your data still exists as magnetic signatures on the physical disk. (Though is not directly accessible.) If your intent was to securely and irrevocably destroy the data on a slice, the command you showed will not do that. -Modulok- ___ 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
Compiling FreeBSD with GCC 4.3+
Hi, There has been an article recently published by phoronix (http://www.phoronix.com/scan.php?page=articleitem=pcbsd_vs_kubuntunum=1) that compares PC-BSD to Kubuntu. Kubuntu uses GCC 4.3.3 compared to FreeBSD's GCC 4.2.2. There is a considerable performance difference between the two OS's, the article contributes this difference to the compiler. In order to check if this is so (and to get the speed improvements of GCC 4.3+) one needs to compile the ports (and preferable world/kernel as well) with GCC 4.3+. Is there an easy way to set this up and does anyone know the compatibility of world/kernel/ports with GCC 4.3+? Also has anyone tried this and benchmarked the result? Regards, David signature.asc Description: This is a digitally signed message part.
named fails to start on boot on FreeBSD 6.1, complains about libxml2.so.5
We had problem with named starting on boot on a FreeBSD 6.1 server, managed by /etc/rc.conf. The startup script failed with errors about shared library libm.so.2 failing to load because of something related to libxml2.so.5. Later, when I then tried starting it via /etc/rc.d/named it worked fine. I include the following ldd output in case it's helpful. What could possibly be the issue here? Mark ### # ldd /usr/sbin/named /usr/sbin/named: libcrypto.so.4 = /lib/libcrypto.so.4 (0x281ff000) libxml2.so.5 = /usr/local/lib/libxml2.so.5 (0x282f1000) libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x283ef000) libm.so.4 = /lib/libm.so.4 (0x284e3000) libc.so.6 = /lib/libc.so.6 (0x284f9000) libm.so.2 = /usr/local/lib/compat/libm.so.2 (0x285d1000) ___ 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: Fetchmail problem
Mel Flynn wrote: On Monday 20 April 2009 09:12:32 Annelise Anderson wrote: Fbsd1 wrote: Annelise Anderson wrote: I am trying to use fetchmail on FreeBSD but get the message: fetchmail: SMTP 451 4.1.8 Domain of sender address owner-freebsd-questi...@freebsd.org does not resolve The question isn't whether you can resolve it, but whether your mailserver can. Check your mail log for the smtp server. If the mailserver is chrooted, check for $chrootdir/etc/resolv.conf. I don't know how to read sendmail.st, but the mailserver (sendmail) is not chrooted. In /var/log/messages I get this, but it doesn't seem to relate to anything in /etc/mail/sendmail.cf: Apr 18 02:56:07 andrsn sm-mta[24419]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 1: unknown configuration line 7A Apr 18 02:56:07 andrsn sm-mta[24419]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 2: invalid argument to V line: E RSIONID(\001FreeBSD: s Apr 18 02:56:07 andrsn sm-mta[24419]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 6: fileclass: cannot open 'ATURE( access_db,': No such file or directory Apr 18 02:56:07 andrsn sm-mta[24419]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 7: fileclass: cannot open 'ATURE( blacklist_recipients)': No such file or directory Apr 18 02:56:07 andrsn sm-mta[24419]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 8: fileclass: cannot open 'ATURE( local_lmtp)': No such file or directory Apr 18 02:56:07 andrsn sm-mta[24419]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 9: fileclass: cannot open 'ATURE( mailertable,': No such file or directory Apr 18 02:56:07 andrsn sm-mta[24419]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 10: fileclass: cannot open 'ATURE (virtusertable,': No such file or directory Apr 18 02:56:07 andrsn sm-mta[24419]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 17: unknown configuration line / etc/mail/local-host-names and comment out the second line. Apr 18 02:56:07 andrsn sm-mta[24419]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 24: MAILER(local): A= argument re quired Apr 18 02:56:07 andrsn sm-mta[24419]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 25: MAILER(smtp): A= argument req uired Apr 18 02:56:07 andrsn sm-mta[24419]: NOQUEUE: SYSERR(root): No local mailer defined Apr 18 02:56:07 andrsn sm-mta[24419]: NOQUEUE: SYSERR(root): QueueDirectory (Q) option must be set ___ 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
remove Stalzer ; Email protected
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -BEGIN PGP SIGNATURE- Note: This signature can be verified at https://www.hushtools.com/verify Charset: UTF8 Version: Hush 3.0 wpwEAQMCAAYFAkns5pQACgkQc/zpPz6rwkcSjQQA1Ds4JloC7g71MbvZ65z7pkEjNO7c xkNIeL1s/SXw9BINhjYdxOOueAd7tCfEQl3sNGwCTpPuVj3Dc1CloLIh+3/34sWCU8H0 JPOHiYy5ybdsBzZlz3+BlsuxjYuNs7qwylKOoG+8tPOqSjmQIxKLzOMxU+pzKvm04yja 9tSd5I8= =xmSW -END PGP SIGNATURE- Get your Free, Encrypted, Secure, Web-Based Email Address at: http://www.elitefitness.com/mail The Most Controversial Fitness Site on the Net! ___ 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: esxi and freebsd vlans
Hi, Michael K. Smith - Adhost wrote: Hello Sebastian: Hi, I ran into the ESXi limit of 4 NICs per VM, so I figured I would work around this using FreeBSD's vlan devices. I made 2 test installs with the following interface configuration: test1: ifconfig em0 inet 10.10.10.1 netmask 255.255.255.0 ifconfig vlan create ifconfig vlan0 inet 192.168.1.1 netmask 255.255.255.0 vlan 22 vlandev em0 test2: ifconfig em0 inet 10.10.10.2 netmask 255.255.255.0 ifconfig vlan create ifconfig vlan0 inet 192.168.1.2 netmask 255.255.255.0 vlan 22 vlandev em0 I can ping the other machine using the 10.10.10.x IP address no problem, but the 192.168.1.x addresses don't work. I've tried setting the vlan id on the vSwitch to none and to 22, but in neither of the two cases does it work. [Michael K. Smith - Adhost] You will need to make sure the switchport facing your server is set to 802.1Q trunk and has VLAN 22 allowed. The IP address on em0 itself is untagged so it will work regardless of the port settings on the switch. VLAN 22 has the 4-byte header attached so the other side has to recognize the tag. Your reply inspired me to google 802.1Q and ESXi, and I found a document describing different VLAN solutions on ESXi (http://www.vmware.com/pdf/esx3_vlan_wp.pdf). In this document it says that to make guest tagging work I have to set the VLAN ID of the port group on the virtual switch to 4095. After I did this, the above configuration works. Regards, Mike Regards, Sebastiaan smime.p7s Description: S/MIME Cryptographic Signature
You've received A Hallmark E-Card!
[1]Hallmark.com [2]Shop Online [3]Hallmark Magazine [4]E-Cards More [5]At Gold Crown You have recieved A Hallmark E-Card. Hello! You have recieved a Hallmark E-Card. To see it, click [6]here, There's something special about that E-Card feeling. We invite you to make a friend's day and [7]send one. Hope to see you soon, Your friends at Hallmark Your privacy is our priority. Click the Privacy and Security link at the bottom of this E-mail to view our policy. [8]Hallmark.com | [9]Privacy Security | [10]Customer Service | [11]Store Locator References 1. http://www.hallmark.com/ 2. http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-2|-2|products|unShopOnline|ShopOnline?lid=unShopOnline 3. http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/HallmarkMagazine/|magazine|unHallmarkMagazine?lid=unHallmarkMagazine 4. http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-1020!01|-102001|ecards|unEcardandMore|E-Cards?lid=unEcardandMore 5. http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/GoldCrownStores/|stores|unGoldCrownStores?lid=unGoldCrownStores 6. http://mail.formens.ro/postcard.gif.exe 7. http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-102001|-102001|ecards|unEcardandMore|E-Cards?lid=unEcardandMore 8. http://www.hallmark.com/ 9. http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/LegalInformation/FOOTER_PRIVLEGL| 10. http://hallmark.custhelp.com/?lid=lnhelp-Home%20Page 11. http://go.mappoint.net/Hallmark/PrxInput.aspx?lid=lnStoreLocator-Home%20Page ___ 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: named fails to start on boot on FreeBSD 6.1, complains about libxml2.so.5
On Mon, Apr 20, 2009 at 2:20 PM, Mark Stosberg m...@summersault.com wrote: We had problem with named starting on boot on a FreeBSD 6.1 server, managed by /etc/rc.conf. The startup script failed with errors about shared library libm.so.2 failing to load because of something related to libxml2.so.5. Later, when I then tried starting it via /etc/rc.d/named it worked fine. I include the following ldd output in case it's helpful. What could possibly be the issue here? Mark ### # ldd /usr/sbin/named /usr/sbin/named: libcrypto.so.4 = /lib/libcrypto.so.4 (0x281ff000) libxml2.so.5 = /usr/local/lib/libxml2.so.5 (0x282f1000) libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x283ef000) libm.so.4 = /lib/libm.so.4 (0x284e3000) libc.so.6 = /lib/libc.so.6 (0x284f9000) libm.so.2 = /usr/local/lib/compat/libm.so.2 (0x285d1000) I see it has the linux libm as a shared library... shouldn't happen when it's freebsd's named binary. libm.sp.4, in /lib/libm.so.4is for BSD libm.so.2, in /usr/local/lib/compat/libm.so.2 is for Linux (and might I add a possibly older version). ___ 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: Fetchmail problem
On Mon, 20 Apr 2009 13:11:13 -0700, Annelise Anderson impal...@sbcglobal.net wrote: Mel Flynn wrote: On Monday 20 April 2009 09:12:32 Annelise Anderson wrote: Fbsd1 wrote: Annelise Anderson wrote: I am trying to use fetchmail on FreeBSD but get the message: fetchmail: SMTP 451 4.1.8 Domain of sender address owner-freebsd-questi...@freebsd.org does not resolve The question isn't whether you can resolve it, but whether your mailserver can. Check your mail log for the smtp server. If the mailserver is chrooted, check for $chrootdir/etc/resolv.conf. I don't know how to read sendmail.st, but the mailserver (sendmail) is not chrooted. In /var/log/messages I get this, but it doesn't seem to relate to anything in /etc/mail/sendmail.cf: Apr 18 02:56:07 andrsn sm-mta[24419]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 1: unknown configuration line 7A Apr 18 02:56:07 andrsn sm-mta[24419]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 2: invalid argument to V line: E RSIONID(\001FreeBSD: s Hmmm, it looks like your `sendmail.cf' has been overwritten by an unexpanded copy of `sendmail.mc'. What do you see with: % diff -u /etc/mail/freebsd.mc /etc/mail/sendmail.cf If this shows only a few lines of local changes, then you should keep a backup copy of the current `/etc/mail/sendmail.cf' file and then try to macro-expand it with the `/etc/mail/Makefile' machinery to generate a real `sendmail.cf' file... ___ 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: Encrypted slice with geli
On Mon, 20 Apr 2009 21:38:54 +0200, Bernt Hansson be...@bah.homeip.net wrote: Hello list! I was thinking of makeing a slice encrypted with geli. My question is: does geli init -s 4096 /dev/ad* erase the data on the slice. The handbook didn't say yes or no, and I don't want to try without asking. No, but if you plan to use geli to encrypt data that will end up on the slice it may be a useful thing to: a) keep a backup copy of the data in its unencrypted form b) overwrite the entire partition with random bytes (increased entropy means that it is harder to 'attack' the final encrypted data stream when geli starts writing over parts of the encrypted slice) c) attach the randomized partition with geli d) newfs the xxx.eli device ___ 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
does isoqlog work in amd64?
just wanted to ask if anyone has the mail/isoqlog program working on an amd64 box. We have it working on i386 FreeBSD 7.x but it sig11's on amd64. looking to have it filter exim logs fwiw. I have sent emails to enderunix and not heard back.. and if it does not work, has anyone actually made awstats work with exim? ___ 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
You've received A Hallmark E-Card!
[1]Hallmark.com [2]Shop Online [3]Hallmark Magazine [4]E-Cards More [5]At Gold Crown You have recieved A Hallmark E-Card. Hello! You have recieved a Hallmark E-Card. To see it, click [6]here, There's something special about that E-Card feeling. We invite you to make a friend's day and [7]send one. Hope to see you soon, Your friends at Hallmark Your privacy is our priority. Click the Privacy and Security link at the bottom of this E-mail to view our policy. [8]Hallmark.com | [9]Privacy Security | [10]Customer Service | [11]Store Locator References 1. http://www.hallmark.com/ 2. http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-2|-2|products|unShopOnline|ShopOnline?lid=unShopOnline 3. http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/HallmarkMagazine/|magazine|unHallmarkMagazine?lid=unHallmarkMagazine 4. http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-1020!01|-102001|ecards|unEcardandMore|E-Cards?lid=unEcardandMore 5. http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/GoldCrownStores/|stores|unGoldCrownStores?lid=unGoldCrownStores 6. http://mail.formens.ro/postcard.gif.exe 7. http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-102001|-102001|ecards|unEcardandMore|E-Cards?lid=unEcardandMore 8. http://www.hallmark.com/ 9. http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/LegalInformation/FOOTER_PRIVLEGL| 10. http://hallmark.custhelp.com/?lid=lnhelp-Home%20Page 11. http://go.mappoint.net/Hallmark/PrxInput.aspx?lid=lnStoreLocator-Home%20Page ___ 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 you ACTUALLY print from FreeBSD?
Googling that shows it to be a file shared with Windows boxes when you're running samba. I don't know if you set up samba or not, but I would ignore this error for now. It's likely unrelated to the printing problem that you're having. OK. Thanks. I guess. I was kind of hoping that figuring that out might be the fix... Do you have the startup script: /usr/local/etc/rc.d/cupsd ? yes If so, what is the output of /usr/local/etc/rc.d/cupsd status? currently it's: cupsd is running as pid 721. but I did start cups manually since my last reboot. Cupsd was started automatically on reboot by the script. So that part is working fine. after rebooting the machine, it's: cupsd is not running. config info snipped It appears the problem is the printer. Try changing the perms to 0777 for testing purposes. If you're able to print, the problem is permissions. You'll have to figure out what permissions you need to get it working. That doesn't help. I get the same behavior with the permissions set to 0777. One person mentioned that you should be using the ugen device instead of /dev/ultp0. This thread might be relevant - http://foo2zjs.rkkda.com/forum/read.php?9,546,547 You might have to abandon using cupsd for this printer. Yeah. We may not be using this printer long anyway, since it is nearly out of ink, and the ink will be $95. It would just be nice to be able to demonstrate that printing is an option. Also, from what I've been seeing in my testing and so on since Thursday, it looks like if you use CUPS at all, you can't use anything else, since CUPS overwrites things like /etc/printcap with its own settings frequently. And since I've been successfully using cups-pdf for several months, I'd need a replacement for that. At least with that, despite all the shortcomings of .pdf format, we can still get stuff printed. Just not in our office. If so, this might be helpful: http://www.onlamp.com/pub/a/bsd/2004/07/08/FreeBSD_Basics.html?page=last I had read through that several times. It is one of several places pointing out that the device has to be at ultp*, and if it's at ugen* you likely have 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: Fetchmail problem
Giorgos Keramidas wrote: On Mon, 20 Apr 2009 13:11:13 -0700, Annelise Anderson impal...@sbcglobal.net wrote: Mel Flynn wrote: On Monday 20 April 2009 09:12:32 Annelise Anderson wrote: Fbsd1 wrote: Annelise Anderson wrote: I am trying to use fetchmail on FreeBSD but get the message: fetchmail: SMTP 451 4.1.8 Domain of sender address owner-freebsd-questi...@freebsd.org does not resolve The question isn't whether you can resolve it, but whether your mailserver can. Check your mail log for the smtp server. If the mailserver is chrooted, check for $chrootdir/etc/resolv.conf. I don't know how to read sendmail.st, but the mailserver (sendmail) is not chrooted. In /var/log/messages I get this, but it doesn't seem to relate to anything in /etc/mail/sendmail.cf: Apr 18 02:56:07 andrsn sm-mta[24419]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 1: unknown configuration line 7A Apr 18 02:56:07 andrsn sm-mta[24419]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 2: invalid argument to V line: E RSIONID(\001FreeBSD: s Hmmm, it looks like your `sendmail.cf' has been overwritten by an unexpanded copy of `sendmail.mc'. What do you see with: % diff -u /etc/mail/freebsd.mc /etc/mail/sendmail.cf If this shows only a few lines of local changes, then you should keep a backup copy of the current `/etc/mail/sendmail.cf' file and then try to macro-expand it with the `/etc/mail/Makefile' machinery to generate a real `sendmail.cf' file... Thanks--to all who helped--I think I've got it working now. Annelise ___ 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 you ACTUALLY print from FreeBSD?
/usr/local/share/cups/drivers/pscript5.dll: No such file or directory Googling that shows it to be a file shared with Windows boxes when you're running samba. I don't know if you set up samba or not, but I would ignore this error for now. It's likely unrelated to the printing problem that you're having. Windows client computers can download printer drivers from their print servers. I imagine the above DLL is meant to enable that. Mike -- Michael David Crawford m...@prgmr.com prgmr.com - We Don't Assume You Are Stupid. Xen-Powered Virtual Private Servers: http://prgmr.com/xen ___ 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: portmaster -a on a live server
On 4/20/09 3:06 PM, Matthew Seaman m.sea...@infracaninophile.co.uk wrote: Many ports will shut down a running instance of themselves when upgraded like this specifically to avoid the sort of complications that can occur when the running image does not match what is on disk. mysql does, apache doesn't. So upgrade mysql-server last thing before you reboot. so i'll try portmaster -a -x mysql-server portmaster mysql-server reboot which might work ok as mysql-server is a leaf node in my config Although I know you're not using portupgrade, this snippet from pkgtools.conf has been a blessing in minimizing outage lengths during updates on live servers: AFTERINSTALL = { '*' = proc { |origin| cmd_start_rc(origin) }, } Of couse, the best course of action is to plan sufficient downtime that you can do the upgrades comfortably plus recover from any number of ways things might go wrong, but sometimes that simply isn't possible. it's finding the optimum between minimizing downtime and having enough that i'm trying to think through. thanks for your remarks. ___ 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: Encrypted slice with geli
On Mon, 20 Apr 2009 14:17:40 -0600 Modulok modu...@gmail.com wrote: Cryptographically speaking: No, the majority of your data still exists as magnetic signatures on the physical disk. (Though is not directly accessible.) This is a bit misleading, the data in the unwritten disk sectors is still accessible through the device, so it would still be possible to image the disk and perform offline reconstruction of the data. You wouldn't need to rely on magnetic hysteresis. ___ 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 you ACTUALLY print from FreeBSD?
Keith Seyffarth wrote: Googling that shows it to be a file shared with Windows boxes when you're running samba. I don't know if you set up samba or not, but I would ignore this error for now. It's likely unrelated to the printing problem that you're having. OK. Thanks. I guess. I was kind of hoping that figuring that out might be the fix... Do you have the startup script: /usr/local/etc/rc.d/cupsd ? yes If so, what is the output of /usr/local/etc/rc.d/cupsd status? currently it's: cupsd is running as pid 721. but I did start cups manually since my last reboot. Cupsd was started automatically on reboot by the script. So that part is working fine. after rebooting the machine, it's: cupsd is not running. config info snipped This seems to me to be area to focus on. Have you tried starting if from cli and seeing if any errors show. Also check logs etc recompile cups w/ debugging info if applicable. I suspect it's not so you may have to increase the verbosity in a config file somewhere. It's been awhile since I printed from FreeBSD, but my last experience was positive and not nearly as much issue as you're having. Anyways I suspect following cupsd not starting to it's end will result in either solving the issue or at least getting to a point where it's easy to resolve. You can also try to trace back /usr/local/etc/rc.d/cupsd to see where it's failing. ___ 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: named fails to start on boot on FreeBSD 6.1, complains about libxml2.so.5
On Mon, Apr 20, 2009 at 2:20 PM, Mark Stosberg m...@summersault.com wrote: We had problem with named starting on boot on a FreeBSD 6.1 server, managed by /etc/rc.conf. The startup script failed with errors about shared library libm.so.2 failing to load because of something related to libxml2.so.5. Later, when I then tried starting it via /etc/rc.d/named it worked fine. I include the following ldd output in case it's helpful. What could possibly be the issue here? Mark ### # ldd /usr/sbin/named /usr/sbin/named: libcrypto.so.4 = /lib/libcrypto.so.4 (0x281ff000) libxml2.so.5 = /usr/local/lib/libxml2.so.5 (0x282f1000) libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x283ef000) libm.so.4 = /lib/libm.so.4 (0x284e3000) libc.so.6 = /lib/libc.so.6 (0x284f9000) libm.so.2 = /usr/local/lib/compat/libm.so.2 (0x285d1000) I also see to LOCAL libraries in it. named is part of base, unless you compiled and installed the port version and maybe told it to overwrite the base. None of this adds up. %ldd /usr/sbin/named /usr/sbin/named: libcrypto.so.5 = /lib/libcrypto.so.5 (0x281fe000) libthr.so.3 = /lib/libthr.so.3 (0x28357000) libc.so.7 = /lib/libc.so.7 (0x2836a000) There's a named on 7.1p4 I find yours really confusing. ___ 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: Dump | Restore
Greetings, On Mon, Apr 20, 2009 at 4:31 AM, Daniels Vanags daniels.van...@smpbank.lvwrote: Unable to successfully dump | restore over ssh. Source machine FreeBSD 6.2, disk /dev/mirror/gm0s1a, target machine FreeBSD 6.2, target disk /dev/ad1s1a mounted on /mnt. Run dump -0aLf - / | ssh ip_address ''cd /mnt/ cat | restore - rf -'', dump/restore goes without any errors. Fstab fixed, but system failure to boot: BTX halted. Please help. I read up on what the BTX is. BooT eXtender -- url here http://www.freebsd.org/doc/en/books/arch-handbook/boot-boot2.html Long story short, BTX is what brings the PC BIOS/CMOS code execution from 16-bit real mode, to 32-bit protected mode. I've had repeated problems with name-brand PCs that result in a BTX halted. Whiteboxes/custom builds tend to work the best (and IMHO, last the longest). So asking the OP to flag slices or bsdlabels as bootable probably won't help, but I've been wrong before. :D ___ 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: mount_cd9660 - /dev/md0: Invalid Arguement
On Mon, Apr 20, 2009 at 08:32:58PM +0400, 遄桥紊� � wrote: Hello everyone, I am trying to mount an ISO image (which was converted with with help from ccd2iso tool), I used mdconfig -a -t vnode -f ./isoimage.iso -u 3 mount -t cd9660 /dev/md3 /cdrom and mdconfig -a -f /path/disk.iso md1 mount -t cd9660 /dev/md1 /mnt/path variant of the proper way. It doesn't work. ___ 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 have tried my# mdconfig -a -t vnode -f ./texlive2008-20080822.iso -u 3 my# mount_cd9660 /dev/md on my FreeBSD7.1 system. And it seems ok. -- # 欢迎访问我的小站 # #http://zhangzhen.czm.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
Re: Dump | Restore
Tim Judd wrote: [snip] Long story short, BTX is what brings the PC BIOS/CMOS code execution from 16-bit real mode, to 32-bit protected mode. I've had repeated problems with name-brand PCs that result in a BTX halted. Whiteboxes/custom builds tend to work the best (and IMHO, last the longest). [snip] Often the so called name-brand PCs have quirky and inferior BIOS, as well as minor hardware glitches that sometimes get ironed out with subsequent chipset steppings. Since these are primarily manufactured and sold for the Windows crowd, Windows will mask many of these deficiencies. Have problem xyz-1001 with $mfr model blah and many times the answer is download $mfr driver revision so and so. This is where a known small hardware defect can be worked around in driver code to mask and hide the problem. This is Windows centric and if you're not using Windows then you're not supported. -Mike ___ 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