Re: OT: OpenBSD on Asus eeePC

2007-11-14 Thread Karl Sjodahl - dunceor
On Nov 14, 2007 8:27 AM, Marc Balmer [EMAIL PROTECTED] wrote:
 Jacob Winther wrote:
  On 14/11/2007, at 6:55 AM, Andreas Maus wrote:
 
  Did anyone try to run OpenBSD on Asus new small eeePC?
 
 
  Just fired up a flashboot image from usb running 4.1 bsd.rd:

 nice to see you have one.  can you boot -current and mail the dmesg to
 [EMAIL PROTECTED]

 Does anybody know where I could buy such a machine, preferrably in
 .ch or .de?

 - Marc
 
 
  OpenBSD 4.1-stable (GENERIC-RD) #0: Thu Aug 16 17:15:55 CEST 2007
  [EMAIL PROTECTED]:/home/rd/flashboot/flashboot/obj/GENERIC-RD
  cpu0: Intel(R) Celeron(R) M processor 900MHz (GenuineIntel 686-class)
  631 MHz

 [...]



I have also been looking for one in Europe.
I found one place in Sweden that got them:
http://www.expansys.se/p.aspx?i=158485

In UK:
http://www.clove.co.uk/viewProduct.aspx?product=9136E4FD-2F3C-4289-84A9-4B96ED813B9Dcategory=GROUP4

Here is one in the US:
http://www.allasus.com/catalog/product_info.php?products_id=347osCsid=k1mu5o1dvgee6jrkdebs2hemo6


I couldn't find any .de or .ch ones though.

BR
dunceor




Re: OT: OpenBSD on Asus eeePC

2007-11-14 Thread Alexey Suslikov
On Nov 14, 2007 10:32 AM, Andreas Maus [EMAIL PROTECTED] wrote:
 On Wed, Nov 14, 2007 at 01:02:55AM +0200, Alexey Suslikov wrote:
 Hi Alexey.

  Looks like WLAN is Atheros 5212 which is ath(4) under OpenBSD.
  See here http://forums.bsdnexus.com/viewtopic.php?pid=16360#p16360
 
  About LAN. I think it is Attansic/Atheros L2. It is unsupported as of
  4.2 and -current. There are linux drivers:
 Thank you for your enlightment ;)

  Attansic L1 Gigabit (also can be found on ASUS P5K mainboards)
  http://atl1.sourceforge.net/
 
  Attansic L2 10/100 (also can be found on ASUS F5R laptops)
  http://lwn.net/Articles/218588/
 
  Btw, Attansic drivers (according to source code and module naming)
  are somehow based on (derived from) Intel drivers.
 O.K. As long as the WLAN interface is working I have no problem.
 The CPU is powerfull enough to do IPSec so LAN is a nice to have
 for me ;)

As sthen@ mentioned, there are models with other WLAN, so be
careful with it.

- Alexey.



Re: OT: OpenBSD on Asus eeePC

2007-11-14 Thread Andreas Maus
On Wed, Nov 14, 2007 at 01:02:55AM +0200, Alexey Suslikov wrote:
Hi Alexey.

 Looks like WLAN is Atheros 5212 which is ath(4) under OpenBSD.
 See here http://forums.bsdnexus.com/viewtopic.php?pid=16360#p16360
 
 About LAN. I think it is Attansic/Atheros L2. It is unsupported as of
 4.2 and -current. There are linux drivers:
Thank you for your enlightment ;)

 Attansic L1 Gigabit (also can be found on ASUS P5K mainboards)
 http://atl1.sourceforge.net/
 
 Attansic L2 10/100 (also can be found on ASUS F5R laptops)
 http://lwn.net/Articles/218588/
 
 Btw, Attansic drivers (according to source code and module naming)
 are somehow based on (derived from) Intel drivers.
O.K. As long as the WLAN interface is working I have no problem.
The CPU is powerfull enough to do IPSec so LAN is a nice to have
for me ;)

 Ask developers. Maybe these drivers are easy to port if you'll donate
 couple of Eee-PCs. They are so cheap :)
H  I'm really thinking about this idea ;)

Andreas.

-- 
Windows 95: A 32-bit patch for a 16-bit GUI shell running on top of
an 8-bit operating system written for a 4-bit processor by a 2-bit
company who cannot stand 1 bit of competition.



Re: OT: OpenBSD on Asus eeePC

2007-11-14 Thread Andreas Maus
On Wed, Nov 14, 2007 at 08:27:00AM +0100, Marc Balmer wrote:
  nice to see you have one.  can you boot -current and mail the dmesg to
  [EMAIL PROTECTED]
 
  Does anybody know where I could buy such a machine, preferrably in
  .ch or .de?
Hi Marc.

I found only 4 online shops in germany which sells the eee:

http://www.arlt.com/index.php?cl=detailsanid=3002853
http://www.campuspoint.de/shop/notebooks/notebooks-nach-hersteller/basusb/nach-modellen/eee-pc/asus-asus-eee-pc-black.html
http://www.notebook.de/index.php?section=shopgroup=734productid=9474
http://www.t-online-shop.de/tonline/product.do?action=getProductDetailproduct=38444

Unfortunately you have to wait several weeks :/

If someone on the list knows where to get a eeePC in .de without 
waiting several weeks ... contact me offlist ;)

So long,

Andreas.

-- 
Windows 95: A 32-bit patch for a 16-bit GUI shell running on top of
an 8-bit operating system written for a 4-bit processor by a 2-bit
company who cannot stand 1 bit of competition.



Re: win32-codecs, avi and amd64 question

2007-11-14 Thread Jacob Meuser
On Wed, Nov 14, 2007 at 08:41:22AM +0100, Didier Wiroth wrote:
 Hello,
 
 I'm currently running current i386 on my amd64 processor.
 I'm considering to move to the amd64 distribution but I noticed that the
 win32-codecs package is only for i386.
 
 Is there currently a win32-codecs alternative for amd64 or is it possible to
 watch avi (+/- all codecs) movies on amd64?

try playing the movies with ffplay from the ffmpeg package.  if
that can do something useful, then you don't need win32-codecs.

as far as media players, I prefer vlc or kaffeine.

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org



Best way to automate administration of multiple servers

2007-11-14 Thread Mikel Lindsaar
Hello all,

I've been googling around for some answers and I thought I would ask
the list as well.

In the past I have used different compters for different tasks.  I
would have many different installs of OpenBSD on many different
platforms.

However, i am moving some stuff into a data center and am getting a
blade server with 10 blades (up to 20 total).  I have been playing
with this and it is running great, but as each blade has exactly the
same specs (same drive, ram, processor etc) I was wondering about
improving my skills on handling a lot of identical computers on the
administration side.

There are basically three types of blade, database, app server and
front end world facing (proxy, mail, dns).

I want to automate handling them as much as possible and would like
some list suggestions on reading materials, software, or web howtos.

Examples of what I am after:

1) Create images or post install diffs so that if I need to add a
blade to expand, I put it in, connect via the console, install via PXE
and then download the diff - I know you can do this wth the post
install scrips in OpenBSD's install script, but any real world use of
this, things to avoid or good things to do?

2) Keeping 10 - 20 copies of OpenBSD up to the latest patch levels
without having to do more than trial on one (for each type) and then
for the rest type something as trivial as /bin/sh -x update.sh
rotating through the servers and testing as you go?  I can see myself
spending two days a month otherwise doing upgrades on all the servers.

3) Guides on how to manage the logs of this many servers.  Any
experiences with splunk on this sort of environment, other options?

4) Anything else I should think about / avoid?

I know this is a bit of a broad ranging question, but I am looking for
general gaps in my sys admin knowledge at the moment so I apologise
for any vagueness.

Regards

Mikel



Re: OT: OpenBSD on Asus eeePC

2007-11-14 Thread Karl Sjodahl - dunceor
On Nov 14, 2007 10:45 AM, Stuart Henderson [EMAIL PROTECTED] wrote:
 On 2007/11/14 10:37, Alexey Suslikov wrote:
  As sthen@ mentioned, there are models with other WLAN, so be
  careful with it.

 I doubt there are different wlan, it doesn't make any sense.

 They are PCIE mini card, btw, so you'll probably have a harder
 time finding a replacement than if they were Mini PCI. (the in-
 tree options are iwn and rum).

 N.B. the flash is soldered. Personally I think I'd wait for the 8G
 ones - from my experience with Zaurus, 4G can be a bit limiting,



Yeah I agree, 4GB is a bit small.
When we see a 8GB or 16GB version I probobly will buy one to have when
I take the train to work.

Hopefully that will show up in a near future.

BR
dunceor



Re: OT: OpenBSD on Asus eeePC

2007-11-14 Thread Stuart Henderson
On 2007/11/14 10:37, Alexey Suslikov wrote:
 As sthen@ mentioned, there are models with other WLAN, so be
 careful with it.

I doubt there are different wlan, it doesn't make any sense.

They are PCIE mini card, btw, so you'll probably have a harder
time finding a replacement than if they were Mini PCI. (the in-
tree options are iwn and rum).

N.B. the flash is soldered. Personally I think I'd wait for the 8G
ones - from my experience with Zaurus, 4G can be a bit limiting,



Re: OT: OpenBSD on Asus eeePC

2007-11-14 Thread Stuart Henderson
On 2007/11/14 15:29, Jacob Winther wrote:
 vendor Attansic Technology, unknown product 0x2048 (class network 
 subclass ethernet, rev 0xa0) at pci2 dev 0 function 0 not configured

ethernet

 ath0 at pci3 dev 0 function 0 Atheros AR5424 rev 0x01: irq 10
 ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR0W, address 00:15:af:3f:70:3b

wireless, obviously; don't keep us in suspense, does it work? :-)

 ugen0: vendor 0xeb1a product 0x2761, rev 2.00/8.21, addr 2

webcam



Re: ospfd errors

2007-11-14 Thread Esben Norby
On Wednesday 14 November 2007 06:11:43 Linden Varley wrote:

 I was wondering if anyone could offer any solution to this OSPFD error
 when it starts up:

 ospfd[11601]: send_packet: error sending packet on interface em0: No
 route to host

 It says there is no route to host for every interface defined in ospfd.conf

 This is using the default config on an OpenBSD 4.0 amd64 install.

Please post your /etc/ospfd.conf and the output of ifconfig here.

OpenBSD 4.0 is old, could you try with something newer?

 (Note, ip forwarding and ip multicast forwarding are enabled)

No need to enable ip multicast forwarding.

/Esben



Hardware for PF - more general questions

2007-11-14 Thread Richard Wilson
I have been pondering for some time getting a new core router, and a
recent question on HP Procurves vs Soekris boxes has kicked me into
thought. I have some more general questions:

I recall hearing tell (on here I think) that amd64 is a better arch for
routing, because of better interrupt handling or somesuch. Is this true?

I am under the impression that if I want to do BGP, I need 1GB of RAM
for the routing tables and whatnot. Given RAM is so cheap, and I'd like
some future-proofing, is there any use in getting 2G instead?

Is PF capable of making good use of multiple processors with GENERIC.MP,
or am I better off with a single faster CPU? With say a Pentium 4 CPU,
am I better off with GENERIC and no hyperthreads, or GENERIC.MP and
hyperthreads?


I believe some of these questions have been addressed previously on this
list some time ago, but I was hoping I could get away with asking again,
on the grounds that the recent major changes to PF and resultant speed
increases may have changed the answers.

I'm currently looking at a Dell PE860 (1U, Quad core [EMAIL PROTECTED], 1G
RAM) or a Dell PE SC1435 (1U, Dual core [EMAIL PROTECTED], 1G RAM). They're
near enough the same price, so its just a question of what will be best
suited to running PF. My ignorant thought would be that 4 cores is
better than 2, but if PF only uses one core perhaps if the Opteron has
better interrupt handling then AMD would be the better choice. Is it
relevant that the Xeon has 2x4MB cache and the Opteron has 2x1MB?

Hopefully I have started on the right foot by asking the right questions...

Dave Wilson



Re: ospfd errors

2007-11-14 Thread Stuart Henderson
On 2007/11/14 16:11, Linden Varley wrote:
 I was wondering if anyone could offer any solution to this OSPFD error 
 when it starts up:

 ospfd[11601]: send_packet: error sending packet on interface em0: No 
 route to host

Check PF rules:

1. pass proto ospf

2. typically, martian filters include the multicast range,
   make sure OSPF packets don't hit these.

 This is using the default config on an OpenBSD 4.0 amd64 install.

Please upgrade. What you're trying should work, but there have
been many fixes/improvements to the routing daemons since 4.0,
and this is usually easier to do _before_ it's all running.



Re: Connectivity Issues with Linksys 802.11 USB Adapter

2007-11-14 Thread Stuart Henderson
On 2007/11/13 20:33, new_guy wrote:
 fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   inet 192.168.0.254 netmask 0xff00 broadcast 192.168.0.255
 
 atu0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   inet 192.168.0.127 netmask 0xff00 broadcast 192.168.0.255

These are in the same subnet, this won't work. You might like
to look at trunk(4).

 View this message in context: 
 http://www.nabble.com/Connectivity-Issues-with-Linksys-802.11-USB-Adapter-tf4802127.html#a13739799

Wow, a nabble post with sufficient information to spot the
problem, that is somewhat unusual :-)



Re: OT: OpenBSD on Asus eeePC

2007-11-14 Thread Jacob Winther
On 14/11/2007, at 10:51 PM, Stuart Henderson wrote:

 On 2007/11/14 15:29, Jacob Winther wrote:
 vendor Attansic Technology, unknown product 0x2048 (class network
 subclass ethernet, rev 0xa0) at pci2 dev 0 function 0 not configured

 ethernet

 ath0 at pci3 dev 0 function 0 Atheros AR5424 rev 0x01: irq 10
 ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR0W, address 00:15:af:3f:70:3b

 wireless, obviously; don't keep us in suspense, does it work? :-)

Its not my machine, it's a guy's at work. I'll try to build a 4.2  
image tonight and get wireless working tomorrow.

 nice to see you have one.  can you boot -current and mail the dmesg to
 [EMAIL PROTECTED]

Will do.

Any other requests?



Re: Connectivity Issues with Linksys 802.11 USB Adapter

2007-11-14 Thread Girish Venkatachalam
On 10:01:31 Nov 14, Stuart Henderson wrote:
 
 These are in the same subnet, this won't work. You might like
 to look at trunk(4).
 

Can't you bridge them or create separate subnets and route them?

Is trunking the purpose here?

Just wondering

regards,
Girish



Re: OT: OpenBSD on Asus eeePC

2007-11-14 Thread Jonathan Gray
On Wed, Nov 14, 2007 at 11:09:57PM +1300, Jacob Winther wrote:
 On 14/11/2007, at 10:51 PM, Stuart Henderson wrote:
 
  On 2007/11/14 15:29, Jacob Winther wrote:
  vendor Attansic Technology, unknown product 0x2048 (class network
  subclass ethernet, rev 0xa0) at pci2 dev 0 function 0 not configured
 
  ethernet

Now owned by the oh so friendly folks at Atheros.

 
  ath0 at pci3 dev 0 function 0 Atheros AR5424 rev 0x01: irq 10
  ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR0W, address 00:15:af:3f:70:3b
 
  wireless, obviously; don't keep us in suspense, does it work? :-)
 
 Its not my machine, it's a guy's at work. I'll try to build a 4.2  
 image tonight and get wireless working tomorrow.

Use -current, it has some critical fixes for this chip, thanks to reyk.



Re: Adaptec AIC-6915 Starfire mbuf problem with OB4.2

2007-11-14 Thread Esa Kuusisto
On Nov 11, 2007 10:41 PM, Esa Kuusisto [EMAIL PROTECTED] wrote:
 Hi

 I have router running with one 4 port starfire adapter. Everything
 runs fine except that mbuf value keeps going up. After all mbufs are
 used machine crashes. I did upped the number to 40960 so I don't need
 to reboot it every ~6 hours.


After more debugging I found out that raising mbuf problem starts if I
use ALTQ in PF. Even declaring altq makes mbufs raisings. Not need to
attach rules to queues.

-Esa



Re: Hardware for PF - more general questions

2007-11-14 Thread Stuart Henderson
On 2007/11/14 10:11, Richard Wilson wrote:
 I recall hearing tell (on here I think) that amd64 is a better arch for
 routing, because of better interrupt handling or somesuch. Is this true?

OpenBSD/amd64 used to be worse than OpenBSD/i386 on the same hardware,
I'm not sure about now - I haven't seen any recently published i386 vs
amd64 results.

 I am under the impression that if I want to do BGP, I need 1GB of RAM
 for the routing tables and whatnot.

Depends which routes you take. You probably want 1GB if you receive
full routes. Given there's no cisco tax on RAM here, this is quite
viable. :-)

 Given RAM is so cheap, and I'd like some future-proofing, is there
 any use in getting 2G instead?

bgpd uses a bunch of memory during 'bgpctl reload'; my normally
100Mb RDE processes on full table routers rise to around 300M while
that happens - free ram on a 1G RAM box drops to around 480M with
views of 230k + 66k + 170k routes.

(This lasts for a couple of minutes with 2700-line filters on
an opteron 144).

So 1G is fine for now. YMMV depending on distance between the
router and hands capable of adding RAM :-)

 Is PF capable of making good use of multiple processors with GENERIC.MP,
 or am I better off with a single faster CPU?

Single faster CPU / GENERIC.

 Is it relevant that the Xeon has 2x4MB cache and the Opteron has 2x1MB?

Possibly, I only have single-core Opterons here so couldn't compare.



Re: Connectivity Issues with Linksys 802.11 USB Adapter

2007-11-14 Thread Stuart Henderson
On 2007/11/14 16:44, Girish Venkatachalam wrote:
  These are in the same subnet, this won't work. You might like
  to look at trunk(4).
 
 Can't you bridge them or create separate subnets and route them?
 
 Is trunking the purpose here?

failover trunks are quite good for this situation (depending on how
long your switch takes to notice the move). Separate subnets are another
option but means doing more (and losing active connections) when you
change between wired and wireless.

You might use bridge(4) for an access point but that's somewhat
unlikely with atu(4). :-)


 Just wondering
 
 regards,
 Girish



Re: win32-codecs, avi and amd64 question

2007-11-14 Thread Girish Venkatachalam
On 08:41:22 Nov 14, Didier Wiroth wrote:
 Hello,
 
 I'm currently running current i386 on my amd64 processor.
 I'm considering to move to the amd64 distribution but I noticed that the
 win32-codecs package is only for i386.
 
 Is there currently a win32-codecs alternative for amd64 or is it possible to
 watch avi (+/- all codecs) movies on amd64?

mplayer plays every damn format out there. :)

It works quite well on OpenBSD though there are rough edges.

Try some advanced option of mencoder and boom...

Anyway I better shut up or send patches. 

As to win32codecs working on amd64 if you can run them under a chroot
jail and try 32 bit emulation it might work.

Hey I am talking thro' my hat and you know what that means.

But I have played several video formats(avi, wmv...) without the closed
source win32codecs package.

I wonder why people look any further when there is something as sexy as
mplayer...

regards,
Girish



Re: Slow Performance on Encrypted svnd

2007-11-14 Thread knitti
Instead of e.g. /dev/sd0a try /dev/rsd0a. I didn't try with svnd, but
when copying partitions with dd I use this.

--knitti



Re: win32-codecs, avi and amd64 question

2007-11-14 Thread Antoine Jacoutot

On Wed, 14 Nov 2007, Girish Venkatachalam wrote:

Try some advanced option of mencoder and boom...


I committed a workaround a couple of days ago that might help.
Cheers!

--
Antoine



Re: identifying sparse files and get ride of them trick available?

2007-11-14 Thread David Zeillinger

Hi Daniel,

Did you happen to investigate why rsync -S is taking so much time? If it 
doesn't deal with sparse file the way one expects, this option is probably 
broken. Also have you already tried something like the advice in 
http://lists.samba.org/archive/rsync/2003-August/007000.html ?


Anyway, I think the way to go is using tar. It preserves the sparseness 
property of the files, so something like this could work: If you tar the 
file without using compression, you would get a file the size of the 
sparsefile, with a lot of zeroes in it. Then use a run-length encoding on it 
to collapse the zeroes.


Sync this file with rsync.

On the destination machine do it in reverse. Using pipes you don't even need 
the physical space of the whole sparse file, just the space requirement of 
the actual data in the sparse file; or transfer it immediately you don't 
need any space at all.


Example (with a pseudo rle program):

tar cf - sparsefile | rle -input - -output sparsefile.tar.rle

The code for run-length encoding is there in zlib, but unfortunately 
compress/gzip doesn't have an option to use it. You'd either need to hack 
this in yourself, or use one of the many implementations found when 
searching for rle. This would give you the option to modify it, to just 
rl-encode the zeroes.


David 



Re: Best way to automate administration of multiple servers

2007-11-14 Thread Will Maier
On Wed, Nov 14, 2007 at 07:45:06PM +1100, Mikel Lindsaar wrote:
 1) Create images or post install diffs so that if I need to add a
 blade to expand, I put it in, connect via the console, install via
 PXE and then download the diff - I know you can do this wth the
 post install scrips in OpenBSD's install script, but any real
 world use of this, things to avoid or good things to do?

cfengine[0] (which we use at work to manage ~500 Linux machines) or
radmind (which I use at home to manage my OpenBSD servers,
workstations and laptops).

There are at least two schools of thought on how one should manage 
1 machine. cfengine is the most popular convergent tool, where you
specify an ideal state using a declarative language and the clients
iterate towards that state. radmind is the most useful congruent
tool, where you specify (or directly imply) the exact sequence of
operations that each client must perform to reach an ideal state.

I've used both approaches for years, and I greatly prefer radmind
both for its simple design and the implicit guarantees of
congruence. See below for references on each:

http://www.cfengine.org/papers.html
http://www.infrastructures.org/papers/turing/turing.html

 2) Keeping 10 - 20 copies of OpenBSD up to the latest patch levels
 without having to do more than trial on one (for each type) and
 then for the rest type something as trivial as /bin/sh -x
 update.sh rotating through the servers and testing as you go?  I
 can see myself spending two days a month otherwise doing upgrades
 on all the servers.

Same as above.

 3) Guides on how to manage the logs of this many servers.  Any
 experiences with splunk on this sort of environment, other
 options?

Log centrally using syslog; syslog-ng is a well-used central log
server.

[0] http://www.cfengine.org/
[1] http://rsug.itd.umich.edu/software/radmind/

-- 

o--{ Will Maier }--o
| web:...http://www.lfod.us/ | [EMAIL PROTECTED] |
*--[ BSD Unix: Live Free or Die ]--*



Cyrus-SASL2-mysql problem on 4.2

2007-11-14 Thread Evgeniy Sudyr
Hello misc,

I installed cyrus-sasl-2.1.22p1-mysql from packages and trying make it
working, but during testsaslauthd queries I not get any results :(.
I enabled log queries in mysql but there is no connection attempts
from saslauthd to needed table (no connection, no auth, nothing).


As described in documentation I created smtpd.conf and pit it to
needed dir.

# cat /usr/local/lib/sasl2/smtpd.conf
pwcheck_method: auxprop
auxprop_plugin: sql
sql_engine: mysql
mech_list: PLAIN LOGIN
sql_user: postfix
sql_passwd: postfix
sql_hostnames: localhost
sql_database: postfix
sql_statement: SELECT password FROM mailbox WHERE username = '%u'
sql_verbose: yes
 
# saslauthd -d -a getpwent
saslauthd[19646] :main: num_procs  : 5
saslauthd[19646] :main: mech_option: NULL
saslauthd[19646] :main: run_path   : /var/sasl2
saslauthd[19646] :main: auth_mech  : getpwent
saslauthd[19646] :ipc_init: using accept lock file: 
/var/sasl2/mux.accept
saslauthd[19646] :detach_tty  : master pid is: 0
saslauthd[19646] :ipc_init: listening on socket: /var/sasl2/mux
saslauthd[19646] :main: using process model
saslauthd[19646] :have_baby   : forked child: 8299
saslauthd[8299] :get_accept_lock : acquired accept lock
saslauthd[19646] :have_baby   : forked child: 14091
saslauthd[19646] :have_baby   : forked child: 21287
saslauthd[19646] :have_baby   : forked child: 12263
 
# testsaslauthd -s smtpd -u eject -p mypassword
0: NO authentication failed
# testsaslauthd -u eject -p mypassword
0: NO authentication failed


 
===
In saslauthd debug output after query
1.
saslauthd[14091] :get_accept_lock : acquired accept lock
saslauthd[8299] :rel_accept_lock : released accept lock
saslauthd[8299] :do_auth : auth failure: [user=eject] [service=smtpd] 
[realm=] [mech=getpwent] [reason=Unknown]
saslauthd[8299] :do_request  : response: NO
saslauthd[8299] :do_auth : auth failure: [user=eject][service=imapd] 
[realm=] [mech=getpwent] [reason=Unknown]
saslauthd[8299] :do_request  : response: NO
 
 
# tail -f /var/mysql/query.log

nothing related to my queries

After this I run saslauthd with ktrace to see what files it read when
it runs. During running ktrace I run some queries.

# ktrace saslauthd -d -a getpwent
saslauthd[7962] :main: num_procs  : 5
saslauthd[7962] :main: mech_option: NULL
saslauthd[7962] :main: run_path   : /var/sasl2
saslauthd[7962] :main: auth_mech  : getpwent
saslauthd[7962] :ipc_init: using accept lock file: /var/sasl2/mux.accept
saslauthd[7962] :detach_tty  : master pid is: 0
saslauthd[7962] :ipc_init: listening on socket: /var/sasl2/mux
saslauthd[7962] :main: using process model
saslauthd[7962] :have_baby   : forked child: 23867
saslauthd[23867] :get_accept_lock : acquired accept lock
saslauthd[7962] :have_baby   : forked child: 16377
saslauthd[7962] :have_baby   : forked child: 24519
saslauthd[7962] :have_baby   : forked child: 28716

I discovered (see below) that saslauthd not looking for smtpd.conf during it :(
why?

# kdump | grep NAMI
  7962 ktrace   NAMI  /sbin/saslauthd
  7962 ktrace   NAMI  /usr/sbin/saslauthd
  7962 ktrace   NAMI  /bin/saslauthd
  7962 ktrace   NAMI  /usr/bin/saslauthd
  7962 ktrace   NAMI  /usr/X11R6/bin/saslauthd
  7962 ktrace   NAMI  /usr/local/sbin/saslauthd
  7962 saslauthd NAMI  /usr/libexec/ld.so
  7962 saslauthd NAMI  /var/run/ld.so.hints
  7962 saslauthd NAMI  /usr/lib/libcrypto.so.13.0
  7962 saslauthd NAMI  /usr/lib/libc.so.41.0
  7962 saslauthd NAMI  /usr/lib/libcom_err.so.16.0
  7962 saslauthd NAMI  /usr/lib/libkrb5.so.16.0
  7962 saslauthd NAMI  /usr/lib/libasn1.so.16.0
  7962 saslauthd NAMI  /usr/lib/libgssapi.so.5.0
  7962 saslauthd NAMI  /etc/malloc.conf
  7962 saslauthd NAMI  /dev/log
  7962 saslauthd NAMI  /etc/localtime
  7962 saslauthd NAMI  /etc/localtime
  7962 saslauthd NAMI  /var/sasl2
  7962 saslauthd NAMI  /var/sasl2/saslauthd.pid.lock
  7962 saslauthd NAMI  /var/sasl2/mux.accept
  7962 saslauthd NAMI  /var/sasl2/mux
  7962 saslauthd NAMI  /var/sasl2/mux
  7962 saslauthd NAMI  /var/sasl2/mux
  7962 saslauthd NAMI  /var/sasl2/saslauthd.pid.lock
  7962 saslauthd NAMI  /var/sasl2/mux.accept
  7962 saslauthd NAMI  /var/sasl2/mux

I will be sincerely thankful if  anybody advice what's wrong in my
case.

-- 
Best regards,
 Evgeniy  mailto:[EMAIL PROTECTED]



Re: win32-codecs, avi and amd64 question

2007-11-14 Thread Paul Irofti
On Wed, Nov 14, 2007 at 08:41:22AM +0100, Didier Wiroth wrote:
 Hello,
 
 I'm currently running current i386 on my amd64 processor.
 I'm considering to move to the amd64 distribution but I noticed that the
 win32-codecs package is only for i386.
 
 Is there currently a win32-codecs alternative for amd64 or is it possible to
 watch avi (+/- all codecs) movies on amd64?
 
I've been using mplayer on amd64 for more than a year now and played
various formats and encodings. The only problems I encountered were with
newer wmf formats (which is usually poor quality anyway and quite often
some `funny clip' you receive from your local oha user group).



Re: OT: OpenBSD on Asus eeePC

2007-11-14 Thread Jona Joachim
On Wed, 14 Nov 2007 10:56:25 +0100, Karl Sjodahl - dunceor wrote:

 On Nov 14, 2007 10:45 AM, Stuart Henderson [EMAIL PROTECTED] wrote:
 On 2007/11/14 10:37, Alexey Suslikov wrote:
  As sthen@ mentioned, there are models with other WLAN, so be
  careful with it.

 I doubt there are different wlan, it doesn't make any sense.

 They are PCIE mini card, btw, so you'll probably have a harder
 time finding a replacement than if they were Mini PCI. (the in-
 tree options are iwn and rum).

 N.B. the flash is soldered. Personally I think I'd wait for the 8G
 ones - from my experience with Zaurus, 4G can be a bit limiting,


 
 Yeah I agree, 4GB is a bit small.

According to Wikipedia it has a slot for SD and SDHC cards.

Best regards,
Jona

-- 
I am chaos. I am the substance from which your artists and scientists
build rhythms. I am the spirit with which your children and clowns
laugh in happy anarchy. I am chaos. I am alive, and tell you that you
are free. Eris, Goddess Of Chaos, Discord  Confusion



Re: Cyrus-SASL2-mysql problem on 4.2

2007-11-14 Thread Antoine Jacoutot

On Wed, 14 Nov 2007, Evgeniy Sudyr wrote:

# cat /usr/local/lib/sasl2/smtpd.conf
pwcheck_method: auxprop


[...]


# testsaslauthd -s smtpd -u eject -p mypassword
0: NO authentication failed


If you use auxprop as pwcheck_method, then why are you testing with 
testsaslauthd?

Also, did you install the sasl2 of postfix?

--
Antoine



Re: OT: OpenBSD on Asus eeePC

2007-11-14 Thread Dennis Davis
On Wed, 14 Nov 2007, Karl Sjodahl - dunceor wrote:

 From: Karl Sjodahl - dunceor [EMAIL PROTECTED]
 To: Marc Balmer [EMAIL PROTECTED]
 Cc: Jacob Winther [EMAIL PROTECTED], misc@openbsd.org,
 Andreas Maus [EMAIL PROTECTED]
 Date: Wed, 14 Nov 2007 08:47:04 +0100
 Subject: Re: OT: OpenBSD on Asus eeePC

...

 In UK:
 http://www.clove.co.uk/viewProduct.aspx?product=9136E4FD-2F3C-4289-84A9-4B96ED813B9Dcategory=GROUP4

Also shortly available in the UK as a re-badged RM machine:

http://www.rm.com/HE/Products/product.asp?cref=PD1024415

Looks neat, a bigger (memory, flash memory) device running OpenBSD
would be attractive.
-- 
Dennis Davis, BUCS, University of Bath, Bath, BA2 7AY, UK
[EMAIL PROTECTED]   Phone: +44 1225 386101



Re: win32-codecs, avi and amd64 question

2007-11-14 Thread Jacob Meuser
On Wed, Nov 14, 2007 at 04:40:11PM +0530, Girish Venkatachalam wrote:

 I wonder why people look any further when there is something as sexy as
 mplayer...

IMO vlc has higher quality playback of most media, can do things
mplayer can't, has a nicer ui, etc, etc ...

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: win32-codecs, avi and amd64 question

2007-11-14 Thread Janne Johansson

Girish Venkatachalam wrote:

I'm currently running current i386 on my amd64 processor.
I'm considering to move to the amd64 distribution but I noticed that the
win32-codecs package is only for i386.

As to win32codecs working on amd64 if you can run them under a chroot
jail and try 32 bit emulation it might work.


On which OS would that be?



Re: PF new default flags S/SA problems

2007-11-14 Thread Stuart Henderson
On 2007/11/14 11:42, Kleber Rocha wrote:
 I had many problems with my rules in PF, the new default flags S/SA,
 causes problems in rules that are not written using flags, several
 rules not match in OpenBSD 4.2.

Well, OpenBSD 4.1, actually...

The old method results in nasty hard-to-diagnose problems for 
TCP options used by some modern OS.

Think of it as a good opportunity to rewrite and clean your ruleset.



PF new default flags S/SA problems

2007-11-14 Thread Kleber Rocha
Hello,

I had many problems with my rules in PF, the new default flags S/SA,
causes problems in rules that are not written using flags, several
rules not match in OpenBSD 4.2.



Re: Connectivity Issues with Linksys 802.11 USB Adapter

2007-11-14 Thread new_guy
Girish Venkatachalam-2 wrote:
 
 
 Can't you bridge them or create separate subnets and route them?
 
 Is trunking the purpose here?
 
 Just wondering
 

It was just an experiment. I was trying to do some funky routing through the
wireless interface. I'll play with it some more. Thanks to all for the tips!

Brad

-- 
View this message in context: 
http://www.nabble.com/Connectivity-Issues-with-Linksys-802.11-USB-Adapter-tf4802127.html#a13747739
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Re: Best way to automate administration of multiple servers

2007-11-14 Thread Edd Barrett
Hi,

On 14/11/2007, Mikel Lindsaar [EMAIL PROTECTED] wrote:
 Hello all,
 I want to automate handling them as much as possible and would like
 some list suggestions on reading materials, software, or web howtos.

The multixterm program that comes with expect is useful for ssh'ing to
lots of machines and running the same commands on them all.

Unfortunately vi has stopped working for me in multixterm. Might be
something to do with the value of $TERM.


-- 
Best Regards

Edd

---
http://students.dec.bournemouth.ac.uk/ebarrett



Re: win32-codecs, avi and amd64 question

2007-11-14 Thread Girish Venkatachalam
On 12:52:32 Nov 14, Antoine Jacoutot wrote:
 
 I committed a workaround a couple of days ago that might help.
 Cheers!
 

Wow! That is great news. :)

I specifically had problems with DVD creation and creating a video with
still pictures.

Thanks. I shall test if I get time.

Best,
Girish



Re: OT: OpenBSD on Asus eeePC

2007-11-14 Thread Unix Fan
 Any other requests?



I personally would like to see a -current dmesg of this system... if you don't 
mind posting it here for us geeks to drool over :)



-Nix fan.



Re: OT: OpenBSD on Asus eeePC

2007-11-14 Thread Frank Brodbeck
Hi,

Marc Balmer has spoken, thus:
 Does anybody know where I could buy such a machine, preferrably in
 .ch or .de?

www.computeruniverse.de plans to sell the Eee PC. But I don't know any
dates.

Frank.

-- 
What can you use used tampons for?  Tea bags for vampires.
openBSD - Can't fight the Systemagic. \ber tragic.
Frank Brodbeck [EMAIL PROTECTED]
Politicians do it to everyone.



Re: Connectivity Issues with Linksys 802.11 USB Adapter

2007-11-14 Thread Girish Venkatachalam
On 11:37:48 Nov 14, Stuart Henderson wrote:
 
 failover trunks are quite good for this situation (depending on how
 long your switch takes to notice the move). Separate subnets are another
 option but means doing more (and losing active connections) when you
 change between wired and wireless.
 
 You might use bridge(4) for an access point but that's somewhat
 unlikely with atu(4). :-)

Thanks Stuart.

regards,
Girish



Re: Best way to automate administration of multiple servers

2007-11-14 Thread Will Maier
On Wed, Nov 14, 2007 at 02:30:34PM +, Edd Barrett wrote:
 On 14/11/2007, Mikel Lindsaar [EMAIL PROTECTED] wrote:
  Hello all,
  I want to automate handling them as much as possible and would like
  some list suggestions on reading materials, software, or web howtos.
 
 The multixterm program that comes with expect is useful for ssh'ing to
 lots of machines and running the same commands on them all.

See also sysutils/clusterit, which has several tools useful for this
purpose. I use dsh to run oneliners on groups of machines, though
you can use it interactively, too.

-- 

o--{ Will Maier }--o
| web:...http://www.lfod.us/ | [EMAIL PROTECTED] |
*--[ BSD Unix: Live Free or Die ]--*



Re: win32-codecs, avi and amd64 question

2007-11-14 Thread Girish Venkatachalam
On 13:44:00 Nov 14, Jacob Meuser wrote:
 
 IMO vlc has higher quality playback of most media, can do things
 mplayer can't, has a nicer ui, etc, etc ...
 

UI?

Well I am a command line person. 

mplayer cannot understand DVD menus. That is the only problem mplayer
has IMHO.

I honestly tried vlc. But it was too GUI oriented, all sorts of ugly
output like KDE and other C++ junk out there...

Now I again it is my opinion. 

Can you tell me what vlc can do that mplayer can't?

Have you tried to study mplayer's man pages, the html documentation
and stuff?

It takes a long time to learn but once learnt you start feeling that it
is the best thing since sliced bread.

This article should give an idea.

http://linuxjournal.com/9787

Best,
Girish



PF load balance: ipsec vpn + ftp issue

2007-11-14 Thread kintaro oe
Hi Guys,

Hola..Good day!

I would like to ask for an advice about my
firewall/nat/pf box.

* network layout:

isp1|firewall|--switch| servers
isp2|nat/pf  | | clients

* pf.conf - http://www.openbsd.com/faq/pf/pools.html ;
as my reference i just copy this config file and
change the macro:

lan_net = 192.168.0.0/24
int_if  = dc0
ext_if1 = fxp0
ext_if2 = fxp1
ext_gw1 = 68.146.224.1
ext_gw2 = 142.59.76.1

#  nat outgoing connections on each internet interface
nat on $ext_if1 from $lan_net to any - ($ext_if1)
nat on $ext_if2 from $lan_net to any - ($ext_if2)

#  default deny
block in  from any to any
block out from any to any

#  pass all outgoing packets on internal interface
pass out on $int_if from any to $lan_net
#  pass in quick any packets destined for the gateway
itself
pass in quick on $int_if from $lan_net to $int_if
#  load balance outgoing tcp traffic from internal
network.
pass in on $int_if route-to \
   { ($ext_if1 $ext_gw1), ($ext_if2 $ext_gw2) }
round-robin \
   proto tcp from $lan_net to any flags S/SA modulate
state
#  load balance outgoing udp and icmp traffic from
internal network
pass in on $int_if route-to \
   { ($ext_if1 $ext_gw1), ($ext_if2 $ext_gw2) }
round-robin \
   proto { udp, icmp } from $lan_net to any keep
state

#  general pass out rules for external interfaces
pass out on $ext_if1 proto tcp from any to any flags
S/SA modulate state
pass out on $ext_if1 proto { udp, icmp } from any to
any keep state
pass out on $ext_if2 proto tcp from any to any flags
S/SA modulate state
pass out on $ext_if2 proto { udp, icmp } from any to
any keep state

#  route packets from any IPs on $ext_if1 to $ext_gw1
and the same for
#  $ext_if2 and $ext_gw2
pass out on $ext_if1 route-to ($ext_if2 $ext_gw2) from
$ext_if2 to any
pass out on $ext_if2 route-to ($ext_if1 $ext_gw1) from
$ext_if1 to any

- it works fine

* Q  A
1. i try to add

nat-anchor ftp-proxy/*
rdr-anchor ftp-proxy/*
rdr on $int_if proto tcp from any to any port 21 -
127.0.0.1 \
  port 8021

anchor ftp-proxy/*

but when i try to download through an ftp server it
say: 425 Security: Bad IP connecting. How can I
resolve this?


2. if there is an vpn ipsec and the its only configure
to route on $ext_if1, what do i need to add on my
pf.conf?

set skip on { lo $int_if enc0 }
pass quick on $int_if1 proto esp from any to any keep
state
pass quick on $ext_if1 proto esp from any to any keep
state
pass quick on $ext_if1 proto (tcp udp) from any to any
port 500 keep state
pass quick on $ext_if1 proto (tcp udp) from any to any
port 4500 keep state

Any advice? Thanks!


cheers,

kintaro Oe


  

Get easy, one-click access to your favorites. 
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs 



Macbook Pro

2007-11-14 Thread Christophe HAUSER

Hello,

I have some troubles booting OpenBSD 4.2 Install CD on a Macbook Pro 
R1.1 (Core Duo [EMAIL PROTECTED] )

I tried both bsd.rd and bsd.mp without success.
I didn't have any relevant messages.

bsd.rd hangs on :
npx0 at isa0 port 0xf0/16 : reported by CPUID ; using exception 16
biosmask  netmask  ttymask 
rd0 : fixed, 3800 blocks

while bsd.mp hangs on :
pctr : 686-class user-level performance counter enabled
mtrr Pentium Pro MTRR Support

I'm interested in any successful experience.

Regards,

--
Christophe HAUSER | http://kereoz.free.fr
**
Association Actux
http://actux.tuxfamily.org
**



Re: Macbook Pro

2007-11-14 Thread Christophe HAUSER

Christophe HAUSER wrote:

Ok I just need to enable ACPI (boot -c).
Sorry !

Regards,

--
Christophe HAUSER | http://kereoz.free.fr
**
Association Actux
http://actux.tuxfamily.org
**



Re: OT: OpenBSD on Asus eeePC

2007-11-14 Thread Whyzzi
If anyone in western Canada are interested, atechelectronics in
Edmonton is advertising this machine for $400cdn.

On 14/11/2007, Frank Brodbeck [EMAIL PROTECTED] wrote:
 Hi,

 Marc Balmer has spoken, thus:
  Does anybody know where I could buy such a machine, preferrably in
  .ch or .de?

 www.computeruniverse.de plans to sell the Eee PC. But I don't know any
 dates.

 Frank.

 --
 What can you use used tampons for?  Tea bags for vampires.
 openBSD - Can't fight the Systemagic. \ber tragic.
 Frank Brodbeck [EMAIL PROTECTED]
 Politicians do it to everyone.




-- 
I know too much and yet not enough



Poptop

2007-11-14 Thread David Brohall
Does anyone know a working poptop howto or have some configuration  
files that works for OBSD 4.2?


Shall I disable GRE in kernel?
I tried but then poptop didn't install at all.
I also get some kind of IPv6 error even if I've diabled ipv6 in  
ppp.conf.


Cheers,
David



Re: OT: OpenBSD on Asus eeePC

2007-11-14 Thread Jason Beaudoin
I just bought one to play and hack around with, I'll let ya'll know
how the experiment goes when it comes in!

~Jason



Re: Slow Performance on Encrypted svnd

2007-11-14 Thread Clint Pachl

knitti wrote:

Instead of e.g. /dev/sd0a try /dev/rsd0a. I didn't try with svnd, but
when copying partitions with dd I use this.
  


I tried that, but like I said fdisk complained when the svnd device is 
associated with the raw direct access disk device. For example


# vnconfig -k svnd0 /dev/rwd1c

# fdisk -c 19457 -h 255 -s 63 -i svnd0  # disk CHS
fdisk: error initializing MBR: bad address

# fdisk -c 19456 -h 254 -s 63 -i svnd0  # OpenBSD partition CHS
fdisk: error initializing MBR: bad address

# fdisk -i svnd0
Warning CHS values out of bounds only saving LBA values
fdisk: error initializing MBR: bad address



Re: identifying sparse files and get ride of them trick available?

2007-11-14 Thread Daniel Ouellet

David Zeillinger wrote:
Did you happen to investigate why rsync -S is taking so much time? If it 
doesn't deal with sparse file the way one expects, this option is 
probably broken. Also have you already tried something like the advice 
in http://lists.samba.org/archive/rsync/2003-August/007000.html ?


It takes a long time because it needs to process the full files anyway. 
You can test that if you want to see it.


Anyway, I think the way to go is using tar. It preserves the sparseness 
property of the files, so something like this could work: If you tar the 
file without using compression, you would get a file the size of the 
sparsefile, with a lot of zeroes in it. Then use a run-length encoding 
on it to collapse the zeroes.


That goes against the first goal of the question to find the sparse 
files for example. And tar doesn't remove the use of resource to tar it 
anyway on either side and rsync also can use compression on the fly as 
well witch it is in use as well already. And I am not sure it would work 
anyway as if you think about it for a minute really. What's the 
difference to copy a sparse file via scp, rsync or untar it. Why would 
scp and rsync runs out of space to start with if they are copying empty 
space, or pointer to empty block and jam in the process???


If you think about that, why would tar does a better job? No I didn't 
try it and may be I will just to know, not as a solutions however. The 
solution is to not copy the sparse file in the first place when possible 
and that's what I am working on.


The interesting question for me that still pending and that I do not 
have answer for is more this.


If sparse file is pointers only to empty drive space not use, then why 
would scp run out of space copying empty pointers in the first place?


That's really the interesting question this brings to me in the process 
here.


There was more, but I got my answer to them so far.


Sync this file with rsync.


in my opinion, you only make the problem worst, however, I will need to 
test it to talk knowingly. rsync already compress it at the source and I 
proof in the various tests I sent to the list that it doesn't send more 
data across the link when -S is use, but  only when it wasn't. So, tar 
it before wouldn't change that and this would only add more step to the 
process.


Daniel



Re: Poptop

2007-11-14 Thread Bryan Irvine
Should be the same as in 4.1.  A tip though, use a different IP range
not in use on your LAN.  I had issues with machines not knowing where
to route before I did that.

--Bryan

On Nov 14, 2007 12:00 PM, David Brohall [EMAIL PROTECTED] wrote:
 Does anyone know a working poptop howto or have some configuration
 files that works for OBSD 4.2?

 Shall I disable GRE in kernel?
 I tried but then poptop didn't install at all.
 I also get some kind of IPv6 error even if I've diabled ipv6 in
 ppp.conf.

 Cheers,
 David



Re: Slow Performance on Encrypted svnd

2007-11-14 Thread Clint Pachl

knitti wrote:

On 11/14/07, Clint Pachl [EMAIL PROTECTED] wrote:
  

knitti wrote:


Instead of e.g. /dev/sd0a try /dev/rsd0a. I didn't try with svnd, but
when copying partitions with dd I use this.

  

I tried that, but like I said fdisk complained when the svnd device is
associated with the raw direct access disk device. For example

# vnconfig -k svnd0 /dev/rwd1c

# fdisk -c 19457 -h 255 -s 63 -i svnd0  # disk CHS
fdisk: error initializing MBR: bad address

# fdisk -c 19456 -h 254 -s 63 -i svnd0  # OpenBSD partition CHS
fdisk: error initializing MBR: bad address

# fdisk -i svnd0
Warning CHS values out of bounds only saving LBA values
fdisk: error initializing MBR: bad address




well, the 'c' slice is a bit 'special', perhaps try an 'a' slice filling the
whole disk but the first track? After all, I think its weird not to have
an MBR etc. on the real disk. (Which doesn't mean that I couldn't
imagine that).
  


I understand that the c partition is special. But when the entire disk 
(i.e. wd0c) is just acting as a storage backend and the svnd device is 
the front end, I don't think it matters. It's not like I'm going to be 
running newfs or fsck on the actual disk. Anyway, I have tried on the 
a partition too, but I get the same results.


Like I said, everything works fine if I use the buffered device, 
wd0[ac], not rwd0[ac], but it is so slow. dd'ing to the unbuffered 
device is much faster than dd'ing to the buffered. That is why I thought 
I would try to associate the svnd device with the unbuffered disk device.


Thanks for you input.



Re: Slow Performance on Encrypted svnd

2007-11-14 Thread knitti
On 11/14/07, Clint Pachl [EMAIL PROTECTED] wrote:
 knitti wrote:
  Instead of e.g. /dev/sd0a try /dev/rsd0a. I didn't try with svnd, but
  when copying partitions with dd I use this.
 

 I tried that, but like I said fdisk complained when the svnd device is
 associated with the raw direct access disk device. For example

 # vnconfig -k svnd0 /dev/rwd1c

 # fdisk -c 19457 -h 255 -s 63 -i svnd0  # disk CHS
 fdisk: error initializing MBR: bad address

 # fdisk -c 19456 -h 254 -s 63 -i svnd0  # OpenBSD partition CHS
 fdisk: error initializing MBR: bad address

 # fdisk -i svnd0
 Warning CHS values out of bounds only saving LBA values
 fdisk: error initializing MBR: bad address


well, the 'c' slice is a bit 'special', perhaps try an 'a' slice filling the
whole disk but the first track? After all, I think its weird not to have
an MBR etc. on the real disk. (Which doesn't mean that I couldn't
imagine that).

--knitti



Re: OT: OpenBSD on Asus eeePC

2007-11-14 Thread Jacob Winther
Use -current, it has some critical fixes for this chip, thanks to  
reyk.


#ifconfig -a
lo0: flags=8008LOOPBACK,MULTICAST mtu 33208
groups: lo
ath0: flags=8822BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST mtu 1500
lladdr 00:15:af:3f:70:3b
groups: wlan
media: IEEE802.11 autoselect
status: no network
ieee80211: nwid 
#ifconfig ath0 up
ath0: unable to reset hardware; hal status 0


I'm not sure what ^^ means, I had a quick play and couldn't get the  
wireless to work. Feel free to let me know where I'm going wrong :)


dmesg from latest bsd.rd snapshot:

OpenBSD 4.2-current (RAMDISK_CD) #532: Tue Nov 13 08:24:10 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: Intel(R) Celeron(R) M processor 900MHz (GenuineIntel 686- 
class) 631 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

real mem  = 527527936 (503MB)
avail mem = 504049664 (480MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/17/07, BIOS32 rev. 0 @  
0xf0010, SMBIOS rev. 2.5 @ 0xf06c0 (37 entries)

bios0: vendor American Megatrends Inc. version 0401 date 10/17/2007
bios0: ASUSTeK Computer INC. 701
pcibios0 at bios0: rev 3.0 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf76a0/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801FB LPC rev  
0x00)

pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc/0xf800!
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82915GM/PM/GMS Host rev 0x04
vga1 at pci0 dev 2 function 0 Intel 82915GM/GMS Video rev 0x04
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
Intel 82915GM/GMS Video rev 0x04 at pci0 dev 2 function 1 not  
configured
Intel 82801FB HD Audio rev 0x04 at pci0 dev 27 function 0 not  
configured

ppb0 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x04
pci1 at ppb0 bus 4
ppb1 at pci0 dev 28 function 1 Intel 82801FB PCIE rev 0x04
pci2 at ppb1 bus 3
vendor Attansic Technology, unknown product 0x2048 (class network  
subclass ethernet, rev 0xa0) at pci2 dev 0 function 0 not configured

ppb2 at pci0 dev 28 function 2 Intel 82801FB PCIE rev 0x04
pci3 at ppb2 bus 1
ath0 at pci3 dev 0 function 0 Atheros AR5424 rev 0x01: irq 10
ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR0W, address 00:15:af:3f:70:3b
uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x04: irq 7
uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x04: irq 3
uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x04: irq 10
uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x04: irq 5
ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xd4
pci4 at ppb3 bus 5
ichpcib0 at pci0 dev 31 function 0 Intel 82801FBM LPC rev 0x04: PM  
disabled
pciide0 at pci0 dev 31 function 2 Intel 82801FBM SATA rev 0x04: DMA,  
channel 0 wired to compatibility, channel 1 wired to compatibility

wd0 at pciide0 channel 1 drive 0: SILICONMOTION SM223AC
wd0: 1-sector PIO, LBA, 3815MB, 7815024 sectors
wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
Intel 82801FB SMBus rev 0x04 at pci0 dev 31 function 3 not configured
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
usb1 at uhci1: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci2: USB revision 1.0
uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci3: USB revision 1.0
uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
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
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask fffd netmask fffd ttymask 
rd0: fixed, 3800 blocks
vendor 0xeb1a product 0x2761 rev 2.00/8.21 addr 2 at uhub3 port 2  
not configured
umass0 at uhub1 port 1 configuration 1 interface 0 vendor 0x3538 USB  
Mass Storage Device rev 2.00/1.00 addr 2

umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets
sd0 at scsibus0 targ 1 lun 0: aigo USB, Storage Device, 0.00 SCSI2 0/ 
direct removable

sd0: 984MB, 125 cyl, 255 head, 63 sec, 512 bytes/sec, 2015232 sec total
umass1 at uhub2 port 1 configuration 1 interface 0 ENE UB6225 rev  
2.00/1.00 addr 2

umass1: using SCSI over Bulk-Only
scsibus1 at umass1: 2 targets
sd1 at scsibus1 targ 1 lun 0: USB2.0, CardReader SD0, 0100 SCSI0 0/ 
direct removable

sd1: drive offline
dkcsum: wd0 matches BIOS drive 0x81
dkcsum: sd0 matches BIOS drive 0x80
root on rd0a swap on rd0b dump on rd0b
WARNING: R/W mount of /mnt denied.  Filesystem is not clean - run fsck
WARNING: /mnt was not properly unmounted



Update needed on Okean list/s for spamd.conf

2007-11-14 Thread RW
I'm not sure which is the correct place to raise this, so a smack in
the appropriate direction is fine.

I noticed a bunch of suspicious grey listed entries in spamdb output.
On checking the origins (122.136.48|49.x) I wondered why the China list
didn't tarpit them immediately. Spamd logs showed quite a few lists:
china, so I knew spamd was still in posession of some addresses.

Checking http://www.okean.com/chinacidr.txt against
www.openbsd.org/spamd/chinacidr.txt.gz showed that it is almost 14
months since the latter was generated.

The Korea lists show a similar problem.

Thanks,

Rod/
/earth: write failed, file system is full
cp: /earth/creatures: No space left on device



Re: machine which freeze with openbsd 4.2

2007-11-14 Thread michael hamerski
 This machine freezes if re0 is NOT forced to 100baseTX.

same here on -current/amd64, forcing to 100baseTX solves it for me
even with an OSX box next to it

mike

OpenBSD 4.2-current (GENERIC) #1239: Mon Nov 12 16:26:56 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 1073082368 (1023MB)
avail mem = 1030537216 (982MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf06e0 (53 entries)
bios0: vendor American Megatrends Inc. version 080012 date 07/04/2006
bios0: ASUSTeK Computer INC. A6Tc
acpi at mainbus0 not configured
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Turion(tm) 64 X2 Mobile Technology TL-50, 1607.52 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 256KB
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
pci0 at mainbus0 bus 0: configuration mode 1
NVIDIA C51 Host rev 0xa2 at pci0 dev 0 function 0 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 1 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 2 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 3 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 4 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 5 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 6 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 7 not configured
ppb0 at pci0 dev 3 function 0 NVIDIA C51 PCIE rev 0xa1
pci1 at ppb0 bus 1
re0 at pci1 dev 0 function 0 Realtek 8168 rev 0x01: RTL8168 2
(0x3800), irq 11, address 00:18:f3:52:7b:0a
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
ppb1 at pci0 dev 4 function 0 NVIDIA C51 PCIE rev 0xa1
pci2 at ppb1 bus 2
vga1 at pci2 dev 0 function 0 NVIDIA GeForce 7300 Go rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
NVIDIA MCP51 Host rev 0xa2 at pci0 dev 9 function 0 not configured
pcib0 at pci0 dev 10 function 0 NVIDIA MCP51 ISA rev 0xa3
nviic0 at pci0 dev 10 function 1 NVIDIA MCP51 SMBus rev 0xa3
iic0 at nviic0
maxtmp0 at iic0 addr 0x4c: max6657
spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
iic1 at nviic0
NVIDIA MCP51 PMU rev 0xa3 at pci0 dev 10 function 3 not configured
ohci0 at pci0 dev 11 function 0 NVIDIA MCP51 USB rev 0xa3: irq 11,
version 1.0, legacy support
ehci0 at pci0 dev 11 function 1 NVIDIA MCP51 USB rev 0xa3: irq 7
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 NVIDIA EHCI root hub rev 2.00/1.00 addr 1
pciide0 at pci0 dev 13 function 0 NVIDIA MCP51 IDE rev 0xa1: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: MATSHITA, DVD-RAM UJ-850S, 1.21 SCSI0
5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
wd0 at pciide0 channel 1 drive 0: HTS541080G9AT00
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5
ppb2 at pci0 dev 16 function 0 NVIDIA MCP51 PCI-PCI rev 0xa2
pci3 at ppb2 bus 3
cbb0 at pci3 dev 1 function 0 Ricoh 5C476 CardBus rev 0xb3: irq 11
Ricoh 5C552 Firewire rev 0x08 at pci3 dev 1 function 1 not configured
sdhc0 at pci3 dev 1 function 2 Ricoh 5C822 SD/MMC rev 0x17: irq 5
sdmmc0 at sdhc0
Ricoh 5C592 Memory Stick rev 0x08 at pci3 dev 1 function 3 not configured
bwi0 at pci3 dev 3 function 0 Broadcom BCM4318 rev 0x02: irq 11,
address 00:18:f3:46:29:40
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 4 device 0 cacheline 0x0, lattimer 0x40
pcmcia0 at cardslot0
azalia0 at pci0 dev 16 function 1 NVIDIA MCP51 HD Audio rev 0xa2: irq 10
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: Realtek/0x0861 (rev. 3.64), HDA version 1.0
azalia0: codec: Motorola/0x3055 (rev. 7.0), HDA version 1.0
azalia0: codec[1]: No support for modem function groups
azalia0: codec[1]: No audio function groups
audio0 at azalia0
pchb0 at pci0 dev 24 function 0 AMD AMD64 HyperTransport rev 0x00
pchb1 at pci0 dev 24 function 1 AMD AMD64 Address Map rev 0x00
pchb2 at pci0 dev 24 function 2 AMD AMD64 DRAM Cfg rev 0x00
pchb3 at pci0 dev 24 function 3 AMD AMD64 Misc Cfg rev 0x00
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
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
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 NVIDIA OHCI root hub rev 1.00/1.00 addr 1
ugen0 at uhub0 port 5 Syntek USB2.0 rev 2.00/0.05 addr 2
uhidev0 at uhub1 port 3 configuration 1 interface 0 Logitech

Re: gOS Develop Kit with VIA pc-1 Processor Platform VIA C7-D

2007-11-14 Thread thekat
Nico Meijer wrote:
 
 Hey Mike,
 
 Has anyone tried this motherboard with OpenBSD?  Does it work?
 
 I have a similar pc-1 device, which pus along perfectly.
 
 I got mine here:
 http://www.picco.nl/product_info.php?cPath=37_23products_id=747
 
 Be well... Nico
 

Nico..
Can you post your setup.. i.e. PSU, Case , etc..
I am looking at buying this to replace my current Intel NetPC Celeron 400
256 RAM
to run the firewall and small web server..

thx
tk
-- 
View this message in context: 
http://www.nabble.com/gOS-Develop-Kit-with-VIA-pc-1-Processor-Platform-VIA-C7-D-tf4770842.html#a13759907
Sent from the openbsd user - misc mailing list archive at Nabble.com.



trunk failover on -current problem

2007-11-14 Thread michael hamerski
hi,

I'm trying to do wired/wireless failover with dhcp on -current/amd64:

$ cat /etc/hostname.re0
up media 100baseTX

$ cat /etc/hostname.bwi0
up media DS11 nwid  nwkey 

$ cat /etc/hostname.trunk0
trunkproto failover trunkport re0 trunkport bwi0
dhcp

$ ifconfig

lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33168
groups: lo
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
re0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
lladdr 00:18:f3:52:7b:0a
trunk: trunkdev trunk0
media: Ethernet 100baseTX (100baseTX half-duplex)
status: active
inet6 fe80::218:f3ff:fe52:7b0a%re0 prefixlen 64 scopeid 0x1
bwi0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
lladdr 00:18:f3:52:7b:0a
trunk: trunkdev trunk0
groups: wlan
media: IEEE802.11 DS11 (DS11 mode 11b)
status: active
ieee80211: nwid not displayed chan 2 bssid 00:0e:2e:8a:91:d2 26dB
nwkey not displayed
inet6 fe80::218:f3ff:fe46:2940%bwi0 prefixlen 64 scopeid 0x2
enc0: flags=0 mtu 1536
trunk0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:18:f3:52:7b:0a
trunk: trunkproto failover
trunkport bwi0 active
trunkport re0 master,active
groups: trunk egress
media: Ethernet autoselect
status: active
inet6 fe80::218:f3ff:fe52:7b0a%trunk0 prefixlen 64 scopeid 0x5
inet 192.168.16.72 netmask 0xff00 broadcast 192.168.16.255


I'm lucky to own both a re(4) card that hangs the system when not
forced to 100baseTX and a bwi(4) that only works when forced to 11b,
hence the media directives in hostname.if. I can get an IP when
booting with or without wired plugged in, but if I subsequently pull
the wired, it never fails over. However, if i run dhclient trunk0
again, I get an IP over wireless. Am I missing something? There's a
weird two lines at end of dmesg that I've never seen.

thanks,

mike

OpenBSD 4.2-current (GENERIC.MP) #1446: Mon Nov 12 16:39:11 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1073082368 (1023MB)
avail mem = 1030402048 (982MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf06e0 (53 entries)
bios0: vendor American Megatrends Inc. version 080012 date 08/22/2007
bios0: ASUSTeK Computer INC. A6Tc
acpi at mainbus0 not configured
mainbus0: Intel MP Specification (Version 1.4)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Turion(tm) 64 X2 Mobile Technology TL-50, 1607.56 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 256KB
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: apic clock running at 200MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Turion(tm) 64 X2 Mobile Technology TL-50, 1607.32 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 256KB
64b/line 16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
mpbios: bus 0 is type PCI
mpbios: bus 1 is type PCI
mpbios: bus 2 is type PCI
mpbios: bus 3 is type PCI
mpbios: bus 4 is type PCI
mpbios: bus 5 is type ISA
ioapic0 at mainbus0 apid 2 pa 0xfec0, version 11, 24 pins
pci0 at mainbus0 bus 0: configuration mode 1
NVIDIA C51 Host rev 0xa2 at pci0 dev 0 function 0 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 1 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 2 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 3 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 4 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 5 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 6 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 7 not configured
ppb0 at pci0 dev 3 function 0 NVIDIA C51 PCIE rev 0xa1
pci1 at ppb0 bus 1
re0 at pci1 dev 0 function 0 Realtek 8168 rev 0x01: RTL8168 2
(0x3800), apic 2 int 11 (irq 11), address 00:18:f3:52:7b:0a
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
ppb1 at pci0 dev 4 function 0 NVIDIA C51 PCIE rev 0xa1
pci2 at ppb1 bus 2
vga1 at pci2 dev 0 function 0 NVIDIA GeForce 7300 Go rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
NVIDIA MCP51 Host rev 0xa2 at pci0 dev 9 function 0 not configured
pcib0 at pci0 dev 10 function 0 NVIDIA 

Re: win32-codecs, avi and amd64 question

2007-11-14 Thread Jacob Meuser
On Wed, Nov 14, 2007 at 08:13:42PM +0530, Girish Venkatachalam wrote:
 On 13:44:00 Nov 14, Jacob Meuser wrote:
  
  IMO vlc has higher quality playback of most media, can do things
  mplayer can't, has a nicer ui, etc, etc ...
  
 
 UI?
 
 Well I am a command line person. 

command line media player.  sorry, but that doesn't make sense, IMO.
I mean, if you're playing a video, you have a video window .. it's
graphical by nature.

 mplayer cannot understand DVD menus. That is the only problem mplayer
 has IMHO.

that's pretty basic functionality of a media player, no?

 I honestly tried vlc. But it was too GUI oriented,

$ vlc --help | wc -l
VLC media player 0.8.6c Janus
 169
$ mplayer --help | wc -l
 39
$ 

 all sorts of ugly
 output like KDE and other C++ junk out there...

yes, in -current the vlc port can be built with aRTs and Esound
support, and it does use wxWidgets for the GUI.  however, it does
have a curses UI: vlc -I curses.

 Now I again it is my opinion. 
 
 Can you tell me what vlc can do that mplayer can't?

rtp stream server.  sound server output (in -current).  playing
mpeg movies in firefox.

 Have you tried to study mplayer's man pages, the html documentation
 and stuff?

yes.  it's a mess.  how can e.g, mpg321 know that file.m3u is a playlist,
but mplayer needs to have -playlist specified?  and if -playlist is
not specified, it complains about missing win32-codecs???

 It takes a long time to learn but once learnt you start feeling that it
 is the best thing since sliced bread.

actually, the more I use it, the less I like it.

 This article should give an idea.
 
 http://linuxjournal.com/9787

I see a statements like:

It is a mature application that has no parallel.  MEncoder, it companion
video encoder program, does a much better job than FFMPEG in transcoding
video, although it is a bit difficult to use and learn.

that have no basis.  how and why MEncoder does a much better job than
FFMPEG in transcoding video?  there is no comparison whatsoever
between ffmpeg transcoding and mplayer transcoding.  further, mplayer/
mencoder are heavy users of libavcodec/libavformat (FFMpeg libraries).
that's what all those 'lavc*' options are.

$ ffmpeg -i input.avi -target ntsc-dvd dvd.mpg

takes any AVI input and outputs a DVD compliant NTSC mpeg2 PS.  what
is the mplayer equivilent?

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: win32-codecs, avi and amd64 question

2007-11-14 Thread Girish Venkatachalam
On 01:58:13 Nov 15, Jacob Meuser wrote:
 
 command line media player.  sorry, but that doesn't make sense, IMO.
 I mean, if you're playing a video, you have a video window .. it's
 graphical by nature.
 

Didn't you check out the menu option in my article?

mplayer has a sexy OSD. :)

Well any reasonable UNIX app should have an extensive set of command
line controls and tweaks.

Doesn't matter if it is multimedia. Even some web apps have the same
parameters configured from the command line.

 
 that's pretty basic functionality of a media player, no?
 

I agree.

 
 $ vlc --help | wc -l
 VLC media player 0.8.6c Janus
  169
 $ mplayer --help | wc -l
  39
 $ 
 

This is not apples to apples comparison.

mplayer can play any media. In fact you don't need any other
application. You can also stream with mplayer in an indirect way. It can
play SIP urls and play Internet streams. You cannot run a media server.
For that you can use darkice,liveice,shout* or even ffserver.

Of course I tried vlc for this very purpose but I am sorry to say I was
disappointed.

The documentation asks me to use the GUI. I don't like that.

I am sure you know this but still.

mplayer can play

a) audio
b) video
c) streams
d) analog television
e) digital television

Now what remains? :)

Have you checked the filters and plugins? It is mind boggling.

And the tweakability with the input keys and commands?

$ mplayer -input keylist

$ mplayer -input cmdlist

LIRC is pretty basic these days but mplayer is quite tweakable to one's
taste and as a media player for UNIX this is what one would expect.

 
 yes, in -current the vlc port can be built with aRTs and Esound
 support, and it does use wxWidgets for the GUI.  however, it does
 have a curses UI: vlc -I curses.
 

But where is the documentation?

Anyway I might be biased here. I don't like the smell of vlc.

That is all.

 rtp stream server.  sound server output (in -current).  playing
 mpeg movies in firefox.

mplayer plugin for firefox. Have you checked that out?

I got that working for OpenBSD but for some reason it does not play
sound most of the time.

I hope some port of it is in the works...

(maybe it is already there)

 
 yes.  it's a mess.  how can e.g, mpg321 know that file.m3u is a playlist,
 but mplayer needs to have -playlist specified?  and if -playlist is
 not specified, it complains about missing win32-codecs???
 

Buddy,

You are seriously mistaken here.

The -playlist option cannot be avoided because mplayer expects a media
file as input.

You can get the best of both worlds with the -playlist option. Check out
my article.

You can invoke the input subsystem from a FIFO file. Really cool. :)

But tvtime can do that too.

 
 actually, the more I use it, the less I like it.
 

I have nothing to say here. ;)

 
 I see a statements like:
 
 It is a mature application that has no parallel.  MEncoder, it companion
 video encoder program, does a much better job than FFMPEG in transcoding
 video, although it is a bit difficult to use and learn.
 
 that have no basis.  

Why?


 how and why MEncoder does a much better job than
 FFMPEG in transcoding video?  there is no comparison whatsoever
 between ffmpeg transcoding and mplayer transcoding.  further, mplayer/
 mencoder are heavy users of libavcodec/libavformat (FFMpeg libraries).
 that's what all those 'lavc*' options are.

ffmpeg screws up the videos. Did you know that?

I have burnt my finger several times with it. There are plenty of bugs
and there is hardly any tweakability there.

It is very easy to goof up when you cut videos.

It somehow does not get the mpeg keyframes and their integrity
correctly.

And it crashes and cannot handle audio resampling. It works sometimes
but mostly I have to resort to some external application for it.

mencoder is harder to use, but it is far more stable, feature rich and
does what you expect.

However this is not to say that mencoder can do everything that ffmpeg
can do. I have heard that ffmpeg can record X11 events but I never got
it to work. mencoder cannot.

I am sure there are few corner cases where ffmpeg can do a better job
but I don't remember right now. Nothing to beat ffmpeg in ease of use
though.

 
 $ ffmpeg -i input.avi -target ntsc-dvd dvd.mpg
 
 takes any AVI input and outputs a DVD compliant NTSC mpeg2 PS.  what
 is the mplayer equivilent?

Check out the html documentation.

It is far more readable than the man pages.

Just to make my point I am yanking the relevant command line.

$ mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf
scale=720:480,\
  harddup -srate 48000 -af lavcresample=48000 -lavcopts
vcodec=mpeg2video:\
  vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=18:acodec=ac3:\
  abitrate=192:aspect=16/9 -ofps 3/1001 \
  -o movie.mpg movie.avi

You have examples for everything including what you ask.

Just point your browser under OpenBSD to

file:///usr/local/share/doc/mplayer/index.html 

and

Enjoy! :)

regards,
Girish



Re: win32-codecs, avi and amd64 question

2007-11-14 Thread Jacob Meuser
On Thu, Nov 15, 2007 at 08:29:53AM +0530, Girish Venkatachalam wrote:
 On 01:58:13 Nov 15, Jacob Meuser wrote:

 mplayer can play any media. In fact you don't need any other
 application.

nonsense

 e) digital television

you are obviously not talking about mplayer on OpenBSD.

  I see a statements like:
  
  It is a mature application that has no parallel.  MEncoder, it companion
  video encoder program, does a much better job than FFMPEG in transcoding
  video, although it is a bit difficult to use and learn.
  
  that have no basis.  
 
 Why?

because you do not say how or why it is better.  are the options
more sensible?  is the compression better?  is the overall output
smoother?  higher quality vs lower bitrate?  what is better?

 
  how and why MEncoder does a much better job than
  FFMPEG in transcoding video?  there is no comparison whatsoever
  between ffmpeg transcoding and mplayer transcoding.  further, mplayer/
  mencoder are heavy users of libavcodec/libavformat (FFMpeg libraries).
  that's what all those 'lavc*' options are.
 
 ffmpeg screws up the videos. Did you know that?

I am the ffmpeg port maintainer.  I use ffmpeg regularly for video
capture and transcoding.  it works quite well for me, and there are 
no outstanding bug reports for the port.  I have never heard from you
about ffmpeg screws up the videos.

look, someone asked about playing media on amd64 and whether
win32-codecs was important.  this immediately made me think of
mplayer because it really seems to want to use those blobs, so
I offered some other options which I prefer, while you insist
that mplayer is the be-all-end-all.  no I don't write articles,
but I do work on OpenBSD's multimedia ports.

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: win32-codecs, avi and amd64 question

2007-11-14 Thread Girish Venkatachalam
On 04:40:22 Nov 15, Jacob Meuser wrote:
 
 nonsense
 

Agreed. But for playing media I don't need.

 
 you are obviously not talking about mplayer on OpenBSD.
 

It will have it in future of course. :)

 
 because you do not say how or why it is better.  are the options
 more sensible?  is the compression better?  is the overall output
 smoother?  higher quality vs lower bitrate?  what is better?
 

To answer the above questions, I will try my best.

I don't get what you mean by compression but options being sensible
does not sound like something I can answer.

I will still try. It does give me enough options to play with. Whereas
ffmpeg hardly gives any.

Overall output being smoother?

It depends on the output driver. mplayer has support for a zillion
output drivers. No other application can match in that respect.

If you have xv support, I would think that mplayer can do a better job
than any other application. It makes use of optimal memory/CPU
resources. Even if you don't have xv support mplayer can do a good job.
Since the options are rich.

Higher quality vs lower bitrates?

It depends on the CODEC and as you know both mplayer and ffmpeg use the
same libavcodec library (more or less).

But mplayer/mencoder supports a great deal more tweakability.

Better is from many angles.:)

 
 I am the ffmpeg port maintainer.  I use ffmpeg regularly for video
 capture and transcoding.  it works quite well for me, and there are 
 no outstanding bug reports for the port.  I have never heard from you
 about ffmpeg screws up the videos.
 

If it screws up the video, there is a problem in the algorithm and
not in the port.

I shall get back to you with bug reports in future.

Also it is good to know that you maintain the port. Thanks.

 look, someone asked about playing media on amd64 and whether
 win32-codecs was important.  this immediately made me think of
 mplayer because it really seems to want to use those blobs, so
 I offered some other options which I prefer, while you insist
 that mplayer is the be-all-end-all.  no I don't write articles,
 but I do work on OpenBSD's multimedia ports.

mplayer using blobs?

I never want anyone to use blobs either. No one in this camp wants that.

In fact in one of my first responses I specifically said that I could
play without using the closed source drivers.

Anyway let us move on.

Nice talking to you.

Best,
Girish



Re: Poptop

2007-11-14 Thread David Brohall

Thanks Bryan,

I haven't tried it on 4.1 and have nothing to compare.

Would you please direct me to some actual information (openbsd where  
you don't need to recompile) or tell me what settings you have?

- ppp.conf
- pptpd.conf
- ifconfig - what interface(s) you use for VPN and LAN and how you set  
them up (maybe hostname.if)


Cheers,
David


14 nov 2007 kl. 22.01 skrev Bryan Irvine:


Should be the same as in 4.1.  A tip though, use a different IP range
not in use on your LAN.  I had issues with machines not knowing where
to route before I did that.

--Bryan

On Nov 14, 2007 12:00 PM, David Brohall [EMAIL PROTECTED] wrote:

Does anyone know a working poptop howto or have some configuration
files that works for OBSD 4.2?

Shall I disable GRE in kernel?
I tried but then poptop didn't install at all.
I also get some kind of IPv6 error even if I've diabled ipv6 in
ppp.conf.

Cheers,
David