Re: Using sendmail as a client with auth
On 14/02/2012 05:12, Bernt Hansson wrote: Is that rebuild as in cd /usr/src make buildworld or cd /usr/src/usr.sbin/sendmail make Either of those should do it. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Using sendmail as a client with auth
On 14/02/2012 08:05, Bernt Hansson wrote: I have rebuilt and installed world, but no cigar. Feb 14 08:50:40 reader sendmail[1147]: q1E7oe7l001147: to=b...@bananmonarki.se, ctladdr=bernt (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30064, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (q1E7oevk001148 Message accepted for delivery) Feb 14 08:50:41 reader sm-mta[1150]: STARTTLS=client, relay=my.isp.com., version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256 Feb 14 08:50:47 reader sm-mta[1150]: q1E7oevk001148: to=b...@bananmonarki.se, ctladdr=bernt@fqdn (1001/1001), delay=00:00:07, xdelay=00:00:07, mailer=relay, pri=30391, relay=my.isp.com. [x.x.x.x], dsn=5.7.1, stat=Service unavailable Feb 14 08:50:47 reader sm-mta[1150]: q1E7oevk001148: q1E7olvk001150: DSN: Service unavailable Look at the output of ldd /usr/libexec/sendmail/sendmail If there's no mention of sasl2 there, then your modifications to the build process would seem to have failed. Otherwise, it's a configuration problem and you need to double check /etc/mail/$(hostname).mc and your client auth data. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Can clang compile RELENG_9?
On 11 February 2012 21:45, Michael Powell nightre...@hotmail.com wrote: Dennis Glatting wrote: I get errors when trying to compile RELENG_9 with clang. Is clag suppose to work when it comes to compiling the OS or am I missing something: [snip] I can't speak to RELENG_9, but I have successfully rebuilt the RELEASE with CLANG (make/install world kernel). My /etc/make.conf as per instructions I found on the wiki: .if !defined(CC) || ${CC} == cc CC=clang .endif .if !defined(CXX) || ${CXX} == c++ CXX=clang++ .endif .if !defined(CPP) || ${CPP} == cpp CPP=clang-cpp .endif # Don't die on warnings NO_WERROR= WERROR= # Don't forget this when using Jails! NO_FSCHG= This was with amd64, have not tried any 32 bit. With custom kernel as well. -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 I've been building 9-current and 9-stable for a year or so with few problems. It is a supported configuration after all. It should also create faster binaries as well as gcc 4.3 is quite old now and clang generally stacks up very well with the later gcc versions in terms of binary performance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Using sendmail as a client with auth
On Tue, 14 Feb 2012 10:04+0100, Bernt Hansson wrote: On 2012-02-14 08:02, Josh Tolbert wrote: On 2/13/2012 11:12 PM, Bernt Hansson wrote: Thank you for your answer. I wrote this ages ago and it's still valid. You can ignore the IMAP stuff if you like. :) Well, no cigar for me. I'm leaning at this line. And I think it is somehow involed in all this mess sm-mta[37453]: STARTTLS=client, relay=smtp.isp.com., version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256 I'm sorry for jumping into this thread, but verify=FAIL is expected unless you have your ISP's certificate chain stored in the appropriate directory with the appropriate file names. /etc/ssl/certs would be a good place to store the certificates. A command like this one can be used to generate the hashed file names: ln -s certfile `openssl x509 -noout -hash certfile`.0 Any idea about that? The isp does support STARTTLS. telnet smtp.isp.com 25 Trying x.x.x.x... Connected to smtp.bredband2.com. Escape character is '^]'. 220 smtp.isp.com ESMTP Postfix (Ubuntu) ehlo localhost 250-smtp.isp.com 250-PIPELINING 250-SIZE 10240 250-VRFY 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN 250-AUTH=PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN starttls 220 2.0.0 Ready to start TLS http://www.puresimplicity.net/~hemi/freebsd/sendmail.html That is a good site. Learnt me how to build sendmail at least. -- +---++ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. dir. 61 14 54 39, | Office.: +47 61 14 54 39, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +---++___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Using sendmail as a client with auth
On Tue, 14 Feb 2012 11:11+0100, Bernt Hansson wrote: On 2012-02-14 10:43, Trond Endrestøl wrote: On Tue, 14 Feb 2012 10:04+0100, Bernt Hansson wrote: On 2012-02-14 08:02, Josh Tolbert wrote: On 2/13/2012 11:12 PM, Bernt Hansson wrote: Thank you for your answer. I wrote this ages ago and it's still valid. You can ignore the IMAP stuff if you like. :) Well, no cigar for me. I'm leaning at this line. And I think it is somehow involed in all this mess sm-mta[37453]: STARTTLS=client, relay=smtp.isp.com., version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256 I'm sorry for jumping into this thread, Don't be sorry for that. but verify=FAIL is expected unless you have your ISP's certificate chain stored in the appropriate directory with the appropriate file names. I do not have a certificate from the isp. My tought was more in line of MY sendmail is sending starttls first thing before auth login. Actually, this makes sense. It seems appropriate to establish an encrypted connection before sending the username and password. A parallel would be SSH. At the same time the use of SSL/TLS makes it harder to debug what's going on. Then postfix gets confused. It sounds strange, but there's a slight chance something is odd at the ISP's end. Possible scenario? I don't have any more input at the moment. The next step would be to establish a dialog with your ISP and persua^Wask them to investigate the matter further. /etc/ssl/certs would be a good place to store the certificates. A command like this one can be used to generate the hashed file names: ln -s certfile `openssl x509 -noout -hash certfile`.0 Any idea about that? The isp does support STARTTLS. telnet smtp.isp.com 25 Trying x.x.x.x... Connected to smtp.isp.com. Escape character is '^]'. 220 smtp.isp.com ESMTP Postfix (Ubuntu) ehlo localhost 250-smtp.isp.com 250-PIPELINING 250-SIZE 10240 250-VRFY 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN 250-AUTH=PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN starttls 220 2.0.0 Ready to start TLS http://www.puresimplicity.net/~hemi/freebsd/sendmail.html That is a good site. Learnt me how to build sendmail at least. -- +---++ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. dir. 61 14 54 39, | Office.: +47 61 14 54 39, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +---++___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Using sendmail as a client with auth
On Tue, Feb 14, 2012 at 06:49:52AM +0100, Bernt Hansson wrote: 2012-02-13 17:35, Nikola Pavlović skrev: There are lightweight MTAs just for this purpose, I use mail/msmtp and it works great with multiple accounts. Usually, this is much simpler to set up than using a real MTA like Sendmail or Postfix. If it is simple then it's no fun ;) Heh, true that. -- Without ice cream life and fame are meaningless. ___ 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
net/ifstated does not compile on 9.0-RELEASE/amd64
# make install clean === License check disabled, port has not defined LICENSE = ifstated-4.7.tar.gz doesn't seem to exist in /usr/ports/distfiles/. = Attempting to fetch http://christianserving.org/ports/net/ifstated/ifstated-4.7.tar.gz ifstated-4.7.tar.gz 100% of 14 kB 22 kBps === Extracting for ifstated-4.7_2,1 = SHA256 Checksum OK for ifstated-4.7.tar.gz. === Patching for ifstated-4.7_2,1 === Applying FreeBSD patches for ifstated-4.7_2,1 === ifstated-4.7_2,1 depends on shared library: event - found === Configuring for ifstated-4.7_2,1 === Building for ifstated-4.7_2,1 Warning: Object directory not changed from original /usr/ports/net/ifstated/work/ifstated-4.7 cc -O2 -fno-strict-aliasing -pipe -march=k8-sse3 -Wall -I/usr/ports/net/ifstated/work/ifstated-4.7 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wcast-qual -I/usr/local/include -std=gnu99 -fstack-protector -c ifstated.c ifstated.c:42:19: error: event.h: No such file or directory In file included from ifstated.c:46: ifstated.h:50: error: field 'ev' has incomplete type ifstated.h:110: error: field 'ev' has incomplete type ifstated.c: In function 'main': ifstated.c:151: warning: implicit declaration of function 'event_init' ifstated.c:154: warning: implicit declaration of function 'signal_set' ifstated.c:155: warning: implicit declaration of function 'signal_add' ifstated.c:160: warning: implicit declaration of function 'evtimer_set' ifstated.c:161: warning: implicit declaration of function 'evtimer_add' ifstated.c:163: warning: implicit declaration of function 'event_loop' ifstated.c: In function 'startup_handler': ifstated.c:198: warning: implicit declaration of function 'event_set' ifstated.c:198: error: 'EV_READ' undeclared (first use in this function) ifstated.c:198: error: (Each undeclared identifier is reported only once ifstated.c:198: error: for each function it appears in.) ifstated.c:198: error: 'EV_PERSIST' undeclared (first use in this function) ifstated.c:199: warning: implicit declaration of function 'event_add' ifstated.c: In function 'external_evtimer_setup': ifstated.c:423: warning: implicit declaration of function 'evtimer_del' ifstated.c: In function 'remove_expression': ifstated.c:763: warning: implicit declaration of function 'event_del' *** Error code 1 Stop in /usr/ports/net/ifstated/work/ifstated-4.7. *** Error code 1 Stop in /usr/ports/net/ifstated. Regards, Hugo ___ 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
9.0-RELEASE: Strange freezing and kernel panics on laptop
Hi, I'm in need of advice. I've recently installed FreeBSD 9.0-RELEASE on my laptop (a Dell Inspiron 1318) with a good deal of success. However, I've been experiencing a few hiccups, to say the least. The kernel is the GENERIC for the amd64 architecture that comes with the installation images (no funny compilation issues on my part): $ uname -a FreeBSD apeiron 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Since I've installed it, the system has been freezing for apparently no reason and, once in a while, rebooting upon a kernel panic. The kernel panics come in two varieties: Fatal Trap 9: general protection fault while in kernel mode Fatal Trap 12: page fault while in kernel mode I have the dump files. [Concerning the Fatal Trap 12: I ran memtest86+ and everything turned out alright on the memory side.] As for the recurrent freezing, it seems to me (but this is a hunch) that it might be related to wireless card issues (since, for what I can recall, it happens some time after I start having conection issues). Also, everytime I do a netif restart, the system just freezes after displaying two lines: bwn0: need multicast update callback TODO: need swap [In order not to raise side issues, I have a fully working LP PHY Broadcom 4312 (except for these issues), and I have hw.bwn.usedma=0 in loader.conf---but the freezing thing happens whether it is set to 1 or 0.] And that's about it. In particular, nothing shows in /var/log/messages. As for the panics, I'm clueless. Maybe the following can help (or not!!). In /var/log/messages, the following two lines keep showing: acpi0: reservation of 0, 9f000 (3) failed acpi0: reservation of 10, 7f56d800 (3) failed Needless to say, this won't discourage me from using FreeBSD on my laptop, but it isn't very funny to have these kind of problems while doing some work. Any help would be appreciated, if nothing else, to understand what's happening. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: corrupted tar.gz archive - I lost my backups :)/:(
Pegasus Mc Cleaft k...@mthelicon.com writes: It recreates something, but the most important files, which reside in subfolders of the given tar.gz archives are gone, i.e. the subfolders are empty. The gunzip strategy you mentioned yields the same as a regular tar -xvf file.tar.gz. Pegasus, I have yet to try the pax(1) approach. I will let you know about how that went. Hum.. I'm not sure if pax will be able to help in this case. From the looks of it, somehow the compressed data got corrupted - I don't think pax will be able to deal with this any better than tar did. Probably correct; the right data isn't there, no tool is going to be able to recover it. Data compression makes this more fragile (i.e., lose the rest of the archive as opposed to only the files in which the data corruption occurs. I wonder if there was a change in gzip (like maybe libarchive) between the two versions of BSD that might be causing the problem. If I were attacking the problem, I might try booting up off a 7.x bootcd and see if I can gzip --test the archive from the usb stick. It's easy enough to try, but it seems awfully unlikely to help; lots of us have .tar.gz files going back a couple of decades, and if there were ever new implementations that couldn't understand the old ones, some old hand would have noticed by now. Media errors happen, and preparing for them involves noticing them before you try to use the data, as well as recovering if they go bad. The user seems to have knowingly only had one copy of the valuable data, which makes the word backup a bit of an unusual usage of the term... --Lowell ___ 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: corrupted tar.gz archive - I lost my backups :)/:(
I don't have the script anymore. It is among the files lost, but it was pretty much straight forward, making use of: tar -czf backupfile.tar.gz folders/ of/ my/ choice/. After creating the backups I just cp(1)ed them to an msdosfs formated usb stick and got them onto 8.2 this way, so the famous ascii/binary trap shouldn't be an issue here. Just a thought... how large were the tar.gz files? Are you maybe hitting on a file size limit and the .tar.gz files are getting truncated? Not sure what the limit is for msdosfs. -- Mike Kelly ___ 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: corrupted tar.gz archive - I lost my backups :)/:(
On Feb 14, 2012 7:37 AM, Mike Kelly mdke...@ualr.edu wrote: I don't have the script anymore. It is among the files lost, but it was pretty much straight forward, making use of: tar -czf backupfile.tar.gz folders/ of/ my/ choice/. After creating the backups I just cp(1)ed them to an msdosfs formated usb stick and got them onto 8.2 this way, so the famous ascii/binary trap shouldn't be an issue here. Just a thought... how large were the tar.gz files? Are you maybe hitting on a file size limit and the .tar.gz files are getting truncated? Not sure what the limit is for msdosfs. -- Mike Kelly ___ 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 or perhaps pulled the drive before unmounting... with pending writes. just a thought. Waitman Gobble San Jose California USA ___ 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: corrupted tar.gz archive - I lost my backups :)/:(
On Tue, Feb 14, 2012 at 2:56 AM, _ pancakekin...@gmail.com wrote: Trying to recover these files on 8.2, I found that some of the archives - unfortunately those with the files that are dear to me - are corrupted. Do you have MD5, SHA256 etc... checksums of the .tar.gz files somewhere? Do they still match, or do they differ now? (If they match, you have a software problem with tar or gzip; try reading the files under Linux (Knoppix?) just to be sure. If they don't match, either the media is corrupt (very likely), or something's wrong on the code path that reads your backup device (a lot less likely)) -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
Printing directly to IP address
I was contacted recently by a friend who was studying printing under FreeBSD http://www.freebsd.org/doc/en/books/handbook/printing.html. He presently runs a mixture of Windows and Ubuntu PCs. The documentation deals primarily with parallel and serial printers. Personally, I cannot remember the last time I used either; however, that is not pertinent. My friend accesses the printer(s) the same way I do, via a wireless network. The difference is that I am using CUPS to achieve that goal. My friend would like to do it sans CUPS if possible. I know it is possible; however, I cannot find any actual documentation under the printing section in the FreeBSD manual. If anyone could provide a link to such documentation, it would be appreciated. Updating the Printing section in the manual would also seem like a worthwhile endeavor also. I did a quick perusal of the section and even USB is discouraged. -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ ___ 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
Processor question
Greetings, I have been a user of Linux since 1994, but most of the linux distros seem to be getting away from freedom... which is why I chose it in the first place. They seem intent on forcing things that do not work well (like pulseaudio and nouveau) on everyone. Freedom of choice is always best. My question is: Should I try the amd64 version of FreeBSD with my Intel Core i7-2600 processor or should I use the i386? I hope to give FreeBSD a try later this month. Thanks, Mike Dockery ___ 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: USB 3 / eSATA support
I think for now I am going to build FreeBSD VM on my windows box and dedicate it to running Bacula Director and Storage Daemon, I was able to get a 20MB sustained through put through the VMware USB emulation copying a file from an SFTP as I had no large files on the local system from my test FreeBSD 9 VM. Though now I don't know why I didn't think to just us dd from /dev/random to a file on the disk, will likely give that a try once my new VM is built. This will get me by performance to a workable speed until I can come up with a more permanent solution, and keep me from spending more money this month so I have a little bit left to add to my savings account. Just an update to this thread in case anyone runs into it, and thinks building a FreeBSD VM within VMware to run Bacula backups to a USB hard drive is a good idea. It turns out that it isn't, not sure if its a VMware FreeBSD guest issue, or a general VMware USB issue, but the heavy load on the USB drive has caused several crashes of the host system. Which of course in turn means a hard crash of the FreeBSD virtual machine, complete with corrupted file systems. It did give me some practice recovering lost Bacula database as I lost my whole PostgreSQL database due to corrupted files once. This might work for many small files, backups ran OK for my web server, but backups against the FreeNAS server with around 200G about 100G is an iTunes library, and around another 20G is photos. When hitting these bigger files with less overhead that allowed for more throughput to the USB device the crashes began to occur. Of course, I should note this setup was done with a FreeBSD9.0-Release virtual machine built from source, using clang, and all ports where possible also built with clang. And running open-vm-tools (these do fail to build with clang) as the VMware tools won't install on FreeBSD 9.0 I am sure VMware has not done any testing with this setup yet, nor do I know if they ever will. So the problem may not exist with other guest operating systems. Also of note, I was originally running under a windows 7 host PC, after the crashes, I switched to CentOS 6 on the host, with a windows Virtual machine to run the applications needing windows. The crashes still occur under CentOS, though a little less frequent than they did under windows. -- Thanks, Dean E. Weimer http://www.dweimer.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: Processor question
AMD As this just means 64 bit On Feb 14, 2012 8:02 PM, Mike Dockery mdock...@hargray.com wrote: Greetings, I have been a user of Linux since 1994, but most of the linux distros seem to be getting away from freedom... which is why I chose it in the first place. They seem intent on forcing things that do not work well (like pulseaudio and nouveau) on everyone. Freedom of choice is always best. My question is: Should I try the amd64 version of FreeBSD with my Intel Core i7-2600 processor or should I use the i386? I hope to give FreeBSD a try later this month. Thanks, Mike Dockery __**_ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-** unsubscr...@freebsd.org 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: Printing directly to IP address
same way I do, via a wireless network. The difference is that I am using CUPS to achieve that goal. My friend would like to do it sans CUPS if possible. If the printer supports the hoary lpd protocol, you can configure it in /etc/printcap. If it wants socket or IPP protocols, CUPS is the least painful route. Installing CUPS on freebsd is pretty straightforward. The main wart is that you have to manually move all the lpr commands in /usr/bin out of the way and symlink them to the CUPS versions in /usr/local/bin. Other than that, the web config works great, and it has drivers for vast numbers of printers, particularly when you also install hplip. R's, John -- Regards, John Levine, jo...@iecc.com, Primary Perpetrator of The Internet for Dummies, Please consider the environment before reading this e-mail. http://jl.ly ___ 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: corrupted tar.gz archive - I lost my backups :)/:(
Just another silly thought try the tar j flag rather than the z flag, as you might have got your compression algorithms confused. Try the xz one as well just in case On Feb 14, 2012 3:37 PM, Mike Kelly mdke...@ualr.edu wrote: I don't have the script anymore. It is among the files lost, but it was pretty much straight forward, making use of: tar -czf backupfile.tar.gz folders/ of/ my/ choice/. After creating the backups I just cp(1)ed them to an msdosfs formated usb stick and got them onto 8.2 this way, so the famous ascii/binary trap shouldn't be an issue here. Just a thought... how large were the tar.gz files? Are you maybe hitting on a file size limit and the .tar.gz files are getting truncated? Not sure what the limit is for msdosfs. -- Mike Kelly ___ 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: Processor question
On Tue, Feb 14, 2012 at 02:47:08PM -0500, Mike Dockery wrote: Greetings, Aloha, I have been a user of Linux since 1994, but most of the linux distros seem to be getting away from freedom... which is why I chose it in the first place. They seem intent on forcing things that do not work well (like pulseaudio and nouveau) on everyone. Freedom of choice is always best. Yeah, I used to use Linux but they became a bunch of Freedom Nazis controlled by big companies. Happily using FreeBSD for 10 years. My question is: Should I try the amd64 version of FreeBSD with my Intel Core i7-2600 processor or should I use the i386? Generally, for an x86 machine with 4GB or greater memory use amd64. Memory less than that use i386. ie. you almost certainly want to use amd64, I should think. I hope to give FreeBSD a try later this month. Excellent. Best of luck and any problems not covered in the handbook or google, post here. Welcome to FreeBSD! Thanks, Mike Dockery Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html pgpefdLHhUn6G.pgp Description: PGP signature
RE: Processor question
-Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Mike Dockery Sent: Tuesday, February 14, 2012 2:47 PM To: freebsd-questions@FreeBSD.org Subject: Processor question Greetings, I have been a user of Linux since 1994, but most of the linux distros seem to be getting away from freedom... which is why I chose it in the first place. They seem intent on forcing things that do not work well (like pulseaudio and nouveau) on everyone. Freedom of choice is always best. My question is: Should I try the amd64 version of FreeBSD with my Intel Core i7-2600 processor or should I use the i386? I hope to give FreeBSD a try later this month. Thanks, Mike Dockery ___ 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 Up to you if you want 32-bit or 64 -bit. Used to be that some of the higher level ports only worked in 32-bit but more and more have been tweaked to work on both now. If you have 4GB or more memory, def recommend amd64. -Sean ___ 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: Processor question
On 14/02/2012 19:47, Mike Dockery wrote: My question is: Should I try the amd64 version of FreeBSD with my Intel Core i7-2600 processor or should I use the i386? Choose amd64 by default, unless you have a specific application that requires an i386 system. Even if you have less than 4GiB RAM. Be aware that most 32bit apps can be run on a 64bit system. The converse is not true. Also, it's a lot easier to pop in some extra RAM sticks, than it is to convert from i386 to amd64 and then pop in some extra RAM sticks... Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Printing directly to IP address
You're going to want to use lpr, and you'll have to set up /etc/printcap first. http://www.freebsd.org/doc/en/books/corp-net-guide/printserving-lpr-freebsd.html http://www.freebsd.org/doc/en/books/corp-net-guide/printserving-unix.html The command I use to print to a printer set up in /etc/printcap: lpr -Pprintername filename_to_print lpq will show you the queue, lprm removes jobs from the queue. Hope this helps. On 02/14/2012 11:57, Jerry wrote: I was contacted recently by a friend who was studying printing under FreeBSDhttp://www.freebsd.org/doc/en/books/handbook/printing.html. He presently runs a mixture of Windows and Ubuntu PCs. The documentation deals primarily with parallel and serial printers. Personally, I cannot remember the last time I used either; however, that is not pertinent. My friend accesses the printer(s) the same way I do, via a wireless network. The difference is that I am using CUPS to achieve that goal. My friend would like to do it sans CUPS if possible. I know it is possible; however, I cannot find any actual documentation under the printing section in the FreeBSD manual. If anyone could provide a link to such documentation, it would be appreciated. Updating the Printing section in the manual would also seem like a worthwhile endeavor also. I did a quick perusal of the section and even USB is discouraged. -- Dave Robison Sales Solution Architect II FIS Banking Solutions 510/621-2089 (w) 530/518-5194 (c) 510/621-2020 (f) da...@vicor.com david.robi...@fisglobal.com _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Processor question
On 14/02/2012 21:28, Nerius Landys wrote: If you do choose 32 bit, you can compile the PAE kernel which will allow access to all of your memory, but you'll still be limited to under 4 GB per process memory. Better pray all your devices have PAE compatible drivers then. PAE is an obsolete bodge. A sticking plaster for people stuck with 32-bit processors but who needed lots of RAM. Just be glad you have 64-bit capable processors nowadays so you don't ever need to use it. The sooner it fades into history, the better. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Processor question
On Tue, 14 Feb 2012 14:47:08 -0500 Mike Dockery wrote: Greetings, I have been a user of Linux since 1994, but most of the linux distros seem to be getting away from freedom... which is why I chose it in the first place. They seem intent on forcing things that do not work well (like pulseaudio and nouveau) on everyone. Freedom of choice is always best. Far be it for me to stop you from adventuring into the FreeBSD world, I encourage you actually. :-) However, note that you always had and will have the freedom of choice. One Linux distribution might have chosen to go the pulseaudio way (binary-only ones usually do), but FreeBSD inspired ones, with ports-like features, offer you the choice to go plain ALSA or even OSS (Crux, Gentoo etc.). In what concerns nouveau, I'm afraid there's no running away from it. Reverse engineering close source drivers for modern GPU-s is an incredibly hard task. FreeBSD will likely get nouveau when KMS gets finished (soon I hear?). Until then, the good old nVidia blob will do. So instead of seeing FreeBSD as a place of retreat, see it as an adventure! :-) My question is: Should I try the amd64 version of FreeBSD with my Intel Core i7-2600 processor or should I use the i386? Definitely amd64. I hope to give FreeBSD a try later this month. -- Mihai Donțu ___ 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: Processor question
If you do choose 32 bit, you can compile the PAE kernel which will allow access to all of your memory, but you'll still be limited to under 4 GB per process memory. ___ 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: Printing directly to IP address
Jerry je...@seibercom.net wrote: I know it is possible; however, I cannot find any actual documentation under the printing section in the FreeBSD manual. If anyone could provide a link to such documentation, it would be appreciated. Provided the printer supports lpd protocol, i.e. it looks like a remote BSD machine operating as a print server, the setup is covered in the Networked Printing handbook section (as of 6.1 -- I don't seem to have any newer doc package installed). The comments in /etc/printcap are also useful, and there's some coverage in the Corporate Networker's Guide: Setting up LPR/LPD on FreeBSD and Printing from UNIX. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: corrupted tar.gz archive - I lost my backups :)/:(
krad kra...@gmail.com writes: Just another silly thought try the tar j flag rather than the z flag, as you might have got your compression algorithms confused. Try the xz one as well just in case The system tar (based on libarchive) will figure all of this out for you, regardless of which flag you give it. ___ 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
fixit disc for 7.3 #1?
guys, is there still a way of fixing something i did to my existing installation? it does nothing but continually cycle e and try to reboot into the old release i had from feb 2011. i thought editing out /etc/fstab would do it. but nope, it throws me into the lowest level manual config and then hangs. i cannot even install release 9.0 which is the only other path. either some stable distro of debian, or getting past release8 and going to 9. first, tho, i need to get rid of this [[messed up]] 7.3. let me share a story from when i was visiting a favorite cousin who put up about half of NASA's huge antennas. long retired, he lives out where not even god could find him. he wanted to see proof of my beloved freebsd. so, using a new set of discs that i bought, i started the installation. { FWIW, --this was in july, 2000. } I happened to mention that freebsd had trouble configuring the printers. or that that could get hairy. he stopped what he was doing and asked me to get back to his windows toys and games. i had a floppy w ith the mystery file MBR that removed that single file. my hunch is that since i never mess with anything but freebsd, i left it configure itself by default and that the same thing that stalled me for ten minutes back in 2000, might be what's stopping me from installing anything over my 7.3 in 2012. any wizards how how to fix this? gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. ___ 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 / Gnome / Audio
Hello, I've read through a zillion posts in the FreeBSD forums and various other Google sources about getting audio to work in Gnome on FreeBSD. Most of the posts say something like pulseaudio sucks, don't use it, and that's fine, but what do I replace it with? Since I've removed pulseaudio from all my installed ports, I now have no audio control panel under System, Preferences, and I have no volume control slider near the clock. Audio is working in that I can play a video in Firefox and hear the audio, but it's currently coming out the wrong sound card (for whatever reason, Dell's audio card shows up twice: once for the internal speaker and once for the external speaker/headphone jacks). So I can't tell Gnome to push the audio out /dev/dsp1 now, rather than /dev/dsp0. Basically, how do I control how applications put sound out to my system when pulseaudio is not installed? -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Tim Gustafsont...@soe.ucsc.edu Baskin School of Engineering 831-459-5354 UC Santa Cruz Baskin Engineering 317B -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ 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: fixit disc for 7.3 #1?
On 02/15/12 12:01, Gary Kline wrote: On 02/14/2012 05:40 PM, Da Rock wrote: On 02/15/12 10:08, Gary Kline wrote: guys, is there still a way of fixing something i did to my existing installation? it does nothing but continually cycle e and try to reboot into the old release i had from feb 2011. i thought editing out /etc/fstab would do it. but nope, it throws me into the lowest level manual config and then hangs. i cannot even install release 9.0 which is the only other path. either some stable distro of debian, or getting past release8 and going to 9. first, tho, i need to get rid of this [[messed up]] 7.3. let me share a story from when i was visiting a favorite cousin who put up about half of NASA's huge antennas. long retired, he lives out where not even god could find him. he wanted to see proof of my beloved freebsd. so, using a new set of discs that i bought, i started the installation. { FWIW, --this was in july, 2000. } I happened to mention that freebsd had trouble configuring the printers. or that that could get hairy. he stopped what he was doing and asked me to get back to his windows toys and games. i had a floppy w ith the mystery file MBR that removed that single file. my hunch is that since i never mess with anything but freebsd, i left it configure itself by default and that the same thing that stalled me for ten minutes back in 2000, might be what's stopping me from installing anything over my 7.3 in 2012. any wizards how how to fix this? Are you sure you can't backup your important files and start again? You might have a good deal of trouble jumping by 2 major releases at the best of times. Also, 9.0 is significantly different in many ways to 7.x in dir structure _and_ filesystems, to just mention a few. I new (clean) install would be _highly_ recommended ;) ___ i have a working copy on 7.3 #4 on my Server. the server in a 2009 dell; the one that is busted and that i want to upgrade ---to either debian-6-iso or freebsd9-iso is my old 2003 dell. two different computers. the thing with the old dell is that nothing can boot off it. it keep cycling, trying to boot a 7.3 #1. i just remembered that the floppy disk was a DOS file with a secret command :A:\MBR that got rid of that boot track. it's looking more and more hopeless. wasn't/isn't there some kind of fixit CD? You can't take the disks out to copy data off them? Or use 7.0 live to copy across to the working dell? If you cant do that, then use the live disk to run fdisk and restore the mbr. man fdisk If you have already tried installing 9 though, you may have some unexpected behaviour - kinda like what you're seeing now I'll bet. ___ 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: zroot won't mount after 9.0-RC2 - 9.0-RELEASE upgrade
--As of February 15, 2012 2:31:10 AM +0200, Daniel Shahaf is alleged to have said: One of our amd64 servers runs 9.0-RC2 (releng/9.0@r228325) with a zfs root. It fails to boot the 9.0-RELEASE (releng/9.0@r229305) GENERIC kernel (self compiled) with a mountfrom error: http://people.apache.org/~danielsh/infra/loki-20120215-mountfrom.png mountfrom zfs:zroot Trying to mount root from zfs:zroot []... Mounting from zfs:zroot failed with error 2. We've tried to upgrade the zpool format 15-28; the symptoms are unchanged. (The zroot fs is at version 4.) Why does 9.0-RC2 boot while 9.0-RELEASE (as /boot/testkernel) doesn't? What can do to boot 9.0-RELEASE from our zfs root filesystem? --As for the rest, it is mine. Did you update the bootloader? Depending on when you installed the system, it's possible your upgrading the zpool means the bootloader can't read it. Daniel T. Staal --- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --- ___ 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: zroot won't mount after 9.0-RC2 - 9.0-RELEASE upgrade
Daniel Staal wrote on Tue, Feb 14, 2012 at 21:39:40 -0500: --As of February 15, 2012 2:31:10 AM +0200, Daniel Shahaf is alleged to have said: One of our amd64 servers runs 9.0-RC2 (releng/9.0@r228325) with a zfs root. It fails to boot the 9.0-RELEASE (releng/9.0@r229305) GENERIC kernel (self compiled) with a mountfrom error: http://people.apache.org/~danielsh/infra/loki-20120215-mountfrom.png mountfrom zfs:zroot Trying to mount root from zfs:zroot []... Mounting from zfs:zroot failed with error 2. We've tried to upgrade the zpool format 15-28; the symptoms are unchanged. (The zroot fs is at version 4.) Why does 9.0-RC2 boot while 9.0-RELEASE (as /boot/testkernel) doesn't? What can do to boot 9.0-RELEASE from our zfs root filesystem? --As for the rest, it is mine. Did you update the bootloader? Depending on when you installed the system, it's possible your upgrading the zpool means the bootloader can't read it. Immediately after upgrading the zroot zpool I ran gpart bootcode -p /boot/gptzfsboot -i 1 ${devices} as instructed in /usr/src/UPDATING. I did not pass -b. Daniel T. Staal --- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --- ___ 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: fixit disc for 7.3 #1?
On Wed, Feb 15, 2012 at 12:51:37PM +1000, Da Rock wrote: Date: Wed, 15 Feb 2012 12:51:37 +1000 From: Da Rock freebsd-questi...@herveybayaustralia.com.au Subject: Re: fixit disc for 7.3 #1? To: freebsd-questions@freebsd.org On 02/15/12 12:01, Gary Kline wrote: On 02/14/2012 05:40 PM, Da Rock wrote: On 02/15/12 10:08, Gary Kline wrote: guys, [[old stuff that nobody will reread!]] i have a working copy on 7.3 #4 on my Server. the server in a 2009 dell; the one that is busted and that i want to upgrade ---to either debian-6-iso or freebsd9-iso is my old 2003 dell. two different computers. the thing with the old dell is that nothing can boot off it. it keep cycling, trying to boot a 7.3 #1. i just remembered that the floppy disk was a DOS file with a secret command :A:\MBR that got rid of that boot track. it's looking more and more hopeless. wasn't/isn't there some kind of fixit CD? You can't take the disks out to copy data off them? Or use 7.0 live to copy across to the working dell? what is on my '09 dell is current. i copy my web, mail, and DNS files at least nightly to here [ my ubuntu desktop]. i also have several copies of the tarball here and on one other computer. so there is nothing on the 2003 dell that i need. a friend helped me bring in it from the garage on sunday and cable it up. i was doing to e either go with debian or fbsd-9 as a new Server in a few months. i am tir ed of trying to keep FBSD current. it is just a server: DNS, mail, and web. years ago the thinking was that if a release worked, then great: there was no need to keep upgrading just for thesake of upgrading. my ubuntu desktop is configured to keep itself updated. this frees me from wondering if an updated gtk will be missing a dependency; so i can concentrate on my hacking. this is the main reason i'm considering quitting freebsd for my server and going with something _almost_ as good. If you cant do that, then use the live disk to run fdisk and restore the mbr. man fdisk ye gods! cab you give me a url to this 'live' file? my d/load on freebsd-9-iso is about 3 minutes from finishing up. i would like to see how much work this live cd is going to entain. and how much different it will be to get my server files onto a linux-based platform. ---i've been using freebsd since release 2.0.5. long time If you have already tried installing 9 though, you may have some unexpected behaviour - kinda like what you're seeing now I'll bet. not yet. the ISO file is safely tucked away. it would fail. i've got to use the live distribution first. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. ___ 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: fixit disc for 7.3 #1?
On 02/15/12 14:03, Gary Kline wrote: On Wed, Feb 15, 2012 at 12:51:37PM +1000, Da Rock wrote: Date: Wed, 15 Feb 2012 12:51:37 +1000 From: Da Rockfreebsd-questi...@herveybayaustralia.com.au Subject: Re: fixit disc for 7.3 #1? To: freebsd-questions@freebsd.org On 02/15/12 12:01, Gary Kline wrote: On 02/14/2012 05:40 PM, Da Rock wrote: On 02/15/12 10:08, Gary Kline wrote: guys, [[old stuff that nobody will reread!]] i have a working copy on 7.3 #4 on my Server. the server in a 2009 dell; the one that is busted and that i want to upgrade ---to either debian-6-iso or freebsd9-iso is my old 2003 dell. two different computers. the thing with the old dell is that nothing can boot off it. it keep cycling, trying to boot a 7.3 #1. i just remembered that the floppy disk was a DOS file with a secret command :A:\MBR that got rid of that boot track. it's looking more and more hopeless. wasn't/isn't there some kind of fixit CD? You can't take the disks out to copy data off them? Or use 7.0 live to copy across to the working dell? what is on my '09 dell is current. i copy my web, mail, and DNS files at least nightly to here [ my ubuntu desktop]. i also have several copies of the tarball here and on one other computer. so there is nothing on the 2003 dell that i need. a friend helped me bring in it from the garage on sunday and cable it up. i was doing to e either go with debian or fbsd-9 as a new Server in a few months. i am tir ed of trying to keep FBSD current. it is just a server: DNS, mail, and web. years ago the thinking was that if a release worked, then great: there was no need to keep upgrading just for thesake of upgrading. my ubuntu desktop is configured to keep itself updated. this frees me from wondering if an updated gtk will be missing a dependency; so i can concentrate on my hacking. this is the main reason i'm considering quitting freebsd for my server and going with something _almost_ as good. If you cant do that, then use the live disk to run fdisk and restore the mbr. man fdisk ye gods! cab you give me a url to this 'live' file? my d/load on freebsd-9-iso is about 3 minutes from finishing up. i would like to see how much work this live cd is going to entain. and how much different it will be to get my server files onto a linux-based platform. ---i've been using freebsd since release 2.0.5. long time It will be in the release archives - probably a live version of the legacy release atm, so check there first. Otherwise just hunt through the ftp directories, it shouldn't be hard to find. I had a 7.0 livefs version at one point. If you have already tried installing 9 though, you may have some unexpected behaviour - kinda like what you're seeing now I'll bet. not yet. the ISO file is safely tucked away. it would fail. i've got to use the live distribution first. ___ 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