Re: multilink VPN

2009-05-30 Thread Anathae Townsend
James Mackinnon wrote on Friday, May 29, 2009 6:25 PM
 Hi All
 
 Thanks for your feedback.
 
 The guy regarding the cisco is a CCIE so I tend to accept his
 statements
 quick enough..
 
 In VPN, I am referencing it in general terms in the creation of a
 private
 network over a public network of course.  I would go with MPLS or
 another
 technology, however again, not 100% failsafe.
 
 Their application is a thick app which has allowances for network
 drops,
 however, the data is a real-time life and death type of solution in
 that
 they are a security monitoring company with multiple sites to which
 access
 data in 1 location. This is what I must ensure stays up because staff
 must
 be able to handle the alarms..
 
 Roughly 1 million alarms a day go through this network, thus, any
 outage can
 result in dropped alarms.. Our solutions in both facilities also offer
 some
 allowances for drops by caching an alarm until network return, however
 applications failures are also bad in this case.
 
 At first, I was looking at BGP, and in the past have used it, but with
 convergence time on a net down situation, it doesn't come close to the
 time
 required.
 
 Personally, I think any solution that can rebuild in 10-30 seconds is a
 very
 solid solution. If they are not happy with that, I could recommend a
 very
 expensive alternative but that won't fly.
 
 Stuart, do you know of some sources I should review on your mentioned
 idea.
 
 I am also looking at multi-segmenting the locations systems and having
 their
 applications account for loss to failover to the second IP.
 
 fun little project, very small to almost nil budget is the challange.
 
 Cheers

If it absolutely has to be up, OpenVMS



Re: Best supported Asterisk interface for OpenBSD?

2009-05-30 Thread Michiel van Baak
On 17:11, Fri 29 May 09, Andres Salazar wrote:
 I would like to ask the OBSD community if someone can recommend me a good
 supported interface for Asterisk on OBSD.
 
 I have heard that FreePBX is really a pain to configure because it assumes a
 linux environment.
 
 Please anybody share their experience?

Not to start an editor war :)
In my opinion the best interface to configure asterisk is vim.
Use it to alter the configuration files.
-- 

Michiel van Baak
mich...@vanbaak.eu
http://michiel.vanbaak.eu
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x71C946BD

Why is it drug addicts and computer aficionados are both called users?



Re: Where's demime?

2009-05-30 Thread Toni Mueller
Hi,

On Fri, 29.05.2009 at 09:29:39 +0200, ropers rop...@gmail.com wrote:
 I know that demime is being used on the misc mailing list.
 I even tried to see if it's contained in some other package:
 http://www.google.ie/search?q=demime+inurl%3Aopenbsd.org+inurl%3Acontents.html
 
 A Google search for openbsd and demime returns too many archived mails

a quick search for 'demime', ie, w/o 'openbsd', returns this near the
top of the list:

http://www.freshports.org/mail/demime/


Kind regards,
--Toni++




Re: WebHosting Management Software

2009-05-30 Thread Insan Praja SW

Hi Misc@,
On Fri, 29 May 2009 12:40:04 +0700, Lars Nooden lars.cura...@gmail.com  
wrote:



Working with web hosting is easy.  Put the OpenAFS client on your web
team's macintoshes and then use it to access the directories hosted on
your OpenBSD web server:
http://www.openafs.org/macos.html



Nice.. I'll tell them about this

From there it is about the same access as having the files on your local
harddrive.

There are OpenAFS clients for linux too but see your distro's repository
for details.

The web boys decided to use debian and ISPCP for this cPanel-like/virtual  
hosting since it's considered secure and stable and off course, they got  
front protection from us.



Regards,
-Lars


Regards,
Insan



--
insandotpraja(at)gmaildotcom



Summer Vacations in Puerto Vallarta

2009-05-30 Thread Las Palmas by the Sea
Las Palmas by the SeaLas Palmas by the Sea

Las Palmas by the SeaLas Palmas by the Sea

Las Palmas by the SeaLas Palmas by the Sea

Las Palmas by the SeaLas Palmas by the Sea

Las Palmas by the SeaLas Palmas by the SeaLas Palmas by the Sea

Las Palmas by the Sea

This is an exclusive promotion by Las Palmas by the Sea
Telephone in Mexico +52 (322) 224 0347
Los Angeles, CA (310) 598 2091
New York, NY (212) 845 9362
All reservations are subject to availability
Click here to receive more promotions
Click here to unsubscribe from our mailing list [IMAGE]



amd64/grub package?

2009-05-30 Thread Donald Allen
I've just installed OpenBSD 4.5, first on an i386 system and then on
an amd64 machine. Both installations are dual-boot with Windows XP.
The i386 machine, which I worked on first, was pretty straightforward
-- I made a grub boot floppy so I was able to boot the system after
installation, installed the grub package, made the /grub/menu.lst
file, ran grub-install and I was done.

When I proceeded to work on the amd64 system, after the OpenBSD
installation I was a bit surprised to find that there is no grub
package available for that architecture. I worked around it by copying
(with tar) the /grub directory from the i386 machine to the amd64
system (which was up and running, courtesy the boot floppy). I was
then able to write the mbr with the grub 'setup' command, issued from
the grub command line after booting from the floppy and all was well.
(Note that everything was done on the amd64 machine with the 32-bit
version of grub. Works fine.) But if I hadn't had the i386 machine
available, things would have been more complicated, though I'm sure
ultimately solvable (i.e., by building grub from the source).

I did consider using the multi-boot method involving ntldr suggested
in the installation doc. But in my case, the mbr installed by Windows
XP was long gone, because both systems were previously setup dual-boot
with Windows and, first, Linux, and then FreeBSD. So, at the time of
the OpenBSD install, what I had in the mbr was whatever FreeBSD puts
there. I booted the XP CD to try to restore the mbr and ran into
problems on both machines, the details of which I will spare you other
than to note that it is, after all, The World's Most Annoying
Operating System. So the documented method immediately presented
problems in my case (yes, I'm sure I could have found a copy of the XP
mbr somewhere on the network and could have dd'ed it to the disk).

So, I'd like to ask why grub is apparently unsupported on the amd64
architecture? And I would suggest that grub provides a simple solution
to dual-booting OpenBSD on a system that had been previously
dual-booted with Windows and something else and where the Windows
version of the mbr is no longer present. I'd be happy to provide the
documentation for the procedure to add to the install guide, if the
developers are interested.

As an aside, I should mention that the bsd.mp kernel hung (once)
during startup with the USB floppy drive from which I booted still
present. I solved the problem by unplugging the floppy drive after
grub got me to the OpenBSD bootloader. This was not an issue on the
i386 system, on which I use the bsd kernel. I will investigate this
further and provide a bug report if I can reproduce this and it
therefore seems appropriate.

/Don Allen



Wireless help, please

2009-05-30 Thread Ben Goren
I'm trying to set up my first wireless network, with less than stellar  
success.

dmesg here: http://trumpetpower.com/pub/dmesg.boot

$ ifconfig rum0
rum0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu  
1500
 lladdr 00:0e:3b:0e:88:81
 priority: 0
 groups: wlan
 media: IEEE802.11 autoselect hostap
 status: active
 ieee80211: nwid trumpetpower chan 1 bssid 00:0e:3b:0e:88:81  
100dBm
 inet 65.39.81.125 netmask 0xfff0 broadcast 65.39.81.127
 inet6 fe80::20e:3bff:fe0e:8881%rum0 prefixlen 64 scopeid 0x5

It's an old Dell Precision laptop with a Hawking HWUG1 running 4.5- 
STABLE

I'm trying to connect to it from a not-too-old iMac. The two computers  
are less than six feet apart.

I can actually connect and (e.g.) ftp to get a file over the  
network...but only for a few seconds before the link goes dead. Once  
it lasted for almost half a minute. And that's only if I use a static  
IP on the iMac; dhcp is never able to get a lease.

I've tried everything I can think of -- different channels, 802.11b  
and 802.11g, different USB ports (including the built-in USB 1.1 port  
on the back of the laptop), WPA on and off, moving the antenna and  
computer around, with and without an IP assigned to the interface  
(using a bridge), DHCP running and not, and probably more. All  
scenarios give the same symptoms: I can make the connection, but it  
goes away after a few seconds.

I've tried looking in /var/log for clues, but I couldn't find  
anything. No console messages show up.

This is what shows up in the console for the iMac when I attempt to  
connect:

2009-05-30 6:41:09 AM kernel en1: Supported channels 1 2 3 4 5 6 7 8 9  
10 11 5 6 7 8 9 10 11 1 2 3 4 5 6 7 36 40 44 48 52 56 60 64 149 153  
157 161 165 40 48 56 64 153 161 36 44 52 60 149 157
2009-05-30 6:41:28 AM kernel Auth result for: 00:0e:3b:0e:88:81 MAC  
AUTH succeeded
2009-05-30 6:41:28 AM kernel AirPort: Link Up on en1
2009-05-30 6:41:28 AM kernel AirPort: Link Up on en1
2009-05-30 6:41:30 AM mDNSResponder[16] Note: Frequent transitions for  
interface en1 (65.39.81.120); network traffic reduction measures in  
effect
2009-05-30 6:41:30 AM mDNSResponder[16] Note: Frequent transitions for  
interface en1 (65.39.81.120); network traffic reduction measures in  
effect
2009-05-30 6:41:31 AM System Preferences[16088] Error:  
Apple80211Scan() error 16

2009-05-30 6:41:31 AM System Preferences[16088] Error: __performScan()  
EBUSY, try again in a sec
2009-05-30 6:41:32 AM System Preferences[16088] Error:  
Apple80211Scan() error 16

2009-05-30 6:41:32 AM System Preferences[16088] Error: __performScan()  
EBUSY, try again in a sec
2009-05-30 6:41:32 AM System Preferences[16088] Error: __performScan()  
EBUSY, try again in a sec
2009-05-30 6:41:33 AM System Preferences[16088] Error:  
Apple80211Scan() error 16

2009-05-30 6:41:33 AM System Preferences[16088] Error: __performScan()  
EBUSY, try again in a sec
2009-05-30 6:41:33 AM System Preferences[16088] Error: __performScan()  
EBUSY, try again in a sec
2009-05-30 6:41:34 AM System Preferences[16088] Error:  
Apple80211Scan() error 16

2009-05-30 6:41:34 AM System Preferences[16088] Error: __performScan()  
EBUSY, try again in a sec
2009-05-30 6:41:34 AM airportd[50552] Error: Apple80211Associate()  
failed -6
2009-05-30 6:41:34 AM kernel AirPort: Link Down on en1
2009-05-30 6:41:34 AM SystemUIServer[183] Error: airportd MIG failed =  
-6 ((null))  (port = 51351)
2009-05-30 6:41:34 AM airportd[50552] Error: process_command_dict()  
failed
2009-05-30 6:41:35 AM System Preferences[16088] Error:  
Apple80211Scan() error 16

2009-05-30 6:41:35 AM System Preferences[16088] Error: __performScan()  
EBUSY, try again in a sec
2009-05-30 6:41:35 AM System Preferences[16088] Error: __performScan()  
EBUSY, try again in a sec
2009-05-30 6:41:36 AM kernel Auth result for: 00:0e:3b:0e:88:81 MAC  
AUTH succeeded
2009-05-30 6:41:36 AM kernel AirPort: Link Up on en1
2009-05-30 6:41:36 AM System Preferences[16088] Error:  
Apple80211Scan() error 16

2009-05-30 6:41:36 AM System Preferences[16088] Error:  
Apple80211Scan() error 16

2009-05-30 6:41:36 AM System Preferences[16088] Error: __performScan()  
EBUSY, try again in a sec
2009-05-30 6:41:37 AM System Preferences[16088] Error:  
Apple80211Scan() error 16

2009-05-30 6:41:37 AM System Preferences[16088] Error:  
Apple80211Scan() error 16

2009-05-30 6:41:37 AM System Preferences[16088] Error: __performScan()  
failed (16)
2009-05-30 6:41:42 AM airportd[50552] Error: Apple80211Associate()  
failed -6
2009-05-30 6:41:42 AM kernel AirPort: Link Down on en1
2009-05-30 6:41:42 AM SystemUIServer[183] Error: airportd MIG failed =  
-6 ((null))  (port = 51351)
2009-05-30 6:41:42 AM airportd[50552] Error: process_command_dict()  
failed
2009-05-30 6:41:42 AM airportd[50552] Error: process_command_dict()  
failed
2009-05-30 6:41:47 AM mDNSResponder[16] Note: Frequent transitions for  
interface 

Re: amd64/grub package?

2009-05-30 Thread Jason Dixon
On Sat, May 30, 2009 at 09:10:58AM -0400, Donald Allen wrote:
 
 So, I'd like to ask why grub is apparently unsupported on the amd64
 architecture? And I would suggest that grub provides a simple solution
 to dual-booting OpenBSD on a system that had been previously
 dual-booted with Windows and something else and where the Windows
 version of the mbr is no longer present. I'd be happy to provide the
 documentation for the procedure to add to the install guide, if the
 developers are interested.

Save yourself some headaches.  Use GAG.

http://gag.sourceforge.net/

-- 
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net/



Re: Wireless help, please

2009-05-30 Thread Jason Dixon
On Sat, May 30, 2009 at 06:48:59AM -0700, Ben Goren wrote:
 I'm trying to set up my first wireless network, with less than stellar  
 success.

You need to narrow your spectrum of diagnosis.  Start ruling out those
things which are known to work.  Rule out those things which are known
to work and you'll be left with the thing(s) that don't.

Examples:

- OpenBSD wireless connectivity (as a client)
- OpenBSD wired connectivity
- Mac wired connectivity
- Mac wireless connectivity (to a different WAP)
- etc...

-- 
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net/



Re: amd64/grub package?

2009-05-30 Thread Donald Allen
On Sat, May 30, 2009 at 9:58 AM, Jason Dixon ja...@dixongroup.net wrote:
 On Sat, May 30, 2009 at 09:10:58AM -0400, Donald Allen wrote:

 So, I'd like to ask why grub is apparently unsupported on the amd64
 architecture? And I would suggest that grub provides a simple solution
 to dual-booting OpenBSD on a system that had been previously
 dual-booted with Windows and something else and where the Windows
 version of the mbr is no longer present. I'd be happy to provide the
 documentation for the procedure to add to the install guide, if the
 developers are interested.

 Save yourself some headaches.  Use GAG.

 http://gag.sourceforge.net/

I looked over the documentation. Yes, for dual-booting OpenBSD with
Windows, this looks fine, very nice. And I'll concede that it's a bit
easier to configure than grub (it guides you through the
configuration, rather than your having to make up a menu.lst), but
when there's a grub package available, as there is with i386 OpenBSD,
the difference isn't great, especially for someone like me with years
of experience with grub, or if good documentation is available
explaining how to do it.

Though it isn't important in the Windows/OpenBSD case, it appears that
GAG is less general than grub, in the sense that it is assuming
there's a loader in the partition boot record of every partition you
want to boot and appears to always use the grub chainloader technique.
This is not a problem for OpenBSD, which installs its bootloader in
its partition boot record when you tell it during installation that
you aren't going to use the whole disk. But it is a problem if you
want to, say, triple-boot Windows, OpenBSD, and Linux. Linux will
require installing grub in its partition boot record, as the GAG
author notes in his document. In that situation, it would make more
sense, I think, to skip GAG and let the Linux installer install grub
in the mbr for booting all three. In that setup, Linux would be booted
by grub directly, not via a secondary loader.

/Don



 --
 Jason Dixon
 DixonGroup Consulting
 http://www.dixongroup.net/



Re: amd64/grub package?

2009-05-30 Thread Jason Dixon
On Sat, May 30, 2009 at 11:05:26AM -0400, Donald Allen wrote:
 On Sat, May 30, 2009 at 9:58 AM, Jason Dixon ja...@dixongroup.net wrote:
  On Sat, May 30, 2009 at 09:10:58AM -0400, Donald Allen wrote:
 
  So, I'd like to ask why grub is apparently unsupported on the amd64
  architecture? And I would suggest that grub provides a simple solution
  to dual-booting OpenBSD on a system that had been previously
  dual-booted with Windows and something else and where the Windows
  version of the mbr is no longer present. I'd be happy to provide the
  documentation for the procedure to add to the install guide, if the
  developers are interested.
 
  Save yourself some headaches. ?Use GAG.
 
  http://gag.sourceforge.net/
 
 I looked over the documentation. Yes, for dual-booting OpenBSD with
 Windows, this looks fine, very nice. And I'll concede that it's a bit
 easier to configure than grub (it guides you through the
 configuration, rather than your having to make up a menu.lst), but
 when there's a grub package available, as there is with i386 OpenBSD,
 the difference isn't great, especially for someone like me with years
 of experience with grub, or if good documentation is available
 explaining how to do it.
 
 Though it isn't important in the Windows/OpenBSD case, it appears that
 GAG is less general than grub, in the sense that it is assuming
 there's a loader in the partition boot record of every partition you
 want to boot and appears to always use the grub chainloader technique.
 This is not a problem for OpenBSD, which installs its bootloader in
 its partition boot record when you tell it during installation that
 you aren't going to use the whole disk. But it is a problem if you
 want to, say, triple-boot Windows, OpenBSD, and Linux. Linux will
 require installing grub in its partition boot record, as the GAG
 author notes in his document. In that situation, it would make more
 sense, I think, to skip GAG and let the Linux installer install grub
 in the mbr for booting all three. In that setup, Linux would be booted
 by grub directly, not via a secondary loader.

I've used GAG to multi-boot OpenBSD, Linux, Solaris and Windows.  Yes, I
use it as a first stage bootloader.  So what?  It works great and you
don't see me whining about grub support in OpenBSD.

-- 
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net/



Re: amd64/grub package?

2009-05-30 Thread Donald Allen
On Sat, May 30, 2009 at 12:00 PM, Jason Dixon ja...@dixongroup.net wrote:
 On Sat, May 30, 2009 at 11:05:26AM -0400, Donald Allen wrote:
 On Sat, May 30, 2009 at 9:58 AM, Jason Dixon ja...@dixongroup.net wrote:
  On Sat, May 30, 2009 at 09:10:58AM -0400, Donald Allen wrote:
 
  So, I'd like to ask why grub is apparently unsupported on the amd64
  architecture? And I would suggest that grub provides a simple solution
  to dual-booting OpenBSD on a system that had been previously
  dual-booted with Windows and something else and where the Windows
  version of the mbr is no longer present. I'd be happy to provide the
  documentation for the procedure to add to the install guide, if the
  developers are interested.
 
  Save yourself some headaches. ?Use GAG.
 
  http://gag.sourceforge.net/

 I looked over the documentation. Yes, for dual-booting OpenBSD with
 Windows, this looks fine, very nice. And I'll concede that it's a bit
 easier to configure than grub (it guides you through the
 configuration, rather than your having to make up a menu.lst), but
 when there's a grub package available, as there is with i386 OpenBSD,
 the difference isn't great, especially for someone like me with years
 of experience with grub, or if good documentation is available
 explaining how to do it.

 Though it isn't important in the Windows/OpenBSD case, it appears that
 GAG is less general than grub, in the sense that it is assuming
 there's a loader in the partition boot record of every partition you
 want to boot and appears to always use the grub chainloader technique.
 This is not a problem for OpenBSD, which installs its bootloader in
 its partition boot record when you tell it during installation that
 you aren't going to use the whole disk. But it is a problem if you
 want to, say, triple-boot Windows, OpenBSD, and Linux. Linux will
 require installing grub in its partition boot record, as the GAG
 author notes in his document. In that situation, it would make more
 sense, I think, to skip GAG and let the Linux installer install grub
 in the mbr for booting all three. In that setup, Linux would be booted
 by grub directly, not via a secondary loader.

 I've used GAG to multi-boot OpenBSD, Linux, Solaris and Windows.  Yes, I
 use it as a first stage bootloader.  So what?

You have to install a second-stage bootloader, so why not use one
bootloader to do the whole job rather than two? That's what.



Atheros AR5424/2425

2009-05-30 Thread Kagamine Len
Hi. I wonder if anybody is working on AR2425 support? I got a eee pc with one of
those cards, everything works fine but wireless. I got kernel panic in
ar5k_channel() (ar5xxx.c:1110), so I tried to add ar2425-specific channel
setting function. Panic now disappears, but the system freezes when SIMR2 is
being written 3rd time (ar5212.c:1250). Can anybode help me with it? 

diff and dmesg attached.


--- ar5xxx.cWed Jul 30 11:43:01 2008
+++ ar5xxx.cSat May 30 01:02:49 2009
@@ -91,6 +91,7 @@
 HAL_BOOLar5k_ar5111_channel(struct ath_hal *, HAL_CHANNEL *);
 HAL_BOOLar5k_ar5111_chan2athchan(u_int, struct ar5k_athchan_2ghz *);
 HAL_BOOLar5k_ar5112_channel(struct ath_hal *, HAL_CHANNEL *);
+HAL_BOOLar5k_ar2425_channel(struct ath_hal *, HAL_CHANNEL *);
 HAL_BOOLar5k_check_channel(struct ath_hal *, u_int16_t, u_int flags);
 
 HAL_BOOLar5k_ar5111_rfregs(struct ath_hal *, HAL_CHANNEL *, u_int);
@@ -1131,6 +1132,8 @@
ret = ar5k_ar5110_channel(hal, channel);
else if (hal-ah_radio == AR5K_AR5111)
ret = ar5k_ar5111_channel(hal, channel);
+   else if (hal-ah_radio == AR5K_AR2425)
+   ret = ar5k_ar2425_channel(hal, channel);
else
ret = ar5k_ar5112_channel(hal, channel);
 
@@ -1242,6 +1245,43 @@
 
AR5K_PHY_WRITE(0x27, (data1  0xff) | ((data0  0xff)  8));
AR5K_PHY_WRITE(0x34, ((data1  8)  0xff) | (data0  0xff00));
+
+   return (AH_TRUE);
+}
+
+HAL_BOOL
+ar5k_ar2425_channel(struct ath_hal *hal, HAL_CHANNEL *channel)
+{
+   u_int32_t data, data0, data2;
+   u_int16_t c;
+
+   data = data0 = data2 = 0;
+   c = channel-c_channel + hal-ah_chanoff;
+
+   /*
+* Set the channel on the AR5112 or newer
+*/
+   if(c  4800) {
+   data0 = ar5k_bitswap((c - 2272), 8);
+   } else if (( c - (c % 5)) != 2 || c  5435) {
+   if(!(c % 20)  c  5120)
+   data0 = ar5k_bitswap(((c - 4800) / 20  2), 8);
+   else if (!(c % 10))
+   data0 = ar5k_bitswap(((c - 4800) / 10  1), 8);
+   else if (!(c % 5))
+   data0 = ar5k_bitswap((c - 4800) / 5, 8);
+   else
+   return (AH_FALSE);
+   data2 = ar5k_bitswap(1, 2);
+   } else {
+   data0 = ar5k_bitswap((10 * (c - 2) - 4800) / 25 + 1, 8);
+   data2 = ar5k_bitswap(0, 2);
+   }
+
+   data = (data0  4) | (data2  2) | 0x1001;
+
+   AR5K_PHY_WRITE(0x27, data  0xff);
+   AR5K_PHY_WRITE(0x36, (data  8)  0x7f);
 
return (AH_TRUE);
 }



OpenBSD 4.5-current (GENERIC) #14: Thu May 28 20:42:55 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) M processor 900MHz (GenuineIntel 686-class) 901 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF
real mem  = 1064398848 (1015MB)
avail mem = 1020846080 (973MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/11/08, BIOS32 rev. 0 @ 0xf0010, SMBIOS 
rev. 2.5 @ 0xf06f0 (37 entries)
bios0: vendor American Megatrends Inc. version 0906 date 09/11/2008
bios0: ASUSTeK Computer INC. 900
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC OEMB MCFG
acpi0: wakeup devices P0P3(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) MC97(S4) 
USB1(S3) USB2(S3) USB3(S3) USB4(S3) EUSB(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 100MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 5 (P0P3)
acpiprt2 at acpi0: bus 3 (P0P5)
acpiprt3 at acpi0: bus 1 (P0P6)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpitz0 at acpi0: critical temperature 90 degC
acpibat0 at acpi0: BAT0 model 900 serial   type LION oem ASUS
acpiac0 at acpi0: AC unit online
acpiasus0 at acpi0
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: PWRB
acpivideo at acpi0 not configured
bios0: ROM list: 0xc/0xf800!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82915GM Host rev 0x04
vga1 at pci0 dev 2 function 0 Intel 82915GM Video rev 0x04
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 1 int 16 (irq 5)
drm0 at inteldrm0
Intel 82915GM Video rev 0x04 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801FB HD Audio rev 0x04: apic 1 int 
16 (irq 5)
azalia0: codecs: Realtek ALC662
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801FB PCIE rev 0x04: apic 1 int 16 
(irq 5)
pci1 at ppb0 bus 4
ppb1 at pci0 dev 28 function 1 Intel 82801FB PCIE rev 0x04: apic 1 int 17 
(irq 11)

bsd.rd doesn't boot on a Lenovo Thinkstation S10

2009-05-30 Thread Donald Allen
Attempting to boot my Thinkstation S10 with a cd made from
amd64/install45.iso results in

uhci3: host system error
uhci3: host controller process error
uhci3: host controller halted

The machine has a quad-core Intel processor, 4 Gb memory, 2 146 Gb SAS
drives on an LSI raid controller set up as a raid 0. It's plugged into
a Raritan Switchman KVM. I had no trouble installing Linux and later
FreeBSD on this machine. From what I've seen thus far of OpenBSD, I
prefer it to anything else. But this is obviously a showstopper if I
can't boot the install cd. Anyone have any ideas?

Thanks --
/Don Allen



Re: amd64/grub package?

2009-05-30 Thread Donald Allen
On Sat, May 30, 2009 at 1:12 PM, Brian bwai...@yahoo.com wrote:



 --- On Sat, 5/30/09, Donald Allen donaldcal...@gmail.com wrote:

 You have to install a second-stage bootloader, so why not
 use one
 bootloader to do the whole job rather than two? That's
 what.


 So port is over.  No one is stopping you.

You must have missed part of my original post, because otherwise you'd
know that I've already solved the problem and got grub installed on
the amd64 machine despite the lack of an amd64 package.  So I have no
need to do a port to solve my own problem. I might at some point
consider doing it as a contribution to the OpenBSD community, but
that's a different issue.



Re: amd64/grub package?

2009-05-30 Thread Brian
--- On Sat, 5/30/09, Donald Allen donaldcal...@gmail.com wrote:

 You have to install a second-stage bootloader, so why not
 use one
 bootloader to do the whole job rather than two? That's
 what.
 

So port is over.  No one is stopping you.  



Re: PPTP vpn with OBSD gateway (outgoing)

2009-05-30 Thread Nick Ryan

There's a tickbox on the windows vpn client to tick.

It's quite well hidden.

To get to it, do properties on your VPN connection, then click the  
networking tab. Then do properties on the TCPIP protocol, then click  
advanced and select the Use Default Gateway On Remote Network Option.


It's handy to not have this ticked if you want all your non work  
traffic to go out via your normal connection, but in this case you  
want it ticked.


Cheers - Nick


On 29 May 2009, at 22:08, Juan Miscaro wrote:


Hi, I'm trying to set up a PPTP tunnel for a Windows machine lying
behind my OBSD 4.0 internet gateway.  I can establish the tunnel but
I'm missing the last piece in the puzzle.  This is the routing of the
RFC 1918 addresses.  Locally I have 10.9.0.0/16 addresses and the
windows machine wants to connect to a web server on the remote side
that is using 192.168.0.0/16.

I'm not familiar enough with Windows to say if there is some checkbox
to fill in to make this work but the Firefox browser complains:

Connection interrupted.
The connection to the server was reset while the page was loading.
The network link was interrupted while negotiating a connection.
Please try again.

Is there some particular route that needs to be set up for this to  
work?


Thank you,

/jm




urtw(4)

2009-05-30 Thread Sam Fourman Jr.
misc@,

I bought a new Wireles USB device, using 5-29-2008 amd64 snapshot it will not
attach to urtw.

what are the steps I need to take to add the relevant device ID's to
usbdevs, so that the device will attach?

I know I need to recompile a kernel and I am comfortable with that.

I was able to extract the following info from a snapshot install

 usbdevs -v
Controller /dev/usb0:
addr 1: high speed, self powered, config 1, EHCI root hub(0x),
Intel(0x8086), rev 1.00
 port 1 addr 2: high speed, power 500 mA, config 1,
RTL8187B_WLAN_Adapter(0x8189), Realtek(0x0bda), rev 2.00,
iSerialNumber 00e04c01


here is a link to the Card I bought

http://www.alibaba.com/product/tw102499076-217620669-100648643/High_Power_500mW_WiFi_USB_Adapter.html


Thank you in advance for your help

Sam Fourman Jr.



Re: bsd.rd doesn't boot on a Lenovo Thinkstation S10

2009-05-30 Thread David Vasek

On Sat, 30 May 2009, Donald Allen wrote:


Attempting to boot my Thinkstation S10 with a cd made from
amd64/install45.iso results in

uhci3: host system error
uhci3: host controller process error
uhci3: host controller halted

The machine has a quad-core Intel processor, 4 Gb memory, 2 146 Gb SAS
drives on an LSI raid controller set up as a raid 0. It's plugged into
a Raritan Switchman KVM. I had no trouble installing Linux and later
FreeBSD on this machine. From what I've seen thus far of OpenBSD, I
prefer it to anything else. But this is obviously a showstopper if I
can't boot the install cd. Anyone have any ideas?


Thinkstation S10 seems to be based on Intel X38 chipset. It has some 
special features regarding USB.

http://www.intel.com/Products/Desktop/Chipsets/X38/X38-overview.htm

Possibly you need to enable the fourth USB port fully in the BIOS Setup? 
Just my guess.


If USB support is not necessary for your install, you can go to UKC from 
the boot prompt (see Boot-Time Configuration in the FAQ) and disable the 
uhci(4) driver there. If you boot and install successfully, it will allow 
you to send 'dmesg' and 'pcidump -v' output here for kind people to be 
able to help you, if still needed.


Regards,
David



Re: PPTP vpn with OBSD gateway (outgoing)

2009-05-30 Thread patrick keshishian
On Sat, May 30, 2009 at 11:09 AM, Nick Ryan n...@njryan.com wrote:
 There's a tickbox on the windows vpn client to tick.

 It's quite well hidden.

 To get to it, do properties on your VPN connection, then click the
 networking tab. Then do properties on the TCPIP protocol, then click
 advanced and select the Use Default Gateway On Remote Network Option.

 It's handy to not have this ticked if you want all your non work traffic to
 go out via your normal connection, but in this case you want it ticked.

do you know if the Windows VPN client sets up a route for the remote
network if this checkbox is not checked? Meaning, if the user does not
select this option, is s/he required to set up the route manually?

--patrick

 Cheers - Nick


 On 29 May 2009, at 22:08, Juan Miscaro wrote:

 Hi, I'm trying to set up a PPTP tunnel for a Windows machine lying
 behind my OBSD 4.0 internet gateway. B I can establish the tunnel but
 I'm missing the last piece in the puzzle. B This is the routing of the
 RFC 1918 addresses. B Locally I have 10.9.0.0/16 addresses and the
 windows machine wants to connect to a web server on the remote side
 that is using 192.168.0.0/16.

 I'm not familiar enough with Windows to say if there is some checkbox
 to fill in to make this work but the Firefox browser complains:

 Connection interrupted.
 The connection to the server was reset while the page was loading.
 The network link was interrupted while negotiating a connection.
 Please try again.

 Is there some particular route that needs to be set up for this to work?

 Thank you,

 /jm



Re: PPTP vpn with OBSD gateway (outgoing)

2009-05-30 Thread Nick Ryan
I've had a quick look at a virtual winxp I've got and it does seem to  
be the default unfortunately. I'd recommend quickly checking what the  
vpn client has selected and at the same time check that the routing  
from your web server can actually get back to the ip address that your  
vpn client is given. It's also worth checking if there's any firewall  
rules the other side has that could be interfering.


Once you've got a vpn tunnel established through your openbsd firewall  
the openbsd firewall has no control over what is happening within the  
tunnel. The error is then either on your machine or on the thing  
you're trying to connect to the other side. It might be worth (and I  
will wash my mouth out with soap) trying using Internet Explorer  
instead of Firefox just in case it's your firefox browser having the  
problem. ( a quick telnet to port 80 on the webserver would also prove  
connectivity).


I have assumed that you're doing a pptp tunnel to a windows server and  
only going through the firewall - not starting or terminating the  
tunnel on the firewall. If you are then the issue is with your openbsd  
firewall and you'd need to add routes and rules into that.


Hope some of this helps.

On 30 May 2009, at 21:19, patrick keshishian wrote:


On Sat, May 30, 2009 at 11:09 AM, Nick Ryan n...@njryan.com wrote:

There's a tickbox on the windows vpn client to tick.

It's quite well hidden.

To get to it, do properties on your VPN connection, then click the
networking tab. Then do properties on the TCPIP protocol, then click
advanced and select the Use Default Gateway On Remote Network Option.

It's handy to not have this ticked if you want all your non work  
traffic to
go out via your normal connection, but in this case you want it  
ticked.


do you know if the Windows VPN client sets up a route for the remote
network if this checkbox is not checked? Meaning, if the user does not
select this option, is s/he required to set up the route manually?

--patrick


Cheers - Nick


On 29 May 2009, at 22:08, Juan Miscaro wrote:


Hi, I'm trying to set up a PPTP tunnel for a Windows machine lying
behind my OBSD 4.0 internet gateway.  I can establish the tunnel but
I'm missing the last piece in the puzzle.  This is the routing of  
the

RFC 1918 addresses.  Locally I have 10.9.0.0/16 addresses and the
windows machine wants to connect to a web server on the remote side
that is using 192.168.0.0/16.

I'm not familiar enough with Windows to say if there is some  
checkbox

to fill in to make this work but the Firefox browser complains:

Connection interrupted.
The connection to the server was reset while the page was loading.
The network link was interrupted while negotiating a connection.
Please try again.

Is there some particular route that needs to be set up for this to  
work?


Thank you,

/jm




Re: OpenBGPD and MRT format dumps read by bgpdump

2009-05-30 Thread Claudio Jeker
On Tue, May 26, 2009 at 11:24:29AM -0400, Brian Mengel wrote:
 Greetings,
 
 I've just put together a simple server with the goal of using OpenBGPD
 to collect MRT format BGP table dumps.  I'm using:
 
 OpenBGPD 4.4
 OpenBSD 4.5
 libbgpdump-1.4.99.8 (on a separate Linux server)
 
 bgpdump parses the dumped table from OpenBGPD, and displays individual
 routes, but the AS path for each route is reported as an error and
 various unknown attributes are also reported.  The server is peering
 with a Cisco 7600 series router.  I have tried configuring the server
 as an IBGP peer, an IBGP peer to a route reflector and as an EBGP peer
 with the same general results.
 

Your acctually the first mentioning this problem on the list. MRT dumps
are broken since some time because we dump the aspath in 4-byte format
instead of 2-byte one. I started fixing this but it is not the most
important thing on my list (only the 3rd on my bgpd todo list).

-- 
:wq Claudio



Re: amd64/grub package?

2009-05-30 Thread Stuart Henderson
On 2009-05-30, Donald Allen donaldcal...@gmail.com wrote:
 So, I'd like to ask why grub is apparently unsupported on the amd64
 architecture?

It doesn't build. If you add amd64 to ONLY_FOR_ARCHS and try it:

configure:2421: checking for C compiler default output file name
configure:2424: cc -m32 -ftrampolines -fno-stack-protector   conftest.c  5
/usr/bin/ld: warning: i386 architecture of input file `/tmp//ccaLz6Cb.o' is 
incompatible with i386:x86-64 output
configure:2427: $? = 0
configure:2473: result: a.out
configure:2478: checking whether the C compiler works
configure:2484: ./a.out
Segmentation fault (core dumped)
configure:2487: $? = 139
configure:2494: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.



Re: amd64/grub package?

2009-05-30 Thread Donald Allen
On Sat, May 30, 2009 at 6:04 PM, Stuart Henderson s...@spacehopper.org wrote:
 On 2009-05-30, Donald Allen donaldcal...@gmail.com wrote:
 So, I'd like to ask why grub is apparently unsupported on the amd64
 architecture?

 It doesn't build. If you add amd64 to ONLY_FOR_ARCHS and try it:

Thank you for the pertinent response. The thought occurred to me that
there might be a 64-bit-specific issue, since the omission was a
glaring one, and that was why I asked the question. Perhaps this sort
of thing was one of the reasons behind the decision to start over and
build Grub 2.

/Don



SMTPD TLS Authentication?

2009-05-30 Thread Aaron W. Hsu
Hello SMTPD Gurus,

I have noticed some TLS based authentication stuff in the smtpd.conf(5)
man page. I don't see more details about how it works, though. How 
far along is the TLS based stuff? I'd like to test smtpd with my 
email server on my local machine, which operates as a client to my 
sendmail based server remotely via TLS Authentication. Is this in 
their yet, or does the TLS work differently right now?

Thanks! And, sorry for bugging you if this should be obvious.

-- 
Aaron W. Hsu arcf...@sacrideo.us | http://www.sacrideo.us
Government is the great fiction, through which everybody endeavors to
live at the expense of everybody else. -- Frederic Bastiat
+++ ((lambda (x) (x x)) (lambda (x) (x x))) ++



Re: SMTPD TLS Authentication?

2009-05-30 Thread Gilles Chehade
On Sat, May 30, 2009 at 08:01:49PM -0400, Aaron W. Hsu wrote:
 Hello SMTPD Gurus,
 
 I have noticed some TLS based authentication stuff in the smtpd.conf(5)
 man page. I don't see more details about how it works, though. How 
 far along is the TLS based stuff? I'd like to test smtpd with my 
 email server on my local machine, which operates as a client to my 
 sendmail based server remotely via TLS Authentication. Is this in 
 their yet, or does the TLS work differently right now?
 
 Thanks! And, sorry for bugging you if this should be obvious.
 

It should just work :-)

If it doesn't let me know, I'm in an ssl mood right now

Gilles



Re: Where's demime?

2009-05-30 Thread ropers
2009/5/30 Toni Mueller openbsd-m...@oeko.net:
 Hi,

 On Fri, 29.05.2009 at 09:29:39 +0200, ropers rop...@gmail.com wrote:
 I know that demime is being used on the misc mailing list.
 I even tried to see if it's contained in some other package:
 http://www.google.ie/search?q=demime+inurl%3Aopenbsd.org+inurl%3Acontents.html

 A Google search for openbsd and demime returns too many archived mails

 a quick search for 'demime', ie, w/o 'openbsd', returns this near the
 top of the list:

 http://www.freshports.org/mail/demime/

Thanks for this. :)

I have now been able to find the previous (now deserted) home of
demime via the Wayback Machine, after someone kindly privately emailed
me their copy of demime (Thank you! :):

http://web.archive.org/web/20071126010824/http://scifi.squawk.com/demime.html
(cf. http://web.archive.org/web/*/http://scifi.squawk.com/demime.html )

But of course the URL you gave is a even better insofar as demime
appears to be in continued development there (squak.com: v1.01;
freshports.org: v1.1). For the benefit of the archives, I would
however recommend anyone looking to deploy demime to also read what it
says on the archived squawk.com page; there's some interesting info
there.

Thanks a bunch!
--ropers



Re: Wireless help, please

2009-05-30 Thread Ben Goren
On 2009 May 30, at 7:03 AM, Jason Dixon wrote:

 On Sat, May 30, 2009 at 06:48:59AM -0700, Ben Goren wrote:
 I'm trying to set up my first wireless network, with less than  
 stellar
 success.

 You need to narrow your spectrum of diagnosis.  Start ruling out those
 things which are known to work.  Rule out those things which are known
 to work and you'll be left with the thing(s) that don't.

 Examples:

 - OpenBSD wireless connectivity (as a client)
 - OpenBSD wired connectivity
 - Mac wired connectivity
 - Mac wireless connectivity (to a different WAP)
 - etc...

I've done as much of that as I can -- or, at least, as much as I can  
think of.

The two computers have no trouble talking to each other over wired  
ethernet.

Indeed, for several seconds, they communicate just fine over wireless  
-- my problem is that it only lasts for several seconds, after which  
the entire wireless connection is dropped and the iMac is no longer  
associated with any network.

I don't have any other hardware to test with.

I've thought of and tried a couple other things since this morning.  
There's one of those infamous ``linksys'' networks somewhere in the  
vicinity, but apparently not nearby. I was able to connect to it from  
the iMac a while ago and do a bit of (very slow) surfing, and even  
open an ssh session back to the laptop. I can't seem to re-connect to  
it now, and I haven't been able to connect to it from the laptop.  
There are a couple other networks in the area that aren't using any  
form of wireless security, but they have official-sounding names like  
``ASUEMPLOYEE.'' I can connect to them from either computer -- and the  
connection doesn't go away -- but no DHCP servers will talk to me.

I've also tried setting up the laptop in both ibss and ibss-master  
mode. With ibss-master, ifconfig always reports ``no network.''

However, if I set the iMac up as an ibss-master, I can connect to it  
from the OpenBSD laptop, get a DHCP lease from it, and ping the iMac.

So, it seems that everything works except for sustaining a link from  
the iMac to the OpenBSD laptop as a hostap for more than several  
seconds.

Surely I must be missing something obvious?

Cheers,

b

[demime 1.01d removed an attachment of type application/pkcs7-signature which 
had a name of smime.p7s]



Re: bsd.rd doesn't boot on a Lenovo Thinkstation S10

2009-05-30 Thread Donald Allen
On Sat, May 30, 2009 at 4:02 PM, David Vasek va...@fido.cz wrote:
 On Sat, 30 May 2009, Donald Allen wrote:

 Attempting to boot my Thinkstation S10 with a cd made from
 amd64/install45.iso results in

 uhci3: host system error
 uhci3: host controller process error
 uhci3: host controller halted

 The machine has a quad-core Intel processor, 4 Gb memory, 2 146 Gb SAS
 drives on an LSI raid controller set up as a raid 0. It's plugged into
 a Raritan Switchman KVM. I had no trouble installing Linux and later
 FreeBSD on this machine. From what I've seen thus far of OpenBSD, I
 prefer it to anything else. But this is obviously a showstopper if I
 can't boot the install cd. Anyone have any ideas?

 Thinkstation S10 seems to be based on Intel X38 chipset. It has some special
 features regarding USB.
 http://www.intel.com/Products/Desktop/Chipsets/X38/X38-overview.htm

 Possibly you need to enable the fourth USB port fully in the BIOS Setup?
 Just my guess.

The BIOS doesn't appear to give you such fine-grained control over
which USB ports are enabled/disabled. There's a big hammer (all USB
ports), and a smaller hammer (the front ports).


 If USB support is not necessary for your install, you can go to UKC from the
 boot prompt (see Boot-Time Configuration in the FAQ) and disable the uhci(4)
 driver there. If you boot and install successfully, it will allow you to
 send 'dmesg' and 'pcidump -v' output here for kind people to be able to help
 you, if still needed.

Using the UKC (which I didn't know about) to disable uhci has allowed
me to boot the kernel for installation and then the installed kernel.
I'm still setting the system up, so don't know if I have enough USB
stuff working for the system to be usable (the keyboard works; haven't
gotten to X and the mouse yet). I will report when I'm done.

Thanks very much for your help.

/Don


 Regards,
 David



Re: SMTPD TLS Authentication?

2009-05-30 Thread Ben Goren
On 2009 May 30, at 5:05 PM, Gilles Chehade wrote:

 On Sat, May 30, 2009 at 08:01:49PM -0400, Aaron W. Hsu wrote:
 Hello SMTPD Gurus,

 I have noticed some TLS based authentication stuff in the  
 smtpd.conf(5)
 man page. I don't see more details about how it works, though. How
 far along is the TLS based stuff? I'd like to test smtpd with my
 email server on my local machine, which operates as a client to my
 sendmail based server remotely via TLS Authentication. Is this in
 their yet, or does the TLS work differently right now?

 Thanks! And, sorry for bugging you if this should be obvious.


 It should just work :-)

 If it doesn't let me know, I'm in an ssl mood right now

Since you're offering

TLS I got to work just by reading starttls(8) and making sure the keys  
were in the right place.

That doesn't get you SMTP AUTH, though. It's been at least a few weeks  
since I tried, so I'm afraid I don't remember the details, but I tried  
installing the Cyrus SASL package without success. That may or may not  
have been due to my idiocy -- but I figured I'd ask:

What's the preferred method of configuring Sendmail to require a  
password for relaying mail from popular MUAs like Apple Mail?

A nudge in the proper direction -- man pages, packages, etc. -- to get  
me started in the right direction would be most welcome.

Cheers,

b

[demime 1.01d removed an attachment of type application/pkcs7-signature which 
had a name of smime.p7s]