Announcing Livingston County BSD User Group (LivBUG)

2015-05-06 Thread James Turner
[Please keep inquires off list if you're interested in LivBUG]

This is a one time spam to all the *BSD mailing lists to announce a new
BSD User Group I'm trying to start in Livingston County, Michigan. I'm
calling it LivBUG [0]. I'd like to invite anyone from the Brighton,
Fowlerville, Howell, Pinckney and nearby communities to join us at our
Inaugural Meeting (TBA) [1]. As of now we plan on holding our meetings
at the Hamburg Township Library. I plan on giving an introduction talk
on OpenBSD (originally presented by fellow OpenBSD developer Brian
Callahan).

If you're interested in attending a meeting please join our mailing list
over at LivBUG [0] or are Meetup.com page [1] (we are currently using
meetup.com as a temporary space while we build more infrastructure and
gage interest). Thanks for tolerating the spam!

[0] http://livbug.org
[1] 
http://www.meetup.com/Livingston-County-BSD-User-Group-LivBUG/events/222334139/

-- 
James Turner



Re: Intel Centrino Advanced-N 6030 -

2012-04-23 Thread James Turner
I have this same card and have the same issues as the original poster. I
tested on an April 19 amd64 snapshot.

Does anyone know if anyone is looking into adding support for this card?



Re: is the Lemote Yeeloong available in the US?

2010-04-26 Thread James Turner
In case anyone is still interested, a US based reseller of the 10in
Lemote Yeeloong has popped up in Boston, MA. I just placed my order and
hope to have it this weekend.

It looks like Freedom Included does group buys direct from Lemote then
resells them preloaded with gnewsense (a fsf approved linux distro).
Anyways just wanted to put that out there for those interested. You can
buy them online at http://freedomincluded.com.

I can't wait to get OpenBSD on this machine and hopefully will be able
to help test diff's if needed.



Re: how to fire up an intel wireless card ipw0 on lenovo thinkpad x31?

2008-05-24 Thread James Turner
On Sat, May 24, 2008 at 06:51:13PM +0200, elflord woods wrote:
> hi all
> my tp x31 is well supported by the beloved openbsd according to
> http://www.openbsd.org/i386-laptop.html
> and in my dmesg i see that my card is recognized
> but the light indicator for wireless connection can not be turned on
> I've tried dhclient ipw0
> no luck neither
> 
> do i need some kind of firmware to get it working ?
> 
> what does it mean by firmware and how do i go about to install it?
> 
> btw; what are the usual commands for configuring a wireless card ?
> can someone kindly type some examples please ?
> for example: what commands give a list of available wireless connections ?
> and what command let me choose one of these ? etc
> 
> my school offers a wireless connection without any passwords and stuff
> so all i need is the most basic config
> 
> many thanks in advance
> 

If you look in the man page for ipw you will see a link to the firmware
you need to install, you can simple run pkg_add http://... and reboot,
in this man page there will also be examples on how to connect to an
access point as well.

-- 
James Turner
BSD Group Consulting
http://www.bsdgroup.org



Re: ral(4) hostap plea

2008-05-07 Thread James Turner
On Wed, May 07, 2008 at 11:16:29AM -0500, Sam Fourman Jr. wrote:
> >  I'd really like to have a sure-fire, always-works MiniPCI card for
> >  hostap that can be bought individually... any suggestions? are the 11n
> >  ral(4) any more predictable? anyone got CM9 working?
> 
> We have had decent luck with ral RT2860 chipset we use the edimax PCI cards.
> I sent a few of them to damien@ last year and he made a driver for
> them that in in OpenBSD 4.3
> 
> 
> Sam Fourman Jr.

It looks like newegg carries the EDIMAX EW-7128G.  Since I bought the
previous card from them as well, maybe I'll have them switch them and
see if I have any better luck.  Thanks for the suggestion.

-- 
James Turner
BSD Group Consulting
http://www.bsdgroup.org



Re: ral(4) hostap plea

2008-05-07 Thread James Turner
On Wed, May 07, 2008 at 07:30:17AM +, Stuart Henderson wrote:
> On 2008-05-07, Daniel Melameth <[EMAIL PROTECTED]> wrote:
> > Personally, I've given up on using OpenBSD as an AP--though I have for
> > years.  Back when I used wi, everything worked very well.  However,
> > 802.11g drivers/cards work very poorly as APs.
> 
> Some 802.11g drivers/cards... I've had nothing but good luck with
> acx, though I don't know where to buy them in MiniPCI format without
> dismantling a commercial AP.
> 

I appreciate all the feedback I've gotten so far.  I'm actually using a
normal PCI card in my soekris net5501.  If you have any suggestions
where I might get a PCI version of a acx card I'd defiantly give it a
try.  As far as the ral(4) goes I guess for now I'll just stick with my
wi(4) and be happy.

-- 
James Turner
BSD Group Consulting
http://www.bsdgroup.org



ral(4) hostap plea

2008-05-06 Thread James Turner
I've been trying to get my new ral(4) card to work like I would expect it 
to. I've read through most if not all the talk on misc@ about running these
cards in hostap mode.  I would really like to replace my wi(4), which
works really well, with my new ral(4) and enjoy 11g and later wpa.
Sadly, the performance is just not there in both 11b or 11g modes.

Some info, the ral(4) is a Gigabyte GN-WP01GS which is an RT2561S.  My
basic hostname.ral0 reads: inet 192.168.1.1 255.255.255.0 NONE media
autoselect mode 11g mediaopt hostap nwid my_net nwkey secret chan 11.
I've enabled RAL_DEBUG in my kernel and selected one of the standard
channels with the highest power.  This is on 4.2 -release + patches.  If
anyone has any new or additional information that might be helpful I
would greatly appreciate it, otherwise I guess I'll stick to my trusted
wi(4).

-- 
James Turner
BSD Group Consulting
http://www.bsdgroup.org



Re: E-mail/calendar suite on OpenBSD (Kerio on OpenBSD)?

2007-08-24 Thread James Turner
On Fri, Aug 24, 2007 at 03:14:17PM +0200, Nikolaus Hiebaum wrote:
> Hi,
> 
> I am currently searching for an e-mail/calendar application which is
> capable of the following:
> - support clients running on Windows machines (Outlook)
> - support clients running on Linux/OpenBSD machines (Evolution)
> - provide Webmail incl. the calendar
> 
> One software, which looks like it can do all of that, I found is Kerio
> Mail Server (http://www.kerio.com/kms_home.html). It appears to be capable
> of synchronizing between the various sessions.
> 
> My question is whether anyone of you has successfully installed this on
> OpenBSD. It seems to be supported by Linux (Redhat and Suse) and MacOS.
> 
> My other question is whether you know of alternatives. Evolution looks
> very nice, but it doesn't have the webmail feature *with* the calendar.
> 
> I am really open to suggestions.
> 
> Thanks,
> Nick

You might want to check out http://www.horde.org/groupware/.

-- 
James Turner
BSD Group Consulting
http://www.bsdgroup.org



Re: searching packages? pkg_grep?

2007-08-09 Thread James Turner
On Thu, Aug 09, 2007 at 09:49:27AM -0700, John N. Brahy wrote:
> If I don't have ports installed, is there a way to do a search of all
> the available package names to find one I'm looking for?
> 
> 
> 
> Something like a pkg_grep...

I use alias pkg_search="echo ls | ftp -a \$PKG_PATH | sed 's/.*\ //g' \
| grep -i".

-- 
James Turner
BSD Group Consulting
http://www.bsdgroup.org



Re: Print Quotas

2007-08-06 Thread James Turner
On Mon, Aug 06, 2007 at 04:22:15PM +0100, Edd Barrett wrote:
> Hi there,
> 
> Is it possible to implement print quotas on openbsd?
> 
> I have found this software via google, but I am not sure if it is
> compatible (lprng is required, I think we use plain lpd?)
> 
> I would rather not use cups, but if thats the only way, then so be it.
> 
> Thanks
> 
> 
> -- 
> Best Regards
> 
> Edd
> 
> ---
> http://students.dec.bournemouth.ac.uk/ebarrett

I'm not sure about setting up print quotes with lpd but lprng is in the
ports tree.

-- 
James Turner
BSD Group Consulting
http://www.bsdgroup.org



Re: ral in hostap mode

2007-08-04 Thread James Turner
On Sat, Aug 04, 2007 at 08:50:59PM +0200, Jurjen Oskam wrote:
> On Wed, Jul 18, 2007 at 11:56:18AM -0600, Daniel Melameth wrote:
> 
>   [ral PCI card performed poorly in hostap mode; packet loss etc]
> > Have you tried setting the channel and/or forcing the mode?  I also
> > have a ral-based AP and while it performs fairly well, its reliability
> > and consistency does not appear to be as good as the wi-based APs.
> 
> (Sorry for the late reply - I was away for a few weeks)
> 
> Well, the problem was the antenna and/or the placement of the antenna. I
> used a separate antenna from the start, but for testing I tried another
> one in a different location (unreachable with the first antenna). This
> solved the problem entirely: even ping -f doesn't lose one single packet
> nor reports any duplicates, and that is with ping -f running for a good
> 30 seconds.
> 
> There's one thing that I noticed though, the contents of hostname.ral0 are:
> 
> inet 192.168.2.1 255.255.255.0 NONE media autoselect mediaopt hostap nwid 
> stupendous mode 11g
> 
> When I put a "nwflag nobridge" in there, it doesn't work. It complains
> about not being able to set the flag. (Sorry, I didn't copy-paste the error
> message). Only after the interface is placed in hostap mode, I can set the
> nobridge flag, both with ifconfig and netstart ral0. Does this sound
> familiar to anyone? Should I gather more data so I can create a proper
> report?
> 
> -- 
> Jurjen Oskam
> 
> Savage's Law of Expediency:
> You want it bad, you'll get it bad.

You have to put nwflag nobridge on it's own line within your
hostname.ral0 file.  So put all the inet stuff then hit enter and add
the nwflag nobridge line.

-- 
James Turner
BSD Group Consulting
http://www.bsdgroup.org



Re: How to track port updates in stable?

2007-08-03 Thread James Turner
On Sat, Aug 04, 2007 at 01:10:24AM +0100, Stuart Henderson wrote:
> On 2007/08/03 18:54, Will Maier wrote:
> > On Fri, Aug 03, 2007 at 06:35:51PM -0500, Todd Pytel wrote:
> > > I don't spend as much time following OpenBSD as I used to, so
> > > perhaps I'm missing something. But there used to be a
> > > ports-security mailing list used for announcing updated ports.
> > > That list doesn't exist any more, or at least doesn't appear to
> > > have had anything posted to it in a very long time.
> > 
> > It exists, but is inactive.
> > 
> > > Is there some other official way to track changes to ports? 
> > 
> > By looking at the output of `cvs up`? By watching commits via
> > [EMAIL PROTECTED] I do both, and find it sufficient.
> > 
> > > Absent that, has anyone come up with a simple hack to feed to cron
> > > to accomplish the same thing? 
> > 
> > I pull updated ports and src daily via cron, and read
> > (ports|source)-changes@ for commit messages, etc. Does that not
> > achieve what you need?
> 
> Or there's odc/owc if you prefer summaries:
> http://www.squish.net/mailman/listinfo
> 
> Even looking at output of a cron-scripted 'cvs up' or cvsync
> is useful.
> 
If you want some sort of web interface you could also subscribe to
http://ports.openbsd.nu/rss.php.

-- 
James Turner
BSD Group Consulting
http://www.bsdgroup.org



Re: Boot by USB thumb for installation

2007-06-23 Thread James Turner
On Sat, Jun 23, 2007 at 11:18:20PM +0800, Alex Kwan wrote:
> Hi!
> 
> Because the laptop doesn't have a CD-ROM.
> can the OpenBSD boot by the USB thumb for installation?
> (the BIOS supported boot by USB hard disk).
> 
> thanks!

Yes, you can install OpenBSD onto a usb hard drive and then boot it and
run bsd.rd to install OpenBSD onto your laptops hard drive.

-- 
James Turner
BSD Group Consulting
http://www.bsdgroup.org



OT: Michigan BSD user group

2007-06-05 Thread James Turner
I was wondering if anyone knows of any BSD user groups located in
Michigan?  I'm pretty sure the Southeast Michigan group is no longer
meeting.  Also would anyone in the Detroit/Ann Arbor area be interested
in getting a BSD user group started?  Feel free to contact me off list
if you might be interested.

-- 
James Turner
BSD Group Consulting
http://www.bsdgroup.org



Re: ImageMagick and chroot

2007-05-17 Thread James Turner
On Thu, May 17, 2007 at 12:19:42PM -0300, Marcos Laufer wrote:
> Hello ,
> 
> Has anyone had luck in making ImageMagick work into the www chroot
> environment?
> Some web applications need to use the 'convert' system command, so i
> included it
> into the /var/www/bin/ directory and also every file that gets mentioned
> when you
> run : ldd convert , into it's corresponding directory.
> 
> system:/var/www/bin{4}# ldd convert
> convert:
> StartEnd  Type Open Ref GrpRef Name
>   exe  10   0  convert
> 04d59000 24d68000 rlib 01   0
> /usr/local/lib/libWand.so.10.1
> 0d077000 2d147000 rlib 02   0
> /usr/local/lib/libMagick.so.10.1
> 05d92000 25dc5000 rlib 03   0  /usr/local/lib/libxml2.so.9.0
> 00d9 20e6c000 rlib 04   0
> /usr/local/lib/libiconv.so.4.0
> 0b4b9000 2b4c1000 rlib 04   0  /usr/lib/libz.so.4.1
> 02e0c000 22e1 rlib 03   0  /usr/local/lib/libbz2.so.10.3
> 0c23c000 2c243000 rlib 03   0  /usr/local/lib/libpng.so.4.2
> 06a32000 26a38000 rlib 03   0
> /usr/local/lib/libjpeg.so.62.0
> 04b0b000 24b1b000 rlib 03   0
> /usr/local/lib/libjasper.so.1.0
> 032e1000 232e8000 rlib 05   0  /usr/lib/libm.so.2.1
> 060fb000 2611f000 rlib 03   0
> /usr/local/lib/libtiff.so.37.3
> 0ee7e000 2ee89000 rlib 03   0
> /usr/local/lib/liblcms.so.1.12
> 054f3000 254f9000 rlib 03   0  /usr/local/lib/libjbig.so.2.0
> 04183000 241b4000 rlib 01   0  /usr/lib/libc.so.39.0
> 0a2a3000 0a2a3000 rtld 01   0  /usr/libexec/ld.so
> system:/var/www/bin{5}#
> 
> But it still doesn't work. What am i missing?
> Any suggestions or ideas are welcome.
> 
> Marcos

You could trying manually chrooting into /var/www and running the
command by hand to see if it throws any useful warnings.  You will need
a shell within the chroot while testing tho.

-- 
James Turner
http://bsdgroup.org



Re: Failing to get [EMAIL PROTECTED] in X

2007-05-12 Thread James Turner
If I'm reading this correctly, 1680x1050 is not a supported mode for an
external monitor on an x40. 1600x1200 is the only 1600 mode it supports.
It's towards the end of the page, but like I said, I could be
interpreting this wrong.

http://www-307.ibm.com/pc/support/site.wss/MIGR-58221.html

--
James Turner
http://calminferno.net



Re: order

2007-05-08 Thread James Turner
On Tue, May 08, 2007 at 04:29:55PM -0500, Jacob Yocom-Piatt wrote:
> James Turner wrote:
> >As stated in a previous email from austin@ to misc@, they have shipped
> >the CDs that they where holding back due to the book delays.  Also if
> >your getting booted off ftp.openbsd.org it's because there are to many
> >users.  How about trying a mirror, that's why they are there.
> >
> >  
> 
> stop the presses! there are mirrors?! you mean that rt.fm isn't just a random 
> FTP 
> server that happens to have the openbsd filesets on it?

Your the one making the cocky ass remark, you need to donate more in
order to use the openbsd.org ftp.

-- 
James Turner
http://calminferno.net



Re: order

2007-05-08 Thread James Turner
On Tue, May 08, 2007 at 03:21:35PM -0500, Jacob Yocom-Piatt wrote:
> John Nietzsche wrote:
> >I am facing the same scenario.
> >
> 
> ditty dit ditto here, even after i said to cancel the book order to get the 
> CDs.
> 
> when i try to download the install sets from the FTP sites i get booted off 
> too. 
> maybe if i donate more i'd be able to download the filesets that are on CDs i 
> paid 
> for more than a month ago?
> 
> >On 5/8/07, Paolo Supino <[EMAIL PROTECTED]> wrote:
> >>Hi
> >>
> >>   Does anyone know how I can contact Austin@ except emails? My CDs and
> >>book have yet to arrive (preorderd on the day orders were opened) and
> >>I'm not getting any feedback/reaction via email :-(
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>TIA
> >>Paolo

As stated in a previous email from austin@ to misc@, they have shipped
the CDs that they where holding back due to the book delays.  Also if
your getting booted off ftp.openbsd.org it's because there are to many
users.  How about trying a mirror, that's why they are there.

-- 
James Turner
http://calminferno.net



Re: pkg_add -u question

2007-05-06 Thread James Turner
On Sun, May 06, 2007 at 10:16:11AM -0400, Clint M. Sand wrote:
> man pkg_add states: 
> 
> -u Update the given pkgname(s), and anything it depends upon.
> If no pkgname is given, pkg_add will update all installed packages.
> This relies on PKG_PATH to figure out the new package names.
> 
> However if I run -u with no package name, it tells me a list of possible
> candidates, but doesn't actually update anything. I have to manually do
> each one. Am I doing something wrong or is this expected for some
> reason?
> 
> (on i386)
> # dmesg | head -1
> OpenBSD 4.1-stable (GENERIC) #0: Sat May 5 21:34:13 EDT 2007
> # echo $PKG_PATH ftp://ftp.nyc.openbsd.org/pub/OpenBSD/4.1/packages/i386/
> # pkg_add -u
> Candidates for updating autossh-1.2g -> autossh-1.3
> Candidates for updating bzip2-1.0.3 -> bzip2-1.0.4
> Candidates for updating cdrtools-2.01 -> cdrtools-2.01p0
> Looking for updates: complete
> #
> 
> 
> Any ideas? 
> 
Try pkg_add -iu -F update -F updatedepends instead.  You will have
better results.

-- 
James Turner
http://calminferno.net



Re: 4.1-stable compile fails

2007-05-03 Thread James Turner
On Thu, May 03, 2007 at 10:41:32AM -0500, Sean Malloy wrote:
> I have been getting exactly the same error trying to track 4.1 STABLE
> and 4.0 STABLE on my amd64 machine. I have tried several different
> mirrors with no luck. I don't know how to fix the problem, but you are
> not alone.
> -- 
> Sean Malloy
> Registered GNU/Linux User #417855
> www.catgrepsort.com

I had the same issue yesterday.  I was able to use
anoncvs.usa.openbsd.org to restore editor.c.  Also there is my
posting on tech@, where someone posted some links where you might be
able to get the files from cvsweb.  Might be worth checking out.



Re: openbsd 4.0 server, new setup, getting panics

2007-05-01 Thread James Turner
On Tue, May 01, 2007 at 01:29:50PM -0700, John Mendenhall wrote:
> OpenBSD Gurus,
> 
> I just setup a new openbsd 4.0 server.  No problems with install.
> As root, I created a new user on the console.  I logged out and
> logged back in as new user.  All okay.
> 
> I remotely logged in as new user, using ssh.  Asked for password,
> I gave it, it showed the message of the day, then the server panicked.
> 
>   panic: amap_wipeout: corrupt amap
> 
>   (hand copied off console screen)
> 
> It rebooted.  I logged into the server remotely.  It worked fine.
> 
> I started up lynx to start downloading packages.
> As it loaded the package page (btw, the 4.0 link is missing),
> it panicked again.
> 
>   panic: uvm_fault (0xd6c09974, ...) -> e
>   kernel page fault trap code = 0
> 
>   (hand copied off console screen)
> 
> I have reviewed the patches for 4.0 and see no connection
> between these problems and the patches.
> 
> I have searched the net for anything relating to this.  I
> could not find anything relevant.
> 
> My initial assumption is, there must be a hardware problem.
> How do I determine where the problem is so I can start
> diagnosing it?
> 
> Thanks in advance for any assistance or pointers or search
> terms to use.
> 
> JohnM
> 
> -- 
> john mendenhall
> [EMAIL PROTECTED]
> surf utopia
> internet services
>
Not to sound rude, but 4.1 was released today.  Although, it might a
hardware issue, you should start with a more recent release. 



Re: The OpenBSD Command-Line Companion Book delayed (or MIA?)

2007-04-26 Thread James Turner
On Thu, Apr 26, 2007 at 01:40:12PM -0400, Jean-Daniel Beaubien wrote:
> Will this cause a delay for those of us who ordered both the 4.1 CD set and
> the book in the same order?
> 
> Thanks,
> 
> Jd
> 
> On 4/25/07, Austin Hook <[EMAIL PROTECTED]> wrote:
> >
> > Shipments of the OpenBSD Command-Line Companion Book have been delayed and
> > ETA is unknown at this time.  According to the author's blog:
> >
> > http://devguide.net
> >
> > there was a problem with the UPS shipment, but we are unable to contact
> > Jacek Artymiak directly, and we have no tracking number for the shipment.
> >
> > This book was to have been printed in the USA and shipped to the Belgian
> > and Sweet Grass, MT, USA depots in early April.
> >
> > We know from past events that Jacek is subject to a certain chronic
> > illness that can sometimes suddenly put him in the hospital for a few
> > months at a time.  If such is the case, we wish him all the best.
> >
> > For the mean time we have removed the book from the order pages, and will
> > ship existing orders without the book, showing it as a backorder.
> >
> > If anyone knows which US printer Jacek had the books made at we would
> > try to trace them from that end.  Let us know.
> >
> > OpenBSD Distribution
> > Milk River, Alberta, Canada

Please re-read the original email.

--
James Turner 



Re: The OpenBSD Command-Line Companion Book delayed (or MIA?)

2007-04-25 Thread James Turner
On Wed, Apr 25, 2007 at 04:38:32PM -0700, Austin Hook wrote:
> Shipments of the OpenBSD Command-Line Companion Book have been delayed and
> ETA is unknown at this time.  According to the author's blog:
> 
> http://devguide.net
> 
> there was a problem with the UPS shipment, but we are unable to contact
> Jacek Artymiak directly, and we have no tracking number for the shipment.
> 
> This book was to have been printed in the USA and shipped to the Belgian
> and Sweet Grass, MT, USA depots in early April.
> 
> We know from past events that Jacek is subject to a certain chronic
> illness that can sometimes suddenly put him in the hospital for a few
> months at a time.  If such is the case, we wish him all the best.
> 
> For the mean time we have removed the book from the order pages, and will
> ship existing orders without the book, showing it as a backorder.
> 
> If anyone knows which US printer Jacek had the books made at we would
> try to trace them from that end.  Let us know.
> 
> OpenBSD Distribution
> Milk River, Alberta, Canada
>

This is sad news, I've been anxiously awaiting my copy.  I hope Jacek is
doing well and the books will eventually arrive at there final
destinations.

--
James Turner 



Re: PHP mail() function + postFix + OpenBSD

2007-04-24 Thread James Turner
On Tue, Apr 24, 2007 at 04:25:52PM +0200, Gregory ESNAUD-FREE wrote:
> L. V. Lammert a icrit :
> >On Tue, 24 Apr 2007, Gregory ESNAUD-FREE wrote:
> >
> >  
> >>Hi World,
> >>
> >>I've got some questions concerning the using of the mail() php function
> >>under OpenBSD using Postfix as MTA.
> >>Note that I only want to use my OpenBSD Postfix Server as a mail sender
> >>for fogotten password of my web site ^^
> >>
> >>First, the "mail" shell command works very well. I receive test mails
> >>from [EMAIL PROTECTED] (using root login) towards
> >>[EMAIL PROTECTED]
> >>Second, the PHP cli (you know under shell) on a php script containing
> >>the mail() php function works very well too (always under root login)
> >>
> >>BUT, when i browsing (via FireFox or IE) and I clik on my button "send
> >>my password", nothing happen !! It's like the www users can't use the
> >>/usr/sbin/sendmail...
> >>
> >>
> >Are you running chroot'd (default)? If so, you need something like
> >'mini_sendmail', or run Apache 'naked' with a -u.
> >
> >OR, you could RTFM & Google.
> >
> > Lee
> >
> >
> >  Leland V. Lammert[EMAIL PROTECTED]
> >Chief Scientist Omnitec Corporation
> > Network/Internet Consultants   www.omnitec.net
> >
> >
> >  
> Hi all,
> 
> Thanks everybody for your help, but still doesn't work...
> 
> I tried with femail, then i tried with mini_sendmail (with this: 
> http://hanz.nl/p/showblog&blog_key=39), and always same result... i.e. 
> nothing 
> happens...
> 
> I'm getting crazy !!
> 
> thanks again,
> Greg
>
First make sure mini_sendmail is located in /var/www/bin.  Second add or
edit the sendmail_path in your php.ini and restart apache.  Make it look
something like this: sendmail_path = "/bin/mini_sendmail -t
[EMAIL PROTECTED]" where [EMAIL PROTECTED] is the address you want the
mail to come from.  Hope this helps.



iwi firmware error on snapshot

2007-04-07 Thread James Turner
I'm running OpenBSD -current from the snapshot dated 04-06.  Everytime I bring
my thinkpad x40 out of sleep I get "iwi0: fatal firmware error".  I'm running
the generic kernel and have a intel 2200bg card.  Bring the laptop out of sleep
did not yeild firmware errors on 4.0 -release or previous snapshots pre xenocara
(not that the new x has anything to do with it, I just remember it working fine
before I tried out a new snapshot with xenocara).  Not sure if this is the right
place to post this, but just thought i'd get the information out there.  

-- 
James Turner <[EMAIL PROTECTED]>
http://calminferno.net



Re: USB Printer Recommendation

2007-04-03 Thread James Turner
On Mon, Apr 02, 2007 at 10:52:03PM -0500, Denny White wrote:
> -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
> ===
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.6 (OpenBSD)
> 
> iD8DBQFGEc9oy0Ty5RZE55oRAi+EAJ9eVlnhCg3yNOPNr/Da71qsCZw8twCgiMtu
> DX8aoVA2QVqz0CsImN+GDHc=
> =Jfhw
> -END PGP SIGNATURE-
Thanks for the help, gunzipping the ppd file and moving it into /usr/local/bin
worked.  Except it's doing what apsfilter did, printing the first half on one
sheet of paper and the rest on another.  Could this be a problem with the
printer?  This is the point where I wished I follower everyone's advice and just
spent the money on a laser postscript printer!



Re: USB Printer Recommendation

2007-04-02 Thread James Turner
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:

> 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.



Re: ftpd/ftp help

2007-03-25 Thread James Turner
Once again, I solved my own problem 10seconds after I emailed the list.  You'd
think the official FAQ would always be the first place one would look when they
encounter a problem.

http://www.openbsd.org/faq/pf/ftp.html#server

On Mon, Mar 26, 2007 at 01:30:52AM -0400, James Turner wrote:
> In the process of setting up ftpd I seem to have hit a snag.  When I try to 
> ftp
> to my server from home (OpenBSD -current) all goes well until I issue the ls 
> command.
> I get this error: "435 Can't build data connection: No such file or 
> directory."  I 
> am able to ls when I connect from the server itself and from a linux box 
> outside my 
> home network.  I figured it might be my nat rules but I am able to connect to 
> other
> ftp sites just fine (like rt.fm).  My inetd.conf looks like this "ftp   stream
> tcp nowait  root  /usr/libexec/ftpd ftpd -AUS" and I opened up port 21 on my
> firewall.  Does anyone have any ideas?  Thanks.



ftpd/ftp help

2007-03-25 Thread James Turner
In the process of setting up ftpd I seem to have hit a snag.  When I try to ftp
to my server from home (OpenBSD -current) all goes well until I issue the ls 
command.
I get this error: "435 Can't build data connection: No such file or directory." 
 I 
am able to ls when I connect from the server itself and from a linux box 
outside my 
home network.  I figured it might be my nat rules but I am able to connect to 
other
ftp sites just fine (like rt.fm).  My inetd.conf looks like this "ftp   stream
tcp nowait  root  /usr/libexec/ftpd ftpd -AUS" and I opened up port 21 on my
firewall.  Does anyone have any ideas?  Thanks.



Re: Strange locate behavior

2007-03-23 Thread James Turner
Please disregard my last question.  A simple search of the archive whould have
told me all I wanted to know.  This is what I get for typing first and reading
second.



Strange locate behavior

2007-03-23 Thread James Turner
I'm running OpenBSD -current from 3-10-07.  I just ran
"/usr/libexec/locate.updatedb" as root on my system.  When I run "locate mutt" I
get this error "locate database header corrupt, bigram char outside 0, 32-127:
14".  I've tried to run locate.updatedb again but the following locate yields
the same result.  Any ideas?



Re: USB Printer Recommendation

2007-03-21 Thread James Turner
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!

On Wed, Mar 21, 2007 at 03:46:19PM -0400, James Turner wrote:
> 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.
> 
> On Wed, Mar 21, 2007 at 11:15:33AM -0600, Bob Beck wrote:
> > > 
> > > Although this seems like a great printer, my biggest limitation is price. 
> > >  We
> > > have a university property disposition near me, which I'm going to go 
> > > check out
> > > later today.  My friend has gotten a couple sun sparc stations from them 
> > > for
> > > under $20 bucks.  I'm hoping they will have some cheap laser printers.  
> > > Thanks
> > > for your recommendation.
> > > 
> > 
> > If you're going to a surplus auction from a university, any of the
> > older school hp lasrjet printers (4m+ 5m, etc. etc.) that do postscript
> > would be a good pick. heavy as all hell, and not good on power
> > (so you need to turn them off when you're not using it if you're
> > paying the power bill) but you can still get cartridge refills easy
> > for them.  You may need to be a bit clever and take some oil of wintergreen
> > to the rubber pickup rollers if they're old and slick. 
> > 
> > A postscript ethernet capable laserjet would work well. 
> > your biggest risk there is you get one with a crappy cartridge or 
> > drum, meaning you'd need to shell out another hundred bucks or so
> > to make it work, which can turn your $20 printer into $170 printer
> > pretty quick. 
> > 
> > Do your homework and find somethign that speaks postscript.
> > 
> > -Bob



Re: USB Printer Recommendation

2007-03-21 Thread James Turner
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.

On Wed, Mar 21, 2007 at 11:15:33AM -0600, Bob Beck wrote:
> > 
> > Although this seems like a great printer, my biggest limitation is price.  
> > We
> > have a university property disposition near me, which I'm going to go check 
> > out
> > later today.  My friend has gotten a couple sun sparc stations from them for
> > under $20 bucks.  I'm hoping they will have some cheap laser printers.  
> > Thanks
> > for your recommendation.
> > 
> 
>   If you're going to a surplus auction from a university, any of the
> older school hp lasrjet printers (4m+ 5m, etc. etc.) that do postscript
> would be a good pick. heavy as all hell, and not good on power
> (so you need to turn them off when you're not using it if you're
> paying the power bill) but you can still get cartridge refills easy
> for them.  You may need to be a bit clever and take some oil of wintergreen
> to the rubber pickup rollers if they're old and slick. 
> 
>   A postscript ethernet capable laserjet would work well. 
> your biggest risk there is you get one with a crappy cartridge or 
> drum, meaning you'd need to shell out another hundred bucks or so
> to make it work, which can turn your $20 printer into $170 printer
> pretty quick. 
> 
>   Do your homework and find somethign that speaks postscript.
> 
>   -Bob



Re: USB Printer Recommendation

2007-03-21 Thread James Turner
On Wed, Mar 21, 2007 at 10:27:40AM -0600, Bob Beck wrote:
> * James Turner <[EMAIL PROTECTED]> [2007-03-21 00:11]:
> > I'm looking to finally cut the last strand that keeps windows on my hard 
> > drive.  I currently have a brother mfc-210c printer.  I'm looking to 
> > replace it with a cheap openbsd/lpr friendly solution.  Although the mfc is 
> > a multifunction printer, that is not a requirement for the new printer.  It 
> > has finally sunk in how sad it is to have to keep windows just to print, 
> > it's also a pain in the ass to have to reboot every time I want to print.  
> > Any suggestions would be awesome, thanks.
> > 
> 
>   LexMark C510 laser. Color, ethernet, postscript. $325 CDN 6 months ago
> just works.
> 
>   I've had nothing but pain and aggravation with bullshit inkjets.
> 
>   -B
> 

Although this seems like a great printer, my biggest limitation is price.  We
have a university property disposition near me, which I'm going to go check out
later today.  My friend has gotten a couple sun sparc stations from them for
under $20 bucks.  I'm hoping they will have some cheap laser printers.  Thanks
for your recommendation.



Re: USB Printer Recommendation

2007-03-20 Thread James Turner
On Tue, Mar 20, 2007 at 11:19:39PM -0700, Greg Thomas wrote:
> On 3/20/07, James Turner <[EMAIL PROTECTED]> wrote:
> >I'm looking to finally cut the last strand that keeps windows on my hard 
> >drive.
> 
> You didn't mention ink or laser but my Brother HL-5250DN works GREAT
> for the price.
> 
> Greg
>

Ink is fine, I'm just looking for something to print my term papers.  I prefer 
a price tag under $50. 



USB Printer Recommendation

2007-03-20 Thread James Turner
I'm looking to finally cut the last strand that keeps windows on my hard drive. 
 I currently have a brother mfc-210c printer.  I'm looking to replace it with a 
cheap openbsd/lpr friendly solution.  Although the mfc is a multifunction 
printer, that is not a requirement for the new printer.  It has finally sunk in 
how sad it is to have to keep windows just to print, it's also a pain in the 
ass to have to reboot every time I want to print.  Any suggestions would be 
awesome, thanks.



Re: soekris net4511 + ral + wep

2007-01-19 Thread James Turner
Quick update.  When I run ral0 in 11b mode with wep enabled clients can
associate with the access point.  Anyone know why wep doesn't work in 11g
mode?

> I just got my soekris net4511 in the mail today.  I've got it setup to my
> liking minus wep support.  Below is my /etc/hostname.ral0 and my dmesg.
>  When I use nwkey 0x0... my clients can no longer connect to the
> wireless network.  I was wondering if this is the method you use to set a
> wep
>  key in hostap mode or if there is another way to do so.
>
> Also I set "/dev/wd0a / ffs ro,noatime 1 1" is my /etc/fstab, but it
> doesn't seem to mount read-only.  I can still write to the system and my
> chan
> ges stay after a reboot.  I get a Device-busy when it attempts to mount
> during bootup.
>
> Thanks.
>
> /etc/hostname.ral0:
> inet 192.168.1.1 255.255.255.0 NONE media autoselect mediaopt hostap mode
> 11g nwid soek
> ris nwkey 0x4782cacc2983fefa894ff45863 chan 9
>
> dmesg:
> OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006
> [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: AMD Am486DX4 W/B or Am5x86 W/B 150 ("AuthenticAMD" 486-class)
> cpu0: FPU
> real mem  = 66678784 (65116K)
> avail mem = 52568064 (51336K)
> using 839 buffers containing 3436544 bytes (3356K) of memory
> mainbus0 (root)
> bios0 at mainbus0: AT/286+(00) BIOS, date 20/50/27, BIOS32 rev. 0 @
> 0xf7840
> pcibios0 at bios0: rev 2.0 @ 0xf/0x1
> pcibios0: pcibios_get_intr_routing - function not supported
> pcibios0: PCI IRQ Routing information unavailable.
> pcibios0: PCI bus #1 is the last bus
> bios0: ROM list: 0xc8000/0x9000
> cpu0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> elansc0 at pci0 dev 0 function 0 "AMD ElanSC520 PCI" rev 0x00: product 0
> stepping 1.1, CPU clock 100MHz, reset 40
> gpio0 at elansc0: 32 pins
> cbb0 at pci0 dev 9 function 0 "TI PCI1410 CardBus" rev 0x02: irq 10
> ral0 at pci0 dev 16 function 0 "Ralink RT2561" rev 0x00: irq 11, address
> 00:13:d3:85:7e:b4
> ral0: MAC/BBP RT2561C, RF RT2527
> sis0 at pci0 dev 18 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq
> 5, address 00:00:24:c6:c3:a8
> nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
> sis1 at pci0 dev 19 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq
> 9, address 00:00:24:c6:c3:a9
> nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
> cardslot0 at cbb0 slot 0 flags 0
> cardbus0 at cardslot0: bus 1 device 0 cacheline 0x10, lattimer 0x3f
> pcmcia0 at cardslot0
> isa0 at mainbus0
> 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
> wdc0 at isa0 port 0x1f0/8 irq 14
> wd0 at wdc0 channel 0 drive 0: 
> wd0: 4-sector PIO, LBA, 977MB, 2001888 sectors
> wd0(wdc0:0:0): using BIOS timings
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: 
> spkr0 at pcppi0
> npx0 at isa0 port 0xf0/16: using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pccom0: console
> pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> biomask f5c5 netmask ffe5 ttymask ffe7
> pctr: no performance counters in CPU
> dkcsum: wd0 matches BIOS drive 0x80
> root on wd0a
> rootdev=0x0 rrootdev=0x300 rawdev=0x302



soekris net4511 + ral + wep

2007-01-19 Thread James Turner
I just got my soekris net4511 in the mail today.  I've got it setup to my
liking minus wep support.  Below is my /etc/hostname.ral0 and my dmesg.
 When I use nwkey 0x0... my clients can no longer connect to the
wireless network.  I was wondering if this is the method you use to set a
wep
 key in hostap mode or if there is another way to do so.

Also I set "/dev/wd0a / ffs ro,noatime 1 1" is my /etc/fstab, but it
doesn't seem to mount read-only.  I can still write to the system and my
chan
ges stay after a reboot.  I get a Device-busy when it attempts to mount
during bootup.

Thanks.

/etc/hostname.ral0:
inet 192.168.1.1 255.255.255.0 NONE media autoselect mediaopt hostap mode
11g nwid soek
ris nwkey 0x4782cacc2983fefa894ff45863 chan 9

dmesg:
OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Am486DX4 W/B or Am5x86 W/B 150 ("AuthenticAMD" 486-class)
cpu0: FPU
real mem  = 66678784 (65116K)
avail mem = 52568064 (51336K)
using 839 buffers containing 3436544 bytes (3356K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 20/50/27, BIOS32 rev. 0 @ 0xf7840
pcibios0 at bios0: rev 2.0 @ 0xf/0x1
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc8000/0x9000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
elansc0 at pci0 dev 0 function 0 "AMD ElanSC520 PCI" rev 0x00: product 0
stepping 1.1, CPU clock 100MHz, reset 40
gpio0 at elansc0: 32 pins
cbb0 at pci0 dev 9 function 0 "TI PCI1410 CardBus" rev 0x02: irq 10
ral0 at pci0 dev 16 function 0 "Ralink RT2561" rev 0x00: irq 11, address
00:13:d3:85:7e:b4
ral0: MAC/BBP RT2561C, RF RT2527
sis0 at pci0 dev 18 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq
5, address 00:00:24:c6:c3:a8
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 19 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq
9, address 00:00:24:c6:c3:a9
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 1 device 0 cacheline 0x10, lattimer 0x3f
pcmcia0 at cardslot0
isa0 at mainbus0
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
wdc0 at isa0 port 0x1f0/8 irq 14
wd0 at wdc0 channel 0 drive 0: 
wd0: 4-sector PIO, LBA, 977MB, 2001888 sectors
wd0(wdc0:0:0): using BIOS timings
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
biomask f5c5 netmask ffe5 ttymask ffe7
pctr: no performance counters in CPU
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302



Re: fdformat a usb floppy drive

2007-01-17 Thread James Turner
Although I was unable to format the floppy using fdformat I am able to dd the 
floppy image to the disk.  dd if=floppy40.fs of=/dev/rsd0c bs=32k.  I am also 
able to boot from the floppy and use the install program.

On Wed, 17 Jan 2007 13:09:39 -0700
Tim Jones <[EMAIL PROTECTED]> wrote:

> On Jan 17, 2007, at 12:47 PM, James Turner wrote:
> 
> > I recently got my hands on a IBM branded usb floppy drive.  I am  
> > trying to format it with fdformat before I dd the floppy40.fs image  
> > to it.  Below is the error that fdformat exits with and a full  
> > dmesg.  The floppy information is at the bottom.  I've tried both  
> > attaching the drive with and without a floppy in it.  Thanks for  
> > any help.
> >
> > [EMAIL PROTECTED] james]# fdformat /dev/rsd0c
> > fdformat: not a floppy disk: /dev/rsd0c
> 
> This probably won't work as the floppy is mounted as a SCSI hard  
> drive rather than a floppy disk, so the major for the device is being  
> assigned to the sd driver instead of the fd driver.  You won't be  
> able to format it with fdformat as the sd driver doesn't work with  
> devices in the same manner as the fd driver.
> 
> > umass0 at uhub1 port 1 configuration 1 interface 0
> > umass0: Y-E DATA USB Floppy Drive, rev 1.10/5.01, addr 2
> > umass0: using UFI over CBI with CCI
> > scsibus0 at umass0: 2 targets
> > sd0 at scsibus0 targ 1 lun 0:  SCSI0 0/ 
> > direct removable
> > sd0: 1MB, 1 cyl, 64 head, 32 sec, 512 bytes/sec, 2880 sec total
> 
> You would need to re-route the umass0 match to the fd driver instead  
> of the SCSI sd driver.
> 
> Does anyone have detains on that type of remap, or is this a driver  
> level issue that will require new code work?
> 
> Tim



fdformat a usb floppy drive

2007-01-17 Thread James Turner
I recently got my hands on a IBM branded usb floppy drive.  I am trying to 
format it with fdformat before I dd the floppy40.fs image to it.  Below is the 
error that fdformat exits with and a full dmesg.  The floppy information is at 
the bottom.  I've tried both attaching the drive with and without a floppy in 
it.  Thanks for any help.

[EMAIL PROTECTED] james]# fdformat /dev/rsd0c
fdformat: not a floppy disk: /dev/rsd0c

OpenBSD 4.0-current (GENERIC) #1342: Sun Jan  7 23:55:37 MST 2007 
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1.40GHz ("GenuineIntel" 686-class) 599 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
real mem  = 1063743488 (1038812K)
avail mem = 962195456 (939644K)
using 4256 buffers containing 53309440 bytes (52060K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(59) BIOS, date 12/14/04, BIOS32 rev. 0 @ 0xfd740, 
SMBIOS rev. 2.33 @ 0xe0010 (56 entries)
bios0: IBM 2371GHU
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 85%
apm0: AC off, battery charge high, estimated 2:53 hours
apm0: flags 30102 dobusy 0 doidle 1 
pcibios0 at bios0: rev 2.1 @ 0xfd6d0/0x930
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/256 (14 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc/0xc800! 0xcc800/0x1000 0xcd800/0x1000 0xdc000/0x4000! 
0xe/0x1
acpi at mainbus0 not configured
cpu0 at mainbus0 
cpu0: Enhanced SpeedStep 600 MHz (988 mV): speeds: 1400, 1300, 1200, 1100, 
1000, 900, 800, 600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82852GM Hub-PCI" rev 0x02 
"Intel 82852GM Memory" rev 0x02 at pci0 dev 0 function 1 not configured
"Intel 82852GM Configuration" rev 0x02 at pci0 dev 0 function 3 not configured
vga1 at pci0 dev 2 function 0 "Intel 82852GM AGP" rev 0x02: aperture at 
0xe000, size 0x800
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"Intel 82852GM AGP" rev 0x02 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x01: irq 11
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
uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x01: 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
uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x01: irq 11
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x01: irq 11
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
ppb0 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x81
pci1 at ppb0 bus 2
cbb0 at pci1 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0x8d: irq 11
sdhc0 at pci1 dev 0 function 1 "Ricoh 5C822 SD/MMC" rev 0x13: irq 11
sdmmc0 at sdhc0
em0 at pci1 dev 1 function 0 "Intel PRO/1000MT Mobile (82541GI)" rev 0x00: irq 
11, address 00:0a:e4:2e:be:36
iwi0 at pci1 dev 2 function 0 "Intel PRO/Wireless 2200BG" rev 0x05: irq 11, 
address 00:0e:35:e9:82:41
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801DBM LPC" rev 0x01
pciide0 at pci0 dev 31 function 1 "Intel 82801DBM IDE" rev 0x01: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide0: channel 1 disabled (no drives)
ichiic0 at pci0 dev 31 function 3 "Intel 82801DB SMBus" rev 0x01: irq 11
iic0 at ichiic0
auich0 at pci0 dev 31 function 5 "Intel 82801DB AC97" rev 0x01: irq 11, ICH4 
AC97
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
"Intel 82801DB Modem" rev 0x01 at pci0 dev 31 function 6 not configured
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
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: 
spkr0 at pcppi0
aps0 at isa0 port 0x1600/31
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask effd netmask effd ttymask 
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
root

dhclient -current

2007-01-07 Thread James Turner
I just upgraded to the most recent snapshot.  I am no longer able to get a
dhcp lease from my router.  I originally thought it was my most recent
firmware upgrade but I have since downgraded and still have the same
issue.  I was running an earlier snapshot version without any issues from
dhcp.  The error is below, any ideas or help would be great.  Thanks.

option domain-name (15) larger than buffer.
rejecting bogus offer.



Re: cvs usage question

2006-12-16 Thread James Turner
I fixed the problem.  It had nothing to do with using cvs through ssh. 
The key was running the cvs update in the background.  So adding "^webapp 
( cd /var/www/webapp; cvs -q update -d & )" to loginfo in my CVSROOT works 
perfectly with out any locking problems.


On Sun, 17 Dec 2006, James Turner wrote:

I should probably have noted this earlier, but I use cvs through ssh.  So I 
wonder if that might be the cause of the locking issue.


export CVS_RSH="ssh"
export CVSROOT=":ext:[EMAIL PROTECTED]:/home/username/cvsroot"




Re: cvs usage question

2006-12-16 Thread James Turner
I should probably have noted this earlier, but I use cvs through ssh.  So 
I wonder if that might be the cause of the locking issue.


export CVS_RSH="ssh"
export CVSROOT=":ext:[EMAIL PROTECTED]:/home/username/cvsroot"



Re: cvs usage question

2006-12-16 Thread James Turner
Below is the output of running cvs commit on my local repos.  As you can 
see the update tries to run on the server side but when it gets to the 
directory where I edited a file it has a lock error.  I'm guessing it's 
locked for the commit there for the update won't run on it.


Checking in header.tpl;
/home/james/cvsroot/webapp/smarty/templates/header.tpl,v  <--  header.tpl
new revision: 1.4; previous revision: 1.3
done
cvs update: Updating .
cvs update: Updating htdocs
cvs update: Updating htdocs/css
cvs update: Updating htdocs/images
cvs update: Updating includes
cvs update: Updating smarty
cvs update: Updating smarty/cache
cvs update: Updating smarty/configs
cvs update: Updating smarty/templates
cvs update: [00:09:51] waiting for james's lock in 
/home/james/cvsroot/webapp/smarty/templates


On Sun, 17 Dec 2006, Ingo Schwarze wrote:


James Turner wrote on Sat, Dec 16, 2006 at 11:28:43PM -0500:

jcs@ suggested looking at loginfo in CVSROOT, but I haven't had much luck
there.  I added "^webapp cd /var/www/webapp && cvs update -d" but there
seems to be a locking issue, I'm guessing cvs update tries to run before
the commit is finished, which it won't allow.


Are you sure?  `info cvs` says on page "C.3 The commit support files":

:: `loginfo'
:: The specified program is called when the commit is complete.

/usr/bin/cvs is neither suid nor sgid.  Did the user typing `cvs commit`
have write permission below /var/www/webapp?

If write permission below /var/www/webapp is indeed the issue
biting you, the simple solution is putting /var/www/webapp into
the same group the repository belongs to - the committing users
need write access to the repository anyway, so additional write
access to the web tree will cause little additional harm.




Re: cvs usage question

2006-12-16 Thread James Turner
Thanks for the recommendation, your the second person to suggest cron. 
jcs@ suggested looking at loginfo in CVSROOT, but I haven't had much luck 
there.  I added "^webapp cd /var/www/webapp && cvs update -d" but there 
seems to be a locking issue, I'm guessing cvs update tries to run before 
the commit is finished, which it won't allow.


On Sat, 16 Dec 2006, Michael Osburn wrote:


James,
	I do roughly the same thing with a few of my websites, with one 
exception,  I have a cron job that runs every hour to update the sites. This 
is not instantaneous but it works well enough for my sites. While you can 
adjust the timing to every five mins if you need it that quickly (as there 
would not be any bandwidth usage just disk IO) I found that this way results 
in way to much email confirming the updates during the times that I am not 
developing (while I am at work, or in bed for instance) and coming home to 
several hundred CVS update messages tends to get annoying, let alone makes my 
inbox a lot larger then I really want to deal with in a short amount of time. 
Hope this helps.


Michael Osburn
On Dec 16, 2006, at 8:11 PM, James Turner wrote:

I just started using cvs to manage a new web project had a usage question I 
was wondering if anyone could help me with.  Once I run "cvs commit" in my 
local repos I would like the server to automatically run a "cvs update" on 
a checkout which is located on the same server as the cvs repos.  I was 
wondering if this was possible and how you might go out doing it.  Thanks.




cvs usage question

2006-12-16 Thread James Turner
I just started using cvs to manage a new web project had a usage question 
I was wondering if anyone could help me with.  Once I run "cvs commit" in 
my local repos I would like the server to automatically run a 
"cvs update" on a checkout which is located on the same server as the cvs 
repos.  I was wondering if this was possible and how you might go out 
doing it.  Thanks.




Re: SOLVED: apmd resume + xlock

2006-12-12 Thread James Turner
Thanks for everyone's help.  I got xlock working with the suspend script 
by just removing the -mode matrix option.  The matrix mode uses to much 
cpu anyways.  I know have xidle and suspend script working great.  Thanks 
again.


On Tue, 12 Dec 2006, Greg Thomas wrote:


On 12/12/06, James Turner <[EMAIL PROTECTED]> wrote:

On a good note, if I add the -mode option back in and move the suspend
script to a resume script, xlock gets started on resume.  There is a
slight delay before xlock kicks in where you see the current xsession, but
I guess it's better then nothing.



I'll have to check my script when I get home, my laptop is currently
suspended so I can't log into it, but I don't see the current xsession
before xlock kicks in.

Greg




Re: apmd resume + xlock

2006-12-12 Thread James Turner
On a good note, if I add the -mode option back in and move the suspend
script to a resume script, xlock gets started on resume.  There is a
slight delay before xlock kicks in where you see the current xsession, but
I guess it's better then nothing.



Re: apmd resume + xlock

2006-12-12 Thread James Turner
I tried the script again without -mode matrix and it works just fine.  It
seems that running -mode matrix crashes x on resume.  Anyone have any
ideas why?

> Marcus,
>
> I tried your script, but when I come back from resume X seems to die and
> after a few minutes I get kicked to xdm.
>
>> Hi James,
>>
>> On 2006-12-12T11:45, James Turner wrote:
>>> xidle was a great suggestion thanks.  The below script doesn't work
>>> either, and for some reason when running apmd in debug mode nothing
>>> gets
>>> outputted from what I can tell.  For locking the screen before suspend
>>> I'll probably just stick with Theo's suggestion and run xlock & zzz,
>>> although I would love it to work on lid closer also.
>>
>> I use this:
>> $ cat /etc/apm/suspend
>> #!/bin/ksh
>> sudo -u  /bin/ksh -c "HOME=/home/;
>> /usr/X11R6/bin/xlock \
>> -display :0.0" &
>>
>> It works for me. If I close the lid, OpenBSD gets locked.
>>
>> hth,
>>
>> Marcus.



Re: apmd resume + xlock

2006-12-12 Thread James Turner
Marcus,

I tried your script, but when I come back from resume X seems to die and
after a few minutes I get kicked to xdm.

> Hi James,
>
> On 2006-12-12T11:45, James Turner wrote:
>> xidle was a great suggestion thanks.  The below script doesn't work
>> either, and for some reason when running apmd in debug mode nothing gets
>> outputted from what I can tell.  For locking the screen before suspend
>> I'll probably just stick with Theo's suggestion and run xlock & zzz,
>> although I would love it to work on lid closer also.
>
> I use this:
> $ cat /etc/apm/suspend
> #!/bin/ksh
> sudo -u  /bin/ksh -c "HOME=/home/;
> /usr/X11R6/bin/xlock \
> -display :0.0" &
>
> It works for me. If I close the lid, OpenBSD gets locked.
>
> hth,
>
> Marcus.



Re: apmd resume + xlock

2006-12-12 Thread James Turner
xidle was a great suggestion thanks.  The below script doesn't work 
either, and for some reason when running apmd in debug mode nothing gets 
outputted from what I can tell.  For locking the screen before suspend 
I'll probably just stick with Theo's suggestion and run xlock & zzz, 
although I would love it to work on lid closer also.


On Tue, 12 Dec 2006, Paul de Weerd wrote:


On Mon, Dec 11, 2006 at 11:13:08PM -0500, James Turner wrote:
| I've read the apmd and xlock man pages and am having trouble getting xlock
| to start after a resume.  I created the file /etc/apm/resume and chmod
| 755.  But for some reason, it doesn't run on resume.  Permissions are
| root/wheel.  On a weird note, when I ran sudo apmd rather then letting
| apmd start on boot xlock worked but it locked as root and not my logged in
| user.  Does anyone have any suggestions on how to get xlock to start on a
| resume.
|
| The contents of /etc/apm/resume are:
| #!/bin/sh
| xlock -mode matrix

From your description, I'd say that xlock can not find the DISPLAY
environment variable (only set within X) to run xlock on. Then, when
you start xlock by hand (probably from within X, thus giving it a
valid DISPLAY to connect to), it runs as root simply because apmd runs
as root.

Try putting xidle in your .xinitrc and have that run xlock. xidle then
runs under your own uid and will spawn an xlock owned by you which you
can then unlock using your own password.

An alternative might be to change your script. I have not tested the
following, so it may or may not work :

#!/bin/sh
export DISPLAY=:0.0
sudo -u  /usr/X11R6/bin/xlock -mode matrix

I find this, however, to be ugly and not the way things should be
done. Of course, YMMV.

Cheers,

Paul 'WEiRD' de Weerd

--

[<++>-]<+++.>+++[<-->-]<.>+++[<+

+++>-]<.>++[<>-]<+.--.[-]
http://www.weirdnet.nl/




apmd resume + xlock

2006-12-11 Thread James Turner
I've read the apmd and xlock man pages and am having trouble getting xlock 
to start after a resume.  I created the file /etc/apm/resume and chmod 
755.  But for some reason, it doesn't run on resume.  Permissions are 
root/wheel.  On a weird note, when I ran sudo apmd rather then letting 
apmd start on boot xlock worked but it locked as root and not my logged in 
user.  Does anyone have any suggestions on how to get xlock to start on a 
resume.


The contents of /etc/apm/resume are:
#!/bin/sh
xlock -mode matrix

Thanks in advance.



Re: [laptop died] best notebook suitable for OpenBSD

2006-12-04 Thread James Turner
I recently bought an IBM ThinkPad X40 off of ebay and couldn't be happier.
 Everything works out of the box, minus the manual pkg_add of the firmware
for iwi.  I would highly recommand the X40.



Re: OpenBSD 4.0 -current + cups-1.2.5p0

2006-12-01 Thread James Turner
Forgot about that, thanks.  It seems I miss spoke earlier.  The package 
from Brother actually contained one linux binary and library file. 
After enabling linux emulation new errors keep popping up.  It's so hard 
to debug this shit when each new shell script passes off it's output to 
another shell script using cat and pipes.  Needless to say my eyes hurt 
to much to look at this anymore tonight.


Pierre Lamy wrote:

Hint: Try setting the LogLevel to "debug" to find out more.

James Turner wrote:
Well I fixed the permissions problem by chgrp /dev/ulpt0 to _cups. 
However now when I try to print there are no errors and nothing is 
sent to the printer.  This might be my filters problem.  I have a 
MFC-210C and the only "drivers" available are linux ones, but they are 
just a lpr and cups-wrapper shell script.  If anyone has any other 
reasons why it won't print other then the filter I'd appreciate the 
suggestions.




Re: OpenBSD 4.0 -current + cups-1.2.5p0

2006-12-01 Thread James Turner
Well I fixed the permissions problem by chgrp /dev/ulpt0 to _cups. 
However now when I try to print there are no errors and nothing is sent 
to the printer.  This might be my filters problem.  I have a MFC-210C 
and the only "drivers" available are linux ones, but they are just a lpr 
and cups-wrapper shell script.  If anyone has any other reasons why it 
won't print other then the filter I'd appreciate the suggestions.




OpenBSD 4.0 -current + cups-1.2.5p0

2006-11-30 Thread James Turner
Hi all,

I just setup cups and am trying to print the test page from the cups web
admin page at http://localhost:631.  I start cupsd by running sudo
/usr/local/sbin/cupsd.  Printing fails with the below error.  It seems to
be a permission's error on the ulpt0 device.  If anyone has an idea how to
resolve this error I'd be grateful.

--Attached Error Log Output--
I [30/Nov/2006:23:39:49 -0500] Adding start banner page "none" to job 3.
I [30/Nov/2006:23:39:49 -0500] Adding end banner page "none" to job 3.
I [30/Nov/2006:23:39:49 -0500] Job 3 queued on "MFC210C" by "root".
I [30/Nov/2006:23:39:49 -0500] Started filter
/usr/local/libexec/cups/filter/pstops (PID 18940) for job 3.
I [30/Nov/2006:23:39:49 -0500] Started filter
/usr/local/libexec/cups/filter/brlpdwrapperMFC210C (PID 23749) for job 3.
I [30/Nov/2006:23:39:49 -0500] Started backend
/usr/local/libexec/cups/backend/usb (PID 21392) for job 3.
E [30/Nov/2006:23:39:49 -0500] PID 21392
(/usr/local/libexec/cups/backend/usb) stopped with status 1!
I [30/Nov/2006:23:39:49 -0500] Hint: Try setting the LogLevel to "debug"
to find out more.
E [30/Nov/2006:23:39:49 -0500] [Job 3] Unable to open USB device
"usb:/dev/ulpt0": Permission denied



3ware RAID status

2006-11-04 Thread James Turner
I was wondering if there is any way to find out the status of a 3ware raid
unit from within OpenBSD.  If not is the current twe driver compatible
with the 3ware tw_cli program if ran in linux or FreeBSD emulation?

Also, is development still being done on this driver or has the lack of
documentation provided by 3ware stalled all development?  Thanks for any
help.



Aironet MPI-350 Wireless Support?

2006-10-17 Thread James Turner
I've looked through the mailing list archives and haven't found any recent
information about Aironet MPI-350 Wireless support.  I just did a fresh
install of OpenBSD 3.9 on a ThinkPad T40 with this wireless card.  Dmesg
outputs this information ""Aironet MPI-350 Wireless" rev 0x00 at pci2 dev
2 function 0 not configured".  I'm currently in the process of upgrading
to -current in hopes that this card is now supported.  Can anyone provide
anymore information about the support of this card in OpenBSD?  Thanks.