Re: Problem downloading and sending email
Never could stop the old message d/l problem no matter how I juggled & tweaked settings. I finally went into Gmail settings & changed the date cutoff to allow d/l messages to the present. After first run no more problems. Only glitch now is, no matter how I fiddle with the settings I can't get it to delete d/l messages once I've d/l them, but I can live with that. Also got msmtp working. Must be really tired. Answer was in front of me all the time: one misspelling in .msmtprc was causing it. Had to do with the logfile. Either need some sleep or new glasses. Quite possibly both. :) Again, thanks for the help. On Tuesday, December 13, 2016 5:41 PM, Marcus MERIGHI <mcmer-open...@tor.at> wrote: dancerviet2...@yahoo.com (Denny White), 2016.12.13 (Tue) 09:52 (CET): > Am running 6.0 Release with all patches up > to date. I've installed mutt, fetchmail, > getmail, procmail, & msmtp. Had rough time seen this? http://marc.info/?l=openbsd-ports=141634350915839 tl;dr: move to fdm(1) > setting up mutt trying to remember how to > use Mail vs mbox but got it working. Got > both getmail & fetchmail to d/l email from > my gmail account, but both have same problem: > they keep downloading old messages instead Maybe stop using "keep" on POP3 accounts? > of new. I've tried all sorts of ways with > fetchmail using 'no fetchall' to no avail. > Same with getmail. I also am unable to send > mail from mutt using msmtp. Am pasting in > all relevant *.rc's. Don't know if a dmesg > will help, but remember it's more often > > than not standard practice when asking ??s > on @misc. Thanks for any help might come > my way. Seriously! :) > > > > .muttrc > set realname = > set from = > set use_from = yes > set envelope_from ="yes" > set sendmail="/usr/local/bin/msmtp" why not use default OpenSMTPd? > set spoolfile = ~/Mail/inbox > set folder="~/Mail" > set record="+sent" > set postponed="+postponed" > set mbox_type=mbox > set move=no > ignore * > unignore Date: From: User-Agent: X-Mailer X-Operating-System To: \ > Cc: Reply-To: Subject: Mail-Followup-To: > hdr_order Date: From: User-Agent: X-Mailer X-Operating-System To: \ > Cc: Reply-To: Subject: Mail-Followup-To: > set editor="vim -c 'set tw=70 et' '+/^$' " > set edit_headers=yes > set markers > set smart_wrap > set pager_context=10 > push > #set_signature=~/.signature > > > > .fetchmailrc > set logfile /home/tobias/.fetchmail.log > set no bouncemail > poll pop.gmail.com proto POP3 auth password no dns user > "x...@gmail.com" pass "" is keep ssl -k | --keep (Keyword: keep) Keep retrieved messages on the remote mailserver. Normally, messages are deleted from the folder on the mailserver after they have been retrieved. Specifying the keep option causes retrieved messages to remain in your folder on the mailserver. This option does not work with ETRN or ODMR. If used with POP3, it is recommended to also specify the --uidl option or uidl keyword. Marcus > mda "/usr/local/bin/procmail -d %T" > options > #verbose > #no fetchall > #sslcertck > #sslcertpath /etc/ssl/cert.pem > (adding now as posting. The certs work okay but without > any added switches like the ones here that are commented > out.) > > > #set postmaster "" > #set logfile /home//.fetchmail.log > #set polling time (5 minutes) > #:set daemon 600 > > #poll pop.gmail.com with proto POP3 > #user '@x...@gmail.com' there with password '' is here > keep no fetchall ssl sslcertck sslcertpath /etc/ssl/cert.pem > > # fetchmail -d0 -vk pop.gmail.com > > > > getmailrc > [retriever] > type = SimplePOP3SSLRetriever > server = pop.gmail.com > port = 995 > username = > password = > > [destination] > type = MDA_external > path = /usr/local/bin/procmail > arguments = ('-f', "%(sender)") > #arguments = ('~/.procmailrc', '-f', "%(sender)") > (While composing this email tried couple other > switches with getmail try to stop it from d/l > old read msgs, but it still did it. tried this: > read_all = false > delete = false > Was no help) > > > > .procmailrc (putting this in just to be safe. Actually > does work okay putting everything in mutt) > PATH=/bin:/usr/bin:/usr/local/bin > VERBOSE=on# Turn on for verbose log > DEFAULT=/
Problem downloading and sending email
Am running 6.0 Release with all patches up to date. I've installed mutt, fetchmail, getmail, procmail, & msmtp. Had rough time setting up mutt trying to remember how to use Mail vs mbox but got it working. Got both getmail & fetchmail to d/l email from my gmail account, but both have same problem: they keep downloading old messages instead of new. I've tried all sorts of ways with fetchmail using 'no fetchall' to no avail. Same with getmail. I also am unable to send mail from mutt using msmtp. Am pasting in all relevant *.rc's. Don't know if a dmesg will help, but remember it's more often than not standard practice when asking ??s on @misc. Thanks for any help might come my way. Seriously! :) .muttrc set realname = set from = set use_from = yes set envelope_from ="yes" set sendmail="/usr/local/bin/msmtp" set spoolfile = ~/Mail/inbox set folder="~/Mail" set record="+sent" set postponed="+postponed" set mbox_type=mbox set move=no ignore * unignore Date: From: User-Agent: X-Mailer X-Operating-System To: \ Cc: Reply-To: Subject: Mail-Followup-To: hdr_order Date: From: User-Agent: X-Mailer X-Operating-System To: \ Cc: Reply-To: Subject: Mail-Followup-To: set editor="vim -c 'set tw=70 et' '+/^$' " set edit_headers=yes set markers set smart_wrap set pager_context=10 push #set_signature=~/.signature .fetchmailrc set logfile /home/tobias/.fetchmail.log set no bouncemail poll pop.gmail.com proto POP3 auth password no dns user "x...@gmail.com" pass "" is keep ssl mda "/usr/local/bin/procmail -d %T" options #verbose #no fetchall #sslcertck #sslcertpath /etc/ssl/cert.pem (adding now as posting. The certs work okay but without any added switches like the ones here that are commented out.) #set postmaster "" #set logfile /home//.fetchmail.log #set polling time (5 minutes) #:set daemon 600 #poll pop.gmail.com with proto POP3 #user '@x...@gmail.com' there with password '' is here keep no fetchall ssl sslcertck sslcertpath /etc/ssl/cert.pem # fetchmail -d0 -vk pop.gmail.com getmailrc [retriever] type = SimplePOP3SSLRetriever server = pop.gmail.com port = 995 username = password = [destination] type = MDA_external path = /usr/local/bin/procmail arguments = ('-f', "%(sender)") #arguments = ('~/.procmailrc', '-f', "%(sender)") (While composing this email tried couple other switches with getmail try to stop it from d/l old read msgs, but it still did it. tried this: read_all = false delete = false Was no help) .procmailrc (putting this in just to be safe. Actually does work okay putting everything in mutt) PATH=/bin:/usr/bin:/usr/local/bin VERBOSE=on # Turn on for verbose log DEFAULT=/home//Mail/inbox MAILDIR=/home//Mail # Where Procmail recipes deliver LOGFILE=$HOME/.procmaillog # Keep a log for troubleshooting # Recipes :0: * ^TOmutt-user mutt .msmtprc (not able to send mail from mutt with this *rc) account default host smtp.gmail.com port 587 from "x...@gmail.com" tls on tls_starttls on #tls_trust_file /etc/ssl/cert.pem auth on user "x...@gmail.com" password "XX" logile ~/.msmtp.log (And no, no output to show in log. Nothing there) system dmesg: OpenBSD 6.0 (GENERIC.MP) #2: Sun Dec 11 10:57:09 CST 2016 r...@traveler2.com:/usr/src/sys/arch/amd64/compile/GENERIC.MP RTC BIOS diagnostic error f7real mem = 4156084224 (3963MB) avail mem = 4025651200 (3839MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xb8c36000 (44 entries) bios0: vendor LENOVO version "92CN30WW(V1.10)" date 05/16/2014 bios0: LENOVO 20332 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP UEFI MSDM HPET LPIT APIC MCFG SLIC SSDT SSDT SSDT SSDT SSDT SSDT SSDT UEFI SSDT FPDT BGRT acpi0: wakeup devices XHC1(S4) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) EHC1(S3) LID0(S3) PWRB(S4) BRCM(S0) BRC3(S0) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Pentium(R) CPU N3530 @ 2.16GHz, 2167.07 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,RDRAND,NXE,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT cpu0: 1MB 64b/line 16-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 83MHz cpu0:
Lenovo Yoga 2 11
Trying to find out if anyone has had any luck with OBSD on a Lenovo Yoga 2 11 or anything close to that model in the Yoga line. I got it to boot off usb using amd64 iso due to the Yoga using UEFI. I hadn’t ran OBSD in quite a while, dumbassed out & forgot to save a dmesg or ifconfig output, but I know from both the system didn’t recognize any network device like fxp0, eth0, etc., e.g. Only showed the lo0, enc0, & pflog0. I’m aware of /etc/firmware and from what I read it recognizes the network device & sees it needs a firmware fix the system does it on it’s own, but I guess that’s not gonna happen if the system doesn’t even recognize a network device. If anyone’s had any luck at all with a Yoga 2 series I would surely appreciate push in the right direction. Thx.
Re: FYI: OpenBSD 4.9 CDs arriving
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Apr 25, 2011 at 10:39:49AM -0400, Dave Anderson spoke thusly: My set just showed up (near Boston, Mass.) Dave -- Dave Anderson d...@daveanderson.com And in Biloxi, MS. Perfect, unscathed in transit. Cool stickers. Sweet! - -- A lot of money is tainted - Taint yours and taint mine. === Denny White - denny...@cableone.net GnuPG key : 0x1644E79A | http://wwwkeys.de.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments === iEYEARECAAYFAk21wZUACgkQy0Ty5RZE55qbIgCgk1NAdF5W75ey/knLCfB9TKi0 wmgAn3D9heKrZoXiAeKK3BeM22OUX3w9 =B24i -END PGP SIGNATURE-
Re: Choosing a window manager...
On Tue, Mar 15, 2011 at 12:03:02PM -0700, Kevin Smith spoke thusly: I'm deciding between kde, xfce, gnome, and fluxbox (in order of preference). Any experiences? Any relevant security issues on any of them? What you're asking is akin to: Hey everyone, I'm trying to decide between: Catholicism, Judaism, Buddhism, and Hinduism. What's the best? Follow the path of OpenBSD. It's the sound of one Puffy clapping. -- === Denny White - denny...@cableone.net GnuPG key : 0x1644E79A | http://wwwkeys.de.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments ===
Re: OpenBSD 4.9 pre-orders
On Wed, Mar 16, 2011 at 11:14:31AM +0530, Mahesh J spoke thusly: OpenBSD developers have done it again Thanks and keep going. Your order currently is: - 1 [T27] Open Source-ami Shirt (M) @ CDN $15.00 - 1 [CD49] OpenBSD 4.9 CD @ CDN $50.00 - Total: CDN $65.00 + Shipping. -- Mahesh On Wed, Mar 16, 2011 at 2:40 AM, Theo de Raadt dera...@cvs.openbsd.orgwrote: I've turned on OpenBSD 4.9 pre-orders. Support us by buying something please. These sales are a part of keeping the project going. As for clothing... there's going to be a black hoodie this time. Of course there is an OpenBSD 4.9 song to go with the new artwork. That is at: http://www.openbsd.org/lyrics.html Enjoy! Order number 2011/3/16-6:45:44-28389: Your order currently is: - 1 [CD49] OpenBSD 4.9 CD @ CDN $50.00 - Total: CDN $50.00 + Shipping. There it is, kept going. \~/ -- === Denny White - denny...@cableone.net GnuPG key : 0x1644E79A | http://wwwkeys.de.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments ===
Re: Minimally painful mail client for rich (spit!) messages
On Thu, Feb 24, 2011 at 10:11:22AM +0100, Jan Stary spoke thusly: On Feb 09 17:56:59, Ingo Schwarze wrote: text/html; /usr/bin/lynx -stdin -force_html -dump ; copiousoutput On Feb 09 10:59:54, Marco Peereboom wrote: text/html; /usr/local/bin/links -dump '%s'; copiousoutput; description=HTML Text; na metemplate=%s.html On Feb 09 23:12:27, Igor Zinovik wrote: text/html ; lynx -force_html -assume_charset=koi8-r -assume_unrec_charset=utf8 -dump %s ; copiousoutput; nametemplate=%s.html I have been using (variations of) these for years in my ~/.mailcap, which made mutt(1) launch lynx(1) on the html attachments. Since I upgraded to OpenBSD 4.8-current (GENERIC) #448: Fri Oct 22 09:43:05 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC with mutt-1.5.21p0, it no longer works. (Should I take this to ports?) Trying to view a HTML attachment from the attachment menu results in the attachment being displayed by mutt's internal viewer. I stripped my ~/.mailcap to the minimum suggested by http://www.mutt.org/doc/manual/manual-5.html#ss5.3 text/html; lynx %s ; nametemplate=%s.html and even that does not work. It seems like my ~/.mailcap is ignored. (Copying to /etc/mailcap doesn't seem to make any difference.) Does anyone have a hint of what could be causing this? Thank you for your time. Jan Possibly completely offbase here. Can't see your .muttrc so don't know if you have the following in it or not: set mailcap_path=~/.mailcap or whatever the path is to the .mailcap you want to use. Possibly the .mailcap entry is commented out in your .muttrc file. Pretty sure it is commented out by default in the sample.mailcap file. Denny White -- === Denny White - denny...@cableone.net GnuPG key : 0x1644E79A | http://wwwkeys.de.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments ===
Re: IPv6 Connectivity Problem
On Sun, Nov 28, 2010 at 10:51:34AM +, Stuart Henderson spoke thusly: On 2010-11-28, Matthieu Herrb mhe...@gmail.com wrote: On Sun, Nov 28, 2010 at 2:55 AM, Denny White denny...@cableone.net wrote: = $ cat /etc/resolv.conf nameserver 192.168.1.1 nameserver 2001:470:20::2 nameserver ns1.he.net nameserver ns2.he.net nameserver ns3.he.net nameserver ns4.he.net nameserver ns5.he.net nameserver 74.82.42.42 lookup file bind $ cat /etc/resolv.conf.tail nameserver 2001:470:20::2 nameserver ns1.he.net nameserver ns2.he.net nameserver ns3.he.net nameserver ns4.he.net nameserver ns5.he.net nameserver 74.82.42.42 lookup file bind add: family inet6 inet4 to /etc/resolv.conf (and .tail for future boots) to get the resolver to return the v6 address of the remote sites first. Otherwise OpenBSD will return the v4 address first. also, putting hostnames in resolv.conf doesn't make a whole lot of sense. Agreed. That was really silly. Like I said in the original post, I was getting desparate. Completely missed the relevant setting in the man page. Go figure. Too much coffee, too little sleep. ;) Thanks Stuart. -- === Denny White - denny...@cableone.net GnuPG key : 0x1644E79A | http://wwwkeys.de.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments ===
IPv6 Connectivity Problem
14395 vltime 86395 inet 192.168.1.104 netmask 0xff00 broadcast 192.168.1.255 === $ cat /etc/resolv.conf nameserver 192.168.1.1 nameserver 2001:470:20::2 nameserver ns1.he.net nameserver ns2.he.net nameserver ns3.he.net nameserver ns4.he.net nameserver ns5.he.net nameserver 74.82.42.42 lookup file bind $ cat /etc/resolv.conf.tail nameserver 2001:470:20::2 nameserver ns1.he.net nameserver ns2.he.net nameserver ns3.he.net nameserver ns4.he.net nameserver ns5.he.net nameserver 74.82.42.42 lookup file bind This was probably silly but I was at a desparation point. Logged into tunnelbroker account, copied the dns servers info and put them all in /etc/resolv.conf.tail and restarted the network. IPv6 resolution problem still persists. === $ host -t www.sixxs.net www.sixxs.net is an alias for nginx.sixxs.net. nginx.sixxs.net has IPv6 address 2001:960:800::2 nginx.sixxs.net has IPv6 address 2001:1af8:1:f006::6 $ dig +short www.sixxs.net nginx.sixxs.net. 2001:1af8:1:f006::6 2001:960:800::2 2001:838:2:1::30:67 $ dig +short www.kame.net orange.kame.net. 2001:200:dff:fff1:216:3eff:feb1:44d7 Using the format http://[2001:200:dff:fff1:216:3eff:feb1:44d7] I can reach the site. And the turtle dances. Other sites respond to this format too in most instances. Still have trouble with sixxs, though. === http://ipv6.whatismyv6.com/ reports: This page shows your IPv6 and/or IPv4 address You are connecting with an IPv6 Address of: 2001:470:5:301:201:3ff:fe1a:2f21 Test Your IPv6 at http://test-ipv6.com/ reports: Your IPv4 address on the public internet appears to be 96.19.11.241 Your IPv6 address on the public internet appears to be 2001:470:5:301:201:3ff:fe1a:2f21 Congratulations! You appear to have both IPv4 and IPv6 internet working. If a publisher publishes to IPv6, your browser will connect using IPv6. Note: Your browser appears to prefer IPv4 over IPv6 when given the choice. This may in the future affect the accuracy of sites who guess at your location. Your readiness scores 10/10 for your IPv4 stability and readiness, when publishers offer both IPv4 and IPv6 10/10 for your IPv6 stability and readiness, when publishers are forced to go IPv6 only Side note on the above report pertaining to IPv4 preference: I've got the strings set right in Seamonkey and Firefox: network.dns.disableIPv6 default boolean false network.dns.ipv4OnlyDomains default string (blank here) Despite what the above report says, lots of sites either revert to IPv4 like www.sixxs.net which says I'm not running IPv6, or like with www.kame.net where the turtle doesn't dance. In lots of instances, possibly on sites only running IPv6, the site won't load at all. And I've tried it after comletely disabling my firewall too. Still the same result. I've tried temporarily allowing all in /etc/hosts.allow and commented out what I had in /etc/hosts.deny but it didn't help the situation. Any light shed on this problem greatly appreciated. According to the IPv4 Exhaustion Counter at http://inetcore.com/project/ipv4ec/index_en.html we've got 99 days left until IPv4 address space exhaustion. I just hate to be the 'One Geek (Wannabe) Left Behind'. ;) Denny White -- === Denny White - denny...@cableone.net GnuPG key : 0x1644E79A | http://wwwkeys.de.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments ===
Re: IPv6 Connectivity Problem [Solved]
Thanks to Brad for offlist message: [ Make sure you have in /etc/resolv.conf... family inet6 inet4. ] As I told him, no idea how I missed it as much as I've fiddled with resolv.conf(.tail) but I sure did. My bad. Perfect IPv6 connectivity now. Sites load super fast. And, of course, the turtle dances. ;) Denny White -- === Denny White - denny...@cableone.net GnuPG key : 0x1644E79A | http://wwwkeys.de.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments ===
Re: Book of PF 2nd Ed. Kindle edition validity
On Fri, Nov 19, 2010 at 08:29:38AM +0100, Matthias Ochs spoke thusly: On Fri, Nov 19, 2010 at 12:04:34PM +0530, Mohit Chawla wrote: I just wanted to confirm if the Kindle edition for Book of PF (2nd ed.) available on Amazon is a valid one, since the reviews in there are for the 1st ed, and there's no information about it on the OpenBSD website. Hope someone could confirm this. Just buy the ebook from oreilly.com - the have epub, mobi and pdf. The mobi file works fine with the Kindle (and is indeed the 2nd edition). Best, oxo You can also try http://nostarch.com/ Same files included with book purchase. And it's second edition. -- === Denny White - denny...@cableone.net GnuPG key : 0x1644E79A | http://wwwkeys.de.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments ===
Re: The Book of PF, second edition
On Wed, Nov 10, 2010 at 09:49:02AM +0100, Peter N. M. Hansteen spoke thusly: It seems that every three years or so, I get to spam this list about a product I'm responsible for, and in fact I hope to make it into a tradition. With the syntax changes in 4.7, the book needed an overhaul. The result is here, finally, up to date as of 4.8. I got my author's copies yesterday, and my initial reactions can be found at http://bsdly.blogspot.com/2010/11/book-of-pf-2nd-ed-its-here.html If you don't care for my relatively non-tech ramblings in that post, you can go directly to the source via at least two routes: The OpenBSD.org orders page at https://https.openbsd.org/cgi-bin/order (with a CD set, it makes a nice bundle I'm told) or the book's page at the No Starch press site, http://http//nostarch.com/pf2.htm As always, thanks to Theo, Henning and other developers who keep making the task of writing about OpenBSD fun and interesting. All the best, Peter -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/ Remember to set the evil bit on all malicious network traffic delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds. Already got the pdf. Waiting on the book now. As usual, great stuff. Thanks for all the hard work. -- === Denny White - denny...@cableone.net GnuPG key : 0x1644E79A | http://wwwkeys.de.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments ===
Re: 4.8 arrival!
On Thu, Oct 28, 2010 at 09:58:22PM -0400, bsdmas...@hushmail.com spoke thusly: Hello, Would you please consider uploading an iso image of your OpenBSD 4.8 to some public tracker such as thepiratebay.org? If you are unfamiliar with the process of making an iso-image out of a CD, or if you need help with the generation and upload of the torrent file, I may be of some help. Just ask. Thanks alot, this will be of great use for poor folks like me who cannot afford the expensive license fees. Yes, I said it, 50CDN$ is very expensive. Maybe the OpenBSD Company could setup something like MSDNAA, for stuents to get access to the software for free? Anyway, I'm getting off topic. PS: please people, stop bottom-posting. It forces me to scroll down to read the latest message, and I don't like that. Show some common sense! Here ya go, bunkie, pump up those brave little fingers and scroll a couple of lines. And while you're at it, spray some of this all over your sorry ass: http://i34.servimg.com/u/f34/14/74/88/46/troll_10.jpg Now, be a good little troll and get back under your bridge. On Thu, 28 Oct 2010 11:14:24 -0400 SJP Lists sjp.li...@flashbsd.net wrote: On 27 October 2010 10:14, Rod Whitworth glis...@witworx.com wrote: On Tue, 26 Oct 2010 17:36:00 -0500, Neal Hogan wrote: Chicago . . . THANKS! And all the way through customs to Sydney Australia. WOW! Me too. And more nice shirts and a 2.5 CD for old times sake and to get my hands on my favorite stickers! Shane -- === Denny White - denny...@cableone.net GnuPG key : 0x1644E79A | http://wwwkeys.de.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments ===
Re: Looks like my 4.8 CD is in the mail!
On Sat, Oct 23, 2010 at 11:54:46AM +0200, Jasper Valentijn spoke thusly: 2010/10/20 Fred Crowson fred.crow...@gmail.com: My OpenBSD 4.8 disks turned up in the post this morning :~) Awesome - thanks for another great release :~) Fred Mine arrived just minutes ago. From openbsdeurope to Holland. :) Thanks devs and others who have made it possible! Jasper. Flash! This just in! Biloxi, MS. Puffy has hit the beach, and with a new t-shirt to boot. Semper securus! Oorah! ;) -- === Denny White - denny...@cableone.net GnuPG key : 0x1644E79A | http://wwwkeys.de.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments ===
Re: pkg_add problems after 4.7 upgrade
On Sun, May 30, 2010 at 12:50:55AM -0400, Casey Allen Shobe spoke thusly: On 30 May, 2010, at 12:15 AM, Denny White wrote: Not really sure what happened with since it worked fine for me including 'ls'. As for the 2nd one you tried which didn't work: ftp://openbsd.org/pub/OpenBSD/4.7/packages/i386/ Try this: ftp://ftp.openbsd.org/pub/OpenBSD/4.7/packages/i386/ Well, I've found that using an HTTP mirror works. However, this is concerning because all of these machines were able to use FTP properly before, some Debian machines on the same network can use FTP mirrors correctly (plus `ftp` to the same OpenBSD mirrors works from Debian), and the links browser on the OpenBSD machines seems to do FTP correctly too. One way or the other, the 'ftp' utility seems to have gotten broken since 4.6. I'd hazard to guess that it might not be supporting passive FTP anymore, since active FTP does not work from the network and this is reminiscent of what would happen if I tried using active FTP from behind a firewall in the past... I've worked around the immediate problem with HTTP for now...but is there any more useful information that I can provide from my end? Cheers, -- Casey Allen Shobe ca...@shobe.info If you're comfortable with it, you could try disabling pf just long enough to see if your ftp works without it. If so you could supply your pf.conf since there have been syntax changes and possibly you have something outdated in it. If you've got good backups you could try doing a fresh install on just one box and see what happens. If the problem goes away you'll know something got screwed up during the upgrades. -- === Denny White - denny...@cableone.net GnuPG key : 0x1644E79A | http://wwwkeys.de.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments ===
Re: pkg_add problems after 4.7 upgrade
On Sat, May 29, 2010 at 10:38:56PM -0400, Casey Allen Shobe spoke thusly: On 29 May, 2010, at 9:19 PM, Jacob Meuser wrote: On Sat, May 29, 2010 at 08:57:28PM -0400, Casey Allen Shobe wrote: I've tried a few mirrors with the same results - this was the last one I tried: export PKG_PATH=ftp://obsd.cec.mtu.edu/pub/OpenBSD/4.7/packages/i386/ ...or as I was trying last as indicated below: export PKG_PATH=ftp://openbsd.org/pub/OpenBSD/4.7/packages/i386/ ^^ of course that one won't work ... maybe that's a typo but that's kinda the point. Sorry, what's the typo? Why won't it work? since you're using ftp, 'ftp $PKG_PATH' should put you in the right directory. does it? Well, I tried `links $PKG_PATH` before - that worked. But with `ftp $PKG_PATH`, it appears to log in correctly, but ls never returns anything. This seems to happen with ANY ftp server actually (just tried a bunch), and is odd because I did use the commandline ftp utility frequently on 4.6 without any issue... So the problem lies with the 'ftp' utility? Cheers, -- Casey Allen Shobe ca...@shobe.info Not really sure what happened with ftp://obsd.cec.mtu.edu/pub/OpenBSD/4.7/packages/i386/ since it worked fine for me including 'ls'. As for the 2nd one you tried which didn't work: ftp://openbsd.org/pub/OpenBSD/4.7/packages/i386/ Try this: ftp://ftp.openbsd.org/pub/OpenBSD/4.7/packages/i386/ -- === Denny White - denny...@cableone.net GnuPG key : 0x1644E79A | http://wwwkeys.de.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments ===
CD's are here
Yes, we have some new cd's, We have some new cd's today, ole! ;) Prior silly exuberance probably has no meaning to the younger generation. Maybe some other old farts like me will recall the song it's a parodying. ;) Complete package arrived unscathed. Even a cool sticker on the outside of the package. Was able to reuse it on my laptop. Great work as always! -- === Denny White - denny...@cableone.net GnuPG key : 0x1644E79A | http://wwwkeys.de.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments ===
Re: /usr directory: a system or user place?
On Sun, May 02, 2010 at 11:18:01AM +1000, Rod Whitworth spoke thusly: On Sat, 1 May 2010 20:23:50 -0400, Barry Miller wrote: Yes, I know this is somewhat off-topic, but I think it's fascinating, like, Why'd they call it 'awk'? Now there's an acronym for you. Did you leave that as an exercise for the reader ? It's too easy and, although I'm not spoiling the exercise, I'll bet somebody jumps in very soon! Kersplash! I'm in. ;) [A]ho + [W]einberger + [K]ernighan = AWK Possible alternative definitions: Awesome Word Kinesis Awfully Weird Kool-Aid *** NOTE *** Please DO NOT CC me. I am subscribed to the list. Mail to the sender address that does not originate at the list server is tarpitted. The reply-to: address is provided for those who feel compelled to reply off list. Thankyou. Rod/ --- This life is not the real thing. It is not even in Beta. If it was, then OpenBSD would already have a man page for it. -- \\\ /// ( @ @ ) +-oOOo-(_)-oOOo-+ === Denny White - denny...@cableone.net GnuPG key : 0x1644E79A | http://wwwkeys.de.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments ===
Re: php5 uninstall problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Apr 01, 2010 at 01:51:35PM +0300, Andreas Gerdd spoke thusly: Hi. Inside the /ports/www/php5 directory, i made; env FLAVORS=no_x11 no_bz2 no_curl no_gmp no_imap no_ldap no_sybase_ct no_xmlrpc no_xsl no_zip make install. But i notified that the installation was installing all these packages as well, (env FLAVORS not working?) so, i interrupted the setup with CTRL+C. Now i would like to remove all the files it installed. make uninstall says; make: don't know how to make uninstall. Stop in /usr/ports/www/php5. and as i know, make clean will only remove the .tgz/.tar.gz compressed files. So how can i completely remove ALL the installed files with php5 port? Sorry for my newbie question. Thanks a lot. Taken from http://openbsd.org/faq/faq15.html#PkgPartial: The incomplete installation is usually marked with partial- prepended to the package name. If you do ls -l /var/db/pkg/ do you see anything with, as it says, partial prepended to the port/ package name? Also, if you watch while you're installing a port or package, it installs the ports/packages it needs first, then the port or package you originally wanted installed last. Consequently, if you stopped the php5 installation part of the way through while it was still installing all its dependencies, php5 isn't installed. So, it makes sense if it says don't know how to make uninstall, since it isn't installed. Look for the port with partial prepended to its name, then do pkg_info -L partial-port-whatever and see if it lists what it had installed up to when you stopped it. As for cleaning up after a port build, see: http://openbsd.org/faq/faq15.html#PortsClean Hope this helps you some. - -- === Denny White - denny...@cableone.net GnuPG key : 0x1644E79A | http://wwwkeys.de.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments === iEYEARECAAYFAku0rU0ACgkQy0Ty5RZE55qdlQCeKfgui8iK7GORIZsN4XghHr4l V7QAnif9bCMLJKFI6L9HfaZHJ5o0+m5h =8XaW -END PGP SIGNATURE-
Re: OpenBSD 4.7 pre-orders are live!
On Sat, Mar 13, 2010 at 09:42:06PM -0500, Jason Dixon spoke thusly: https://https.openbsd.org/cgi-bin/order?CD47=1CD47%2b=Add -- Jason Dixon DixonGroup Consulting http://www.dixongroup.net/ 2010/3/14-12:29:45-27293 Way behind the others, but better late than never. ;) -- === Denny White - denny...@cableone.net GnuPG key : 0x1644E79A | http://wwwkeys.de.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments ===
Re: Opteron 250 Overheating
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Mar 05, 2010 at 09:01:13AM +1100, Rod Whitworth spoke thusly: On Thu, 4 Mar 2010 06:18:30 -0800, J.C. Roberts wrote: I had this problem before, an old Cereal box + Scissors + tape fixed it right up. But your mileage may vary I'm Jealous! --I've always wanted a cereal console. And now you are a cereal offender! *** NOTE *** Please DO NOT CC me. I am subscribed to the list. Mail to the sender address that does not originate at the list server is tarpitted. The reply-to: address is provided for those who feel compelled to reply off list. Thankyou. Rod/ --- This life is not the real thing. It is not even in Beta. If it was, then OpenBSD would already have a man page for it. OpenBSD, Breakfast of Champions! A nutritious kernel in every byte. Cocoa Puffys, even! Okay, exit, stage right. ;) - -- === Denny White - denny...@cableone.net GnuPG key : 0x1644E79A | http://wwwkeys.de.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments === iEYEARECAAYFAkuQaU8ACgkQy0Ty5RZE55oKtQCgzGkFQEE/ipgRVWAmnWM595gD Jj8AoLkbWFmTcO2uuZhUTLulRppZXiue =xU6b -END PGP SIGNATURE-
Re: /altroot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Aug 16, 2009 at 09:44:43PM +, 4625 spoke thusly: On Sat, 15 Aug 2009, Philip Guenther wrote: Is it correct string for /etc/fstab? /dev/wd2d /altroot ffs xx 0 0 Assuming /dev/wd2d is the correct partition, yes. (You're looking at the daily(8) manpage, right?) Sure. Original mount string for '/altroot' there was '/dev/wd2d /altroot ffs rw,nodev,nosuid 1 2'. Should df display the /altroot? Only if you mount it yourself. It is not normally mounted and therefore does not appear in 'df' output. (No point in displaying it, what with it being a duplicate of the root filesystem) Ok. Thanks. I do not see any messages about backup. How do I check if backup really happen? -- 4625 It's in daily output mailed to root's account. You got to have access to root's mail. I've got myself in the wheel group and have root's email sent to me instead. Here's some pertinent stuff in root's crontab: ROOTBACKUP=1# backup / to /altroot MAILTO=dennyboy # forward root's mail to me In /etc/mail/aliases, my name is added next to root: root: dennyboy In daily output to root, the section of the message pertaining to the backup should look something similar to this: Backing up root filesystem: copying /dev/rwd0a to /dev/rwd1a 131098+1 records in 131098+1 records out 1073955328 bytes transferred in 51.680 secs (20780520 bytes/sec) Naturally the 2nd line is dependent on your disk setup, fstab so forth as previously discussed in this thread. Denny White - -- === () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments === GnuPG key : 0x1644E79A | http://wwwkeys.de.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iEYEARECAAYFAkqIh3AACgkQy0Ty5RZE55rNAACgn6nB3rWPk5A9Pdl6c3wloMHh 4iMAn26SIqS+5lFH3d3VrBFlDYAxSXQk =HLK7 -END PGP SIGNATURE-
Re: generic.mp on laptop question: resolved
On Tue, Apr 21, 2009 at 01:17:37PM +0200, Pierre Riteau spoke thusly: On Fri, Apr 17, 2009 at 05:48:00PM -0500, Denny White wrote: On Fri, Apr 17, 2009 at 10:48:58AM -0400, Dan Harnett spoke thusly: On Fri, Apr 17, 2009 at 12:02:35AM -0500, Denny White wrote: Okay, dumb-ass me. Sitting here looking at the screen it finally dawned on me I'm not looking at 2 physical cpu's, per se, but instead 2 built onto one chip. Gee, I wish I would've come up with that beforehand instead of opening my mouth and removing any doubt in regards to my hardware ignorance. Only thing in my defense is I've never owned anything like that before. Before getting this laptop given to me, my fastest box was an aging dell dimension Pentium IV 2.66. No dual-cores, no dual-cpu's. Time to slink off now. ;) A processor can have multiple sensors even though it is only a single physical package. It varies between processors. $ sysctl hw.model hw.sensors hw.model=Intel(R) Core(TM)2 Duo CPU L7500 @ 1.60GHz hw.sensors.cpu0.temp0=44.00 degC hw.sensors.cpu1.temp0=44.00 degC hw.sensors.acpitz0.temp0=45.05 degC (zone temperature) hw.sensors.acpitz1.temp0=44.05 degC (zone temperature) hw.sensors.acpibat0.volt0=14.40 VDC (voltage) hw.sensors.acpibat0.volt1=16.53 VDC (current voltage) hw.sensors.acpibat0.watthour0=36.62 Wh (last full capacity) hw.sensors.acpibat0.watthour1=1.83 Wh (warning capacity) hw.sensors.acpibat0.watthour2=0.20 Wh (low capacity) hw.sensors.acpibat0.watthour3=36.45 Wh (remaining capacity), OK hw.sensors.acpibat0.raw0=0 (battery idle), OK hw.sensors.acpibat0.raw1=0 (rate) hw.sensors.acpiac0.indicator0=On (power supply) hw.sensors.acpithinkpad0.temp0=45.00 degC (TMP0) hw.sensors.acpithinkpad0.temp1=34.00 degC (TMP1) hw.sensors.acpithinkpad0.temp2=34.00 degC (TMP2) hw.sensors.acpithinkpad0.temp3=38.00 degC (TMP3) hw.sensors.acpithinkpad0.temp4=24.00 degC (TMP4) hw.sensors.acpithinkpad0.temp6=24.00 degC (TMP6) hw.sensors.acpithinkpad0.fan0=0 RPM (fan) hw.sensors.iwn0.temp0=56.00 degC hw.sensors.aps0.temp0=34.00 degC hw.sensors.aps0.temp1=34.00 degC hw.sensors.aps0.indicator0=On (Keyboard Active) hw.sensors.aps0.indicator1=Off (Mouse Active) hw.sensors.aps0.indicator2=On (Lid Open) hw.sensors.aps0.raw0=507 (X_ACCEL) hw.sensors.aps0.raw1=513 (Y_ACCEL) hw.sensors.aps0.raw2=507 (X_VAR) hw.sensors.aps0.raw3=513 (Y_VAR) Yup, so I've learned. Thanks, Dan. Like I said before, never owned anything that modern before. ;) But, since last night, I've done a lot of reading up on it. Should've done it before but I didn't know I was gonna be given a new dual-core laptop. That doesn't happen very often. Not around here anyway. ;) It's just that the code creating hw.sensors.cpuX.temp0 is a little different between i386 and amd64, so amd64 shows one sensor for each core (but with the same temperature) while i386 shows only one sensor for all cores. I'm trying now to figure out why fan isn't shown. I know there's some power handling going on. I can get the screen to turn off, just in X, but when I run sysctl hw.sensors there's nothing about the fan. Denny White -- === () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A ===
Re: generic.mp on laptop question: resolved
On Fri, Apr 17, 2009 at 06:45:48AM -0500, Neal Hogan spoke thusly: On Fri, Apr 17, 2009 at 12:02 AM, Denny White denny...@cableone.net wrote: ORIGINAL MESSAGE CONTENT SNIPPED FOR BREVITY Okay, dumb-ass me. Sitting here looking at the screen it finally dawned on me I'm not looking at 2 physical cpu's, per se, but instead 2 built onto one chip. Gee, I wish I would've come up with that beforehand instead of opening my mouth and removing any doubt in regards to my hardware ignorance. Only thing in my defense is I've never owned anything like that before. Before getting this laptop given to me, my fastest box was an aging dell dimension Pentium IV 2.66. No dual-cores, no dual-cpu's. Time to slink off now. ;) I'm sure there are other dumb-asses out there ( I just saw one in the mirror a minute ago) . . . your post will come in handy for those dumb-asses who actually check the archives. There are other unintelligent life forms out there? Hallelujah, I'm not alone anymore, and my cd's should arrive today. Life is good. Thanks, Neal. ;) Denny White -- www.nealhogan.net www.lambdaserver.com -- === () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A ===
Re: 4.5 is on the way
On Mon, Apr 13, 2009 at 01:38:09PM -0400, Mike M spoke thusly: I just received a confirmation/tracking number for the shipment of my 4.5 CD. USPS tracking number confirmed. Puffy was last seen somewhere in Montana on his way to Mississippi. Ride 'em, Puffy! Git along, little Tetraodontidae. Yeehah! ;) -- === () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A ===
generic.mp on laptop question
at pci1 dev 0 function 0 Realtek 8101E rev 0x02: RTL8102E (0x3480), apic 4 int 16 (irq 5), address 00:1e:33:9a:76:ee rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1 ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: apic 4 int 16 (irq 11) pci2 at ppb1 bus 3 ath0 at pci2 dev 0 function 0 Atheros AR5424 rev 0x01: apic 4 int 17 (irq 11) ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR5_ETSIC, address 00:24:d2:01:89:ff ppb2 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x03: apic 4 int 17 (irq 11) pci3 at ppb2 bus 6 uhci2 at pci0 dev 29 function 0 Intel 82801I USB rev 0x03: apic 4 int 23 (irq 11) uhci3 at pci0 dev 29 function 1 Intel 82801I USB rev 0x03: apic 4 int 19 (irq 11) uhci4 at pci0 dev 29 function 2 Intel 82801I USB rev 0x03: apic 4 int 16 (irq 11) uhci5 at pci0 dev 29 function 3 Intel 82801I USB rev 0x03: apic 4 int 18 (irq 11) ehci1 at pci0 dev 29 function 7 Intel 82801I USB rev 0x03: apic 4 int 23 (irq 11) ehci1: timed out waiting for BIOS usb1 at ehci1: USB revision 2.0 uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x93 pci4 at ppb3 bus 4 pcib0 at pci0 dev 31 function 0 vendor Intel, unknown product 0x2919 rev 0x03 ahci0 at pci0 dev 31 function 2 Intel 82801I AHCI rev 0x03: apic 4 int 19 (irq 11), AHCI 1.2 ahci0: PHY offline on port 1 ahci0: PHY offline on port 4 scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: ATA, ST9250827AS, 3.AA SCSI3 0/direct fixed sd0: 238475MB, 512 bytes/sec, 488397168 sec total cd0 at scsibus0 targ 5 lun 0: MATSHITA, DVD-RAM UJ880AS, 1.50 ATAPI 5/cdrom removable ichiic0 at pci0 dev 31 function 3 Intel 82801I SMBus rev 0x03: apic 4 int 18 (irq 11) iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-6400CL5 SO-DIMM spdmem1 at iic0 addr 0x52: 2GB DDR2 SDRAM non-parity PC2-6400CL5 SO-DIMM usb2 at uhci0: USB revision 1.0 uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1 usb3 at uhci1: USB revision 1.0 uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1 usb4 at uhci2: USB revision 1.0 uhub4 at usb4 Intel UHCI root hub rev 1.00/1.00 addr 1 usb5 at uhci3: USB revision 1.0 uhub5 at usb5 Intel UHCI root hub rev 1.00/1.00 addr 1 usb6 at uhci4: USB revision 1.0 uhub6 at usb6 Intel UHCI root hub rev 1.00/1.00 addr 1 usb7 at uhci5: USB revision 1.0 uhub7 at usb7 Intel UHCI root hub rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 mtrr: Pentium Pro MTRR support umass0 at uhub0 port 4 configuration 1 interface 0 Generic USB2.0-CRW rev 2.00/58.87 addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd1 at scsibus1 targ 1 lun 0: Generic-, Multi-Card, 1.00 SCSI0 0/direct removable sd1: drive offline uhidev0 at uhub4 port 1 configuration 1 interface 0 vendor 0x15d9 USB Mouse rev 1.10/1.00 addr 2 uhidev0: iclass 3/1 ums0 at uhidev0: 3 buttons, Z dir wsmouse1 at ums0 mux 0 softraid0 at root root on sd0a swap on sd0b dump on sd0b pckbc: command timeout pms_disable: command error Not being able to read cpu1 temp probably isn't a big deal, at least I'm guessing it's not that's it probably pretty close to the same temp as cpu0 since they both seem to share the load fairly equally when I'm doing intensive stuff like building a kernel so forth. I just wanted to try to learn how to enable all functions on cpu1 if possible. Also, I thought it might help if I included the advanced cmos settings: Core Multi-Processing: [Enabled] Dynamic CPU Frequency Mode: [Dynamic] (other choice on above setting is 'Always Low') Pointing Devices: [Disabled] (above disables touchpad which I hate. using usb mouse instead) Built-in LAN: [Enabled] Wake-up on LAN: [Disabled] Wake On Wireless LAN: [Disabled] Critical Battery Wake-up: [Enabled] Execute-Disable Bit Capability: [Enabled] Intel Virtualization Technology:[Disabled] Intel (R) Turbo Memory: [Enabled] Legacy USB Support: [Enabled] Wake on Keyboard: [Disabled] Intel Dynamic Acceleration: [Disabled] (not able to change above setting) SATA Controller Mode: [AHCI] Any help, tips, reading links, etc., greatly appreciated. Denny White -- === () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net
Re: generic.mp on laptop question: resolved
On Thu, Apr 16, 2009 at 08:41:27PM -0500, Denny White spoke thusly: Laptop is a Toshiba L305-S5921. I'm running -current on it with a snapshot from 04/14/09. No, I couldn't wait for my new cd's presently in route. ;) Mostly done just for learning purposes to see what I could get going on the new laptop which was given to me as a present. I would've probably chosen a Lenovo if I'd have had my choice, but I'm not going to turn down a free laptop. Built GENERIC.MP which ran fine for me. When I do sysctl hw.sensors I get hw.sensors.acpiac0.indicator0=On (power supply) hw.sensors.acpibat0.volt0=12.34 VDC (voltage) hw.sensors.acpibat0.volt1=12.34 VDC (current voltage) hw.sensors.acpibat0.amphour0=4.50 Ah (last full capacity) hw.sensors.acpibat0.amphour1=0.00 Ah (warning capacity) hw.sensors.acpibat0.amphour2=0.00 Ah (low capacity) hw.sensors.acpibat0.amphour3=4.50 Ah (remaining capacity), OK hw.sensors.acpibat0.raw0=0 (battery full), OK hw.sensors.acpibat0.raw1=0 (rate) hw.sensors.cpu0.temp0=45.00 degC which doesn't show cpu1. Next is the top portion of top's output which does show both cpu's: load averages: 1.09, 1.02, 0.9901:03:49 22 processes: 21 idle, 1 on processor CPU0 states: 3.7% user, 0.0% nice, 1.8% system, 0.3% interrupt, 94.2% idle CPU1 states: 4.0% user, 0.0% nice, 1.8% system, 0.0% interrupt, 94.2% idle Memory: Real: 7520K/349M act/tot Free: 2538M Swap: 0K/1028M used/tot Here's dmesg which also shows both cpu's but fails on acpitz0 at acpi0acpitz0: THRM: failed to read _TMP which I thought might have something to do with the issue: OpenBSD 4.5-current (GENERIC.MP) #1: Wed Apr 15 14:22:16 UTC 2009 r...@lapdaddy.cableone.net:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Pentium(R) Dual CPU T3400 @ 2.16GHz (GenuineIntel 686-class) 2.17 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR real mem = 3081773056 (2939MB) avail mem = 2983903232 (2845MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 12/23/08, SMBIOS rev. 2.4 @ 0xe8120 (35 entries) bios0: vendor INSYDE version 1.60 date 12/23/2008 bios0: TOSHIBA Satellite L305 acpi0 at bios0: rev 2 acpi0: tables DSDT FACP HPET APIC MCFG ASF! SLIC BOOT SSDT acpi0: wakeup devices LID0(S4) P32_(S0) UHC1(S3) UHC2(S3) ECHI(S3) EXP1(S0) EXP2(S0) EXP3(S4) EXP4(S4) EXP5(S4) EXP6(S4) AZAL(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 166MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Pentium(R) Dual CPU T3400 @ 2.16GHz (GenuineIntel 686-class) 2.17 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 4 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 4 (P32_) acpiprt2 at acpi0: bus 2 (EXP1) acpiprt3 at acpi0: bus 3 (EXP2) acpiprt4 at acpi0: bus -1 (EXP3) acpiprt5 at acpi0: bus -1 (EXP4) acpiprt6 at acpi0: bus 6 (EXP5) acpiprt7 at acpi0: bus -1 (EXP6) acpiprt8 at acpi0: bus -1 (PEGP) acpiec0 at acpi0 acpicpu0 at acpi0 acpicpu1 at acpi0 acpitz0 at acpi0acpitz0: THRM: failed to read _TMP : failed to read _TMP acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: LID0 acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model PA3534U-1BRS serial 7C3B type Li-ion acpivideo at acpi0 not configured acpivideo at acpi0 not configured bios0: ROM list: 0xc/0xfa00! 0xd/0x1000 0xd1000/0x2c00! cpu0: unknown Enhanced SpeedStep CPU, msr 0x060f0d2a06000d2a cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 2167 MHz (1372 mV): speeds: 2167, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07 vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xc000, size 0x1000 inteldrm0 at vga1: apic 4 int 16 (irq 11) drm0 at inteldrm0 Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 4 int 16 (irq 11) uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 4 int 21 (irq 10) ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 4 int 19 (irq 11) ehci0: timed out waiting for BIOS usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03: apic 4 int 22 (irq 11) azalia0: codecs
Re: verbose sftp per user ?
On Thu, Apr 09, 2009 at 07:53:36PM +0200, jul spoke thusly: anyone ? jul wrote on 5/04/09 14:50: i'm using chroot sftp with the following command: #Subsystem sftpinternal-sftp -l VERBOSE -f AUTH Subsystem sftpinternal-sftp -l INFO -f AUTH from http://marc.info/?l=openssh-unix-devm=120969706821519w=2 but is there any way to restrict verbose/info logging to some users ? or trap to /dev/null log of some others ? for example: Match user user1 Logging VERBOSE Alexander already showed in his reply LogLevel won't work under Match user, straight poop from the man page. But what's to stop you from running 2 instances of sshd on separate ports with separate configurations using the -f switch? Use LogLevel VERBOSE in the Logging section of the one where you want to keep a more watchful eye and LogLevel INFO or QUIET or whatever you want on the more trusted one. The users you want to watch use the first one and your trusted users use the 2nd one. Just my $0.02. Denny White -- === () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A ===
Re: Lenovo and Toshiba laptop question
On Sun, Mar 08, 2009 at 07:35:34PM +0800, Jeffrey 'jf' Lim spoke thusly: On Sun, Mar 8, 2009 at 1:05 PM, Denny White denny...@cableone.net wrote: Just checking to see if anyone has tried OpenBSD on either of these laptop models Toshiba Satellite A305-S6909 Lenovo 3000 G530 and if so, how much success they had. The Toshiba shows this on the graphics: Integrated Intel Graphics Media Accelerator 4500MHD The Lenovo shows this: Intel Graphics Media Accelerator X4500 Perhaps http://en.wikipedia.org/wiki/Intel_GMA#GMA_X4500 might be able to give u some hints? -jf -- In the meantime, here is your PSA: It's so hard to write a graphics driver that open-sourcing it would not help. -- Andrew Fear, Software Product Manager, NVIDIA Corporation http://kerneltrap.org/node/7228 Okay, jf, thanks. I checked it out. Good info. I guess my original message was a bit misleading. I just stressed the graphics part since I see advice given all the time to stay away from Nvidia, so I just wanted to clear that up early on, to show what graphics hardware was being used. My main concern was if there were any other problems like with suspend, sound, whatever. I should've been more clear. My bad. Way, way too late in the wee a.m. hours when I wrote the message. Denny White -- === () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A ===
Re: Lenovo and Toshiba laptop question
On Sun, Mar 08, 2009 at 10:34:02PM +, Stuart Henderson spoke thusly: On 2009-03-08, Denny White denny...@cableone.net wrote: Okay, jf, thanks. I checked it out. Good info. I guess my original message was a bit misleading. I just stressed the graphics part since I see advice given all the time to stay away from Nvidia, so I just wanted to clear that up early on, to show what graphics hardware was being used. NVIDIA graphics are a problem, as is the Intel part used with Atom Z5xx (GMA 500, a licensed PowerVR core rather than their usual in-house designs). And technical docs are not available for the USB2 video adapters. Other than that, most things you can buy work. My main concern was if there were any other problems like with suspend, sound, whatever. I should've been more clear. My bad. Way, way too late in the wee a.m. hours when I wrote the message. Suspend for ACPI-only systems is difficult but is being worked on. Onboard sound works ok on most systems. Thanks, Stuart, for the info. One probably REALLY big thing I forgot to mention is, the Toshiba is 64-bit. Besides probably having to run current, which isn't a problem, I'd probably be running amd64 with the bsd.mp kernel. Again, no big deal. I was just concerned that I wouldn't wind up with an expensive paperweight or worse, have to revert to the M$ OS that it comes with. ;) Not that I'd do that. I'd try a Linux distro before I'd do that. I already have one windows box for some specialized work I do. That's enough. As for the Lenovo, I'm actually not too concerned about that one working. I guess what I really wanted was to be able to get the Toshiba with more hardware for the same price as the Lenovo. Denny White -- === () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A ===
Lenovo and Toshiba laptop question
Just checking to see if anyone has tried OpenBSD on either of these laptop models Toshiba Satellite A305-S6909 Lenovo 3000 G530 and if so, how much success they had. The Toshiba shows this on the graphics: Integrated Intel Graphics Media Accelerator 4500MHD The Lenovo shows this: Intel Graphics Media Accelerator X4500 No mention of Nvidia, so that's a plus. I'd rather have the Toshiba since it has a bigger hard drive and more ram for the same price, but I know from reading on the list that Lenovo is generally more compatible with OpenBSD than most laptops. I also know that you're usually better off going with an older model since there's been time to test it, write drivers, code, etc., for it, than with a relatively new model. I have an ancient Toshiba but it's really not up to the task anymore except maybe to use as a secure email station, etc. I searched through the mailing lists archives but found no mention of either model listed above, so any comments, advice, and so forth much appreciated. Denny White -- === () ASCII ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A ===
Re: awk
On Thu, Jan 15, 2009 at 02:41:24PM +, Andreas Kahari spoke thusly: 2009/1/15 igor denisov denisovigor1...@rambler.ru: Hi there Can not understand. input: 34523 9348 98493 82983 9485 83928 9283 9283 394 39934 293 8347 3456 9238 9283 9283 awk 'NR==1 { for (i = 1; i = NF; i++) {n=$i; next}}; {n-=$i} END {print n}' input output: 21188 it is first column, why? You should really take these questions to an awk forum, not to this mailing list. Your program reads the first record, and assigns its first column to 'n' in a loop that is immediately exited (with 'next') and goes on to read the remaining records. For the remaining records, 'i' being still 1 from the prematurely exited loop, the first column is subtracted from 'n'. Regards, Andreas -- Andreas Kahari Somewhere in the general Cambridge area, UK Deleted original message, so replying to Andreas' message. To sum by columns, do: awk '{for(i=1;i=NF;i++)t[i]+=$i}END{for(i=1;i in t;i++)print t[i]}' \ input If you want to sum by lines, do: awk '{for(i=1;i=NF;i++)t[i]+=$i}END{for(i=1;i in t;i++)print t[i]}' \ input If you want to total all the numbers at once you can do: awk '{for(i=1;i=NF;i++)t[i]+=$i}END{for(i=1;i in t;i++)print t[i]}' \ input If I misunderstood what you want, like do you just want to total the first column, then: awk '{print $1}' input | \ awk '{for(i=1;i=NF;i++)t[i]+=$i}END{for(i=1;i in t;i++)print t[i]}' For another column, just change the '{print $1}' to whatever column you need. The gurus might and probably do know a better way, but that works. Hope this helps. Denny White -- /\ASCII Ribbon Campaign \ /Respect for low technology. X Keep e-mail messages readable by any computer system. / \Keep it ASCII. === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A ===
Re: awk
On Sat, Jan 17, 2009 at 03:13:27AM -0600, Denny White spoke thusly: On Thu, Jan 15, 2009 at 02:41:24PM +, Andreas Kahari spoke thusly: 2009/1/15 igor denisov denisovigor1...@rambler.ru: Hi there Can not understand. input: 34523 9348 98493 82983 9485 83928 9283 9283 394 39934 293 8347 3456 9238 9283 9283 awk 'NR==1 { for (i = 1; i = NF; i++) {n=$i; next}}; {n-=$i} END {print n}' input output: 21188 it is first column, why? You should really take these questions to an awk forum, not to this mailing list. Your program reads the first record, and assigns its first column to 'n' in a loop that is immediately exited (with 'next') and goes on to read the remaining records. For the remaining records, 'i' being still 1 from the prematurely exited loop, the first column is subtracted from 'n'. Regards, Andreas -- Andreas Kahari Somewhere in the general Cambridge area, UK Deleted original message, so replying to Andreas' message. To sum by columns, do: awk '{for(i=1;i=NF;i++)t[i]+=$i}END{for(i=1;i in t;i++)print t[i]}' \ input If you want to sum by lines, do: awk '{for(i=1;i=NF;i++)t[i]+=$i}END{for(i=1;i in t;i++)print t[i]}' \ input If you want to total all the numbers at once you can do: awk '{for(i=1;i=NF;i++)t[i]+=$i}END{for(i=1;i in t;i++)print t[i]}' \ input If I misunderstood what you want, like do you just want to total the first column, then: awk '{print $1}' input | \ awk '{for(i=1;i=NF;i++)t[i]+=$i}END{for(i=1;i in t;i++)print t[i]}' For another column, just change the '{print $1}' to whatever column you need. The gurus might and probably do know a better way, but that works. Hope this helps. Denny White Now I know I'm tired. I overlooked the subtraction part. To subtract down through just the first column, do: awk '{print $1}' input | \ awk 'NR==1 {n=$1; next}; {n-=$1} END {print n}' For a 4 column file, to subtract through all 4 columns, do: awk 'NR == 1 { d1 = $1; d2 = $2; d3 = $3; d4 = $4; next }{ d1 -= $1; \ d2 -= $2; d3 -= $3; d4 -= $4 } END { print d1, d2, d3, d4 }' input And again, hope this helps. Denny White -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A ===
weekly/locate.updatedb problem
I know from past experience and doing a lot of online searching that this problem crops up from time to time. Usually someone just did a new install and doesn't know the locate.datebase isn't created by default. You have to do it yourself to get started. Just stating those things so no one thinks I'm looking for a quick fix without any rtfm or research. I'm getting Not installing locate database; zero size when weekly runs. I've created the database myself several ways: sudo /usr/libexec/locate.updatedb which makes it much larger than the normal size which happens because it's not under the normal constraints it is when run from weekly. Also used sudo su -m nobody /usr/libexec/locate.updatedb which produces the normal size. I haven't done any modifications to weekly. It's straight 'out of the box' from when I installed 4.4. I've looked at the permissions on the pertinent directories and none of them appear to have changed. I've looked at root's crontab and can't find anything wrong there. It's just like it was when I was still running 4.3 and locate.updatedb worked fine from weekly then. Still, when weekly runs, locate.updatedb fails. I've tried running ls from another term when weekly starts and could see /var/db/locate.database.XX. Sometimes locate.update will run for up to 10 or 15 secs, but usually it fails, almost immediately. I should mention, also, that there's no problem with /tmp or /var sizes. /tmp is 1Gib and almost empty. /var is 2GiB, also mostly free. Anyone got any ideas where to look next, I'd appreciate it. Denny White -- /\ASCII Ribbon Campaign \ /Respect for low technology. X Keep e-mail messages readable by any computer system. / \Keep it ASCII. === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A ===
Re: weekly/locate.updatedb problem
On Sun, Dec 28, 2008 at 08:28:52PM +0100, Matthias Kilian spoke thusly: On Sun, Dec 28, 2008 at 12:39:57PM -0600, Denny White wrote: I know from past experience and doing a lot of online searching that this problem crops up from time to time. Usually someone just did a new install and doesn't know the locate.datebase isn't created by default. There's an empty /var/db/locate.database in etcXX.tgz. Didn't you install etcXX.tgz? Ciao, Kili Okay, maybe I worded my question wrong. Sure, I installed all sets including etcXX.tgz. Regardless, I'm still trying to solve the problem of the update failing now. As I said before, I've tried to check every conceivable thing I could come up with that might be causing it and am still coming up emtpy. Weird. And, IIRC, I did have to get it kicked off originally manually. Just for fun I just copied the original empty file to /var/db/ -r--r--r-- 1 root wheel 0 Dec 28 15:16 locate.database and ran weekly again. Did a listing from another term to show it had started and was trying: -rw--- 1 root wheel 0 Dec 28 15:19 locate.database.Hojrmm6565 After about 10 seconds it failed again. I ran top to watch how much load it was creating, not that it ever came anywhere near what it does while kernel or userland building, but just to see at what point it failed in case it would help someone else who was trying to help with the problem. 18714 root 57 0 4324K 5912K run - 0:10 31.49% perl That probably won't help but I'm at the 'shooting in the dark' point here. For the record, here's the locate portion of weekly to show that nothing's been altered. I decreased the indentation to keep within 72 characters: echo if [ -f /var/db/locate.database ]; then TMP=`mktemp /var/db/locate.database.XX` if [ $? -eq 0 ]; then trap 'rm -f $TMP; exit 1' 0 1 15 echo Rebuilding locate database: UPDATEDB=/usr/libexec/locate.updatedb echo ${UPDATEDB} --fcodes=- --tmpdir=${TMPDIR:-/var/tmp} | \ nice -5 su -m nobody 2/dev/null 1$TMP if [ -s $TMP ]; then chmod 444 $TMP chown root:wheel $TMP mv -f $TMP /var/db/locate.database else echo Not installing locate database; zero size fi else echo Not rebuilding locate database; can't create temp file fi else echo Not rebuilding locate database; no /var/db/locate.database fi I'm just wondering, since perl moved to a new number if something's changed there that's causing the problem. At that point I wouldn't know what to do. I did check ulimit to see what the settings were. As a user I get time(cpu-seconds)unlimited file(blocks) unlimited coredump(blocks) unlimited data(kbytes) 524288 stack(kbytes)4096 lockedmem(kbytes)166098 memory(kbytes) 497108 nofiles(descriptors) 128 processes64 and as root time(cpu-seconds)unlimited file(blocks) unlimited coredump(blocks) unlimited data(kbytes) 1048576 stack(kbytes)8192 lockedmem(kbytes)166098 memory(kbytes) 497108 nofiles(descriptors) 128 processes1310 Once again, shooting in the dark. Denny White -- /\ASCII Ribbon Campaign \ /Respect for low technology. X Keep e-mail messages readable by any computer system. / \Keep it ASCII. === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A ===
Re: weekly/locate.updatedb problem: SOLVED
On Sun, Dec 28, 2008 at 1:39 PM, Denny White denny...@cableone.net wrote: Not installing locate database; zero size On Sun, Dec 28, 2008 at 05:54:31PM -0500, Dave K spoke thusly: I've been seeing this on a 4.3 box. After reading your email, and seeing that I'm not the only one with the issue, I've been playing with it today. After making backups of all the scripts involved (/etc/weekly and /usr/libexec/locate.*), I took out the 2 /dev/null and trap ... stuff to be able to see all the errors, and have the various temporary file left behind for analysis. If I run it manually (as root, sh /etc/weekly), it fails with the find in locate.updatedb giving the error find: .:: Permission denied. If I cd into /tmp first, it runs okay. So I added PREVPWD=$PWD; cd /tmp in /etc/weekly before the call to locate.updatedb, and cd $PREVPWD: after. It now has run successfully both when invoked manually, and from cron. I'm going to leave this debug configuration in place to see what happens as time goes on. -- Dave K Unix Systems Network Administrator Mount Laurel NJ Thanks Dave Philip, too, since I'm CC you, for the ideas and help. Y'all will probably want to kick me in the ass when I explain what was causing the problem. But, your messages helped me figure it out, none the less, especially the part about changing directories before running the command. When I recently went from 4.3 to 4.4 installed a new crontab, I copied pasted my own root's stuff into their respective crontabs from a backup. Wrong backup! There was 1 changed line that I never noticed until I read your messages. The crontab for root had HOME=/root I can't remember why in the hell I changed that one day farting around with something here. Long the short is, I copied from the wrong backup. I just changed it back to HOME=/var/log locate.updatedb from weekly works fine once again. My bad. I keep voluminous notes but that one just slipped through the cracks. Sorry for the noise, thanks for the help. [Slinks back into the primordial newbie/troll slime ;)] Denny White -- /\ASCII Ribbon Campaign \ /Respect for low technology. X Keep e-mail messages readable by any computer system. / \Keep it ASCII. === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A ===
Re: verify installed packages' binaries integrity ?
On Thu, Dec 18, 2008 at 08:04:05PM +0100, jul spoke thusly: (Note: it is not related to packages integrity when installing) a small question, is there any way to check integrity of installed packages'binaries ? i explain: in the case, i fear my host is compromised and i forgot or have corrupted mtree files, can i ask pkg manager to say if any referenced file has a different checksums than recorded. (+CONTENTS file has md5 and size) i know, this does not concern any base binaries which are the stuff that matter the most, but else ... If no mtree, i think the last option is comparing with binaries from CD hoping they didn't changed. thanks Regards A simple alternative way to check the integrity of files is at: https://calomel.org/ids_mtree.html I use ids.sh out of a nightly cronjob cuss myself out every time I forget to run the script with 'generate' after changing something, as it doesn't miss anything. At least it hasn't yet. ;) And the plus is, it's done with mtree which is in base instead of using something third-party having to fart around with another conf file. Denny White -- /\ASCII Ribbon Campaign \ /Respect for low technology. X Keep e-mail messages readable by any computer system. / \Keep it ASCII. === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A ===
Re: OpenBSD 4.4 Console Will Not Clear
On Mon, Dec 08, 2008 at 03:56:21PM -0700, Bret spoke thusly: Greetings I have been running OpenBSD as a firewall/router since 2.5 and have never had any problem with Clearing the console each time a user logs out. I have just installed 4.4 on a system that was running 4.0. I did a complete install from the install CD off the ftp site(s). I then edited /etc/gettytab the same way I have done many times before, following the FAQ instructions. The console will not clear after logging out. I have even rebooted and the same results. I thought I might have screwed the file up editing it so I even did another clean install and ONLY installed pico to edit /etc/gettytab just in case I somehow messed it up using vi... still no go. Looked out on the net and found no reference to this. Any Ideas? Bret I'm assuming you're referring to http://www.openbsd.org/faq/faq7.html#ConsoleClear i.e., To do this you must add a line in /etc/gettytab(5). Change the current section: P|Pc|Pc console:\ :np:sp#9600: adding the line :cl=\E[H\E[2J: at the end, so that it ends up looking like this: P|Pc|Pc console:\ :np:sp#9600:\ :cl=\E[H\E[2J: Now try changing default:\ :np:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200: to default:\ :np:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:cl=\E[H\E[2J: Denny White -- /\ASCII Ribbon Campaign \ /Respect for low technology. X Keep e-mail messages readable by any computer system. / \Keep it ASCII. === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A ===
Re: sshd with authlog error message: SOLVED
On Fri, Nov 28, 2008 at 01:30:15PM -0600, Denny White spoke thusly: Just upgraded to 4.4 the other day. Fresh install, then updated to stable. I have a loopback adapter on the one xp box with a cygwin bash script that runs on boot gets installed as a service. Click Start - Run, type in the ip address and enter and explorer comes up with my file shares on my OpenBSD box. Before in 4.3 there were never any error messages. Now I'm getting this in authlog: Nov 28 13:12:28 badboybox sshd[1280]: channel_by_id: 1: bad id: channel free Nov 28 13:12:28 badboybox sshd[1280]: channel_input_success_failure: 1: unknown I googled around and saw others having that problem, but everything I found had to do with linux. Samba was built with the ssl argument. Did that just for experimentation to see what I could do with it learn something new. I'm also running sshd on a high port rather than on 22 to keep all the script kiddy crap out of the logs. I can run sshd with the -q switch and stop the error message, but I'm not really comfortable with that. Anyone has any idea what's causing it, I'd appreciate any input. I know ssh has moved up to 5.1 in 4.4, and I thought maybe something that had changed in it was causing the problem, but what I don't know. Thanks for any help on it. Replying to my own message to say problem solved. Don't know what changed in 5.1 or samba, but the error messages can be gotten rid of by adding the following to the ssh command on a windows loopback connector bash script in cygwin hopefully putty or others if not using cygwin. I don't know since I haven't used putty in a long time. -o TCPKeepAlive=no -o ServerAliveInterval=10 I put 10 since I think sshd checks every 20 seconds or so by default. Anyone correct me if I'm wrong on that. I'd read where the 'no' on the TCPKeepAlive protects against some sort of spoofing. Thought I should explain that since it looks redundant, and very may be with the newer ssh. It wouldn't affect this system anyway, I don't think, since all connections are done using keys rather than passwords. And again, anyone correct me where I'm wrong. Anyway, the error messages are gone. -- Denny White === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A ===
sshd with authlog error message
Just upgraded to 4.4 the other day. Fresh install, then updated to stable. I have a loopback adapter on the one xp box with a cygwin bash script that runs on boot gets installed as a service. Click Start - Run, type in the ip address and enter and explorer comes up with my file shares on my OpenBSD box. Before in 4.3 there were never any error messages. Now I'm getting this in authlog: Nov 28 13:12:28 badboybox sshd[1280]: channel_by_id: 1: bad id: channel free Nov 28 13:12:28 badboybox sshd[1280]: channel_input_success_failure: 1: unknown I googled around and saw others having that problem, but everything I found had to do with linux. Samba was built with the ssl argument. Did that just for experimentation to see what I could do with it learn something new. I'm also running sshd on a high port rather than on 22 to keep all the script kiddy crap out of the logs. I can run sshd with the -q switch and stop the error message, but I'm not really comfortable with that. Anyone has any idea what's causing it, I'd appreciate any input. I know ssh has moved up to 5.1 in 4.4, and I thought maybe something that had changed in it was causing the problem, but what I don't know. Thanks for any help on it. -- Denny White === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A ===
Re: JDK 1.7
--- On Wed, 11/19/08, Stuart Henderson [EMAIL PROTECTED] wrote: From: Stuart Henderson [EMAIL PROTECTED] Subject: Re: JDK 1.7 To: Marco Peereboom [EMAIL PROTECTED] Cc: misc@openbsd.org Date: Wednesday, November 19, 2008, 8:55 AM On 2008/11/19 07:51, Marco Peereboom wrote: If you rely on that plugin it is a little more than a not a big deal. I for one would love to see it. yay kurt! On Wed, Nov 19, 2008 at 11:45:38AM +, Stuart Henderson wrote: On 2008-11-19, Steve Shockley [EMAIL PROTECTED] wrote: I tried installing the JDK 1.7 package on a -current machine, but couldn't find how to add the plugin to Firefox. Does JDK 1.7 include the plugin? It doesn't. It's not a big deal, 1.6 works just fine, just wondering. oops, trimmed the prefix to the quote. the It's not a big deal was from the original poster. On Mon, Nov 24, 2008 at 07:10:40AM -0800, K H A I spoke thusly: I;ve just compiled jdk-1.5.0.4 I cannot not make plugin works /usr/local/jdk-1.5.0/jre/plugin has 2 files .so cannot remember the name I have copied to to /usr/local/lib/mozilla-plugin also when i exec manually /usr/local/jdk-1.5.0/bin/ControlPanel, I see the table which has: /usr/local/jdk-1.5.0/jre/bin/java enable /usr/local/jdk-1.5.0/bin/java enable When I start firefox, I cannot see java plugin How do i create it? Any help would be greatlly appreciated. Cheers. K.D K.D. Moved your post to the bottom. Makes it a LOT easier to follow a thread as in 'please don't top post'. I don't care but most others do. I built 1.6.0 but it works on the same the principle for you in 1.5.0. Do you mean you copied the actual files there? I'd get rid of them first to keep from any confusion. You have to link back to the actual binary as it needs other stuff which isn't in your plugins directory. Then: ln -fs /usr/local/jdk-1.5.0/jre/plugin/i386/ns7/libjavaplugin_oji.so \ ~/.mozilla/plugins/ Open firefox in the address bar type 'about:plugins' (minus quotes). Mine looks like so: Java(TM) Plug-in 1.6.0_03-p4-b00 File name: libjavaplugin_oji.so Java(TM) Plug-in 1.6.0_03 Lots of java specs follow below that. Okay? [ Chuc may man! (minus diacritics - just guessing ] Apologies if I'm wrong. ;) -- Denny White === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A ===
Re: Fresh install question
On Mon, Nov 17, 2008 at 01:14:46AM -0600, Denny White spoke thusly: I've always tried to do a fresh install any time possible, and then copy all my backed up /home and /data stuff back to the new installed system. I'm just trying to figure out if there's a way to keep those 2 slices intact while wiping out and recreating everything else, i.e., /usr, /var, /tmp. I rebooted on the new 4.4 install cd and tried to see if there was a different way to go about things but couldn't figure it out there. I read up on disklabel fdisk googled around for a couple of days before asking the list. So, if someone knows where I can find some info on it, I'd really appreciate it. Replying to myself to say the advice from Nick, Girish, Jorge, Alexander, and Tom was great. Never went through a smoother reinstall! All /home and /data intact with no need to work this aging box any harder than is necessary. Thanks to all and thanks to Theo and the devs for a great OS! 4.4 is tops, just as expected. -- Denny White === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A ===
Re: Fresh install question
On Mon, Nov 17, 2008 at 10:50:13AM +0100, Alexander Hall spoke thusly: Denny White wrote: I've always tried to do a fresh install any time possible, and then copy all my backed up /home and /data stuff back to the new installed system. I'm just trying to figure out if there's a way to keep those 2 slices intact while wiping out and recreating everything else, i.e., /usr, /var, /tmp. I rebooted on the new 4.4 install cd and tried to see if there was a different way to go about things but couldn't figure it out there. I read up on disklabel fdisk googled around for a couple of days before asking the list. So, if someone knows where I can find some info on it, I'd really appreciate it. Something like replying no to Do you want to use the entire disk for openbsd could be a good start. I believe that would keep the existing partitions, and you could map them to their respective mount mounts again. I think, however, that you need to _not_ specify mount points for the file systems you want to preserve to prevent them from being newfs'd. Since I seldom, if ever, do that kind of fresh reinstalls, you'd better compare the above with install.sh et al. In any way i think it should be possible, but pretty please do make those backups before anyway. :-) /Alexander Thanks, Alexander. I'll give it a shot. I just did a dump on everything to a separate drive. Also rsync my homedir to that drive nightly. Worse case is, I screw it up just copy everything back like before. ;) -- Denny White === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A ===
Re: Fresh install question
On Mon, Nov 17, 2008 at 07:04:31AM -0500, Nick Holland spoke thusly: Denny White wrote: I've always tried to do a fresh install any time possible, and then copy all my backed up /home and /data stuff back to the new installed system. I'm just trying to figure out if there's a way to keep those 2 slices intact while wiping out and recreating everything else, i.e., /usr, /var, /tmp. I rebooted on the new 4.4 install cd and tried to see if there was a different way to go about things but couldn't figure it out there. I read up on disklabel fdisk googled around for a couple of days before asking the list. So, if someone knows where I can find some info on it, I'd really appreciate it. Just don't define mount points for the partitions you wish to keep, and they won't be newfs'd (i.e., existing data will be preserved). AFTER the install, you will go in and edit /etc/fstab and add your saved partitions. Ta-da! your data is back. Have a backup anyway, of course. Sucks to fat-finger something in the process... Nick. Thanks, Nick. Yeah, that's what some other replies said. And, like I said too in my answer, everything's just been dumped homedir rsynced, so I'm going to give it a try. And yes, fat fingers suck. I know from experience. ;) Thanks for the help. Good case in point. Forgot cc [EMAIL PROTECTED] What a dweeb! ;) Fat fingers rule! -- Denny White === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A ===
Re: Fresh install question
Original-Nachricht Datum: Mon, 17 Nov 2008 01:14:46 -0600 Von: Denny White [EMAIL PROTECTED] An: OpenBSD Questions misc@openbsd.org Betreff: Fresh install question I've always tried to do a fresh install any time possible, and then copy all my backed up /home and /data stuff back to the new installed system. I'm just trying to figure out if there's a way to keep those 2 slices intact while wiping out and recreating everything else, i.e., /usr, /var, /tmp. I rebooted on the new 4.4 install cd and tried to see if there was a different way to go about things but couldn't figure it out there. I read up on disklabel fdisk googled around for a couple of days before asking the list. So, if someone knows where I can find some info on it, I'd really appreciate it. -- Denny White -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser On Mon, Nov 17, 2008 at 03:34:47PM +0100, Jorge Valbuena spoke thusly: One simple thing that i will try is: If is already installed OpenBSD 4.2 and wants to install 4.3 or 4.4 , first take a look at the /etc/fstab file and write down the name of the /home partition /dev/wd0h /home ffs rw,nodev,nosuid 1 2 When installing the new version leave untouched that partition, and after first boot put the line manually in your new /etc/fstab I hope this can help ! Jorge Yep, that's been the general consensus in the other replies. Thanks for the help, Jorge. Along with just having dumped everything and rsynced my homedir, I also have fstab quite a few other etc files saved separately on my 2nd backup drive. Now all I have to do is try to avoid 'fat fingers' as Nick advised. ;) -- Denny White === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A ===
Re: Fresh install question
On Tue, Nov 18, 2008 at 06:58:22AM +0530, Girish Venkatachalam spoke thusly: On 15:34:47 Nov 17, Jorge Valbuena wrote: One simple thing that i will try is: If is already installed OpenBSD 4.2 and wants to install 4.3 or 4.4 , first take a look at the /etc/fstab file and write down the name of the /home partition /dev/wd0h /home ffs rw,nodev,nosuid 1 2 When installing the new version leave untouched that partition, and after first boot put the line manually in your new /etc/fstab I hope this can help ! It also helps to note down the starting and ending cylinders of the partition you want to preserve. You can think of the OpenBSD fdisk partition as one big contiguous block of sectors. Irrespective of its physical location, it is one single unidimensional series of sectors. Each sector is exactly 512 bytes. OpenBSD fdisk and disklabel unlike the ones found in other OSes always tell us the cylinder boundaries. This has helped me think a bit more clearly. -Girish Thanks, Girish. Believe it or not, I actually thought to do that. I know, miracles never cease. But thanks for reminding me. You know from off list correspondence about how much my memory banks will hold (or won't). ;) -- Denny White === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A ===
Fresh install question
I've always tried to do a fresh install any time possible, and then copy all my backed up /home and /data stuff back to the new installed system. I'm just trying to figure out if there's a way to keep those 2 slices intact while wiping out and recreating everything else, i.e., /usr, /var, /tmp. I rebooted on the new 4.4 install cd and tried to see if there was a different way to go about things but couldn't figure it out there. I read up on disklabel fdisk googled around for a couple of days before asking the list. So, if someone knows where I can find some info on it, I'd really appreciate it. -- Denny White === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A ===
Re: Rosetta Stone for Unix
On Thu, Oct 09, 2008 at 03:01:22PM +0200, Han Boetes wrote: Theo de Raadt wrote: http://bhami.com/rosetta.html As always, it is a shame that those types of pages have so many errors. [snip: examples] It is just sad. It's better to light a candle than to curse the darkness. # Han On Thu, Oct 09, 2008 at 11:11:26AM -0500, Marco Peereboom spoke thusly: Right, let me put on my hippie robes so that we can sing koombaya. Obviously it doesn't matter that website is spewing shit; it is the thought that counts. For what it's worth, I never meant to stir up a hornet's nest on the list. The guy's got a mailto link and welcomes all corrections. He answers promptly, too. I guess it's being done in the spirit of open source. You know, where everyone is welcome to pitch in constructively? Hence, the link for Contributions and corrections gratefully accepted. I already wrote to him about what Theo spotted right off and got an answer he will correct it as soon as possible. I went back again, clicked on 'set all OS' and 'Draw table', and can find no shutdown command ref for OpenBSD. There's just a ? there. Checked OpenBSD in the box, again clicked 'Draw Table' and got the same. Maybe the person who wrote the previous message pertaining to that command looked at the wrong column. Or hell, maybe I did. It's apparent it's a work in progress. Kind of like release schedules, applying patches, etc. Things improve with time. Why not pitch in and help the guy? Or not. Point is, he's trying. I guess he could take the 'Sysadmin' out at the top of the page, possibly misleading to a newbie, but he's also got good links to the OpenBSD FAQ's and man pages. Those ARE definitive guides and users are warned about that early on, both in the documentation and on the mailing lists. If they choose to try to shortcut and use something they found like on the site in question and it bites them in the butt, they only have themselves to blame. I don't think any sysadmin worth his salt would blindly follow everything on the site. -- Denny White === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A ===
Rosetta Stone for Unix
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thought this was pretty useful and interesting, especially for those of us who aren't on the same level as developers and gurus. And for them, there's also a contributions and corrections link. http://bhami.com/rosetta.html Found it in the 10/07/2008 entry on DragonFly BSD Digest at http://www.shiningsilence.com/dbsdlog/2008/10/07/3210.html - -- Denny White === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iEYEARECAAYFAkjtYsMACgkQy0Ty5RZE55qG2ACfe3yj8LzWofuEkqqJpz6xJ11z yuMAn0HxDrTRipTqCR7zI4T7fPWoQE9i =SQCb -END PGP SIGNATURE-
Re: Rosetta Stone for Unix
On Wed, Oct 08, 2008 at 08:09:16PM -0600, Theo de Raadt spoke thusly: Thought this was pretty useful and interesting, especially for those of us who aren't on the same level as developers and gurus. And for them, there's also a contributions and corrections link. http://bhami.com/rosetta.html As always, it is a shame that those types of pages have so many errors. For instance, check out the disklabel section. 2 out of 4 answers being right is still only 50% accurate. With that level of accuracy, the name is incredibly poorly chosen; perhaps they don't even know what the name refers to. It refers to a document that contained an accurate translation of the same text into different languages and therefore it was possible to decipher an unknown language. With this level of accuracy, that would be impossible. It is just sad. You're absolutely right about the mistakes in that section. I used the mail link on the page to let him know. -- Denny White === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A ===
Re: [OOT] Can't browse http://www.xs4all.nl/~wpd/symon/ and http://www.benzedrine.cx/pfstat.html
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Quoted from Insan Praja SW on Thu, Aug 14, 2008 at 08:21:28AM +0700,: Hi Misc@, Did anyone had difficulities accessing/browsing this sites? I'm trying to get a hold on symon, syweb dan pfstat, but I can't seem to access/browse from my network (20x.x0.1x4.0/23). Sorry for the noise, Thanks, Insan -- insandotpraja(at)gmaildotcom No problem here. Accessed all menu links including downloads fine. Denny White - -- Words without actions are the assassins of idealism. === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iEYEARECAAYFAkijkhcACgkQy0Ty5RZE55oGmQCgu1bOm7FuYyOHLQkgsfMHrA4a GvQAn1RnMoZxNwMYtMn+Gb56orkxlfyy =JqaG -END PGP SIGNATURE-
vietnamese and unicode text
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I found a program, VietPad, to type Vietnamese with the necessary diacritics. I couldn't get it to work completely until I found out about mlterm's capabilities, so I installed mlterm and now I can enter and properly display the diacritics. Now I'm trying to find out how to print the text files VietPad creates, since its output is unicode. Can someone point me in the right direction for either being able to print it as is, convert it and then print it, or if there's a better way from the get go to type Vietnamese? I've tried x-unikey without much success, and never could compile xvnkb. As things stand, I can print from VietPad, but of course it's a jumble. The printer is an ancient Star 2410 dot-matrix, but it handles the Vietnamese diacritics fine from the one windows box I still have, printed via samba/cups on my OpenBSD box. Also, I failed to mention VietPad is a jar file which runs with 'java -jar VietPad.jar'. Don't know if that makes any difference, but, I thought I should mention it just in case. Thanks for any help I can get on this. It is, in fact, the only reason I still have to have a windows box at all, since it's easy to do there with another program I have. Still trying to break free completely. - -- Denny White All messages scanned by ClamAssassin http://jameslick.com/clamassassin/ === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFIcYwty0Ty5RZE55oRAiXzAKDR/DpbERyB1mbun7b7awn+yiq1MACeOWCz GqpIV5Eh9/Jebdg8ApX3KAU= =ra1B -END PGP SIGNATURE-
Re: ROOTBACKUP=1 no backup done
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Quoted from Gabri Mate on Sun, Jul 06, 2008 at 02:25:55AM +0200,: Hey There List, I've made an /altroot partition, exactly the same size as my /, and it is also mounted. I've put ROOTBACKUP=1 in root's crontab, but my / partition doesn't get dumped on /altroot at the daily cron's run. I have 4.3 release. Is there something i'm missing? -- Gabri Mate [EMAIL PROTECTED] [demime 1.01d removed an attachment of type application/pgp-signature] Read this portion of /etc/daily: # If ROOTBACKUP is set to 1 in the environment, and # if filesystem named /altroot is type ffs, on /dev/* and mounted xx, # use it as a backup root filesystem to be updated daily. And, if you read fstab(5) you'll see this: If fs_type is specified as ``xx'' the entry is ignored. So, fs_type should be xx in your fstab, right? You didn't include your fstab, but that sounds like what the problem is; i.e., you don't have that in yours and altroot is mounting normally. Denny White - -- People who want to share their religious views with you almost never want you to share yours with them. Dave Barry All messages scanned by ClamAssassin http://jameslick.com/clamassassin/ === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFIcDW2y0Ty5RZE55oRAqsVAJ96+68TjUYwuLEjHTkZa6StJyVqqgCgq024 6pLl6b4TuwcJ82XW9msbsJ0= =sb4L -END PGP SIGNATURE-
Re: bsdanywhere
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Quoted from Pau on Fri, Jun 06, 2008 at 07:42:08PM +0200,: a nice thing to test hardware and get dmesg http://bsdanywhere.org/ Of course, I guess that booting the obsd installer cd is much faster and you get also dmesg but this is an interesting alternative Thanks for the effort and contribution to the OpenBSD community. Linked you at http://polarwave.openbsd101.com/links.html http://polarwave.blogspot.com Denny White - -- Never under any circumstances take a sleeping pill and a laxative on the same night. Dave Barry All messages scanned by ClamAssassin http://jameslick.com/clamassassin/ === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFISafEy0Ty5RZE55oRAnzXAKCiYPZJiHPmug8ju33O+2nRAQU7QwCaAy30 t4qSG34Wn919wGTod1Td8Y4= =qFTD -END PGP SIGNATURE-
Re: Screen,colorls,xterms issue. 4.2
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Quoted from Jesus Sanchez on Sun, May 11, 2008 at 03:59:17AM +0200,: Stuart Henderson escribis: On 2008-05-10, Jesus Sanchez [EMAIL PROTECTED] wrote: I have set an alias for ls='colorls -GF' (color output) and this causes the problems on a screen session. I have set the TERM=xterm-color on my /etc/profile. Why do that? That will override the correct terminal configuration and send control codes suitable for an xterm to terminals that can't handle it, like screen. So, what TERM variable should I use ? -Jesus Somehow I lost the original message, probably with a fat finger, so replying to this one. Here's the section of my .Xdefaults pertaining to xterm and rxvt: rxvt*loginShell:true rxvt*transparent:true rxvt*shading:40 rxvt*background:Black rxvt*foreground:Cyan rxvt*scrollBar:true rxvt*scrollBar_right:true rxvt*transpscrollbar:true rxvt*saveLines:32767 rxvt*termName:rxvt include: XTerm XTerm.termName: nxterm XTerm*font: -schumacher-clean-medium-*-normal-*-13-*-*-75-*-60-*-* *VT100*colorMode: on *VT100*boldColors: on *VT100*dynamicColors: on *VT100*foreground: cyan *VT100*background: gray15 *VT100*colorULMode: on *VT100*colorUL: yellow *VT100*underLine: on *VT100*colorBDMode: on *VT100*colorBD: yellow3 *VT100*color0: black *VT100*color1: red3 *VT100*color2: green3 *VT100*color3: yellow3 *VT100*color4: blue2 *VT100*color5: magenta3 *VT100*color6: cyan3 *VT100*color7: gray90 *VT100*color8: gray50 *VT100*color9: red *VT100*color10: green *VT100*color11: yellow *VT100*color12: rgb:5c/5c/ff *VT100*color13: magenta *VT100*color14: cyan *VT100*color15: white *VT100*color16: gray15 #if PLANES 8 ! Color the popup menus and the menubar to match: *SimpleMenu.*.background: AntiqueWhite *SimpleMenu.*.foreground: gray15 *VT100.scrollbar.thumb: vlines2 *VT100.scrollbar.width: 14 *VT100.scrollbar.background:gray60 *VT100.scrollbar.foreground:rgb:a/5/5 *VT100.scrollbar.borderWidth: 2 !*VT100.scrollbar.displayList:\ #endif Set the colors according to your personal taste. I have no problem with the term value in the env like that, either in xterm or rxvt. For that matter, there's no conflict either with Eterm. And I can run screen from all of them without any conflicts. And, like some of the other messages mentioned, use wsvt25 in ttys. Also, in my .kshrc file, I have the section commented out like so: #if [ -x /usr/bin/tset ]; then # eval `/usr/bin/tset -sQ \vt220` #fi The ttys and .Xdefaults settings takes care of all of that. Hope this helps you some. Marc Espie made a good point too, in his reply. Leave the system config files alone as much as possible, especially while you're learning. If you can't, at least back up the original. Anytime you can use an 'rc' file in $HOME do it. It's kind of like leaving /etc/rc.conf alone and putting your stuff in /etc/rc.local and rc.conf.local. - -- Denny White All messages scanned by ClamAssassin http://jameslick.com/clamassassin/ === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFIJ7WCy0Ty5RZE55oRAhhtAJ9HfODUTsPlKJtzQCzUDBx0R+tBtACdEVxZ KxlLx4WVCAipFIh4EBr1dbw= =pkNu -END PGP SIGNATURE-
vnode swap question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've followed faq 14.4 on setting up a permanent swap. I've rebuilt the kernel with: config bsd root on wd0a swap on wd0b and vnd0c dumps on wd0b Then I created the actual swap file: sudo dd if=/dev/zero of=/var/swap bs=1k count=262144 I added the info to fstab: /dev/vnd0c none swap sw 0 0 Then, as per the faq, I rebooted. Then I did sudo vnconfig -c -v vnd0 /var/swap and got vnd0: 268435456 bytes on /var/swap Then I did: sudo swapctl -a /dev/vnd0c And then: swapctl -l Device 512-blocks UsedAvail Capacity Priority swap_device41952960 4195296 0%0 /data2/swap20971520 2097152 0%0 /dev/vnd0c 5242880 524288 0%0 Total 68167360 6816736 0% Everything's fine at that point. But, when I reboot, I have to repeat the commands sudo vnconfig -c -v vnd0 /var/swap sudo swapctl -a /dev/vnd0c in order to get the extra swap back again. I thought from reading the faq that it becomes permanent, but I can't get it to. Can someone maybe point out if they see something I'm doing wrong? Thanks. - -- Denny White All messages scanned by ClamAssassin http://jameslick.com/clamassassin/ === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD4DBQFIJTeGy0Ty5RZE55oRAsXBAKDFrRzifK1D3oxFNR8BHLDm59DF1QCY7wuu DzHzPMKgR4sFeZlDTYM88A== =RrMS -END PGP SIGNATURE-
Re: Editing C with...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Quoted from Girish Venkatachalam on Sun, May 04, 2008 at 04:18:10AM +0530,: On 13:51:58 May 03, Robert C Wittig wrote: vi/vim. I use it for most of my editing tasks, not just writing C code. I use vim since it enhances my coding speed in a big way. As to KNF I guess it is just a habit that I want to inculcate for all my C coding. Right now it is voluntary and occasionally painful but I don't want to lose the chance to make it automatic by going in for a tool. I am bowled over by vim's knowledge of config file syntax and the way it highlights various keywords. That way I can afford to be a bit lazy with certain programming languages or even config file directives. It would highlight typos in a different color. Occasionally vim does go wrong however but so far it has not affected me. I type out this mail with vim and it helps me appear good since I have auto spell check on. With bad keyboards I tend to make silly typos and vim can save my day by highlighting it and alerting me. Of course I would not be so much in love with vim but for its vi key bindings. As to power editing you should really read the short and sweet document written by the author of vim Bram Moolenaar. (If someone can locate it for me I shall be obliged. ;) He emphasizes how the steep learning curve experienced by vi learners are paid back in full in due course of time. I can vouch for it. So what if it is counter intuitive in the beginning? So what if it is sometimes tougher than emacs? Once you use it every time you create a document be it LaTeX or e-mail or source code or config file editing, you stick to one editor and that according to me is an amazing convenience. Its ability to read and write files makes it even more powerful of course. And the output of commands. Hope this helps. That said choice is yours as always. ;) Open source is a democratic world. ;) -Girish You might check here for the article you spoke of: http://www.moolenaar.net/vim.html Denny White - -- I'm not crazy, but I am a carrier. All messages scanned by ClamAssassin http://jameslick.com/clamassassin/ === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFIHjScy0Ty5RZE55oRAqyGAKC7Kgc+nxmGSeMxFA8VjOAtyd8QrQCbBH3F 0PTq1AERdEu/H0UIWNoNCEg= =j4xN -END PGP SIGNATURE-
Re: [Invitation] Almighty GOD never forsake his people @ Fri Apr 4 05:00 - 06:00 ()
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Apr 04, 2008 at 07:59:26AM -0700, Darrin Chandler sez: On Fri, Apr 04, 2008 at 09:52:39AM +0200, Peter N. M. Hansteen wrote: Darrin Chandler [EMAIL PROTECTED] writes: Dude! This is covered in the archives, FAQ, and man pages! hm. $ man god man: no entry for god in the manual. I neglected to mention that not everything is included in the base system. pkg_add enlightenment may help. -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation Don't forget from the OpenBSD sutra: Oh Sariputra, windows does not differ from emptiness, emptiness does not differ from windows -- that which is windows is emptiness, that which is emptiness is windows. So proclaim the OpenBSD paramita, saying, Gate, gate, paraOpenBSD, parasamOpenBSD. Oh, Packet Filter. Swaha! For those not versed in Sanskrit, to save Googling poring over man pages, Gone, gone, gone to OpenBSD, gone altogether to OpenBSD. Oh Packet Filter! Oh joy! Denny White - -- Don't run, you'll only die tired. - Army Snipers All messages scanned by ClamAssassin http://jameslick.com/clamassassin/ === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFH9qaQy0Ty5RZE55oRAnoeAKCC8t9a6D1dzIHAPTZPEa3xu1HixgCgoS+z tAIkZFejMRnk1uk8j/15GSk= =8cl4 -END PGP SIGNATURE-
Re: tcl-8.4 and tk-8.4 manpages
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Mar 25, 2008 at 10:05:51AM -, ?lfar M. E. Johnson sez: I installed tcl-8.4 and tk-8.4 which are required when installing git. My question is how to get the mann directory to display in man. I have tried organising tcltk in /etc/man.conf in several different ways. Here is how I have it organized now. # tcltk manpages _whatdb /usr/local/lib/tcl8.4/man/whatis.db _whatdb /usr/local/lib/tk8.4/man/whatis.db _subdir {cat,man}{1,3} _build .n /usr/bin/nroff -man %s _default/usr/local/lib/{tcl8.4,tk8.4}/man/ tcltk /usr/local/lib/{tcl8.4,tk8.4}/man/ 1 /usr/local/lib/{tcl8.4,tk8.4}/man1 3 /usr/local/lib/{tcl8.4,tk8.4}/man3 n /usr/local/lib/{tcl8.4,tk8.4}/mann Example I can man -s tcltk 3 Tcl_RecordAndEval and the man page comes up normal. I can also man Tk_GetVisual or man -s tcltk 3 Tk_GetVisual and the manpages come up normal. Using man -k tk and here I will show some of the display from that command: tk_messageBox (n) - pops up a message window and waits for user response. tk_optionMenu (n) - Create an option menubutton and its menu tk_popup (n) - Post a popup menu tk_setPalette, tk_bisque (n) - Modify the Tk color palette tkerror (n) - Command invoked to process background errors tkvars (n) - Variables used or set by Tk tkwait (n) - Wait for variable to change or window to be destroyed I would like to be able to display man pages for the (n) section. ie. man -s tcltk n tkwait or man n tkwait As is now when I try to display commands in the (n) section I get results like this: -bash-3.2$ man n tkwait man: no entry for tkwait in section n of the manual. man -s tcltk n tkwait man: no entry for n in section tcltk of the manual. man: no entry for tkwait in section tcltk of the manual. Please enlighten me. Zlfar M. E. Johnson Sk}rr [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 569 5100 http://www.skyrr.is http://www.skyrr.is http://www.skyrr.is/legal/disclaimer.txt http://www.skyrr.is/legal/disclaimer.txt I tried a bunch of crap in other sections of man.conf never could get the n stuff to display. So, I added right at the very end of # Specific section/directory combinations. n /usr/local/lib/{tcl8.4,tk8.4}/{man/mann/} When you want to read a man page from that section, just remember to plug in the 'n' before the man page. Like man n tk_textCopy There's probably a better way to do it, but I don't know how. At least this works. - -- Denny White All messages scanned by ClamAssassin http://jameslick.com/clamassassin/ === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFH6oiQy0Ty5RZE55oRAqxsAJwPpZzm9rkBaddCDh/SeuZ6JQpeEwCfeExW Yr6T6e+PoAGM7DxdtrYbQ0w= =7bD6 -END PGP SIGNATURE-
Re: XForwarding problem: SOLVED
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Feb 28, 2008 at 11:41:14AM -0700, Predrag Punosevac sez: On Thu, Feb 28, 2008 at 02:46:41AM -0700, Predrag Punosevac sez: Denny White wrote: For the last couple of days I've tried everything I can think of to make XForwarding work with ssh. As per the FAQ, I have set it like so: In sshd_config X11Forwarding yes In ssh_config ForwardAgent yes ForwardX11 yes I can use it passably well in one direction from a box across the room to the one I do most of my work on. But, when I try it from this box to the one across the room, I get the xauth error message along with all typed characters doubled on the screen. I went ahead anyway and typed 'display somefile.jpg' just to see what I'd get got this: Xlib: connection to localhost:10.0 refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key display: unable to open X server `localhost:10.0'. I've read the man page on xauth(1) and experimented with its commands. I've even wiped out the .Xauthority file on both boxes and restarted X, to no avail. Possibly I should mention too, that I boot on both boxes to a xdm login. I don't know if that would have any bearing on the problem or not. Thanks for any help I can get on this. What happens when you try to do the following? Try to do remote login with as follows ssh -Y [EMAIL PROTECTED] I get this: Warning: No xauth data; using fake authentication data for X11 forwarding. And, everything I type at the prompt is doubled. you should be now in the shell on the remote host try to start x client like xdvi or xfig or something like emacs by typing xdvi If xdvi pops up that means that the client is running on the remote host but it is displayer on the local X server Okay, if after getting in I try to open something like xzgv, I get: Xlib: connection to localhost:10.0 refused by server Ok you do have a permission problem Read carefully man pages for sshd_config file . You need to uncomment few lines for X tunneling. You can also look at the Secure Architectures with OpenBSD section about OpenSSH. I do not think that the problem is with X server though. Best, Predrag Yes, you were right. Operator error, it was the nut holding the steering wheel as usual. :-) Xlib: Invalid MIT-MAGIC-COOKIE-1 key Gtk-WARNING **: cannot open display: localhost:10.0 Like I said earlier, I read the man page too on xauth tried sending xauth extract - $DISPLAY | rsh otherhost xauth merge - but it doesn't appear to help. I still get the error messages and double typed characters. 4AM, but that's okay. Problem solved. Had previously done some experimenting around with ~/.profile and ~/.kshrc when I'd been having history file problems in ksh. As soon as I reverted back to my old ~/.profile instead of the newer short one that just exported HISTSIZE, HISTFILE, and ENV=$HOME/.kshrc the XForwarding problem disappeared. Don't try this at home, kids, especially at 4AM when you're not only old and senile, but tired as hell too. :-) -- Denny White All messages scanned by ClamAssassin http://jameslick.com/clamassassin/ === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFHx9lIy0Ty5RZE55oRAnlYAJ90xDGjlb9tX1csjPP/LQeEksc7BgCfRxZl +jA3v5SXg6qlmaR/IEC2vIQ= =efps -END PGP SIGNATURE-
XForwarding problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 For the last couple of days I've tried everything I can think of to make XForwarding work with ssh. As per the FAQ, I have set it like so: In sshd_config X11Forwarding yes In ssh_config ForwardAgent yes ForwardX11 yes I can use it passably well in one direction from a box across the room to the one I do most of my work on. But, when I try it from this box to the one across the room, I get the xauth error message along with all typed characters doubled on the screen. I went ahead anyway and typed 'display somefile.jpg' just to see what I'd get got this: Xlib: connection to localhost:10.0 refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key display: unable to open X server `localhost:10.0'. I've read the man page on xauth(1) and experimented with its commands. I've even wiped out the .Xauthority file on both boxes and restarted X, to no avail. Possibly I should mention too, that I boot on both boxes to a xdm login. I don't know if that would have any bearing on the problem or not. Thanks for any help I can get on this. -- Denny White All messages scanned by ClamAssassin http://jameslick.com/clamassassin/ === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFHxmmwy0Ty5RZE55oRAkCZAKCmv+v4WuYFL2VyOkxFqb+fo8XxHgCfSCRN ztvs2xWmvsc8CZw9T6t4o7M= =EtWY -END PGP SIGNATURE-
Re: XForwarding problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Feb 28, 2008 at 02:46:41AM -0700, Predrag Punosevac sez: Denny White wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 For the last couple of days I've tried everything I can think of to make XForwarding work with ssh. As per the FAQ, I have set it like so: In sshd_config X11Forwarding yes In ssh_config ForwardAgent yes ForwardX11 yes I can use it passably well in one direction from a box across the room to the one I do most of my work on. But, when I try it from this box to the one across the room, I get the xauth error message along with all typed characters doubled on the screen. I went ahead anyway and typed 'display somefile.jpg' just to see what I'd get got this: Xlib: connection to localhost:10.0 refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key display: unable to open X server `localhost:10.0'. I've read the man page on xauth(1) and experimented with its commands. I've even wiped out the .Xauthority file on both boxes and restarted X, to no avail. Possibly I should mention too, that I boot on both boxes to a xdm login. I don't know if that would have any bearing on the problem or not. Thanks for any help I can get on this. What happens when you try to do the following? Try to do remote login with as follows ssh -Y [EMAIL PROTECTED] I get this: Warning: No xauth data; using fake authentication data for X11 forwarding. And, everything I type at the prompt is doubled. you should be now in the shell on the remote host try to start x client like xdvi or xfig or something like emacs by typing xdvi If xdvi pops up that means that the client is running on the remote host but it is displayer on the local X server Okay, if after getting in I try to open something like xzgv, I get: Xlib: connection to localhost:10.0 refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key Gtk-WARNING **: cannot open display: localhost:10.0 Like I said earlier, I read the man page too on xauth tried sending xauth extract - $DISPLAY | rsh otherhost xauth merge - but it doesn't appear to help. I still get the error messages and double typed characters. -- Denny White All messages scanned by ClamAssassin http://jameslick.com/clamassassin/ === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFHxo5uy0Ty5RZE55oRAu+XAJ9PrA3/AhZ5zYexks6a6/XUpudTrACgt5sZ 9LnpJQFQep+KuG3zqqA/hV4= =ceCs -END PGP SIGNATURE-
Re: OT: Can an SSH alternative to WebDav be use on OpenBSD
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Jan 24, 2008 at 05:58:57PM -0500, Daniel Ouellet sez: Hi, I need some possible suggestions if I may asked to not setup, or have to setup WebDav on OpenBSD to allow users to do their web folder stuff. It can be setup with ftp for example to allow them to map a folder in their network place on XP for example, but then they can't do the stupid save as and just for that, they want to use the WebDav. However, then it need to allow write access via http and the full load of issues that could with that when combine with php, etc. I only allow ssh access and in very special case, I had accepted ftp from specific locations control via PF, but because of the stupid save as, they are screaming for WebDav, or mod_dav, witch I really would like to avoid totally. I just don't see the benefit worth the risk required to allow it. May be I am wrong and someone could in light me, witch I would very much appreciate, but again, may be there is an alternative using SSH that I do not know. I provided WinSCP years ago and it sure works well, plus I can control access via ssh with PF too, witch I would loose introducing WebDav. I hate all these users that can only work using a GUI like interface all the time and fell they need everything to be done via http. Anyone can provide me some ideas, or alternative here as I am running out of them and being view as the asshole that always refuse flexibility for security is fine, but may be there is something I can do to keep it safe and give the winers a bone. I hate the Microsoft centric bias users that care less for security, but would also be the first to scream should there be compromise too. Any suggestions here? Sorry for the somewhat off topic question, but I need suggestion if there is any. Best, Daniel. I don't know if this will help since it'll involve the windows users having to install the M$ loopback adapter on their boxes configure it. It's what I use on my network for the windows boxes to access the OpenBSD boxes via ssh. And, all windows users are using cygwin, not putty or some other gui. In my case, I only allow passwordless logins using rsa keys authorized_keys files instead. If you allow password logins, it wouldn't be a problem. No idea how many users you have, so I guess it could turn into an admin's nightmare if you had to go into each user's $HOME/.ssh do the setup there. I guess you could send out a notice give them a deadline to ssh in set it up themselves. But, we're talking windows users here. ;) Anyway, here's the link for setting up samba over ssh: http://assela.pathirana.net/Samba_over_SSH_--_Opening_Windows_to_ UNIX_safely_and_reliably That's all one line above. I dropped part of it down for the 72 character rule. As the article shows, instead of having to open a cygwin prompt, then issue the tunneling command, the whole thing can be automated with a script a windows service started on boot. When the user clicks start, run, types in the IP address enter, explorer will open showing them their samba shares. So, there's the gui they crave. ;) Hope this helps some. -- Denny White All messages scanned by ClamAssassin http://jameslick.com/clamassassin/ === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFHnuXfy0Ty5RZE55oRAumIAJ9jTz2OQKDRW4Ysw6dsg8aD9zCRDwCfePN6 9Sx/q3U6QvSVXEFJe69CGUw= =6JqB -END PGP SIGNATURE-
Re: OT: Can an SSH alternative to WebDav be use on OpenBSD
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Jan 29, 2008 at 04:10:07AM -0500, Daniel Ouellet sez: Denny White wrote: That's all one line above. I dropped part of it down for the 72 character rule. As the article shows, instead of having to open a cygwin prompt, then issue the tunneling command, the whole thing can be automated with a script a windows service started on boot. When the user clicks start, run, types in the IP address enter, explorer will open showing them their samba shares. So, there's the gui they crave. ;) Hope this helps some. That is interesting to read and I will sure have a look at it, but like you said, these are Windows users here. (; It may never fly, but I am interested in looking into this however. Thanks for sharing it! Best, Daniel Glad to help if I can. One caveat to warn you about the windows boxes, Daniel. I really had a hair pulling time on one it turned out to be because it had M$'s tools for unix administration on it. It wasn't needed since cygwin was on there. I know it was running nfs client services which also wasn't needed, left over from before samba was totally incorporated across the network, and I'm not sure what else, so there was undoubtedly something there conflicting with cygrunsrv. Once the unix admin tools were uninstalled, and the box rebooted the tunnel established, when the clicking start-run- typing in IP-enter crap was all done, the hookup was really fast. I'm sure if you wanted you could reverse that get rid of cygwin keep the unix tools running it's sshd as a service instead, but I'm used to cygwin actually kind of like it. It's helped me out quite a bit in the past. -- Denny White All messages scanned by ClamAssassin http://jameslick.com/clamassassin/ === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFHnv68y0Ty5RZE55oRAraaAKCLo3U3cM8KqX/x+/+l9XxZNxFXFQCgufRB lorarlKznbBs5/PIhc9TMM4= =f238 -END PGP SIGNATURE-
Re: OT: Can an SSH alternative to WebDav be use on OpenBSD
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Denny White wrote: That's all one line above. I dropped part of it down for the 72 character rule. As the article shows, instead of having to open a cygwin prompt, then issue the tunneling command, the whole thing can be automated with a script a windows service started on boot. When the user clicks start, run, types in the IP address enter, explorer will open showing them their samba shares. So, there's the gui they crave. ;) Hope this helps some. That is interesting to read and I will sure have a look at it, but like you said, these are Windows users here. (; It may never fly, but I am interested in looking into this however. Thanks for sharing it! Best, Daniel Glad to help if I can. One caveat to warn you about the windows boxes, Daniel. I really had a hair pulling time on one it turned out to be because it had M$'s tools for unix administration on it. It wasn't needed since cygwin was on there. I know it was running nfs client services which also wasn't needed, left over from before samba was totally incorporated across the network, and I'm not sure what else, so there was undoubtedly something there conflicting with cygrunsrv. Once the unix admin tools were uninstalled, and the box rebooted the tunnel established, when the clicking start-run- typing in IP-enter crap was all done, the hookup was really fast. I'm sure if you wanted you could reverse that get rid of cygwin keep the unix tools running it's sshd as a service instead, but I'm used to cygwin actually kind of like it. It's helped me out quite a bit in the past. -- Denny White On Tue, Jan 29, 2008 at 11:17:25AM +, Stuart Henderson sez: while this is a way if you _must_ use SMB/CIFS, I'm not too sure if a combination of samba, cygwin (which users won't bother to update once it's installed so no security fixes) and MS loopback adapter (for some client-breaks-their-own-network-and-shouts-at-you fun) is really the simplest and most secure setup. If you're not real concerned about any particular packages, cygwin is really easy to update, just as easy as microsloth, just a few clicks, but yeah, good point. There are probably much better ways to do it. I just threw it in the mix as a point of interest. OTOH, I haven't had any network breakage from the adapter, but I'm sure it can happen. Luckily for me the few computers on this network, it works really well so far. I haven't had any breakage or problems since I uninstalled the m$ tools for unix off the one box. -- Denny White All messages scanned by ClamAssassin http://jameslick.com/clamassassin/ === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFHn1Hdy0Ty5RZE55oRApCVAJ4gKJozPeNqUqmbWTalvUrwtlQtiACgudqA VderkGiSPmhKohKsI/MKdh0= =6nl7 -END PGP SIGNATURE-
Re: Test Limerick, please ignore
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Jan 29, 2008 at 01:30:21PM +0100, Marc Balmer sez: Peter N. M. Hansteen wrote: Darrin Chandler [EMAIL PROTECTED] writes: There once was a message to test Repeated unto being a pest While marked to ignore It was seen more and more Until other begged, Give it a rest! That one needs to be included in the faq somewhere, urgently. Just Great... That has the quality to go into fortune (where we already have some limericks) Though warned not to test on the list, The rascal just couldn't resist. As test messages grew, It was found that the crew, On misc@ were all really pissed! Way too much time on my hands. ;) I guess that'll for sure get an -o on the end of the fortune file. -- Denny White All messages scanned by ClamAssassin http://jameslick.com/clamassassin/ === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFHn1a+y0Ty5RZE55oRAjfQAJ9BtW+MNVOUkB6rDgJVHhsTGUIEoQCeJJ/N 9unPJYT0jfUwtqypjXHBGw0= =tJbb -END PGP SIGNATURE-
Re: Test Limerick, please ignore
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Jan 29, 2008 at 07:38:59PM +0100, Zbigniew Baniewski sez: On Tue, Jan 29, 2008 at 10:40:06AM -0600, Denny White wrote: Though warned not to test on the list, The rascal just couldn't resist. If you mean me - thanks, Danny; I love you too. 1. Any test messages, which I've sent, reached the list several hours (some even more than 24) after submission - and I had no idea at all until then, that it'll finally appear on the list. 2. Any warnings I've received - I've received several hours *after* I've sent last message. 3. I really don't know any other way to test, whether the mail will reach the list, than... to just send it to the list. Perhaps you - smart guy, as I can see - will tell me different way to test access to the list without sending anything to the list. As test messages grew, It was found that the crew, On misc@ were all really pissed! 4. It's really a pity, that *all* (?) of you prefer to see my difficulties as some kind of bad will or list abuse; and nowhere could I see a message like: perhaps he needs some help?. I don't want to believe, this is usual attitude among OpenBSD community members. Really unbelievable. 5. What a nice, helpful and kind man you are, dennyboy. Your mother should be so proud, indeed. Just out of curiosity: what really a difference can you see between my tests - and this, for example, thread, whish is just about nothing (limericks)? I can see at least one: I *had* to make some tests, I was in contact with the list admin - but you don't have to show off here, with your poetry. Seems, you want to. That's the second - and last - explaining from my side. I want to add, that such (over)reaction of several persons is very disappointing to me. -- pozdrawiam / regards Zbigniew Baniewski Life is full of disappointments, kiddo! Get used to it. Like Darren, humor tickles my fancy, Now it's evident it can sometimes be chancy. You dropped quite a bomb by dissing my Mom, Like Frank Barone says, get over it, Nancy! ;) -- Denny White All messages scanned by ClamAssassin http://jameslick.com/clamassassin/ === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFHn+LJy0Ty5RZE55oRAut4AJ9OE8pd4OUhLzWxmsr+71Ig6++S1ACeL5L5 Pyjsz0BcdPQvGqVLSHPlTwk= =joC/ -END PGP SIGNATURE-
ksh history question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've read the ksh man page, googled for days, can't seem to come up with the answer. Either I put no mention of HISTFILE and HISTSIZE in $HOME/.profile and I don't have a lasting history file of previous commands. Or, I put it in and I do have a history file, but the HISTSIZE setting has no effect. It doesn't change and the file grows and grows. Currently I have it set as shown below to save my command line history: HISTFILE=.ksh_history HISTSIZE=50 I've tried using .ksh_history$$ to have a different file each login, and know I can run a cronjob nightly to clean them up if I want to, but I can't figure out how to make the history turn over just like it's supposed to with the HISTSIZE value without all that other mess. Thanks for any help I can get on this. -- Denny White All messages scanned by ClamAssassin http://jameslick.com/clamassassin/ === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFHnQ+ey0Ty5RZE55oRAm+IAJ4mFSIXHqORlxAmbuIu4VTOd7Z35QCgpwDP X6R0e88UGv5D/5VGHG4rX6I= =hMAH -END PGP SIGNATURE-
Re: ksh history question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Jan 28, 2008 at 11:32:00PM +, Jason McIntyre sez: On Sun, Jan 27, 2008 at 05:27:26PM -0600, Denny White wrote: I've read the ksh man page, googled for days, can't seem to come up with the answer. Either I put no mention of HISTFILE and HISTSIZE in $HOME/.profile and I don't have a lasting history file of previous commands. Or, I put it in and I do have a history file, but the HISTSIZE setting has no effect. It doesn't change and the file grows and grows. Currently I have it set as shown below to save my command line history: HISTFILE=.ksh_history HISTSIZE=50 I've tried using .ksh_history$$ to have a different file each login, and know I can run a cronjob nightly to clean them up if I want to, but I can't figure out how to make the history turn over just like it's supposed to with the HISTSIZE value without all that other mess. Thanks for any help I can get on this. notice that the variable is named HISTSIZE, not HISTFILESIZE :) HISTSIZE affects how many commands are kept in history (in memory - not file). so, for example, if you set HISTSIZE=3 you'll only be able to recall the past 3 commands in history. it does not turn over HISTFILE, however. i'm a bit confused by this myself, though - it does seem logical that the HISTFILE not store more commands than history itself is able to recall. i can;t tell by looking at the code what goes on in there - maybe someone else can chip in... jmc Thanks, Jason. Yeah, I tried the HISTFILESIZE too. What's really weird is, just all of a sudden, it started working! But, instead of it starting with the number 1 on the beginning, with HISTSIZE set at 50, e.g., you run 'fc -l 0' you might see the beginning number 163 with the most current command number being 211. It never goes all the way to 50 commands, usually just 48 before dropping one off the tail end. This is no problem, I just must be misunderstanding the man page. Another thing I found out is, after copying $HOME/.profile to $HOME.kshrc, removing all mention of HISTFILE HISTSIZE from .kshrc putting only the following in .profile HISTSIZE=50;export HISTSIZE HISTFILE=.ksh_history;export HISTFILE ENV=$HOME/.kshrc export ENV it works just the same as if there was no .kshrc file everything was still all in .profile. I've got it running one way on one box the other way on another box, they're both working. Why they didn't work before is a mystery to me. But, I learned something anyway about being able to do it two different ways. Thanks for the answer. -- Denny White All messages scanned by ClamAssassin http://jameslick.com/clamassassin/ === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFHnoXpy0Ty5RZE55oRAlWQAJ0dPTy8YPFpLUkFhwvffPPBGqQlegCgyCD/ wiyKY3CVLCv20grRO5N7dgc= =lGiL -END PGP SIGNATURE-
Re: ksh history question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Jan 28, 2008 at 11:56:56PM +0100, Jordi Espasa Clofent sez: HISTFILE=.ksh_history HISTSIZE=50 Try it without double quotes on HISTSIZE value; and remember to export them. -- Thanks, Jordi Espasa Clofent Thanks for the reply, Jordi. Yeah, I saw that while googling around tried it, but by the time I'd posted my question, I'd taken the quotes off. It still wasn't working. Why, all of a sudden it started working last night, I don't know. I'm just glad it did. I think I copied that in from a something other than the working file when I posted to [EMAIL PROTECTED] Probably a .profile~ in $HOME. My bad. Thanks for answering, though. -- Denny White All messages scanned by ClamAssassin http://jameslick.com/clamassassin/ === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFHnr4Ly0Ty5RZE55oRAlbNAKCogEisCCKulQyADSlPVptb/Rd1fACgg2XG n8nZLrmDibOfWCyJobqC3M0= =Z76v -END PGP SIGNATURE-
Re: ksh history question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jan 27, 2008, at 3:27 PM, Denny White wrote: I've read the ksh man page, googled for days, can't seem to come up with the answer. Either I put no mention of HISTFILE and HISTSIZE in $HOME/.profile and I don't have a lasting history file of previous commands. Or, I put it in and I do have a history file, but the HISTSIZE setting has no effect. It doesn't change and the file grows and grows. Currently I have it set as shown below to save my command line history: HISTFILE=.ksh_history HISTSIZE=50 I've tried using .ksh_history$$ to have a different file each login, and know I can run a cronjob nightly to clean them up if I want to, but I can't figure out how to make the history turn over just like it's supposed to with the HISTSIZE value without all that other mess. Thanks for any help I can get on this. -- Denny White On Mon, Jan 28, 2008 at 03:26:20PM -0800, Steve Mayer sez: Have you tried it without the quotes? HISTSIZE=50 Steve Yeah, dumbass me, I just answered the same question in another reply. Should've looked at the rest of the messages. ;) Anyway, yeah, I had tried it both ways it still didn't work. Like I said before, why all of a sudden it started working, I don't know. But it now it works. Each time I made changes, I tried various ways of getting it to take effect. I did '. ./.profile' to get the system to reread it, exited logged back in, etc. Strange problem but now it's resolved. Thanks for the help, Steve. -- Denny White All messages scanned by ClamAssassin http://jameslick.com/clamassassin/ === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFHnr+4y0Ty5RZE55oRAmM3AKDRVZQx0wLMBbpXVPRIi3oqaDdouACgjtIN sUKw7wiPZednI/fZvRCT1bw= =nwNv -END PGP SIGNATURE-
Re: Computer name question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Jan 28, 2008 at 09:25:08AM -0600, Eric Johnson sez: I recently changed the name of a computer with OpenBSD 4.2 by editing the /etc/myname file. That seems to have taken care of the renaming almost everywhere. I also changed the name in the /etc/hosts file as well. However, when I send an e-mail from it using mail, the from address shows the original name, not the changed name. Also, if I don't specify a hostname for the to address, it appends the old hostname instead of the new hostname. The configuration file in /etc/mail doesn't have the original name anywhere. Neither does the mc file. Does anyone know what else I need to change? Thanks, Eric Johnson [demime 1.01d removed an attachment of type application/pgp-signature] AFAIK, there are 3 files it says that need to be updated when changing hostname. /etc/hosts, /etc/myname /etc/hostname.interface. The last one on my system is hostname.fxp0 and, since you didn't mention changing your IP address, I don't why hostname.interface would have to be changed. I hate to ask this, but did you reboot or restart the network after making your changes? If not, you're not going to see the changes until you do one or the other, or change it using sysctl. Try this see what you get: sysctl -a |grep hostname If it still shows the old hostname, sudo sysctl hostname=newname (same as in /etc/hosts /etc/myname) Then try your email again see what happens. -- Denny White All messages scanned by ClamAssassin http://jameslick.com/clamassassin/ === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFHntnQy0Ty5RZE55oRAnmxAJ93VhJJY5VSNpN0e3ufIf+/0werWACeKRW6 FwulQ1BjeOoivv2YJssseYU= =+QIK -END PGP SIGNATURE-
Re: Straw men etc.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Jan 05, 2008 at 09:57:28PM -0800, visc sez: This really is getting old... it's getting harder to want to even go through new messages in [EMAIL PROTECTED] I'm not siding with RMS or anybody, but let's either make a new mailing list for it or let this stuff get archived and move on. Just my 2 Sung to the tune Sign, Sign, Everywhere a Sign by the Five Man Electrical Band And the sign said, Everyone welcome. Open source is here to stay. But then they argued what was and wasn't free all the whole damned day! So I opened mutt, started writin', not takin' sides, just spoke my mind. I said Thank you, Lord, for open source, I'm alive and doin' fine. Flame, flame, everywhere a flame, Blockin' out discussions, makin' me insane, Use this, don't use that, can't you read the flame. Denny White -- Anything worth taking seriously is worth making fun of. All messages scanned by ClamAssassin http://jameslick.com/clamassassin/ === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFHg057y0Ty5RZE55oRAlC6AKCuficbJ2ZAkl44E6kSjGp2a8rE+QCeMS3d s/zT8GbdoSV6MzaAJ2rGjYE= =6N5C -END PGP SIGNATURE-
Re: Developers: First Reply Gets My Copy Of /On Bullshit/
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Dec 14, 2007 at 04:22:30PM -0500, Jim Razmus sez: * Bob Beck [EMAIL PROTECTED] [071214 15:51]: Me! Me! Ship it to my address: 51 Franklin Street, Fifth Floor Boston, MA 02110-1301 USA -Bob * Breen Ouellette [EMAIL PROTECTED] [2007-12-14 13:02]: OpenBSD developers, In recognition of all the bullshit flying around recently on misc@, I would like to offer to mail my copy of of the essay /On Bullshit/ by Harry Frankfurt as a gift to the first OpenBSD developer to request it. This essay is bound in a blue hardcover 4 x 6 (10cm x 15cm) in size, and spans approximately 70 pages. It can be read in less than one hour. Just let me know where to send it and I will drop it off at the courier. For everyone else, we are all lucky enough to be able to access the full text at the following link: http://web.archive.org/web/20031204195648/www.jelks.nu/misc/articles/bs.html Breeno -- #!/usr/bin/perl if ((not 0 not 1) != (! 0 ! 1)) { print Larry and Tom must smoke some really primo stuff...\n; } ROTFLOL And Bob, I think you forgot to add c/o RMS. Jim I'm afraid, Dave. Dave, my mind is going. I can feel it... Daisy, Daisy, . . . . Silence Thanks, Dave! ;) -- === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFHY2gBy0Ty5RZE55oRAmbyAJ9KvSIULiV0xzrrRJRtYsl/xvjkGwCeIdYa 6pMxM44bVM5Xzr+xk3vLqCU= =2Y1D -END PGP SIGNATURE-
cups printing question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm getting garbled printouts when I try to print to my xp network shared printer, an HP DeskJet 722C, from my OpenBSD 4.1 box. A good for instance is the OpenBSD home page. Graphics printed great, but about 3/4 of the left side of the page was lopped off, and the sentences on the right were in some places garbled or the top half of the letters lopped off. I've got the following installed: 1) enscript 2) ghostscript ghostscript fonts 3) cups 4) pna2ppa - d/l from http://sourceforge.net/projects/pnm2ppa/ (It built installed on the system without any problems) 5) HP-DeskJet_722C-pnm2ppa.ppd d/l from linuxprinting 6) samba (probably didn't need it but it's quicker from the xp box than nfs for when I'm lazy don't want to use scp) 7) cupsd, smbd, nmbd load fine on boot from /etc/rc.local I tried changing firefox's page layout margins to match what the cups printing defaults were in the print dialog. But, when you're configuring the printer from the browser interface, the margins you're offered don't seem to correspond. I.E., first instance is 0 and then goes to 10 and i don't understand what the increments are. mm? I also checked /etc/pnm2ppa.conf and commented everything out except for the 720 part which covers that whole series of printers.I've got the device url set to lpd://xpbox/HPDeskJet and I know that's right because at least it's trying to print now. I printed a couple of text only pages from the rfc's main site perfectly. I don't know if it's having trouble with page tables or what. Any help much appreciated. Any other info I didn't supply but possibly need to, please let me know. Denny White -- SDF-1 [ 1987 - 2007 ] http://sdf.lonestar.org Public Access Unix System === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFG66Rly0Ty5RZE55oRAmC/AJ9sMkjMrx7h+DtYONFeTHSmChUswACghYRb FM+TOshNifTWbtYahP9WL6Q= =jUl9 -END PGP SIGNATURE-
Re: scanner??
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 10 September 2007 12:08:48 Vim Visual wrote: ... and I wonder whether any of you has a recommendation for me. On Mon, Sep 10, 2007 at 12:14:30PM +0200, Antoine Jacoutot spake wrote: Epson are usually very well supported. See: http://www.sane-project.org/cgi-bin/driver.pl -- Antoine I can vouch for the Epsons. I picked up an old Epson Perfection 1200U off eBay it works great with both xsane the sane front backends on my old PIII 800 home-built running OpenBSD 4.0, and on my Dell Dimension 2400 running 4.1, thanks to Antoine's work on the ports. Sorry Antoine, shameless plug for you. ;) Denny White -- SDF-1 [ 1987 - 2007 ] http://sdf.lonestar.org Public Access Unix System === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFG5i69y0Ty5RZE55oRAkuKAKDFMzUrqCuTXmHT+/TVSXdP6p5/rwCfX9kn gWEABTHpJMk/P9m3gVG3Ins= =iSLX -END PGP SIGNATURE-
Re: Another qemu + OpenBSD host + networking + pf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Aug 26, 2007 at 08:30:19PM -0700, Allie Daneman spake forth: Ok...first off I apologize for wasting bandwidth this morning looking for help...blame it on Sunday morning laziness. After googling and trying things I got my qemu working w/XP finally. The undeadly article is great but isn't as complete as it could be. Hopefully this will fill in the cracks for any of you out there that want to get qemu going ASAP to start using virtualization on OBSD ;) Here it is cut and dry: ### Install ### 1) qemu-img create -f qcow xp.hd 4G Create image * make sure xp.hd is writable by the owner running qemu (otherwise you can't partition the drive in Windows Install) ** 2) qemu -m 384 -cdrom XP.iso -boot d -monitor stdio xp.hd Boot iso image as if it was on a cdrom ### Setup networking ### 3) Update /etc/sysctl to enable forwarding: net.inet.ip.forwarding=1 4) Create /etc/hostname.tun0 with the following: link0 up inet 192.168.0.1 255.255.255.0 5) Create /etc/pf.conf with this or something similar: internal = tun0 external = ipw0 set loginterface $external scrub in all nat on $external from $internal:network to any - ipw0 pass quick on lo0 all flags any pass in quick on $internal proto icmp all keep state pass in quick on $internal from $internal:network to any keep state pass out quick on $internal from any to $internal:network keep state pass out quick on $external proto tcp all modulate state pass out quick on $external proto { udp, icmp } all keep state block quick all ### starting Qemu ### 6) sudo qemu -m 384 -monitor stdio -net nic -net tap xp.hd That's it !!! No qemu-ifup script needed. Obviously you assign XP (or whatever OS you install) an IP in the 192.168.0.0/24 network and you're golden. This is a virtual network...so changing it is as easy as changing your hostname.tun0, pf.conf, and the IP in the OS you're running as a virtual. My only dilemma is that I run dhcp on two external interfaces and I don't want to change DNS servers on my virtual every time I move. I think I'm going to work on running dhcpd on tun0 and script a DNS IP harvester for dhcpd to assign the same DNS servers as the host. There's always more to do ;) Enjoy... Thanks for all of that. It'll make it a lot easier for a pf dummy like myself. Sorry for the link before. Didn't know it was the same info as undeadly. Just a link, that is, to where I sent you. We know where road where good intentions lead. ;) Denny White -- ___ ___ / __/ _ \/ __/__ / _\ \/ // / _//___/ / /___//_/ /_/ [ 1987 - 2007 ] http://sdf.lonestar.org Public Access Unix System === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFG0ouGy0Ty5RZE55oRAokKAKCF6dJG4SMmnJtMg7q/5i6Qr4f48QCdEyt/ XIGjSsPpm/gPkticonkUSSg= =lCL1 -END PGP SIGNATURE-
Re: Qemu networking help
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Aug 25, 2007 at 10:31:40PM -0700, Allie Daneman spake forth: So I recently installed Qemu w/XP on my 4.1 box and am having a bear of a time getting pf and the networking going. I've tried the undeadly howto and another on the Qemu forum to no avail. Can anyone share their qemu ifup script, how they run it, and the important parts of their pf.conf to get it running ? Thnx in advance... You didn't give any specific links I don't have time to search on undeadly or qemu, so I don't know if this link has the same stuff you've already read or not. Anyway, it's at http://neworder.box.sk/news/16699 Stuff there on bridges, tap devices, pf along with some extra links on each one. Looks fairly in depth. Check it out. Denny White -- ___ ___ / __/ _ \/ __/__ / _\ \/ // / _//___/ / /___//_/ /_/ [ 1987 - 2007 ] http://sdf.lonestar.org Public Access Unix System === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFG0UEsy0Ty5RZE55oRAsDRAKCqRlH/82oHhBN5cXG+CNWq6DhLkgCfWb0g rd7vl99T6KFmy8vvCVO5Jv4= =7Vwy -END PGP SIGNATURE-
streamdvd question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 When I'm using streamdvd with dvdauthor on a small video dvd or one that can be safely shrunk, I don't have any problems. But, when I try to split a large one by selecting certain sequential chapters, I run into problems. Last night I ripped the 1st 15 chapters of a video dvd no problem. Audio was fine, etc. I also ripped the entire dvd with dvdbackup, so I don't think there's anything wrong with the dvd itself. Later I tried to rip the 2nd half, same as before, with dvdauthor streamdvd, chapters 16-29 that's when the trouble started. I used script a high debug level to try to capture as much info as possible. It's directly below here. Also, some errors from /var/log/messages to show what was going on underneath. Outside of this splitting a dvd problem, the only other problem I had was with streamanalyze seg faulting now then, but that probably had to do with my typing in the wrong parameters. Don't know at this point. Most of the time, it works okay along with lsdvd. I read everything I could find before asking this question googled around quite a bit. Not a complaint, but some of the documentation is scant on such things as streamdvd. I also tried contacting the port maintainer before asking, but I imagine he's busy enough already. Also tried another method for ripping from: http://www.ericdugas.com/howtos/ripDVDWithMplayer/ripDVDWithMplayer.php but ran into problems with mp2enc on that one. Thanks for any help I can get on this. And, if anyone knows of a simpler workable way to split a large dvd, please let me know. Denny white NOTE: Where there is a \ at the ends, I added to avoid exceeding the 72 character limitation on the list. Script started on Sun Aug 5 17:39:26 2007 # dvdauthor -t -o dvd1 -f 'ss treamdvd -i /dev/rcd0c -t 1 -c 16-29 \ -s 0xe0,0x80,/dev/rcd0c -t 1 -c 16-29 -s 0xe0,0x80, 0x20 -d 4 |' DVDAuthor::dvdauthor, version 0.6.11. Build options: gnugetopt magick iconv freetype fribidi Send bugs to [EMAIL PROTECTED] INFO: dvdauthor creating VTS STAT: Picking VTS 01 STAT: Processing streamdvd -i /dev/rcd0c -t 1 -c 16-29 \ -s 0xe0,0x80,0x20 -d 4 |... Selected streams: 0xe0 0x80 0x20 Processing title 1, chapter 16 (1991761) - chapter 29 (3860297) AV Delay: 185 ms INFO: [???] mplex version 1.6.1.93 (2.2.3 $Date: 2004/01/13 \ 20:45:26 $) Debug 2: Buffer read: 65536 Debug 2: DVD read Debug 3: DVD read stopped at next seq hdr Debug 2: Buffer return: 65536 Debug 2: Buffer read: 65536 Debug 2: Buffer return: 65536 Debug 2: Buffer read: 65536 Debug 2: DVD read Debug 3: DVD read stopped at next seq hdr Debug 2: DVD read Debug 3: DVD read stopped at next seq hdr Debug 2: DVD read Debug 3: DVD read stopped at next seq hdr Debug 2: DVD read Debug 3: DVD read stopped at next seq hdr Debug 2: DVD read Debug 3: DVD read stopped at next seq hdr Debug 2: Buffer return: 65536 INFO: [???] File unnamed-0xe0.m2v looks like an MPEG Video stream. **ERROR: [???] File unnamed-0x80.ac3 unrecogniseable! **ERROR: [???] File unnamed-0x20 unrecogniseable! **ERROR: [???] Unrecogniseable file(s)... exiting. ERR: Error reading from pipe: No such file or directory # ^D Script done on Sun Aug 5 17:56:45 2007 -- NOTE: Where there is a \ at the ends, I added to avoid exceeding the 72 character limitation on the list same as above. -- Tail from /var/log/messages I shortened this a lot because of the repetitive error message: Aug 5 18:54:03 bubbhasbox /bsd: SENSE KEY: Illegal Request Aug 5 18:54:03 bubbhasbox /bsd: ASC/ASCQ: Logical Block Address \ Out of Range Aug 5 18:54:03 bubbhasbox /bsd: cd0(atapiscsi0:0:0): Check Condition \ (error 0x70) on opcode 0x28 Aug 5 18:54:03 bubbhasbox /bsd: SENSE KEY: Illegal Request Aug 5 18:54:03 bubbhasbox /bsd: ASC/ASCQ: Logical Block Address \ Out of Range Aug 5 18:54:03 bubbhasbox /bsd: cd0(atapiscsi0:0:0): Check Condition \ (error 0x70) on opcode 0x28 Aug 5 18:54:03 bubbhasbox /bsd: SENSE KEY: Illegal Request Aug 5 18:54:03 bubbhasbox /bsd: ASC/ASCQ: Logical Block Address \ Out of Range Aug 5 18:54:03 bubbhasbox /bsd: cd0(atapiscsi0:0:0): Check Condition \ (error 0x70) on opcode 0x28 -- ___ ___ / __/ _ \/ __/__ / _\ \/ // / _//___/ / /___//_/ /_/ [ 1987 - 2007 ] http://sdf.lonestar.org Public Access Unix System === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFGt2ujy0Ty5RZE55oRAl9GAJ4r/C3R0BTgL7OKP3X8o2b66HEIswCgz/JC vlAUBvg5vYXTUIusbFUT1mU= =ci/E -END PGP SIGNATURE-
Re: streamdvd question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Aug 07, 2007 at 12:33:11AM +, Jacob Meuser wrote: chapters are not necessarily consecutive, they could bounce around. and AFAIK, many programs have problems with this. some say this is intentional design by the DVD distributor, to make it harder to rip. That's kind of what I figured what my friend said, too. mp2enc is, as the authors say, only included for completeness. use toolame instead. or use ffmpeg for this whole operation. Okay, I'll give them each a shot. And thanks for taking time to answer. Denny White -- ___ ___ / __/ _ \/ __/__ / _\ \/ // / _//___/ / /___//_/ /_/ [ 1987 - 2007 ] http://sdf.lonestar.org Public Access Unix System === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFGt+e0y0Ty5RZE55oRAqiXAJ0ZB3mj5x0uK0raYelSbK1NKl/EtQCgg6Xz dAuP04k4EsGs7Xbz8X9HDmk= =n5pn -END PGP SIGNATURE-
Re: Nut Belkin UPS Problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Jul 22, 2007 at 11:06:44PM -0500, Denny White spake forth: I have an old Belkin F6C525-SER ups attached to serial port 1. When /usr/local/bin/upsdrvctl start runs, it finds identifies the ups correctly. Also, no problem when /usr/local/sbin/upsd runs. But, when /usr/local/sbin/upsmon runs, I get: Broadcast Message from [EMAIL PROTECTED] ((not a tty)) at whatever time run . . . communications lost to the UPS Repeat 1st line (Broadcast etc) A UPS is unavailable (can't be contacted for monitoring) Below are all the pertinent uncommented settings in nuts config files. (snippet from /etc/nut/ups.conf) I've tried entering different labels here, including the actual identification of the ups, F6C525-SER along with anywhere else it's required to match. Didn't help. I assumed this was an arbitrary setting only mattered in that it has to match in any other config files it's used in. [belkinups] driver = belkin port = /dev/tty00 desc = bubbhasbox (snippet from /etc/nut/upsd.conf) ACL all 0.0.0.0/0 ACL localhost 127.0.0.1 ACCEPT localhost REJECT all # == MAXAGE 15 (snippet from /etc/nut/upsd.users) [dennyboy] password = allowfrom = localhost actions = SET instcmds = ALL upsmon master # # The matching MONITOR line in your upsmon.conf would look like this: # # MONITOR [EMAIL PROTECTED] 1 monuser pass master (or slave) (snippet from /etc/nut/upsmon.conf) RUN_AS_USER nutmon# This user added as per docs MONITOR [EMAIL PROTECTED]:5678 1 dennyboy master I've also tried this without a port after localhost. No difference. Still doesn't work. I may have misunderstood the docs, but there were instructions without a port being appended also. # -- MINSUPPLIES 1 # -- SHUTDOWNCMD /sbin/shutdown -h -p +0 # -- NOTIFYCMD /usr/local/bin/notifyme.sh # -- POLLFREQ 10 # -- POLLFREQALERT 10 # -- HOSTSYNC 15 # -- DEADTIME 30 # -- POWERDOWNFLAG /etc/killpower # Pertinent script added to /etc/rc.shutdown as per docs # -- NOTE: I changed each instance of %s to belkinups just like the label in ups.conf # NOTIFYMSG NOCOMM A UPS is unavailable (can't be contacted for monitoring) NOTIFYMSG COMMOK Communications established with UPS NOTIFYMSG COMMBAD Communications lost to the UPS NOTIFYMSG ONLINE UPS belkinups is getting line power NOTIFYMSG ONBATT Someone pulled the plug on belkinups NOTIFYMSG LOWBATT UPS belkinups has a low battery NOTIFYMSG FSD UPS is being shutdown by the master # # Note that %s is replaced with the identifier of the UPS in question. # -- RBWARNTIME 43200 # -- NOCOMMWARNTIME 300 # -- FINALDELAY 5 Just wanted to say that I've read the docs man pages numerous times searched extensively through mailing list archives, experimented with the settings until I ran out of ideas, before asking about this on the list. It's either something I'm missing, misunderstanding, or possibly a peculiarity with my hardware. Any help greatly appreciated. Denny White Never got an answer on this problem, but I resolved it it's working fine now. Apparently I didn't read enough, at least in the right place. For the sake of anyone who runs into the same problem, got what I needed at: http://www.networkupstools.org/doc/2.0.1/INSTALL.html Denny White -- ___ ___ / __/ _ \/ __/__ / _\ \/ // / _//___/ / /___//_/ /_/ [ 1987 - 2007 ] http://sdf.lonestar.org Public Access Unix System === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFGp7Vly0Ty5RZE55oRAvOQAKCivWSNF/z4EJwC+yLa5836Ney2QACZAUdf KKE5FrTOjpURUeu1KkV0R1k= =Yfzx -END PGP SIGNATURE-
Nut Belkin UPS Problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have an old Belkin F6C525-SER ups attached to serial port 1. When /usr/local/bin/upsdrvctl start runs, it finds identifies the ups correctly. Also, no problem when /usr/local/sbin/upsd runs. But, when /usr/local/sbin/upsmon runs, I get: Broadcast Message from [EMAIL PROTECTED] ((not a tty)) at whatever time run . . . communications lost to the UPS Repeat 1st line (Broadcast etc) A UPS is unavailable (can't be contacted for monitoring) Below are all the pertinent uncommented settings in nuts config files. (snippet from /etc/nut/ups.conf) I've tried entering different labels here, including the actual identification of the ups, F6C525-SER along with anywhere else it's required to match. Didn't help. I assumed this was an arbitrary setting only mattered in that it has to match in any other config files it's used in. [belkinups] driver = belkin port = /dev/tty00 desc = bubbhasbox (snippet from /etc/nut/upsd.conf) ACL all 0.0.0.0/0 ACL localhost 127.0.0.1 ACCEPT localhost REJECT all # == MAXAGE 15 (snippet from /etc/nut/upsd.users) [dennyboy] password = allowfrom = localhost actions = SET instcmds = ALL upsmon master # # The matching MONITOR line in your upsmon.conf would look like this: # # MONITOR [EMAIL PROTECTED] 1 monuser pass master (or slave) (snippet from /etc/nut/upsmon.conf) RUN_AS_USER nutmon # This user added as per docs MONITOR [EMAIL PROTECTED]:5678 1 dennyboy master I've also tried this without a port after localhost. No difference. Still doesn't work. I may have misunderstood the docs, but there were instructions without a port being appended also. # -- MINSUPPLIES 1 # -- SHUTDOWNCMD /sbin/shutdown -h -p +0 # -- NOTIFYCMD /usr/local/bin/notifyme.sh # -- POLLFREQ 10 # -- POLLFREQALERT 10 # -- HOSTSYNC 15 # -- DEADTIME 30 # -- POWERDOWNFLAG /etc/killpower # Pertinent script added to /etc/rc.shutdown as per docs # -- NOTE: I changed each instance of %s to belkinups just like the label in ups.conf # NOTIFYMSG NOCOMM A UPS is unavailable (can't be contacted for monitoring) NOTIFYMSG COMMOK Communications established with UPS NOTIFYMSG COMMBAD Communications lost to the UPS NOTIFYMSG ONLINE UPS belkinups is getting line power NOTIFYMSG ONBATT Someone pulled the plug on belkinups NOTIFYMSG LOWBATT UPS belkinups has a low battery NOTIFYMSG FSD UPS is being shutdown by the master # # Note that %s is replaced with the identifier of the UPS in question. # -- RBWARNTIME 43200 # -- NOCOMMWARNTIME 300 # -- FINALDELAY 5 Just wanted to say that I've read the docs man pages numerous times searched extensively through mailing list archives, experimented with the settings until I ran out of ideas, before asking about this on the list. It's either something I'm missing, misunderstanding, or possibly a peculiarity with my hardware. Any help greatly appreciated. Denny White -- ___ ___ / __/ _ \/ __/__ / _\ \/ // / _//___/ / /___//_/ /_/ [ 1987 - 2007 ] http://sdf.lonestar.org Public Access Unix System === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFGpCf4y0Ty5RZE55oRAkOTAJsE9YWl7G8unYpMDOgpZB7VvP0TQACgsQAn VUa9ASlqcKsdR42ypfYU4+Q= =SXZT -END PGP SIGNATURE-
[EMAIL PROTECTED]: Re: mutt, getmail procmail]
-- ___ ___ / __/ _ \/ __/__ / _\ \/ // / _//___/ / /___//_/ /_/ [ 1987 - 2007 ] http://sdf.lonestar.org Public Access Unix System === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === Date: Fri, 13 Jul 2007 19:26:52 -0500 From: Denny White [EMAIL PROTECTED] To: Philip Guenther [EMAIL PROTECTED] Subject: Re: mutt, getmail procmail Message-ID: [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: [EMAIL PROTECTED] X-GPG-PUBLIC_KEY: http://wwwkeys.nl.pgp.net X-GPG-FINGERPRINT: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A User-Agent: Mutt/1.5.12-2006-07-14 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Jul 13, 2007 at 02:44:48PM -0600, Philip Guenther wrote: On 7/13/07, Denny White [EMAIL PROTECTED] wrote: ... PATH=$HOME/bin:$HOME:/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/usr/local/sbin:. That line is probably unnecessary. Unless you can point to a specific program that your .procmailrc uses that is not in the default PATH set by procmail, why change it? FORMAIL=/usr/local/bin/formail Why do people think that hardcoding the paths to normal programs is a good thing? Why not just say formail and let the shell do the work? SENDMAIL=/usr/sbin/sendmail Remove that line: procmail sets that for you. ($SENDMAIL is a historical wart that exists only because sendmail was originally installed into a directory (/usr/lib) that wasn't in anyone's path.) LOCKFILE=$HOME/.lockmail Ugh. Do you know what that LOCKFILE assignment does? Unless you have a specific need for it (and I don't see anything in your .procmailrc that does), you should remove it. If you don't know what it does, then go read the procmailrc(5) manpage and then remove that line. # Anything that has not been delivered by now will go to $DEFAULT # using LOCKFILE=$DEFAULT$LOCKEXT That comment is not correct for at least two reasons: 1) the locking of $DEFAULT$LOCKEXT is only done if $DEFAULT names an actual file and not a directory, and 2) it doesn't (re)use LOCKFILE: you can hold both global lock and a local lock When I take procmail out of .getmailrc just download everything to my inbox, there's no problem. The problem starts every time I try to use procmail. Below is typical output of a getmail session: 2007-07-13 14:23:31 Delivery error (command procmail 17884 error (0, procmail: [17884] Fri Jul 13 14:23:31 2007 procmail: Assigning MAILDIR=/home/dennyboy/Mail procmail: Assigning DEFAULT=/home/dennyboy/Mail/inbox procmail: Assigning PMDIR=/home/dennyboy/.procmail procmail: Assigning LOGFILE=/home/dennyboy/.procmail/.procmail-log procmail: Opening /home/dennyboy/.procmail/.procmail-log)) 2007-07-13 14:23:31 msg 13/13 (2274 bytes) msgid UID54784-1149445332 from [EMAIL PROTECTED] ... It looks like the complaint from getmail is that procmail is writing stuff to its stderr. That's occurring because you set VERBOSE to on before you set LOGFILE. Either remove the assignment to VERBOSE or move it to after the LOGFILE assignment (or move the LOGFILE assignment to before the VERBOSE assignement, of course). Philip Guenther Philip, Thank you. Followed your advice. Pertinent section below. It works. No more error messages, messages get filtered properly, life is good. I had set it the previous way that made the errors I guess out of misunderstanding the documentation and samples I had found. Anyways, thanks again, very much appreciated. Denny White = VERBOSE=off PMDIR=$HOME/.procmail LOGFILE=$PMDIR/.procmail-log MAILDIR=$HOME/Mail # You'd better make sure it exists DEFAULT=$MAILDIR/inbox COMSAT=no PER=([EMAIL PROTECTED]|[EMAIL PROTECTED]) FBSDALL=([EMAIL PROTECTED]|[EMAIL PROTECTED]) OBSDALL=([EMAIL PROTECTED]) :0 *$ ^From:.*$PER per/ :0 *$ ^From:.*$FBSDALL fbsd/ :0 *$ ^From:.*$OBSDALL obsd/ == -- ___ ___ / __/ _ \/ __/__ / _\ \/ // / _//___/ / /___//_/ /_/ [ 1987 - 2007 ] http://sdf.lonestar.org Public Access Unix System === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFGmBdFy0Ty5RZE55oRApFQAJsF+g7qjWSlT9Zc/vfOVvuQpRQqbwCfQQAy ju0BjC1doukS9IFk18GOeec= =wuzL -END PGP SIGNATURE-
Re: Usage question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Today Jared Solomon wrote: Is anyone successfully using OpenBSD and mplayer or vlc with mediasite to catch streaming lectures from a university campus or similar? I had to get a Vista box, and I'm at wits' end with its B$. Any help or pointers to upgrade my Toshiba Satellite dual core box to OpenBSD 4.1 and maintain my ability to continue in medical school is appreciated. Kind regards, jared Solomon If it's available to you as streaming content, read the following. I love A Prairie Home Companion with Garrison Keillor am rarely home to listen to it on Saturday evenings. I run a script out of cron that streams it in dumps it to a file so I can listen later. Below are the basics. You just need to find out the address of the content you want change it out with the ones below. If you don't want to save it for later, just take out the -dumpstream -dumpfile stuff. e.g., mplayer mms://radio.mponline.org/MPB_Live would just stream it in for you to watch. mplayer -dumpstream mms://radio.mpbonline.org/MPB_Live -dumpfile /data/mydir/garrison/mp3/show/`date +%Y%m%d`phc.mp3 `date +%Y%m%d` prepends the current date to the phc.mp3 file for later reference. Try 'man mplayer'. It's a good read. ;) Here are some more good reads: For installing: http://www.openbsd.org/faq/faq4.html As for upgrading, try: http://www.openbsd.org/faq/upgrade41.html For checking supported hardware: http://www.openbsd.org/i386.html - --Denny White ___ ___ / __/ _ \/ __/__ / _\ \/ // / _//___/ / /___//_/ /_/ [ 1987 - 2007 ] http://sdf.lonestar.org Public Access Unix System === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFGfq6cy0Ty5RZE55oRAhVgAKC/n/MSFUM8tqj0lc8Ec2tqhIkwtACeNuqR PgffOb1PmKLTAnDkS8EneBY= =LsSH -END PGP SIGNATURE-
Re: How to make screenshot under console ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Today smonek wrote: How to make screenshot under console ? without X11 On FreeBSD is : vidcontrol -p /dev/ttyv0 shot.scr But OpenBSD haven't vidcontrol I use OpenBSD 4.1 For capturing text on the console, you can use 'script output.out'. After everything that you want to capture has passed, hit ctrl-d it'll all be in the output file. - --Denny White ___ ___ / __/ _ \/ __/__ / _\ \/ // / _//___/ / /___//_/ /_/ [ 1987 - 2007 ] http://sdf.lonestar.org Public Access Unix System === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFGfrTVy0Ty5RZE55oRApdFAJ4+hhZRJfZsjo/7zNBFZu18+U7IagCePmCg fDUJLkyy6r9rjz7hcU6ipyw= =lRKQ -END PGP SIGNATURE-
Re: r/w on NTFS system
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Today Alex Kwan wrote: Hello, Can I read and write on NTFS system under OpenBSD? Alex I mount some nfs shares off my xp box here and copy files to it without mishap. However, that's just me, I've read the other replies to your message you might want to heed the warnings. Actually, it's probably a lot safer to just scp the files there. I do that too on a regular basis, do rsync backups to the external storage on the xp box nightly using rsa public keys so it can be done unattended, i.e., passwordless. I have cygwin m$ tools for unix admin installed on the xp box with sshd running. There may be a simpler way to do that, but I don't know. I did like that in the beginning when I was first learning about intercommunication between the 2 operating systems, it worked, I left it alone. ;) - --Denny White ___ ___ / __/ _ \/ __/__ / _\ \/ // / _//___/ / /___//_/ /_/ [ 1987 - 2007 ] http://sdf.lonestar.org Public Access Unix System === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFGfrnjy0Ty5RZE55oRAg4ZAKCHjzpALnpRMqmpo0OgQm3emhaZRwCfdbAg AI3FPeMT75vT4YhBQomJpqw= =pa1i -END PGP SIGNATURE-
Re: User mount cdrom?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Today Timothy Wilson wrote: Hello, I'm having great difficulty allowing my users to mount the cdrom. I've looked in the faq and both fstab and mount manpages, but still can't find it! I think the GNU tools allow: mount /dev/cd0a /mnt/cdrom -t cd9660 -o user I'm looking for the appropriate fstab entry, but according to the man pages, there doesn't seem to be a way? I thought it would be something like this: /dev/cd0a /mnt/cdrom cd9660 noauto,ro,user 0 0 But I get the following: mount_cd9660: -o user: option not supported Help! Timothy. Try man sudoers look for the cdrom example. === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFGankhy0Ty5RZE55oRAvHUAJ9TldfC3jY73sBh7kZOHih5fJLGVgCeL0Rn 1Je0wQ5rmj2tqXfVUrt0sw8= =8lqo -END PGP SIGNATURE-
Re: Upgrade question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On May 29 Joachim Schipper wrote: On Mon, May 28, 2007 at 10:13:48PM -0500, Denny White wrote: I've been running a snapshot from several months back got my new 4.1 cds finally. Uname shows OpenBSD 4.1 Generic#0. I want to keep my existing /home /data partitions, delete all the rest, recreate them finish the install. After I reboot, I was hoping I could copy over the old users from the old /etc/group into the new one, copy the old passwd over run pwd_mkdb. Just want to know if I've reasoned it out correctly or not, if it is right if there's anything else I need to run to synchronize things, so on. I've tried looking up that kind of scenario with google, in the mail archives so forth just don't seem to come up with what I need. The point of what I'm trying to accomplish is not to have to copy so much from the 2 aforementioned partitions to another drive then copy it all back after recreating users. Thanks for any help. Be careful: each release adds, and occasionally removes, new system users. It's far safer to either update or reinstall, and you'll want to look at www.openbsd.org/current.html for anything resembling an update. Joachim Thanks, Joachim. I was going to look in the new group after a fresh install to see what had been added or removed. Always before I've either done a complete fresh install or an upgrade, so I didn't have to worry about the users in /home. I just recreated them on the new system, if it was a fresh install, with their same uid's. Then I copied everything from backups back over to the respective dirs. I was just trying to get out of doing that this time. I figured at the very worst my idea wouldn't work I'd have to wipe it all out do it the old way. I thought if I added the old /home users to the new /etc/group, copied the /home dirs over, ran pwd_mkdb properly chown the /home dirs, it might work. That's what I was trying to find out. Now that I've thought more about it, probably the easiest way is to just exclude /home /data when I delete recreate the other partitions, recreate the users on the new install with their same uid's, run pwd_mkdb their dirs will be okay. Thanks for your answer info. I think I've unnecessarily complicated this. ;) Thoughts? - --Denny White === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFGXZ4hy0Ty5RZE55oRAipYAKC81rBtYu3mVmilYlAbPuDJLhurMQCfaC/h CdAe5l6Kac/xffbl0rsQi/E= =D5xG -END PGP SIGNATURE-
Upgrade question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've been running a snapshot from several months back got my new 4.1 cds finally. Uname shows OpenBSD 4.1 Generic#0. I want to keep my existing /home /data partitions, delete all the rest, recreate them finish the install. After I reboot, I was hoping I could copy over the old users from the old /etc/group into the new one, copy the old passwd over run pwd_mkdb. Just want to know if I've reasoned it out correctly or not, if it is right if there's anything else I need to run to synchronize things, so on. I've tried looking up that kind of scenario with google, in the mail archives so forth just don't seem to come up with what I need. The point of what I'm trying to accomplish is not to have to copy so much from the 2 aforementioned partitions to another drive then copy it all back after recreating users. Thanks for any help. That will never happen - the Hindenburg engineers --Musings From Uncle Phil-- === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFGW5pxy0Ty5RZE55oRAlvPAKDMIZYBzCtHOBPviEfb7VL1y66HkgCffyg9 i/0ugjMHNghXKPWwCboZVZs= =ka/A -END PGP SIGNATURE-
Re: Upgrade question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On May 28 Emilio Perea wrote: On Mon, May 28, 2007 at 10:13:48PM -0500, Denny White wrote: I've been running a snapshot from several months back got my new 4.1 cds finally. Uname shows OpenBSD 4.1 Generic#0. I want to keep my existing /home /data partitions, delete all the rest, recreate them finish the install. After I reboot, I was hoping I could copy over the old users from the old /etc/group into the new one, copy the old passwd over run pwd_mkdb. Just want to know if I've reasoned it out correctly or not, if it is right if there's anything else I need to run to synchronize things, so on. I've tried looking up that kind of scenario with google, in the mail archives so forth just don't seem to come up with what I need. The point of what I'm trying to accomplish is not to have to copy so much from the 2 aforementioned partitions to another drive then copy it all back after recreating users. Thanks for any help. In these situations I usually keep a copy of /etc in /home/etc.tgz and just do a new install, skipping the /home and /data partitions when running disklabel. It's never a bad idea to have a full backup, though! Just did a dump on all backed up /etc to the extra hard drive. That's why I mentioned being able to copy the old files over. Just wanted to know if I had it right, the way I said to do it. Thanks for the info. - --Denny White === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFGW7kdy0Ty5RZE55oRAlD8AJsG9Uf9+tS9TWnOq/0jKbqOzkkGnACfWQGk 2J78K2EAJL1K4YSS3y+txdg= =+FRO -END PGP SIGNATURE-
Re: USB Printer Recommendation
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alright, I was able to get the printer to print using the apsfilter. Works awesome! Now to buy some ink and remove all traces of windows from my hard drive. Thanks again everyone! Alright, well the disposition didn't have any cheap laser printers but I did find a HP DeskJet 810C for $15. I know you guys said stay away from inkjet printers, but the price was right and the hpijs driver says it supports it. It's connected via usb. I installed hpijs along with all it's dependencies. I then edited /etc/printcap with: lp|DeskJet:\ :lp=/dev/ulpt0:\ :af=/usr/local/share/ppd/HP/HP-DeskJEt_810C-hpijs.ppd.gz:\ :if=/usr/local/bin/foomatic-rip:\ :sd=/var/spool/output:\ :sh After starting lpd, I then tried to print with lpr, lpr /etc/printcap. The printer starts up and begins to print, but then the paper light comes on and after pressing it, a blank sheet comes out. Anybody have any thoughts? Is my printcap wrong? Thanks. Today James Turner wrote: Well, it seems I'm still having issues with apsfilter. It prints the first 1/4 of the page on one sheet and the other 3/4 on another. I'm now trying the foomatic-rip script again, which is yielding the same result as last time. Some one emailed me a nice set of instructions off list, but I no longer have them since I thought apsfilter was working. Below is my /etc/printcap file, I have a2ps, hpijs and ghostscript all installed. Any help would be great, thanks. lp|DeskJet:\ :lp=/dev/ulpt0:\ :if=/usr/local/bin/foomatic-rip:\ :sd=/var/spool/lpd/lp:\ :lf=/var/spool/lpd/lp/log:\ :af=/usr/local/share/ppd/HP/HP-DeskJet_810C-hpijs.ppd.gz:\ :sh: Moved your posting down so it can be followed better. I never had much luck with apsfilter or hpijs. I have an old HP DeskJet 722C on an xp box. Everytime I do a new install of OpenBSD, I copy foomatic-rip the pertinent ppd file to /usr/local/bin use the following /etc/printcap entry: rp|windows line printer:\ :rp=HPDeskJet:\ :rm=remotexpbox:\ :af=/usr/local/bin/pnm2ppa.ppd:\ :if=/usr/local/bin/foomatic-rip:\ :sd=/var/spool/output:\ :mx#0:\ :sh I noticed your ppd file is either gzipped or the entry in your printcap is wrong. That may be a capability of apsfilter, foomatic or hpijs I'm not familiar with. Don't know, but in all probability, someone on the list may enlighten me. ;) Also, my printer is not usb so that may be an issue. I just know the procedure I outlined above works okay here. So, try putting the ungzipped ppd file into /usr/local/bin, set the path appropriately in printcap, then try lpr -Plp filetoprint Hope this helps. - --Denny White === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFGEc9oy0Ty5RZE55oRAi+EAJ9eVlnhCg3yNOPNr/Da71qsCZw8twCgiMtu DX8aoVA2QVqz0CsImN+GDHc= =Jfhw -END PGP SIGNATURE-
Re: console switching problem from desktop
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Today Neil E. Sprinlan wrote: Denny White wrote: There are actually 2 problems. First one is, when using ctrl-alt-f1 so forth, it goes to the other console fine, but when I try to switch back, all I see on the screen is the output from the underlying x rather than the desktop. If you use xdm to start X, your custom settings below call for trouble. /etc/X11/xdm/Xservers forces the X server to use ttyC4, which should not have a getty process attached. The other problem is, when I'm on the desktop in an xterm window, it's as though the settings in .profile like my aliases I have setup, aren't recognized, like they're not in the current environment settings. xsession or xinitrc files don't source your .profile. you need to start xterm with the '-ls' option or the loginShell resource set to TRUE to have the shell executed in them source it. Or put your settings in ~/.xsession (for xdm) or ~/.xinitrc (for startx). I never had anything like this happen when running 3.9. Now, on 4.0, I did a clean install, started having the problem, moved to stable, now current. Problem is still there. I'd suggest you compare your current setup with the one you used before (you did a backup, did you?). X has almost not changed between 3.9 and 4.0. -+-neil-+- Thanks for the answer, Neil. I've finally got it straightened out. And I use startx for x. The pertinent ttys settings are below. ttyC4 is once again off. I had misread the instructions a long time back, always used that terminal for x, it never seemed to have any problem. The other part about sourcing .profile from xterm puzzles me still, since I never had to add any switches in the fluxbox menu to the xterm command before in 3.7 through 3.9. It now reads (xterm) {xterm -ls } and all the aliases I use are once again there, so I know .profile is being sourced. And yep, I do a full dump at least monthly incrementals in between. ;) Thanks again for the info. Denny White (/etc/ttys snip) console /usr/libexec/getty Pc vt220 off insecure ttyC0 /usr/libexec/getty Pc vt220 on insecure ttyC1 /usr/libexec/getty Pc vt220 on insecure ttyC2 /usr/libexec/getty Pc vt220 on insecure ttyC3 /usr/libexec/getty Pc vt220 on insecure ttyC4 /usr/libexec/getty Pc vt220 off insecure ttyC5 /usr/libexec/getty Pc vt220 on insecure ttyC6 /usr/libexec/getty Pc vt220 on insecure ttyC7 /usr/libexec/getty Pc vt220 on insecure - |. . |L /| _ . |\ _| \--+._/| . / ||\| Y J ) / |/| ./ J |)'( |` F`.'/ ,. -| F __ .- f Merry Christmas Y | / .-'. `. /-. L___ | and a | J \ \ | | O\|.-' l Happy New Year j _J \ .-\/ O | | \ |F `-.___.,-' '-F -_. \ .-' `-' L__ ) / __J _ _. -' )._. |-' _,' ,' `-|.' /_. \_| F `-..___..,-'_.,' /.- ._. /'/.' .' `\ /L /' |/ _.-'-\ /'J ___.---'\| |\ .--' V | `. ` |/`. `-. `._) / .-.\ \ ( `\ `.\ GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A iD8DBQFFha+Qy0Ty5RZE55oRAp33AKC+gzjFCvuvxV5mGzSZ/4rmwGW3+gCfR/ly KOsYJxztr/EBsDJ//VIQrzI= =Q1XX -END PGP SIGNATURE-
Re: console switching problem from desktop
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Today Jeremy Huiskamp wrote: On 15-Dec-06, at 8:42 PM, Denny White wrote: There are actually 2 problems. First one is, when using ctrl-alt-f1 so forth, it goes to the other console fine, but when I try to switch back, all I see on the screen is the output from the underlying x rather than the desktop. http://www.openbsd.org/faq/faq7.html#SwitchConsole Okay, thanks Jeremy, I appreciate the memory jog. I'd read it when I first started using obsd apparently totally misunderstood it. I guess it never bit me before because I always used ttyC4 for startx which, in itself, shows my misunderstanding. I'd always had ttyC4 enabled, along with a couple more in rc.conf.local. Switching back forth between desktop other consoles okay now. I've done some more reading elseware, edited my fluxbox menu for xterm, changing the {xterm} to {xterm -ls } and now the aliases in .profile are once again working too, from xterm. Still don't understand why they used to work without that extra setting, but it's working, that's what counts. One good thing came from all this, I'm finally up to current without any apparent problems. Thanks again for your help. Denny White === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFFg7fEy0Ty5RZE55oRAszgAKCgeV9e/aRPRk3ozPqSACrJhcTv4wCePSlX L+TBjJHiH+VVz5h3b/ILQE8= =LGLV -END PGP SIGNATURE-
console switching problem from desktop
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 There are actually 2 problems. First one is, when using ctrl-alt-f1 so forth, it goes to the other console fine, but when I try to switch back, all I see on the screen is the output from the underlying x rather than the desktop. The other problem is, when I'm on the desktop in an xterm window, it's as though the settings in .profile like my aliases I have setup, aren't recognized, like they're not in the current environment settings. I never had anything like this happen when running 3.9. Now, on 4.0, I did a clean install, started having the problem, moved to stable, now current. Problem is still there. Right now I have 2 extra consoles configured in rc.local.conf but it was the same before I added them. I thought I had sent this message 2 days ago, but it never showed up in my daily mail, so, if it did go through I didn't get it for some reason, sorry. Also, I did read everything I could think of google all over, trying to find some info on this problem. I've worked on it for 2 days now, but I'm just not getting anywhere. Don't know if it'll help, but I'm including some system info below. It's a big message, but I tried to include anything I could think of that'd help. - --- OpenBSD 4.0-current (GENERIC) #2: Thu Dec 14 03:37:12 CST 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium III (GenuineIntel 686-class) 802 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 268005376 (261724K) avail mem = 236601344 (231056K) using 3302 buffers containing 13524992 bytes (13208K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(f4) BIOS, date 07/19/02, BIOS32 rev. 0 @ 0xfb140, SMBIOS rev. 2.3 @ 0xf0800 (35 entries) bios0: Concentric 1234 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 70102 dobusy 1 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0xdf84 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdef0/112 (5 entries) pcibios0: PCI Exclusive IRQs: 9 10 11 pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371SB ISA rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0x8000 0xc8000/0x800 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82815 Hub rev 0x04 ppb0 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0x05 pci1 at ppb0 bus 1 vga1 at pci1 dev 5 function 0 3DFX Interactive Voodoo3 rev 0x01 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) fxp0 at pci1 dev 8 function 0 Intel 82562 rev 0x03, i82562: irq 11, address 00:01:80:0b:76:77 inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0 xl0 at pci1 dev 10 function 0 3Com 3c905C 100Base-TX rev 0x78: irq 11, address 00:01:03:1a:2f:21 bmtphy0 at xl0 phy 24: Broadcom 3C905C internal PHY, rev. 7 ichpcib0 at pci0 dev 31 function 0 Intel 82801BA LPC rev 0x05 pciide0 at pci0 dev 31 function 1 Intel 82801BA IDE rev 0x05: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: WDC WD400BB-00AUA1 wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors wd1 at pciide0 channel 0 drive 1: WDC WD300BB-00AUA1 wd1: 16-sector PIO, LBA, 28629MB, 58633344 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 4 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: HP, CD-Writer+ 9500b, 1.06 SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 uhci0 at pci0 dev 31 function 2 Intel 82801BA USB rev 0x05: irq 10 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ichiic0 at pci0 dev 31 function 3 Intel 82801BA SMBus rev 0x05: irq 9 iic0 at ichiic0 uhci1 at pci0 dev 31 function 4 Intel 82801BA USB rev 0x05: irq 11 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered auich0 at pci0 dev 31 function 5 Intel 82801BA AC97 rev 0x05: irq 9, ICH2 AC97 ac97: codec id 0x41445360 (Analog Devices AD1885) ac97: codec features headphone, Analog Devices Phat Stereo audio0 at auich0 isa0 at ichpcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 lm0 at isa0 port 0x290/8: W83627HF npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80
Re: {ftp3,anoncvs3}.usa.openbsd.org outage?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/14/06, Ben Calvert [EMAIL PROTECTED] wrote: plier.ucar.edu ( {ftp3,anoncvs3}.usa.openbsd.org ) has been down for the last several days. Does anyone know if this is a permanent or temporary outage? scanning the anoncvs mirror list at http://www.openbsd.org/anoncvs.html#CVSROOT i notice that at least one other mirror is pulling from anoncvs3.usa, Thanks, ben Today Jason Crawford wrote: I talked with Todd earlier today, hard disk failure, he's currently working on getting everything back up. - I think what we need to do is convince people who live in the lands they live in to build the nations. George W. Bush October 11, 2000 Presidential Debate -- Winston-Salem, North Carolina. Should read my own damned sys messages more often. ;) Glad someone commented on this. As of the date in the script output below, today i.e., still nothing. Thanks too, for the harddrive failure update. Now no urgent need to change my supfile knowing that info. Script started on Tue Nov 14 15:01:47 2006 # cvsup -g -L 2 obsd-supfile Parsing supfile obsd-supfile Connecting to anoncvs3.usa.openbsd.org Cannot connect to anoncvs3.usa.openbsd.org: Connection refused Will retry at 15:07:11 ^C # ^D Script done on Tue Nov 14 15:02:17 2006 Happy Turkey Month .--. {\ / q {\ { `\ \ (-(~` { '.{`\ \ \ ) {'-{ ' \ .-'-. \ \ {._{'.' \/ '.) \ {_.{. {`| {._{ ' { ;'-=-. | {-.{.' { ';-=-.`/ {._.{.;'-=- .' {_.-' `'.__ _,-' |||` .='==, Quand vous dansez avec le diable, le diable ne change pas. Seulement vous changement. GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A iD8DBQFFWjDny0Ty5RZE55oRAo9OAKDOekGKL+Ksf7e1tZq4jDNPATEYKACeOEp1 ZRffXe5H9DYoR/xhDmdRTPg= =2WD9 -END PGP SIGNATURE-
serial console question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've hunted around the archives, googled, read the faq on serial consoles, read what's in my copy of Absolute OpenBSd, but can't seem to find what I need to fix my problem. Running obsd 3.9 on one box obsd 3.8 on an ancient p90. I connected my nullmodem cable to #1 serial connection on each box. I've got the regular suggested settings in ttys, that is: tty00 /usr/libexec/getty std.9600 vt100 on secure. I know about the security problem with 'secure' but this is just on my lan, for learning purposes. I also tried different baud rates and vt settings, but the same thing happens each time. After I connect from the client box with 'tip tty00' I type 'set tty com0'on the other box, the display comes up on the client box really weird, spread out across the screen wrapping, more often than not, after a few minutes, it starts making a continuous alarm sound and you can't enter anything else in. I have gotten as far as logging in a couple of times, but not too many. Even after hitting ~. to disconnect, most of the time you can't reboot in the proper manner. It'll get as far as 'syncing' that's it. It just hangs. One box are the other has to be reset then the other box will finish syncing reboot. My friend told me that problems like that usually are caused by the fifo, that I should disable it, but I haven't figured out how to do it. I looked at GENERIC and see the pccom settings but nothing about disabling fifo. I did boot -c saw pccom in there, but again, I don't know what to do about it. I was wondering too, if it's a problem between the video cards. vga1 at pci0 dev 6 function 0 Matrox MGA Millenium 2064W (Storm) rev 0x01 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) vga1 at pci1 dev 5 function 0 3DFX Interactive Voodoo3 rev 0x01 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) But, from the looks of it, I don't see how. This message is already long, but if anyone wants me to put in both dmesgs, let me know. Thanks for any help, advice, links, etc, I can get to help me fix this. Denny White GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A iD4DBQFEwtzwy0Ty5RZE55oRAo7SAJjiGfcPEl4CuVitg36tMSHfXrEpAJ9xP2D1 dLlz5lm3LYnLvYyvQDv8XQ== =M3SL -END PGP SIGNATURE-
Re: serial console question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Today Nick Holland wrote: Denny White wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've hunted around the archives, googled, read the faq on serial consoles, read what's in my copy of Absolute OpenBSd, but can't seem to find what I need to fix my problem. Running obsd 3.9 on one box obsd 3.8 on an ancient p90. I connected my nullmodem cable to #1 serial connection on each box. I've got the regular suggested settings in ttys, that is: tty00/usr/libexec/getty std.9600vt100on secure. You did that on ONLY ONE BOX, right? ONLY the box you are trying to use the serial console on, NOT the box that is running tip(1). (trust me, you don't want to do this on both boxes, then run tip on one of them... In fact, don't assume, go check it. Really. I know this is a potential issue because I once forgot I had set a machine up for a serial terminal...then months later, tried to use it as the terminal for a machine with a serial console. ugly.) I know about the security problem with 'secure' but this is just on my lan, for learning purposes. I also tried different baud rates and vt settings, but the same thing happens each time. After I connect from the client box with 'tip tty00' I type 'set tty com0'on the other box, the display comes up on the client box really weird, spread out across the screen wrapping, more often than not, after a few minutes, it starts making a continuous alarm sound and you can't enter anything else in. I have gotten as far as logging in a couple of times, but not too many. Even after hitting ~. to disconnect, most of the time you can't reboot in the proper manner. It'll get as far as 'syncing' that's it. It just hangs. One box are the other has to be reset then the other box will finish syncing reboot. My friend told me that problems like that usually are caused by the fifo, that I should disable it, Your friend is wrong, I do think. If anything, that would make things worse, not better. FIFOs on serial ports are your friend, at least if properly implemented. Yes, some HW vendors have been known to screw it up. Disabling isn't the right answer, though...new hardware is a better plan. Once Again, a dmesg would have been nice. but I haven't figured out how to do it. I looked at GENERIC and see the pccom settings but nothing about disabling fifo. I did boot -c saw pccom in there, but again, I don't know what to do about it. I was wondering too, if it's a problem between the video cards. more likely to be a problem with the color of the case. (i.e., no, it's not the video cards). Assuming you didn't alter /etc/ttys on both machines, you need a third vote. A wild guess, based on a lack of hard information, is that you have a machine running out of spec. Which one? No idea. Could be the old P90 (age) or the newer machine (cheap junk), or both a little out of spec in different directions. That's why you need a third machine to try, and see who can talk to what. It sounds like you are doing things pretty close to right, otherwise, you would not have logged in at all. I'm more suspicious of changes made to /etc/ttys on the terminal machine, though. Nick. You hit it right on the head, Nick. I had it set in ttys on both boxes, and yes, it was UGLY! ;) My friend, BTW, doesn't run any BSD's, nix's, just windows, although he's done some serial stuff with his ham setup. Sorry for the bother. Should've read a little more closely. Working perfectly now. I did experiment with a faster baud rate after I got it working with your advice, again not really knowing what I was up to. ;) Won't do that again. 9600 is fine. I wanted to make some use of the old box. It's a really old Prioris XL 590DP server given to my friend. It was left over after Katrina wiped out the office it was in. Surprisingly enough, the only thing bad in it was one scsi hd. Sorry for not putting dmesgs in before. Thanks for bailing me out, Nick. Denny White GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A iD8DBQFEwvhvy0Ty5RZE55oRAg6lAKC/86focJpl7gpoZ2pZU/Y/pMDWsACgszrF lkewrBMsI3Rz+kqAF9y2xX0= =vUt8 -END PGP SIGNATURE-
Re: web based FTP client?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jul 19 FTP wrote: On Wed, Jul 19, 2006 at 12:43:39PM -0500, Eric Pancer wrote: On Wed, 2006-07-19 at 19:22:00 +0200, FTP wrote... is any 'good' web based ftp client around which can run in chrooted Apache? Runs in chroot'ed apachehrmm...methinks you are new to all of this, right? Maybe you should contact your local sysadmin and ask him the explain how things work between client, server, and where things are run. If you mean that a client executable served back from a webserver, thats easy: it'd be a non-executable object under any document root. Thanks for your help If you have a browser, you have an FTP client. However, FTP over HTTP is the major suck. the browser itself is only for anonymous ftp :-( I actually wanted FTP over HTTP Thanks George I use mozilla-firefox with the fireftp extension. Works fine, fast. Authenticated logins. I know, I u/l stuff to my account on my isp. No need to get your sysadmin all in a dither. ;) Denny White GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A iD8DBQFEvy+Yy0Ty5RZE55oRAoapAJ9XDZBAZn49GzbsoIaeQmt1zkW2RQCfWXem m48bI0FXhhsXHz3VPy1Kvro= =aivs -END PGP SIGNATURE-
Epson 1200 Scanner problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Epson 1200 scanner worked great until a few days ago. Shut all boxes down for a bad thunderstorm blowing through. Later when I turned this box on with the scanner, scanimage -L no longer picked it up, although it showed up in dmesg with uscanner0 as usual. I was able to run scanimage -d epson:/dev/uscanner and get it to scan, but the gimp no longer could acquire it. Thinking maybe something happened during the storm, like a surge somewhere, I hooked the scanner up to my xp box and it worked fine, went through its warmup, scanned okay, etc. Hooked it back up to this box running obsd 3.9. Immediate message at the terminal when you connect/disconnect it. Tried disabling uscanner in the kernel and setting epson.conf to use libusb with usb 0x04b8 0x0104. When I use sane-find-scanner I get found USB scanner (vendor=0x04b8 [EPSON], product=0x0104 [Perfection1200]) at libusb:/dev/usb0:/dev/ugen0 # Your USB scanner was (probably) detected. It may or may not be # supported by SANE. Try scanimage -L and read the backend's manpage. where before I disabled uscanner, sane-find-scanner couldn't find it. Scanimage -L still doesn't find it. And, scanimage with the - -d switch info no longer works. When this problem first started, I hadn't changed the kernel or rebuilt userland for quite a while, so it's not that I changed something in the system to cause it. Since, however, I have tried updating my source code, rebuilding everything, reinstalling sane-backends and frontends, but to no avail. Included my dmesg below, hoping someone would see something I'd missed. Any ideas very welcome. Denny White - ---dmesg follows OpenBSD 3.9-stable (GENERIC) #1: Mon Jul 17 10:40:42 CDT 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium III (GenuineIntel 686-class) 801 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 268017664 (261736K) avail mem = 237563904 (231996K) using 3297 buffers containing 13504512 bytes (13188K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(f4) BIOS, date 07/19/02, BIOS32 rev. 0 @ 0xfb140 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 70102 dobusy 1 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0xdf84 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdef0/112 (5 entries) pcibios0: PCI Exclusive IRQs: 9 10 11 pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371SB ISA rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0x8000 0xc8000/0x800 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82815 Hub rev 0x04 ppb0 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0x05 pci1 at ppb0 bus 1 vga1 at pci1 dev 5 function 0 3DFX Interactive Voodoo3 rev 0x01 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) fxp0 at pci1 dev 8 function 0 Intel 82562 rev 0x03, i82562: irq 11, address 00:01:80:0b:76:77 inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0 xl0 at pci1 dev 10 function 0 3Com 3c905C 100Base-TX rev 0x78: irq 11, address 00:01:03:1a:2f:21 bmtphy0 at xl0 phy 24: Broadcom 3C905C internal PHY, rev. 7 ichpcib0 at pci0 dev 31 function 0 Intel 82801BA LPC rev 0x05 pciide0 at pci0 dev 31 function 1 Intel 82801BA IDE rev 0x05: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: WDC WD400BB-00AUA1 wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors wd1 at pciide0 channel 0 drive 1: WDC WD300BB-00AUA1 wd1: 16-sector PIO, LBA, 28629MB, 58633344 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 4 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: HP, CD-Writer+ 9500b, 1.06 SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 uhci0 at pci0 dev 31 function 2 Intel 82801BA USB rev 0x05: irq 10 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ichiic0 at pci0 dev 31 function 3 Intel 82801BA SMBus rev 0x05: irq 9 iic0 at ichiic0 uhci1 at pci0 dev 31 function 4 Intel 82801BA USB rev 0x05: irq 9 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered auich0 at pci0 dev 31 function 5 Intel 82801BA AC97 rev 0x05: irq 9, ICH2 AC97 ac97: codec id 0x41445360 (Analog Devices AD1885) ac97: codec features headphone, Analog Devices Phat Stereo audio0 at auich0 isa0 at ichpcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port
Re: Epson 1200 Scanner problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Epson 1200 scanner worked great until a few days ago. Shut all boxes down for a bad thunderstorm blowing through. Later when I turned this box on with the scanner, scanimage -L no longer picked it up, although it showed up in dmesg with uscanner0 as usual. I was able to run scanimage -d epson:/dev/uscanner and get it to scan, but the gimp no longer could acquire it. Thinking maybe something happened during the storm, like a surge somewhere, I hooked the scanner up to my xp box and it worked fine, went through its warmup, scanned okay, etc. Hooked it back up to this box running obsd 3.9. Immediate message at the terminal when you connect/disconnect it. Tried disabling uscanner in the kernel and setting epson.conf to use libusb with usb 0x04b8 0x0104. When I use sane-find-scanner I get found USB scanner (vendor=0x04b8 [EPSON], product=0x0104 [Perfection1200]) at libusb:/dev/usb0:/dev/ugen0 # Your USB scanner was (probably) detected. It may or may not be # supported by SANE. Try scanimage -L and read the backend's manpage. where before I disabled uscanner, sane-find-scanner couldn't find it. Scanimage -L still doesn't find it. And, scanimage with the -d switch info no longer works. When this problem first started, I hadn't changed the kernel or rebuilt userland for quite a while, so it's not that I changed something in the system to cause it. Since, however, I have tried updating my source code, rebuilding everything, reinstalling sane-backends and frontends, but to no avail. Included my dmesg below, hoping someone would see something I'd missed. Any ideas very welcome. Denny White ---dmesg follows OpenBSD 3.9-stable (GENERIC) #1: Mon Jul 17 10:40:42 CDT 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium III (GenuineIntel 686-class) 801 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 268017664 (261736K) avail mem = 237563904 (231996K) using 3297 buffers containing 13504512 bytes (13188K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(f4) BIOS, date 07/19/02, BIOS32 rev. 0 @ 0xfb140 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 70102 dobusy 1 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0xdf84 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdef0/112 (5 entries) pcibios0: PCI Exclusive IRQs: 9 10 11 pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371SB ISA rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0x8000 0xc8000/0x800 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82815 Hub rev 0x04 ppb0 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0x05 pci1 at ppb0 bus 1 vga1 at pci1 dev 5 function 0 3DFX Interactive Voodoo3 rev 0x01 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) fxp0 at pci1 dev 8 function 0 Intel 82562 rev 0x03, i82562: irq 11, address 00:01:80:0b:76:77 inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0 xl0 at pci1 dev 10 function 0 3Com 3c905C 100Base-TX rev 0x78: irq 11, address 00:01:03:1a:2f:21 bmtphy0 at xl0 phy 24: Broadcom 3C905C internal PHY, rev. 7 ichpcib0 at pci0 dev 31 function 0 Intel 82801BA LPC rev 0x05 pciide0 at pci0 dev 31 function 1 Intel 82801BA IDE rev 0x05: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: WDC WD400BB-00AUA1 wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors wd1 at pciide0 channel 0 drive 1: WDC WD300BB-00AUA1 wd1: 16-sector PIO, LBA, 28629MB, 58633344 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 4 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: HP, CD-Writer+ 9500b, 1.06 SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 uhci0 at pci0 dev 31 function 2 Intel 82801BA USB rev 0x05: irq 10 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ichiic0 at pci0 dev 31 function 3 Intel 82801BA SMBus rev 0x05: irq 9 iic0 at ichiic0 uhci1 at pci0 dev 31 function 4 Intel 82801BA USB rev 0x05: irq 9 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered auich0 at pci0 dev 31 function 5 Intel 82801BA AC97 rev 0x05: irq 9, ICH2 AC97 ac97: codec id 0x41445360 (Analog Devices AD1885) ac97: codec features headphone, Analog Devices Phat Stereo audio0 at auich0 isa0 at ichpcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0