Re: sub-notebook computers

2008-08-02 Thread Przemyslaw Nowaczyk
On Fri, Aug 01, 2008 at 03:55:49PM -0600, Anathae Townsend wrote:
 Besides the ASUS EEEPCs, has anyone tried to get other sub-notebooks working
 under OpenBSD?
 
 Two computers I am thinking of are the MSI WIND (street price around $550
 canadian) and the Acer Aspire One A110-1955 (street price around $380
 canadian)
 
 Anathae

take a look at: http://jcs.org/laptops/wind/ where jcs@ writes about
the new MSI.. thinking about buying one myself..

cheers,

-- 
Przemyslaw Nowaczyk [EMAIL PROTECTED] http://pnowaczyk.com/
CS student @ Poznan University of Technology



Re: Shutdown script (derived from Simple startup daemon's on boot question?)

2007-09-19 Thread Przemyslaw Nowaczyk
On Wed, Sep 19, 2007 at 03:16:50PM +0300, Lars Nood??n wrote:
 Tomas wrote:
  Watching the thread about startup script I thought of a question about
  shutdown script. Is it necessary to shutdown certain services when
  machine goes down? Like for example mysql, dovecot, clamav, amavis or
  openvpn.
 
 I myself can't say if it's necessary, but it is probably good practice.
 
 I do notice that OpenBSD does not use anything similar to System V
 runlevels (which may or may not be good to avoid) but does provide
 /etc/rc.shutdown:
   http://www.openbsd.org/cgi-bin/man.cgi?query=rc.shutdown
 
  I've never saw anybody do that...
 
 Checking on my systems, I see that none of the packages that run daemons
 use it, even the ones installed from the official packages and ports.
 In fact, rc.shutdown appears completely empty.  Perhaps you have found
 an error / oversight?
 
 Regards,
 -Lars

postgresql-server uses it..

-- 
Przemyslaw Nowaczyk [EMAIL PROTECTED]
CS student @ Poznan University of Technology
http://www.student.put.poznan.pl/~przemyslaw.nowaczyk/



Re: tpb and tphdisk assistance

2007-05-28 Thread Przemyslaw Nowaczyk
On Mon, May 28, 2007 at 03:24:29AM -0400, openbsd fan wrote:
 tpb and tphdisk are only for thinkpads with apm not acpi...

not true.. i have a r50e with no apm and tpb works fine (at least
some usable part of it), i can change the volume, screen brightness,
turn on/off the thinklight and switch between LCD/CRT.. turning
on/off the wlan card does not work but the card itself works ok
(it's on by default)..

as for tphdisk i haven't tried it..

-- 
Przemyslaw Nowaczyk [EMAIL PROTECTED]
CS student @ Poznan University of Technology
http://www.student.put.poznan.pl/~przemyslaw.nowaczyk/



Re: log rotation

2007-05-15 Thread Przemyslaw Nowaczyk
On Tue, May 15, 2007 at 07:10:28PM +0200, Bambero wrote:
 Hello
 
 I'm wondering how to implement log rotation with chrooted apache.
 
 Anyone solved this problem ?
 
 Thanks
 Bambero

same as with any other log..? (newsyslog(8)  cron(8))
cheers,

-- 
Przemyslaw Nowaczyk [EMAIL PROTECTED]
CS student @ Poznan University of Technology
http://www.student.put.poznan.pl/~przemyslaw.nowaczyk/



Re: ASUS P5L-MX

2006-12-23 Thread Przemyslaw Nowaczyk
On Wed, Dec 20, 2006 at 08:23:30PM +1100, Jonathan Gray wrote:
 On Tue, Dec 19, 2006 at 04:23:50PM -0500, Frank Bax wrote:
  At 02:19 PM 12/16/06, Frank Bax wrote:
  
  Will OpenBSD 4.0 release run on ASUS P5L-MX?  The asus website does not 
  seem to mention which Gigabit chipset is used on this board.  Anyone using 
  this board?
  
  http://www.asus.com/products.aspx?l1=3l2=11l3=194model=1320modelmenu=2
  
  
  1) Gigabit Lan not recognised on this board.
  unknown vendor 0x1969 product 0x1048 (class network subclass ethernet, rev 
  0xb0) at pci2 dev 0 function 0 not configured
 
 This is an Attsanic L1, a company that was a spinoff of Asus, now
 owned by Atheros.
 
 No wide availability or documentation,  I rather doubt documentation
 will appear from our friends at Atheros somehow...
 

i know it's not documentation but there seems to be a gpl linux driver
for that nic..
http://dlsvr02.asus.com/pub/ASUS/mb/socketAM2/M2V/Linux_LAN.zip
maybe a starting point for a reverse engineered driver..
cheers,

-- 
Przemyslaw Nowaczyk [EMAIL PROTECTED]
CS student @ Poznan University of Technology
http://unixlab.cs.put.poznan.pl/~inf73015/



Re: ppp.conf for ueagle and pppoa

2006-11-29 Thread Przemyslaw Nowaczyk
 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: PC speaker
spkr0 at pcppi0
lpt2 at isa0 port 0x3bc/4: polled
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
ueagle0 at uhub1 port 2
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
ueagle0: at uhub1 port 2 (addr 2) disconnected
ueagle0 detached
ueagle0 at uhub1 port 2
ueagle0: Analog Devices Eagle II, rev 1.00/50.0b, addr 2
ueagle0: address: 00:60:4c:3b:86:3d

-- 
Przemyslaw Nowaczyk [EMAIL PROTECTED]
CS student @ Poznan University of Technology
http://unixlab.cs.put.poznan.pl/~inf73015/



Re: Perc 5/i

2006-10-10 Thread Przemyslaw Nowaczyk
On Tue, Oct 10, 2006 at 11:14:25AM +0200, Per-Olov Sj?holm wrote:
 Hi Misc
 
 Will the new built in SAS controller Perc 5/i in the Dell servers (LSI SAS 
 megaraid driver) work in OpenBSD 3.9? Will it work in the upcoming 4.0 
 release? We will eventually buy a bunch of Dell 1950 servers. And of course 
 we will have the firewalls on OpenBSD
 
 Tried to search for some info about it but couldn't find any.
 
 
 Thanks in advance
 Per-Olov Sjvholm
 
 -- 
 GPG keyID: 4DB283CE
 GPG fingerprint: 45E8 3D0E DE05 B714 D549 45BC CFB4 BBE9 4DB2 83CE
 

the mpi(4) manpage in current shows that the PERC 5/i is supported,
it also indicates that the driver appeared in 4.0..
don't have the hardware though to check it out..

-- 
Przemyslaw Nowaczyk [EMAIL PROTECTED]
CS student @ Poznan University of Technology
http://unixlab.cs.put.poznan.pl/~inf73015/



Re: Perc 5/i

2006-10-10 Thread Przemyslaw Nowaczyk
On Tue, Oct 10, 2006 at 06:55:54AM -0500, Marco Peereboom wrote:
 I assume you meant mfi(4).
 
 Yes it is supported through mfi(4), the NICs are supported though bnx(4) and
 kettenis fixed interrupt routing.  All these goodies made the 4.0 release.
 Nice OpenBSD box, I run several.
 
 On Tue, Oct 10, 2006 at 12:15:49PM +0200, Przemyslaw Nowaczyk wrote:
  On Tue, Oct 10, 2006 at 11:14:25AM +0200, Per-Olov Sj?holm wrote:
   Hi Misc
   
   Will the new built in SAS controller Perc 5/i in the Dell servers (LSI 
   SAS 
   megaraid driver) work in OpenBSD 3.9? Will it work in the upcoming 4.0 
   release? We will eventually buy a bunch of Dell 1950 servers. And of 
   course 
   we will have the firewalls on OpenBSD
   
   Tried to search for some info about it but couldn't find any.
   
   
   Thanks in advance
   Per-Olov Sjvholm
   
   -- 
   GPG keyID: 4DB283CE
   GPG fingerprint: 45E8 3D0E DE05 B714 D549 45BC CFB4 BBE9 4DB2 83CE
   
  
  the mpi(4) manpage in current shows that the PERC 5/i is supported,
  it also indicates that the driver appeared in 4.0..
  don't have the hardware though to check it out..
  

yeah, mfi(4) it is..
didn't see the MegaRAID.. sorry..

-- 
Przemyslaw Nowaczyk [EMAIL PROTECTED]
CS student @ Poznan University of Technology
http://unixlab.cs.put.poznan.pl/~inf73015/



Re: strange hw.cpuspeed readings

2006-10-02 Thread Przemyslaw Nowaczyk
On Sun, Oct 01, 2006 at 05:59:20PM -0400, [EMAIL PROTECTED] wrote:
 I have done some preliminary poking around, what I have learned so far is
 that the celeron processor can be paired with the ich southbridges that
 support speedstep, it however dosen't actually support this functionality.
 I have a patch in the works that will ensure that we only attempt to use
 ich speedstep on pentium 4 cpu's, in which case you wont have this
 setperf method, but you should still have p4tcc clock throttling. 
   gwk

to be hones, i'm aware that my cpu doesn't do speedstep, if it did i
would probably see something like (epsecially the last line):

cpu0: Intel(R) Pentium(R) M processor 1.40GHz (GenuineIntel 686-class) 1.40 
GHz
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
cpu0: Enhanced SpeedStep 1400 MHz (1116 mV): speeds: 1400, 1300, 1200, 1100, 
1000, 900, 800, 600 MHz

in my dmesg.. so that's not the problem.. what i wanted to know is
wheather the hw.cpuspeed is set correctly (even before playing with setperf),
and if it's not (which looks like that way) wheather it is important enough
to fill in a bug report..
the second thing (setperf issues) was purly informative. what you've
written about it seems to explain why it might happen, thanks.
i'd be happy to test your patch.

-- 
Przemyslaw Nowaczyk [EMAIL PROTECTED]
CS student @ Poznan University of Technology
http://unixlab.cs.put.poznan.pl/~inf73015/



strange hw.cpuspeed readings

2006-09-30 Thread Przemyslaw Nowaczyk
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
lpt2 at isa0 port 0x3bc/4: polled
npx0 at isa0 port 0xf0/16: 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
rootdev=0x0 rrootdev=0x300 rawdev=0x302

-- 
Przemyslaw Nowaczyk [EMAIL PROTECTED]
CS student @ Poznan University of Technology
http://unixlab.cs.put.poznan.pl/~inf73015/



Re: dual boot problem

2006-05-25 Thread Przemyslaw Nowaczyk
On Wed, May 24, 2006 at 11:56:20PM -0700, akonsu wrote:
 this is the command that i used to get the openbsd's mbr:
 
 dd if=/dev/rwd0c of=mbr count=1

 
actually you need the pbr (partition boot record) not the mbr, look at FAQ 4.8,
your command should look like:
dd if=/dev/rwd0a of=name bs=512 count=1

-- 
Przemyslaw Nowaczyk [EMAIL PROTECTED]
CS student @ Poznan University of Technology



xkbcomp warning in current with pl layout

2006-02-28 Thread Przemyslaw Nowaczyk
 dev 2 function 0 Intel PRO/Wireless 2200BG rev 0x05: irq 11, 
address 00:12:f0:f1:25:08
fxp0 at pci1 dev 8 function 0 Intel PRO/100 VE rev 0x81, i82562: irq 11, 
address 00:0a:e4:37:7c:d8
inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0xb0
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x01: SpeedStep
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: HTS541040G9AT00
wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVDRAM GSA-4080N, 0X21 SCSI0 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
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: PC speaker
spkr0 at pcppi0
lpt2 at isa0 port 0x3bc/4: polled
npx0 at isa0 port 0xf0/16: 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
rootdev=0x0 rrootdev=0x300 rawdev=0x302

-- 
Przemyslaw Nowaczyk [EMAIL PROTECTED]
CS student @ Poznan University of Technology



Re: Could someone, running latest snapshots confirm this problem

2006-02-13 Thread Przemyslaw Nowaczyk

Graham Gower napisaE(a):

On 13/02/06, Didier Wiroth [EMAIL PROTECTED] wrote:


Hi,
If you are running the latest snapshot with x11 can you confirm the
following command gives you an error message:
setxkbmap fr_CH

Thank you for taking the time to try this, it only takes 1 or 2 seconds
to test it and reply to this email with a yes or no.

Regards
Didier





$ setxkbmap fr_CH
Error loading new keyboard description



same message with pl_PL here..

--
Przemyslaw Nowaczyk [EMAIL PROTECTED]
CS student @ Poznan University of Technology



Re: apm: connect error on IBM R50e

2005-10-18 Thread Przemyslaw Nowaczyk
so basiclly I wanted to buy a notebook with a good mark on the market 
that was supposted to deal with APM with no problems and now I ended up 
with a notebook that can't even go to sleep mode :| or doesn't even show 
for how long the battery will last :| great!!! THANK YOU IBM!!! Why do 
you do such things?


All in all, thanks to misc@ for help..

--
Przemyslaw Nowaczyk [EMAIL PROTECTED]
CS student @ Poznan University of Technology



Re: apm: connect error on IBM R50e

2005-10-18 Thread Przemyslaw Nowaczyk

Przemyslaw Nowaczyk wrote:
so basiclly I wanted to buy a notebook with a good mark on the market 
that was supposted to deal with APM with no problems and now I ended up 
with a notebook that can't even go to sleep mode :| or doesn't even show 
for how long the battery will last :| great!!! THANK YOU IBM!!! Why do 
you do such things?


All in all, thanks to misc@ for help..


oh.. and I forgot.. I can't even power it down :|

--
Przemyslaw Nowaczyk [EMAIL PROTECTED]
CS student @ Poznan University of Technology



Re: csh auto-completion

2005-09-26 Thread Przemyslaw Nowaczyk

Dulmandakh Sukhbaatar wrote:
I installed new OBSD box as proxy server and test server. But I don't 
want to type every command and file or folder name, and retype when 
mistype. I need ctrl+a and etc keys and up and down keys. I could 
install bash, but I like csh. Help me


I don't use csh but looking at 'man 1 csh' tells me that you haven't 
done your homework; you should look there (there's all you need).


--
Przemyslaw Nowaczyk [EMAIL PROTECTED]
CS student @ Poznan University of Technology




Re: Wifi + wired laptop

2005-09-21 Thread Przemyslaw Nowaczyk

Edd Barrett wrote:

Hi,

My laptop has a wifi and a wired connection. Sometimes my wifi is
unreliable and does not work atall , so it is useful to plug in a cat5
cable instead. OpenBSD still tries to use wifi. I thought perhaps it
might time out and decide to use the wired interface, but it does not.
Th only solution is to su to root and rename hostname.wi0 then run
/etc/netstart. Not ideal for a desktop system for everyday use.

Can anyone think of a practical solution?

Thanks

Best Regards

Edd


maybe you could use 'ifconfig wi0 down' (that disables all the routes 
configured to that interface)..? and than the whole traffic would be 
passed through the 'wired' interface (assuming proper config on that 
interface).


or

you could try to manipulate the routing tables via route(8).

take care..
--
Przemyslaw Nowaczyk [EMAIL PROTECTED]
CS student @ Poznan University of Technology



Re: VirtualHost and SSL in httpd.conf

2005-09-20 Thread Przemyslaw Nowaczyk

Jasper wrote:

Hi All,

I've configured the httpd.conf file the following:

VirtualHost www.mercatortrading.nl:443

#  General setup for the virtual host
DocumentRoot /home/jabal/public_html
ServerName mercatortrading.nl
ServerAdmin [EMAIL PROTECTED]
ErrorLog logs/ssl_error_log
TransferLog logs/ssl_access_log

*snip*

/VirtualHost

VirtualHost www.profibas.com:443
DocumentRoot /home/jabal/public_html
ServerName profibas.com
ServerAdmin [EMAIL PROTECTED]
ErrorLog logs/ssl_error_log
TransferLog logs/ssl_access_log

SSLEngine on

SSLCipherSuite 
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL

SSLCertificateFile /etc/ssl/profibas.crt
SSLCertificateKeyFile /etc/ssl/private/profibas.key

/VirtualHost

running httpd -uDSSL gives the following warning:
[Tue Sep 20 20:39:33 2005] [warn] VirtualHost www.mercatortrading.nl:443 
overlaps with VirtualHost www.profibas.com:443, the first has 
precedence, perhaps you need a NameVirtualHost directive


Am i missing the point of virtual hosting?

Jasper




are you sure you want both servers to host the same site..?
are you sure they both should log into the same file..?

--
Przemyslaw Nowaczyk [EMAIL PROTECTED]
CS student @ Poznan University of Technology



[OT]: good home switch?

2005-09-04 Thread Przemyslaw Nowaczyk

Hi misc,
I'm trying to find  buy a stable  reliable 5 to 8 port 100Mbit switch 
for my home network. My first impression was to buy the 3COM 
OfficeConnect Dual Speed Switch 10/100 5 Plus (3C16790) or the D-Link 
DES-1005D Switch 10/100 Mbit/s 5-port but I thought that it might be a 
good idea to ask here for some advice, not only about those two 
mentioned above but in general.

Thanks in advance,

--
Przemyslaw Nowaczyk [EMAIL PROTECTED]
CS student @ Poznan University of Technology



[SOLVED][OT]: good home switch?

2005-09-04 Thread Przemyslaw Nowaczyk
Hmm.. so gathering all the info from all those good people (whom I'd 
like to thank) I think that the best choice for me will be the netgear 
hardware, especially the FS108. Good price, solid and no lock-ups.. 
That's what I've been looking for :).


One again thanks!
--
Przemyslaw Nowaczyk [EMAIL PROTECTED]
CS student @ Poznan University of Technology