Re: OpenBSD hosting

2009-02-22 Thread William Graeber
On Sun, Feb 22, 2009 at 17:33, Chris Bennett
 wrote:
> Friedrich Locke wrote:
>>
>> Dear gentleman,
>>
>> i am searching for web hosting service that :
>>
>> supports java,
>> support MySQL
>> allow me shell account access for software development with access to
>> MySQL.
>> allow ssh/sftp access.
>> and runs OpenBSD at least for the shell services.
>> allow me to host dns for my domain.
>>
>> Is anybody aware of a such hosting services...
>>
>> thank.
>>
>>
>>
>
> I use corenetworks.net.
>
> They are inexpensive and can install your OpenBSD system if you don't know
> how.
> I wouldn't use the word support however.
> They expect you to be able to support yourself, but they can do the install.
>
> You can run whatever operating system you like with them.
> They have IP KVM, so you can do an install as if you were sitting at a
> screen.
> They don't restrict any services.
>
> --
> A human being should be able to change a diaper, plan an invasion,
> butcher a hog, conn a ship, design a building, write a sonnet, balance
> accounts, build a wall, set a bone, comfort the dying, take orders,
> give orders, cooperate, act alone, solve equations, analyze a new
> problem, pitch manure, program a computer, cook a tasty meal, fight
> efficiently, die gallantly. Specialization is for insects.
>  -- Robert Heinlein
>
>

Does anyone else have experience with CoreNetworks? They seem to be
exactly what I have been looking for (cheap/reliable OpenBSD hosting
for very low load sites). I have hosted on FreeBSD with ThePlanet for
several years with nothing but excellent service, but they have
increased their prices too far from what they originally charged me.
Also, does anyone know which service providers CoreNetworks uses? They
don't seem to have any listed on the website.

-William



pppx rule in pf.conf not loaded at boot

2013-05-01 Thread William Graeber
Hello!

I have set up npppd for an L2TP/IPsec VPN on 5.3 (great work, by the way
:) ).

I've added this rule to my pf.conf set:

pass quick on pppx from any to $int_if:network

Everything works perfectly after I apply the rule with "pfctl -f
/etc/pf.conf". However, the rule does not get loaded on system boot & I
manually have to reload the rulset.

I suspect this is because the pppx interface has not yet been created
when the ruleset is initially loaded? When using tun0 I was able to
create a hostname.tun0 file to initialize the interface, but is
something like this possible with pppx?

Thanks!
William



Re: pppx rule in pf.conf not loaded at boot

2013-05-01 Thread William Graeber
I have resolved the issue. This box had a custom set of pf rules being
conditionally loaded based on some ifstated logic. Doh! :)



Re: Skype on the OpenBSD

2007-12-06 Thread William Graeber
I'm running wengo 2.1.2, and under the security tab on the
configuration page there is an option for call encryption -
"WengoPhone can encrypt calls using the AES 128-bits encryption system
and Diffie-Hellman for key exchange."



bsd.mp panic on core2 duo / dg965ry motherboard

2006-12-26 Thread William Graeber

I just set up a new OpenBSD box on a C2D / DG965RY motherboard and
everything works great. In the recent 4.0 changes it looked like
everything was now supported, however that turned out not to be the
case. Whenever I try to boot bsd.mp it gives "kernel protection
fault," "pci_intr_map: no mp mapping," and "isa_intr_establish"
errors.

I found some pretty old stuff in the archives talking about a bios
issue that someone had been working on intermittently, but nothing
that relates very closely. I ran into a bit of trouble trying to
obtain a dump when I realized that the board doesn't have a serial
port - so sorry for not including it.

I suspect because this is such new hardware the developers just
haven't had the opportunity to add the correct drivers to the 4.0
release and it is in current or will be in 4.1.

Does anyone know if this is just an issue that people are working on
or a bug I have stumbled upon? I will try to include a dump in a later
post if it will be of use to someone.

William



Re: bsd.mp panic on core2 duo / dg965ry motherboard

2006-12-26 Thread William Graeber

Here is a dmsg with the stock bsd kernel:

OpenBSD 4.0 (GENERIC) #690: Sat Sep 16 20:26:25 MDT 2006
   [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 1053986816 (1029284K)
avail mem = 891179008 (870292K)
using 22937 buffers containing 105607168 bytes (103132K) of memory
RTC BIOS diagnostic error 80
mainbus0 (root)
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe43d0 (33 entries)
bios0: Intel Corporation DG965RY
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz, 2397.93 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,NXE,LONG
cpu0: 4MB 64b/line 16-way L2 cache
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x29a0 rev 0x02
vga1 at pci0 dev 2 function 0 vendor "Intel", unknown product 0x29a2 rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
vendor "Intel", unknown product 0x29a4 (class communications subclass
miscellaneous, rev 0x02) at pci0 dev 3 function 0 not configured
em0 at pci0 dev 25 function 0 "Intel ICH8 IGP C" rev 0x02: irq 9,
address 00:16:76:a3:80:23
uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x02: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x02: irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x02: irq 11
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x02: irq 9
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: 0x04x/0x8384 (rev. 2.1), HDA version 1.0
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x02
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x02
pci2 at ppb1 bus 2
pciide0 at pci2 dev 0 function 0 vendor "Marvell", unknown product
0x6101 rev 0xb1: DMA (unsupported), channel 0 configured to
native-PCI, channel 1 configured to native-PCI
pciide0: using irq 10 for native-PCI interrupt
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  SCSI0 5/cdrom removable
pciide0: channel 1 ignored (not responding; disabled or no drives?)
ppb2 at pci0 dev 28 function 2 "Intel 82801H PCIE" rev 0x02
pci3 at ppb2 bus 3
ppb3 at pci0 dev 28 function 3 "Intel 82801H PCIE" rev 0x02
pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 4 "Intel 82801H PCIE" rev 0x02
pci5 at ppb4 bus 5
uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x02: irq 11
usb3 at uhci2: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x02: irq 11
usb4 at uhci3: USB revision 1.0
uhub4 at usb4
uhub4: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub4: 2 ports with 2 removable, self powered
uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x02: irq 11
usb5 at uhci4: USB revision 1.0
uhub5 at usb5
uhub5: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub5: 2 ports with 2 removable, self powered
ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x02: irq 11
usb6 at ehci1: USB revision 2.0
uhub6 at usb6
uhub6: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub6: 6 ports with 6 removable, self powered
ppb5 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xf2
pci6 at ppb5 bus 6
"TI TSB43AB22 FireWire" rev 0x00 at pci6 dev 3 function 0 not configured
pcib0 at pci0 dev 31 function 0 "Intel 82801H LPC" rev 0x02
pciide1 at pci0 dev 31 function 2 "Intel 82801H SATA" rev 0x02: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using irq 11 for native-PCI interrupt
wd0 at pciide1 channel 1 drive 0: 
wd0: 16-sector PIO, LBA48, 238475MB, 488397168 sectors
wd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801H SMBus" rev 0x02: irq 10
iic0 at ichiic0
pciide2 at pci0 dev 31 function 5 "Intel 82801H SATA" rev 0x02: DMA,
channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide2: using irq 11 for native-PCI interrupt
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
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
pcppi0 at

Re: bsd.mp panic on core2 duo / dg965ry motherboard

2006-12-26 Thread William Graeber

I am currently using the generic amd64 build, however it produced a
strikingly similar error on the i386 build although I can't remember
exactly what it was. I haven't fooled with acpi at all, so that
probably is not the issue either.

Also, if I disable nearly everything the motherboard has onboard the
error changes to "intr_find_mpmapping."

Again, I apologize for the lack of debug output, but the fact I don't
have a serial connection available isn't helping me a bit.

On 12/27/06, Sam Fourman Jr. <[EMAIL PROTECTED]> wrote:

William,

Are you sure you are using the i386 build? I am using a core 2 duo on
a lenovo 0768DKU notebook and it is working fine both in bsd and
bsd.mp, the only issue it has is bsd.mp does not work if you enable
acpi at the boot prompt

Sam Fourman Jr.


On 12/27/06, William Graeber <[EMAIL PROTECTED]> wrote:
> Here is a dmsg with the stock bsd kernel:
>
> OpenBSD 4.0 (GENERIC) #690: Sat Sep 16 20:26:25 MDT 2006
> [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC
> real mem = 1053986816 (1029284K)
> avail mem = 891179008 (870292K)
> using 22937 buffers containing 105607168 bytes (103132K) of memory
> RTC BIOS diagnostic error 80
> mainbus0 (root)
> bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe43d0 (33 entries)
> bios0: Intel Corporation DG965RY
> cpu0 at mainbus0: (uniprocessor)
> cpu0: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz, 2397.93 MHz
> cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,NXE,LONG
> cpu0: 4MB 64b/line 16-way L2 cache
> pci0 at mainbus0 bus 0: configuration mode 1
> pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x29a0 rev 0x02
> vga1 at pci0 dev 2 function 0 vendor "Intel", unknown product 0x29a2 rev 0x02
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> vendor "Intel", unknown product 0x29a4 (class communications subclass
> miscellaneous, rev 0x02) at pci0 dev 3 function 0 not configured
> em0 at pci0 dev 25 function 0 "Intel ICH8 IGP C" rev 0x02: irq 9,
> address 00:16:76:a3:80:23
> uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x02: irq 11
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0
> uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x02: irq 10
> usb1 at uhci1: USB revision 1.0
> uhub1 at usb1
> uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x02: irq 11
> usb2 at ehci0: USB revision 2.0
> uhub2 at usb2
> uhub2: Intel EHCI root hub, rev 2.00/1.00, addr 1
> uhub2: 4 ports with 4 removable, self powered
> azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x02: irq 9
> azalia0: host: High Definition Audio rev. 1.0
> azalia0: codec: 0x04x/0x8384 (rev. 2.1), HDA version 1.0
> audio0 at azalia0
> ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x02
> pci1 at ppb0 bus 1
> ppb1 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x02
> pci2 at ppb1 bus 2
> pciide0 at pci2 dev 0 function 0 vendor "Marvell", unknown product
> 0x6101 rev 0xb1: DMA (unsupported), channel 0 configured to
> native-PCI, channel 1 configured to native-PCI
> pciide0: using irq 10 for native-PCI interrupt
> atapiscsi0 at pciide0 channel 0 drive 0
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0:  SCSI0 5/cdrom removable
> pciide0: channel 1 ignored (not responding; disabled or no drives?)
> ppb2 at pci0 dev 28 function 2 "Intel 82801H PCIE" rev 0x02
> pci3 at ppb2 bus 3
> ppb3 at pci0 dev 28 function 3 "Intel 82801H PCIE" rev 0x02
> pci4 at ppb3 bus 4
> ppb4 at pci0 dev 28 function 4 "Intel 82801H PCIE" rev 0x02
> pci5 at ppb4 bus 5
> uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x02: irq 11
> usb3 at uhci2: USB revision 1.0
> uhub3 at usb3
> uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
> uhub3: 2 ports with 2 removable, self powered
> uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x02: irq 11
> usb4 at uhci3: USB revision 1.0
> uhub4 at usb4
> uhub4: Intel UHCI root hub, rev 1.00/1.00, addr 1
> uhub4: 2 ports with 2 removable, self powered
> uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x02: irq 11
> usb5 at uhci4: USB revision 1.0
> uhub5 at usb5
> uhub5: Intel UHCI root hub, rev 1.00/1.00, addr 1
> uhub5: 2 ports with 2 removable, self powered
> ehci1 at pci0 dev 29 function 7 "Intel 82801

wi0 / wicontrol issues in 3.9

2006-09-21 Thread William Graeber
I have been having issues with a Senao Prism2.5 wireless card
(1.8.4firmware) on a soekris net4511. If I add the wicontrol command
in
/etc/hostname.wi0, it brings the card into the correct mode on boot.
However, when I try to change settings while the machine is up it often
freezes for several seconds. Upon resume, the output of wicontrol seems to
be jibberish. I have had logging turned off for the most part to conserve
space and am not currently at the machine, but I was wondering if anyone
else has experience similar problems. If not, then I will gladly follow this
up with some more debug info shortly.



Re: wi0 / wicontrol issues in 3.9

2006-09-22 Thread William Graeber
I just tested it out with the 1.7.4 firmware, and all of the problems seem
to have been resolved. The connections aren't droppping and wicontrol is
actually working.

Thanks for the suggestion,
William

On 9/21/06, Bryan Vyhmeister <[EMAIL PROTECTED]> wrote:
>
> I haven't been able to get firmware version 1.8.4 to work right. Lots
> of timeouts and other errors were present. I have had success with
> 1.7.4 on a Senao card with my net4511. I also know that 1.5.6 is
> supposed to work well although I had some issues with 1.5.6 and
> hostap while 1.7.4 works great with hostap.
>
> I have found that with Prism 2.5 wireless cards, newer firmware
> usually is not better. Most of the cards I have purchased came from
> Netgate and they have all been shipped with firmware 1.4.9. I have
> also found that different operating systems work right with different
> versions of the firmware, at least when it comes to hostap
> functionality. I have found that m0n0wall (based on FreeBSD) works
> great with 1.5.6 but not with 1.7.4 while OpenBSD works great with
> 1.7.4 but not 1.5.6.
>
> Anyway, try 1.7.4. That is my suggestion.
>
> Bryan
>
> On Sep 21, 2006, at 9:41 AM, William Graeber wrote:
>
> > I have been having issues with a Senao Prism2.5 wireless card
> > (1.8.4firmware) on a soekris net4511. If I add the wicontrol command
> > in
> > /etc/hostname.wi0, it brings the card into the correct mode on boot.
> > However, when I try to change settings while the machine is up it
> > often
> > freezes for several seconds. Upon resume, the output of wicontrol
> > seems to
> > be jibberish. I have had logging turned off for the most part to
> > conserve
> > space and am not currently at the machine, but I was wondering if
> > anyone
> > else has experience similar problems. If not, then I will gladly
> > follow this
> > up with some more debug info shortly.



com0 at boot prompt input issues

2006-09-26 Thread William Graeber
I have just installed OpenBSD 3.9 on a net4511. My root partition is
read-only, and I have a tarball unzipped into an mfs partition for /var upon
boot. /dev/ttyp00-01 and /dev/ptyp00-01 are symlinked to /var/dev so that
they are r/w. At the login prompt over the serial console I am able to log
in and access the system with minicom under linux or hyperterminal on
windows, however I am not able to input anything before then. Initially when
"boot>" is displayed, if I try to input "boot -s" to enter single user mode
"b" is the only character that actually gets entered. After that they system
seems to freeze and not respond to anything else that I send it. What seems
odd to me is that if I try to access the same machine with another OpenBSD
box with the command "cu -l /dev/cua00 -s 9600," I am able to enter the full
"boot -s" and get to single user mode without any problems.

I have the lines:
console "/usr/libexec/getty Pc" vt220   on secure
tty00   "/usr/libexec/getty std.9600"   vt220on secure
in /etc/ttys, although I don't believe it is far enough in the boot process
to matter. I don't understand why cu under OpenBSD would work while minicom
or hyperterminal wouldn't under the same circumstances.



Re: com0 at boot prompt input issues

2006-09-28 Thread William Graeber
It was flow control - turned it off and everything started working
beautifully! Thanks!

William

On 9/27/06, Stuart Henderson <[EMAIL PROTECTED]> wrote:
>
> On 2006/09/27 00:29, William Graeber wrote:
> > I don't understand why cu under OpenBSD would work while minicom
> > or hyperterminal wouldn't under the same circumstances.
>
> flow control settings, perhaps?



Re: com0 at boot prompt input issues

2006-09-28 Thread William Graeber
I suppose you are right about this, but it really hasn't given me any issues
for what I am trying to accomplish. Other than this and a firmware issue on
the wireless card it really hasn't given me any trouble. I just didn't think
to move all of /dev over when setting it up.

On 9/28/06, Joachim Schipper <[EMAIL PROTECTED]> wrote:
>
> On Wed, Sep 27, 2006 at 12:29:19AM -0400, William Graeber wrote:
> > I have just installed OpenBSD 3.9 on a net4511. My root partition is
> > read-only, and I have a tarball unzipped into an mfs partition for /var
> upon
> > boot. /dev/ttyp00-01 and /dev/ptyp00-01 are symlinked to /var/dev so
> that
> > they are r/w. At the login prompt over the serial console I am able to
> log
> > in and access the system with minicom under linux or hyperterminal on
> > windows, however I am not able to input anything before then. Initially
> when
> > "boot>" is displayed, if I try to input "boot -s" to enter single user
> mode
> > "b" is the only character that actually gets entered. After that they
> system
> > seems to freeze and not respond to anything else that I send it. What
> seems
> > odd to me is that if I try to access the same machine with another
> OpenBSD
> > box with the command "cu -l /dev/cua00 -s 9600," I am able to enter the
> full
> > "boot -s" and get to single user mode without any problems.
> >
> > I have the lines:
> > console "/usr/libexec/getty Pc" vt220   on secure
> > tty00   "/usr/libexec/getty std.9600"   vt220on secure
> > in /etc/ttys, although I don't believe it is far enough in the boot
> process
> > to matter. I don't understand why cu under OpenBSD would work while
> minicom
> > or hyperterminal wouldn't under the same circumstances.
>
> I'm fairly certain you will have a lot of interesting failures in this
> setup. Why not place /dev on a mfs, too?
>
> Joachim



hostname.wi0 nwflag hidenwid oddity

2006-10-17 Thread William Graeber

I'm just received my 4.0 cd package today and was going through
upgrading my system. I have a senao prism2 pcmcia card which is acting
up a bit when I try to set the "nwflag hidenwid" option. The card
allows me to set it manually by running "ifconfig wi0 nwflag
hidenwid", however if I try to add a line to hostname.wi0 to have it
set automatically on boot such as:

inet 10.90.1.1 255.255.255.0 NONE nwflag hidenwid nwid /dev/null nwkey
XxXx chan 1 mediaopt hostap

it gives me the error: "ifconfig: SIOCS80211FLAGS: Invalid argument"

I'm sure that there is something moronic that I have done incorrectly.

Thanks in advance,
William



Re: hostname.wi0 nwflag hidenwid oddity

2006-10-17 Thread William Graeber

I have managed to gain a bit more information regarding my problem - I
added an echo statement in /etc/netstart to get a copy of the command
which was being run. I then tried to run it manually to see what
happened and it received the same error (surprise).
"ifconfig wi0 inet  10.90.1.1 netmask 255.255.255.0 nwflag hidenwid
nwid /dev/null nwkey wasteoftime4u chan 1 mediaopt hostap"

Next I removed the nwflag hidenwid and ran the command - it worked
sucessfully. I checked ifconfig and wi0 was up and running normally.

I then ran the original command and it worked without a hitch. It
seems like everything else has to be set before the nwflag is able to
work.

On 10/17/06, William Graeber <[EMAIL PROTECTED]> wrote:

I'm just received my 4.0 cd package today and was going through
upgrading my system. I have a senao prism2 pcmcia card which is acting
up a bit when I try to set the "nwflag hidenwid" option. The card
allows me to set it manually by running "ifconfig wi0 nwflag
hidenwid", however if I try to add a line to hostname.wi0 to have it
set automatically on boot such as:

inet 10.90.1.1 255.255.255.0 NONE nwflag hidenwid nwid /dev/null nwkey
XxXx chan 1 mediaopt hostap

it gives me the error: "ifconfig: SIOCS80211FLAGS: Invalid argument"

I'm sure that there is something moronic that I have done incorrectly.

Thanks in advance,
William




Re: hostname.wi0 nwflag hidenwid oddity

2006-10-18 Thread William Graeber

On 10/17/06, jared r r spiegel <[EMAIL PROTECTED]> wrote:

On Tue, Oct 17, 2006 at 09:38:48PM -0400, William Graeber wrote:
> I have managed to gain a bit more information regarding my problem - I
> added an echo statement in /etc/netstart to get a copy of the command
> which was being run.

  netstart, if has no args, runs thru the whole hostname/bridgename
  shebang.  you can also pass it a list of interfaces (might not have
  checked, but netstart(8) has a manpage).

  for debug stuffs, you could do, say:

$ sudo sh -v /etc/netstart wi0

  little easier to manage and no worries about having to edit
  /etc/netstart.  (sometimes -x is nice instead or addition to/of -v)

> >set automatically on boot such as:
> >
> >inet 10.90.1.1 255.255.255.0 NONE nwflag hidenwid nwid /dev/null nwkey
> >XxXx chan 1 mediaopt hostap
> >
> >it gives me the error: "ifconfig: SIOCS80211FLAGS: Invalid argument"
> >
> >I'm sure that there is something moronic that I have done incorrectly.

  probably not it, but does it matter if you do an 'up' on the first
  line of hostname.wi0 and then the inet line next?

  i don't have a candidate wireless system at hand to try the ifconfig
  commandline out on :(

--

  jared



The up doesn't make a difference if I add it before the inet line. The
output of sh -v /etc/netstart is pretty lengthy, but I can post it
somewhere if someone would like to take a look.



Re: hostname.wi0 nwflag hidenwid oddity

2006-10-18 Thread William Graeber

It gives me the exact same error as well.

I'm not sure if it is of much significance, but I have firmware 1.7.4
on the card. The machine is a soekris net4511, and it is somewhat
unique because of the read-only requirements of the compact flash
card. I really don't see how this could cause a problem with this in
particular though since the command works if run once without the flag
beforehand.

On 10/18/06, Tobias Ulmer <[EMAIL PROTECTED]> wrote:

On Tue, Oct 17, 2006 at 08:53:27PM -0400, William Graeber wrote:
> I'm just received my 4.0 cd package today and was going through
> upgrading my system. I have a senao prism2 pcmcia card which is acting
> up a bit when I try to set the "nwflag hidenwid" option. The card
> allows me to set it manually by running "ifconfig wi0 nwflag
> hidenwid", however if I try to add a line to hostname.wi0 to have it
> set automatically on boot such as:
>
> inet 10.90.1.1 255.255.255.0 NONE nwflag hidenwid nwid /dev/null nwkey
> XxXx chan 1 mediaopt hostap

Try moving "nwflag hidenwid" at the end.

Tobias

>
> it gives me the error: "ifconfig: SIOCS80211FLAGS: Invalid argument"
>
> I'm sure that there is something moronic that I have done incorrectly.
>
> Thanks in advance,
> William




Re: hostname.wi0 nwflag hidenwid oddity

2006-10-18 Thread William Graeber

I had thought of doing this earlier - Just added nwflag hidenwid to a
line below the initial one and it works as expected. I'll keep an eye
out for this on the lists.

Thanks for the help

William

On 10/18/06, Stuart Henderson <[EMAIL PROTECTED]> wrote:

On 10/18/06, Tobias Ulmer <[EMAIL PROTECTED]> wrote:
> >On Tue, Oct 17, 2006 at 08:53:27PM -0400, William Graeber wrote:
> >> I'm just received my 4.0 cd package today and was going through
> >> upgrading my system. I have a senao prism2 pcmcia card which is acting
> >> up a bit when I try to set the "nwflag hidenwid" option. The card
> >> allows me to set it manually by running "ifconfig wi0 nwflag
> >> hidenwid", however if I try to add a line to hostname.wi0 to have it
> >> set automatically on boot such as:
> >>
> >> inet 10.90.1.1 255.255.255.0 NONE nwflag hidenwid nwid /dev/null nwkey
> >> XxXx chan 1 mediaopt hostap
> >
> >Try moving "nwflag hidenwid" at the end.
>
> I'm not sure if it is of much significance, but I have firmware 1.7.4
> on the card. The machine is a soekris net4511, and it is somewhat
> unique because of the read-only requirements of the compact flash

You might prefer to mount RO to help with unclean shutdowns, and you
might like to avoid writes for performance reasons (no swapping, mount
noatime, syslogc buffers for any heavy log writes that don't need to
stay around forever), but it's not really a requirement of modern CF
cards, they last pretty well as it is.

> card. I really don't see how this could cause a problem with this in
> particular though since the command works if run once without the flag
> beforehand.

Move it to a separate line, each line is one invocation of ifconfig(8).
If this doesn't help and if you're running some nonstandard /etc/netstart,
try a normal one.




Re: :Microsoft" VPN (OT)

2009-09-18 Thread William Graeber
On Tue, Sep 15, 2009 at 04:41, Reyk Floeter  wrote:
> I recently implemented support for DHCP-over-IPsec (RFC 3456) in
> dhclient(8) and dhcpd(8). B This makes it very easy to run an OpenBSD
> IPsec gateway with IPsec clients that automatically obtain VPN IP
> address, internal DNS IP etc. via DHCP. B In other words - this makes
> it very easy to deploy many (Windows) clients with very minimal
> configuration on the client side.

This is GREAT news! I can't thank you enough for this functionality.

> - The Cisco IPsec VPN client is not supported, it uses some
> proprietary IKE modecfg extensions ("Cisco Unity") and kind of depends
> on XAUTH (username+password authentication that is currently not
> supported).

Does anyone know if XAUTH is [going to be] being worked on? I think
this would make a great addition for those of us who prefer passkeys
to certificates.

-William



bittorrent release distribution

2009-10-18 Thread William Graeber
Forgive me if this has been discussed before, but has anyone
considered posting official torrents of the release files on the site?

I'm not suggesting that it is integrated into the installer or that an
iso torrent is provided. Rather, just post torrents of the main files
required for an upgrade. This could free up resources on the ftp
servers in addition to giving users higher download speeds. I'm a
student and am unable to contribute much monetarily right now other
than occasional donations and the cd releases. I thought this has the
potential be a useful way to give something else back to such a
wonderful project.

Thanks to everyone who continues to develop and makes OpenBSD
possible. 4.6 has been nothing short of the reputation set by its
predecessors!

-William



Re: Installing OpenBSD on SSD drives

2009-11-06 Thread William Graeber
2009/11/4 philippe aubry :
> I'm using a 32 GB SSD drive from approximatly one year with openBSD 4.4 into
> a SOEKRIS and no troubles with that, the great think is NO NOISE, NO HEAT.
> I used the soekris as firewall and the uptime is approximatly 178 days.

I've also been using a 32GB drive in a soekris for ~1 year. The box
doesn't deviate much from the default install, so I thought it would
be a great opportunity for a test run. The drive is made by Transcend
with MLC chips, so it's pretty low end. Nevertheless, it has been
running like a champ (or rather its maximum specs)! I even had squid
on there for a few months while I was trying to kill the disk.

-William



Re: which raid card? [was: aac raid status]

2009-11-10 Thread William Graeber
On Tue, Nov 10, 2009 at 08:37, Marco Peereboom  wrote:
> mfi, there basically is no competition these days.

I currently have a MegaRAID 8X, and the 48-bit LBA limits logical drives
to 2TB. I can't speak for the other LSI offerings, but this would
definitely be something to check into depending on your needs. In my
case, I need something larger, and am currently looking at an
ARC-1220 to replace it. Areca products seem to be well supported,
although I welcome someone to disprove this statement - as I'm in the
market for a new card.

-William



Re: which raid card? [was: aac raid status]

2009-11-11 Thread William Graeber
On Wed, Nov 11, 2009 at 01:47, Theo de Raadt  wrote:
> You say MegaRAID 8X in response to someone saying mfi?

Sorry - I was referring to ami(4) cards in response to general
discussion about LSI cards. For clarification, a quick search revealed
that some, if not all, mfi(4) cards have a 64 bit LBA.

Thanks for catching that.

-William



Re: scrotwm hangs X after update to 4.8

2010-11-04 Thread William Graeber
Just to add some more information to this discussion, it appears that
I'm now getting a similar error:

inteldrm0: gpu hung!
no reset function for chipset.
error: [drm:pid3099::inteldrm_lastclose] *ERROR* failed to idle hardware: 5
error: [drm:pid8658:inteldrm_lastclose] *ERROR* failed to idle hardware: 5
error: [drm:pid8658:i915_gem_entervt_ioctl] *ERROR* Reenabling wedged
hardwarg, good luck
inteldrm0: gpu hung!
no reset function for chipset.

dmesg as follows:

OpenBSD 4.8 (GENERIC) #136: Mon Aug 16 09:06:23 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 2.00GHz ("GenuineIntel" 686-class) 2 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
real mem  = 527986688 (503MB)
avail mem = 509390848 (485MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 05/28/02, BIOS32 rev. 0 @
0xeba30, SMBIOS rev. 2.3 @ 0xfd486 (46 entries)
bios0: vendor Compaq version "686O2 v1.08" date 05/28/2002
bios0: Compaq Evo D510 SFF
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP SSDT SSDT SSDT SSDT SSDT SSDT SSDT APIC SSDT
SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT
acpi0: wakeup devices PCI0(S4) HUB_(S4) COM1(S4) COM2(S4) USB1(S3)
USB2(S3) USB3(S3) EUSB(S3) PBTN(S4)
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 99MHz
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 8
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 5 (HUB_)
acpicpu0 at acpi0
acpibtn0 at acpi0: PBTN
bios0: ROM list: 0xc/0xac00! 0xcac00/0x1800 0xe1c00/0x9000!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82845G Host" rev 0x01
vga1 at pci0 dev 2 function 0 "Intel 82845G Video" rev 0x01
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 0xf000, size 0x800
inteldrm0 at vga1: apic 8 int 16 (irq 11)
drm0 at inteldrm0
uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x01: apic 8
int 16 (irq 11)
uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x01: apic 8
int 19 (irq 5)
ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x01: apic 8
int 23 (irq 10)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb0 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x81
pci1 at ppb0 bus 5
fxp0 at pci1 dev 8 function 0 "Intel PRO/100 VM" rev 0x81, i82562:
apic 8 int 20 (irq 5), address 00:08:02:39:b0:8e
inphy0 at fxp0 phy 1: i82562EM 10/100 PHY, rev. 0
bktr0 at pci1 dev 9 function 0 "Brooktree BT878" rev 0x11: apic 8 int
18 (irq 10)
bktr0: ATI TV-Wonder/VE, Philips NTSC tuner.
"Brooktree BT878 Audio" rev 0x11 at pci1 dev 9 function 1 not configured
ichpcib0 at pci0 dev 31 function 0 "Intel 82801DB LPC" rev 0x01
pciide0 at pci0 dev 31 function 1 "Intel 82801DB IDE" rev 0x01: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  ATAPI
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
auich0 at pci0 dev 31 function 5 "Intel 82801DB AC97" rev 0x01: apic 8
int 17 (irq 5), ICH4 AC97
ac97: codec id 0x41445372 (Analog Devices AD1981A)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
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
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
mtrr: Pentium Pro MTRR support
uplcom0 at uhub2 port 1 "Prolific Technology Inc. USB-Serial
Controller" rev 1.10/3.00 addr 2
ucom0 at uplcom0
ugen0 at uhub1 port 1 "APC Back-UPS ES 550 FW:843.K1 .D USB FW:K1" rev
1.10/1.06 addr 2
uhidev0 at uhub2 port 2 configuration 1 interface 0 "Logitech USB
RECEIVER" rev 1.10/25.10 addr 3
uhidev0: iclass 3/1
ums0 at uhidev0: 16 buttons, Z dir
wsmouse0 at ums0 mux 0
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
WARNING: / was not properly unmounted



Re: scrotwm hangs X after update to 4.8

2010-11-14 Thread William Graeber
On Wed, Nov 3, 2010 at 11:24, Gregory Edigarov  wrote:
> It now seems like 4.7's X on 4.8 base system (yes I know it's bad and
> unsupported but that's where I left after all) works perfectly with DRI
> turned off. However, there were hungups when I've been trying to run
> 4.7's with DRI, AND 4.8's X whether I turn DRI on or off.

In my case, upgrading to current has solved the issue (as far as I can
tell after a few hours' use) as long as I don't suspend the system -
then I get some weird artifacts upon resume, although no crashes.