Re: Looking for opinions and experiences

2010-06-19 Thread Carlos Alberto Pereira Gomes
* Rodney Hopkins  [19-06-2010 17:07]:
> What are people's opinions and experiences on running OpenBSD as a home 
> firewall on a laptop?

We all know that notebooks are not made to be used as firewalls. 

But, for a home firewall I think that an old notebook may be a nice
quiet and low powered server+ups+keyboard+monitor combo in a very small box. 

I have actually used an old toshiba celeron/1Ghz/256Mb/20Gb as my home 
firewall for almost five years (retired it recently).

> 
> I'm considering converting my old firewall running on a P200MMX with 96M 
> of RAM over to a laptop with a couple of add-in PCMCIA NICs. 

I tried this aproach with two pcmcia nics but it got too hot and
unstable (maybe some cooling problem specific to my notebook). I solved
it with usb-ethernet adapters.

> 
> I've read concerns about laptops (and components, including hard drives) 
> not being designed for 24x7 running, having to constantly have the screen 
> open so that proper cooling can take place through the keyboard, etc., 

I did not have any of these problems.

> 
> That's the kind of reliability I'm looking for in a laptop-based firewall.
> 
I would not rely on such machine for anything else but home
firewalling/filtering, if that is your case you will probably not get 
frustrated.


Regards,

-- 
Carlos



usb printer problem

2006-03-18 Thread Carlos Alberto Pereira Gomes
Hi,
I'm trying to configure an Epson Stylus C67 usb inkjet printer without
success.

My system is an snapshot from:
OpenBSD 3.9-beta (GENERIC) #591: Thu Jan 19 12:32:39 MST 2006

I have a simple /etc/printcap:  

   
lp|lpjet|EpsonC67:\
:lp=/dev/ulpt0:\
:mx#0:\
:rs=false:\
:sd=/var/spool/output/lp:\
:lf=/var/log/lpd-errs:\
:sh:

The printer is detected with a similar message both at the usb 1.1 
and usb 2.0 ports:

ulpt0 at uhub0 port 2 configuration 1 interface 0
ulpt0: EPSON USB Printer, rev 1.10/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode


But when I use:

"sudo cat sometextfile > /dev/ulpt0"

or

"lpr sometextfile"

the printer makes some noise, moves the printing head and stops without 
printing anything.

commands like "lpc restart all", "lpc clean all", "lprm -" don't help.

I've searched google and found that a similar problem was solved by using 
/dev/unlpt0 but this device is not present in openbsd.

http://www.onlamp.com/pub/a/bsd/2003/11/06/Big_Scary_Daemons.html 

Have anyone had such a problem?

Am I missing some configuration?


Thanks,

-- 
Carlos 



external usb enclosure and ide hard disk

2006-02-11 Thread Carlos Alberto Pereira Gomes
Hi,



is there a way to control an ide hard disk connected to an usb
external

enclosure, as to put it into idle or standby
mode?



I tried 'atactl'  without
success.



here is the relevant part of my
dmesg:



umass0 at uhub0 port 2 configuration 1 interface
0

umass0: Myson Century, Inc. USB Mass Storage Device, rev 2.00/b0.08,

addr
2

umass0: using ATAPI over
Bulk-Only

scsibus1 at umass0: 2
targets

sd0 at scsibus1 targ 1 lun 0:  SCSI0
0/direct

fixed

sd0: 38204MB, 38204 cyl, 64 head, 32 sec, 512 bytes/sec, 78242976
sec

total







Thanks,



--
Carlos