Re: Support for AMD/ATI Firepro M7820

2018-02-10 Thread Raymond Lillard

Great news, thank you


On 02/10/2018 04:51 PM, li...@wrant.com wrote:

Sat, 10 Feb 2018 15:18:22 -0800 Raymond Lillard <rlill...@sonic.net>

I have a Dell M6500 Precision workstation with an Nvidia FX 3800M.

I would like to wipe it and install OBSD. I can get a Firepro M7820
for it.  If I do, will any of the OBSD drivers work or will I
be stuck with fb performance.

I see no mention of Firepro on the OBSD web site and google is
no help either.

Thanks

Hi Raymond,

This is known to work very well and supported including HW acceleration:

Sapphiretech Radeon HD 6450 1G D3
http://www.sapphiretech.com/searchSKU.asp?kw=11190-02-10G

ww Radeon HD 6000 Series
https://en.wikipedia.org/wiki/Radeon_HD_6000_Series#Northern_Islands_(HD_6xxx)_Series

You can get it new very inexpensive and passive cooled ~20W half height.
I have this and the previous model Radeon HD 5450 both work outstanding.

Kind regards,
Anton Lazarov





Support for AMD/ATI Firepro M7820

2018-02-10 Thread Raymond Lillard

I have a Dell M6500 Precision workstation with an Nvidia FX 3800M.

I would like to wipe it and install OBSD. I can get a Firepro M7820
for it.  If I do, will any of the OBSD drivers work or will I
be stuck with fb performance.

I see no mention of Firepro on the OBSD web site and google is
no help either.

Thanks


OpenBSD on Dell m4800 -- Anybody tried it?

2015-04-15 Thread Raymond Lillard

I am considering the purchase of a Dell Precision M4800 laptop with
the intention of installing OpenBSD on it. Has anyone here ran
OBSD on one of these?  I will configure it with an AMD FirePro M5100.

Google has fail to find anyone who has tried this.

Thanks
Ray



Re: Zenocara Intel Crestline Graphics

2014-10-12 Thread Raymond Lillard

On 10/12/2014 12:35 AM, Doug Hogan wrote:

On Sat, Oct 11, 2014 at 02:13:05PM -0700, Raymond Lillard wrote:

I have the opportunity to purchase a Dell laptop
with Intel Crestline Graphics hardware. Crestline
appears to be marketing speak for:

intel GM965/GMA X3100

Can someone advice me as to the likelihood of using
the h/w or will I be limitied to the framebuffer?


I think Crestline means the GMA X3100 core but not necessarily the
GM965.  According to Intel's ARK, it could be GM965, GME965, GL960 or
GLE960.  In practice, I don't think it will matter.
http://ark.intel.com/products/codename/2672/Crestline

One of my old laptops has a GM965 and it works fine in X.  It's a
Dell Inspiron 1525 that was advertised as having Crestline graphics.
The only problem that I've run into on the laptop is that
suspend/resume is flaky.


Thanks to Doug  Chris for the information.  It is good news.

The machine in question is a Latitude D830.  It has a T9500
processor (64-bit @2.6GHz), a 1920x1200 display and a
serial port. I should have possession of the machine in
about a week and will report my progress/results.

I hope to get accelerated graphics working so I can use it as
my personal workstation.  I have been using OBSD for infrastructure
since 3.0, and Linux for my daily driver desktop.  I have tried
moving my workstation to OBSD but always moved back because
I needed functionality only available on Linux.  I so very much
want to be done with Linux even though I have been using it
since 0.9* kernels.

If suspend/resume doesn't work, I can live with that.  I will
be chasing -current so maybe it can be sorted out if need be.
I'm looking forward to this.

Later,
Ray



Zenocara Intel Crestline Graphics

2014-10-11 Thread Raymond Lillard

I have the opportunity to purchase a Dell laptop
with Intel Crestline Graphics hardware. Crestline
appears to be marketing speak for:

intel GM965/GMA X3100

Can someone advice me as to the likelihood of using
the h/w or will I be limitied to the framebuffer?

Mr. Google has failed me.

Ray



Sparc64 Build Farm

2013-06-13 Thread Raymond Lillard

As many of you may have noticed, Bob Beck is planning to assemble a
Sparc64 build farm for ports/packages.

I am donating on my own already, but I noticed this on Craig's List
in Northern California and hoping others will help too.  Here's a way.

The total need is 8-10 v210/v215 units, 6 seems to be a practical min.

I'm in this for two.  Any Sparc64 fans out there?

http://sfbay.craigslist.org/eby/sys/3806080911.html

This is a new-in-the-box unit and a steal at $260

I'm been using old Sun equipment for years.  If anybody knew the
meaning of carrier grade, it was Sun.  Let's make this happen.



Re: dhcp and dns

2013-02-03 Thread Raymond Lillard

On 02/02/2013 08:56 PM, bofh wrote:

I'm running 5.2.  And starting to have more and more things that need
IP addresses pop in and out of the house.  Rather than hardcoding
everything into dhcpd.conf, I thought I'd check with you guys to see
what you use to have new devices register into DNS?  I'm using
unbound, but will go back to bind if need be.


I use dnsmasq from ports at a one site.  It provides
DNS and DHCP services in a single daemon.  At another,
I recently downloaded the latest version and built it
from scratch.  Administration is very simple compared
to any other solution I could find, especially the
DHCP from ISC and named combo.

I NEVER would use it for anything facing the wild
woolly Internet.  For a home network, I think it perfect.



Re: momentary keyboard glitch

2013-01-14 Thread Raymond Lillard

On 01/14/2013 06:57 AM, STeve Andre' wrote:

Last night I experienced something I have never seen before.

Sitting in KDE, I noticed that my keyboard had changed.  Any
character pressed resulted in its control equivalent, so an A or
a was ^A, etc.

Thinking that this was very bizarre, I went to the first console
via ctrl-alt-F1 and things were fine.  Switching back to X/KDE, things
were OK, too.  It hasn't happened since.

I wonder if I had a momentary hardware glitch?  Has anyone
seen this before?  This is a W500 Thinkpad running amd64-current
last compiled Jan 8th with a package set from December 28th.


I'm guessing your ctrl key was stuck.  I too have a W500 and
have had the problem.  It is not obvious when a key is stuck.

Ray



Re: Xfce4 and ctrl:swapcaps not working (ugly WORK-AROUND)

2012-12-20 Thread Raymond Lillard

On 12/20/2012 02:33 AM, Juan Francisco Cantero Hurtado wrote:

On Wed, Dec 19, 2012 at 02:49:12PM -0800, Raymond Lillard wrote:

Hello Misc,

I am running -current (amd64) on a Lenovo w500.

I start Xfce4 from the command line with startx.  I have
added:
exec /usr/local/bin/startxfce4
to ~/.xinitrc.

Everything comes up nicely, but I cannot swap the Control_L
and CAPS_LOCK automatically at startup.

I can swap them from an xterm command line using
setxkbmap -option ctrl:swapcaps
and
xmodmap ~/.Xmodmap
Both of these methods do work, but I want it to happen
automatically when I launch X.


Add the setxkbmap command to .xinitrc above startxfce4.

Also, remove the settings related to the layout of your keyboard in the
settings of xfce4.



I have gone to the Session and Startup dialog and
created an entry for the setxkbmap command method.
The command executes and returns 0.

I have added:
XKBOPTIONS=ctrl:swapcaps
to /etc/default/keyboard.  This doesn't work either.

I have instrumented /etc/xdg/xfce4/xinitrc to verify that

# load local modmap
test -r $HOME/.Xmodmap  xmodmap $HOME/.Xmodmap

in that file is executed and returns 0

Googling finds the solutions described above. These aren't
working for me.  At this point I am out of ideas.  I am
resisting writing an xorg.conf file.  Am I down to that?

Clue sticks gladly accepted.


Juan,

Thank you for taking the time to reply.  I tried your advice
but it had no effect.

I have spent more time digging into this and found that
any X options set prior to launching xfce4-session will be
reset to whatever value xfce4-session wants and it clearly
wants ctrl:swapcaps unset.

I added the following line
(sleep 10; setxkbmap -option ctrl:swapcaps) 

to /etc/xdg/xfce4/xinit just prior to the launch of
xfce4-session.  The 10 second sleep holds off my option
change until xfce4-session (or a child process) has wrecked
its havoc.  This seems to be the only way I can get the
final word on the matter.

This also suggests that adding setxkbmap to the
Session and Startup - Application Autostart
is the right approach, but there seems to be no
way (short of a sleep) to force an ordering of
started apps.

So my final workaround is to restore /etc/xdg/xfce4/xinit
to its original content and create the following shell
script in my ~/bin directory.  This method will survive
a package update of Xfce4.

cat bin/swap_caps.sh
#!/bin/sh

(sleep 10; /usr/X11R6/bin/setxkbmap -option 'ctrl:swapcaps') 

I have added a launcher for this script to the
Session and Startup - Application Autostart
dialog.

Since this doesn't seem to be an OpenBSD issue.  I guess
I need to take it upstream.  For the time being, I will use
this rather ugly work-around.

Thanks
Ray



Re: How to list available all hard disks in OpenBSD

2012-12-20 Thread Raymond Lillard

Hi,

Sometimes I just can't let well enough alone ;-)

Add this to your .profile

Fdisk-l ()  { sysctl hw.disknames | sed -e 's/[,=]/\
  /g' ; }



From my laptop command line:

ryl@smag {~} Fdisk-l
hw.disknames
  sd0:f07ccfaba910bc8e
  cd0:
  sd1:21a268bf64300a23
ryl@smag {~} vi .profile


just to feel at home ;-)

BTW, I've never seen the command Fdisk -l and the
fdisk -l I know requires a device name to list
the device's partition table.

Knowing Linux though, it wouldn't surprise me to
hear that some distro has a Fdisk command that
behaves as you describe.

Best,
Ray


On 12/20/2012 08:46 PM, Indunil Jayasooriya wrote:

Hi misc

Thanks a lot



On Fri, Dec 21, 2012 at 10:07 AM, Wesley open...@e-solutions.re wrote:


Hi,

you can try this :


/usr/sbin/sysctl hw.disknames

Cheers,
Wesley


Le 2012-12-21 7:17, Indunil Jayasooriya a écrit :

  HI,


I would like to know How to list available all hard disks in OpenBSD ?

If I run below 2 commands, it will give an output.

dmesg |grep wd0

fdisk wd0


If I install a new Hard Disk, How to get to know whether it is wd1 or
anything eles?

In Linux, Fdisk -l show all the available hard disks. In OpenBSD what's
the
command for it?







--
Thank you
Indunil Jayasooriya




Xfce4 and ctrl:swapcaps not working

2012-12-19 Thread Raymond Lillard

Hello Misc,

I am running -current (amd64) on a Lenovo w500.

I start Xfce4 from the command line with startx.  I have
added:
exec /usr/local/bin/startxfce4
to ~/.xinitrc.

Everything comes up nicely, but I cannot swap the Control_L
and CAPS_LOCK automatically at startup.

I can swap them from an xterm command line using
setxkbmap -option ctrl:swapcaps
and
xmodmap ~/.Xmodmap
Both of these methods do work, but I want it to happen
automatically when I launch X.

I have gone to the Session and Startup dialog and
created an entry for the setxkbmap command method.
The command executes and returns 0.

I have added:
XKBOPTIONS=ctrl:swapcaps
to /etc/default/keyboard.  This doesn't work either.

I have instrumented /etc/xdg/xfce4/xinitrc to verify that

# load local modmap
test -r $HOME/.Xmodmap  xmodmap $HOME/.Xmodmap

in that file is executed and returns 0

Googling finds the solutions described above. These aren't
working for me.  At this point I am out of ideas.  I am
resisting writing an xorg.conf file.  Am I down to that?

Clue sticks gladly accepted.

Thanks to all,
Ray



Re: Backing up an Android phone to an OpenBSD laptop

2012-09-26 Thread Raymond Lillard

On 09/25/2012 11:25 PM, Robert Connolly wrote:

Hello.

I'm just looking for advice, not a howto. I realize this is not an OpenBSD
specific topic, but since I'm trying to get Linux and OpenBSD to cooperate,
anyone I ask for advice will refer me elsewhere.

I want to do backups of my Android phone whenever it is at home. The best
software package I know of for this is rsync. I own an ARM development
system (a Trim Slice), running Linux, and can therefore compile anything I
want for the Android phone (statically linked). I have a couple options,
that I can think of:

Run rsync's daemon on the phone, from a boot script. Configure hotplugd on
OpenBSD to run an rsync client when the phone connects via USB. I like this
idea because it reduces needed privileges on my laptop... I trust the phone
less than my laptop, so I would rather give my laptop access to the phone
than my phone access to my laptop. I dislike this idea because the phone
uses 5 watts while charging, and I would prefer to charge it from a
household outlet to reduce load on the laptop.

The second option is to run rsync's deamon on my laptop, and rsync from the
phone via an ifup script that checks the SSID. This works nice because I
can charge the phone from an outlet, and do the rsync wirelessly. This is
harder to secure though, because I would want the rsync client to have no
other access to my laptop.

Am I missing other considerations? Which of these two options is better?



There is an rsync client app in available for download.  I have used it
to sync to OBSD for over a year without a problem.



Re: DHCPD give lease to specific machine brand

2012-06-28 Thread Raymond Lillard

On 06/27/2012 08:58 AM, sven falempin wrote:

only way ?
http://ftp.openbsd.org/pub/OpenBSD/5.1/packages/i386/isc-dhcp-server-4.2.3.2.tgz

2012/6/27 sven falempinsven.falem...@gmail.com


Hello

Imagine i want all the brand X in subnet Y
WWW say :
It seems that ISC DHCP can do the trick:
class testclass {
match if substring (hardware, 1, 2) = 00:ad;
}




openbsd manpages has only :
host ncd1 { hardware ethernet 0:c0:c3:49:2b:57; }
so i f i want XX:XX:XX:*:*:* it s gonna be 16 millions lines of
declaration.


My solution to this problem has been to use dnsmasq.

They have an active mail list and the maintainer
has been responsive to my requests.  If you want
use this an internal subnet that is well protected
and not subject to miscreants, I think you would be OK.
It has worked well for me in a non-hostile environment.

I have no opinion if you want to use it on the
wild Internet or other hostile environments.

Ray



Re: OpenBSD forked

2012-06-17 Thread Raymond Lillard

On 06/17/2012 12:31 PM, Peter J. Philipp wrote:

Having followed OpenBSD for quite some time I noticed that good developers
come and go.  They come in, make something great happen, and disappear again.
Also there have been forks and I also noticed that no fork gets a light
judgment.  Rightfully so.  And then I always appreciated the permanent
element in OpenBSD that guides our attention to areas we as users and
sideliners don't always see immediately.  I'll keep buying CD's when available
and I do donations here and there when I feel like it, and I don't regret it.


ditto.

I almost always remain silent in political matters,
(relating to OpenBSD that is).

I will list some reasons why I am not going anywhere
soon for a free OS.  I have been using, donating
hardware and purchasing CDs since 3.0.


Reason 1:  Legacy Architectures
I have many legacy  machines in service because they
can be acquired for next to free (sometimes just free).

These legacy machines are very good at exposing subtle
bugs not found by compiling and running on Intel/AMD
hardware.

Since these legacy architectures are strange in the
i386/AMD64 context, exploiters are unlikely to bother
with them.  None of my Internet facing machines are on
popular architectures.

I have seen attackers come and leave as soon as they
figure out what they are up against.  The combination
of OpenBSD and uncommon architectures is a very tough
nut to crack.


Reason 2:  Security
This is an unknown.  All FOSS claims to be free, fast
and secure.  Even Microsoft claims to be secure. Maybe
the new team will be as fanatical as Theo, likely not
if their FAQ is to be believed.  Their reputation for
security will be revealed with the passage of time.


Reason 3:  Crypto
I don't know where the new project is located, but
they seem to have a server in Southfield, MI USA and
another in Denmark. I hope none of the developers is
subject to US export laws regarding cryptography and
that the code is maintained on servers also not subject
to those laws.

Just look at the recent MegaUpLoad case.  That case
is reportedly about a bunch of ripped off movies.
I have googled a bit and have not found a physical
location for the project or its code.


Reason 4:  Stability
The new project FAQ states they intend to be less
restrictive with the codebase when it comes to
experimenting with features.  Maybe in the long run
some of the new features may be introduced into OBSD,
but in the near term I expect much instability given
the broad range of deeply embedded things they intend
to change.


Reason 1 is a big problem for me and my crusty old war
horses.  Reasons 2  3 may be unfounded, the secrecy
here (there are no developer names listed on the project
web site) is not very confidence building.   As to
reason 4, I am only mildly interested in fast.  I want
correct and stable execution above all else.  For this
reason I expect to continue with OBSD for a long time.

I do have considerable sympathy for clearing GNU out
of the code base though.

Now going back into lurker mode.
Regards,
Ray



STARTTLS DSA vs RSA

2012-03-08 Thread Raymond Lillard

I have an OpenBSD system with sendmail/TLS
configured according to starttls(8) which calls
for DSA keys.

I have a situation where an MS Exchange Server
contacts my sendmail in an attempt to transfer
a message.  The transfer fails with no shared
cypher.

This sendmail handles over 10k messages per
day, so DSA is clearly supported by most in
email-land.  About twice a year, this shared
cypher issue comes up.

I am not a full time administrator and am not
wise to the ways of all things email and crypto,
so my question is:

Why does starttls(8) describe only DSA ?

Is this just because nobody has updated the man
page, and are there reasons to prefer one over
the other?

I am being pressured to fix this.

Should I dig into this and figure out how to
use both?  It looks like the easy thing to
do is regenerate the certs with RSA alone.
Is that advisable?

Thanks,
Ray



Re: root/boot on softraid in 5.0

2011-12-22 Thread Raymond Lillard

On 12/22/2011 09:07 PM, Paul B. Henson wrote:

On Wed, Dec 21, 2011 at 08:08:08PM -0800, Josh Grosse wrote:


Woops.  I misread your post.  The commits were September 19, which is
-current, beyond 5.0-release.

You must either migrate to -current, or await 5.1-release.


Ah, ok, thanks for the clarification. The installboot piece that lets
you install bootblocks on softraid is in 5.0, so when that part worked I
assumed it all was. The dates (commits in Sept, your post in Oct,
5.0 release in Nov) also led me to misbelieve it was in 5.0. But looking
at the changelogs I see the bits that store boot info in softraid
metadata and dynamically figure out the root happened after the 5.0
freeze.

Something to look forward to in 5.1 :). Thanks again...


Why wait?  I have two amd64 servers in production on -current
and all is humming along magnificently.  One is heavily loaded
by large image file manipulation over samba.  Of course that
has little to do with the boot block business.  Both servers
were booted more than a dozen times during provisioning so
I feel good that they will come up after an extended power
outage.

I did boot with sd0 removed to force a boot from sd1.  I
then took a third disk and rebuilt sd0 while the machine
was up and running.  All went well.

To me it was worth the trouble to pick a snapshot between
commit storms by the developers, just so I didn't have to
deal with the altroot thing any more.

I have been using OBSD for Internet facing infrastructure for
the last 10 years but always used RedHat/CentOS for internal
servers.  In Oct I installed the first of the two and don't
see going back.  I am so done with Linux servers.

OBSD is getting  close to the point where I can use it as
a workstation/desktop.  My biggest hindrance is no wine.

I guess I am going to be forced to make friends with some
VM system and cross mount the filesystems via samba.  I
assume smarter people than me have done that already.

I would take suggestions of a preferred VM off-list so as
not to hijack this tread.

Regards all



Re: spamd-setup in crontab

2011-11-15 Thread Raymond Lillard

On 11/14/2011 06:28 AM, James J. Lippard wrote:

I had the same problem, which I worked around by changing my
spamd.conf to use a local file instead of FTP, and downloading the
traplist.gz file in my daily.local.

That is, my spamd.conf now looks like this:

uatraps:\
 :black:\
 :msg=Your address %A has sent mail to a ualberta.ca spamtrap\n\
 within the last 24 hours:\
 :method=file:\
 :file=/etc/mail/traplist.gz:

And my daily.local now has this:

echo Getting traplist.gz.
/usr/bin/ftp -o /etc/mail/traplist.gz http://www.openbsd.org/spamd/traplist.gz



I question the wisdom of identifying the source of
your trapping info.  It outs ualberta.ca as a trap.

Spammers who actually read (I know most don't) reply
messages will know to black list ualberta.  Those
with infected machines who somehow might get see the
message need only know their machine is compromised.

Knowing who trapped their spam does not enable the
owner of the compromised machine to do any thing
they wouldn't do anyhow.  The still need to clean
up their machine.

Regards,
Ray



root filesystem on softraid

2011-10-29 Thread Raymond Lillard

I saw the commits for this a few weeks past and thought
I'd give it a go.

I have successfully built a RAID1 on two ~500GB physical
drives. The root filesystem is on partition a.

I shutdown the machine and replaced one of the disks with
a fresh unused one to test the rebuild process.

All seems to have went well, it is still rebuilding, but
in checking status I see no serial in the status output.
Should the serial number contain the duid?  Is this
expected or did I miss something?  Maybe the serial
relates to hardware raid?

# bioctl -hv sd2
Volume  Status   Size Device
softraid0 0 Rebuild  458G sd2 RAID1 20% done
  0 Online   458G 0:0.0   noencl sd0d
 'unknown serial'
  1 Rebuild  458G 0:1.0   noencl sd1d
 'unknown serial'

My test machine is a Lenovo w500.  Next up is a Sun v240.

Thanks to the developers for this.  I've been hoping
for this for some time.  I now just need to remember
to update the kernel file on the a partitions
when doing normal updates.

Regards All
Ray

Just for the record:

OpenBSD 5.0-current (GENERIC) #90: Sat Oct 22 20:51:52 MDT 2011
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 8515162112 (8120MB)
avail mem = 8274382848 (7891MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (80 entries)
bios0: vendor LENOVO version 6FET79WW (3.09 ) date 10/02/2009
bios0: LENOVO 406227U
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT TCPA DMAR 
SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) 
EXP4(S4) PCI1(S4) USB0(S3) USB3(S3) USB5(S3) EHC0(S3) EHC1(S3) HDEF(S4)

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz, 2793.42 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,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG

cpu0: 6MB 64b/line 16-way L2 cache
cpu0: apic clock running at 265MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpimcfg0 at acpi0 addr 0xe000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 5 (EXP3)
acpiprt6 at acpi0: bus 13 (EXP4)
acpiprt7 at acpi0: bus 21 (PCI1)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature is 127 degC
acpitz1 at acpi0: critical temperature is 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 42T4619 serial  7236 type LION oem SANYO
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
cpu0: Enhanced SpeedStep 2793 MHz: speeds: 2801, 2800, 2133, 1600, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
ppb0 at pci0 dev 1 function 0 Intel GM45 PCIE rev 0x07: msi
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Mobility Radeon HD 3650 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 1 int 16
drm0 at radeondrm0
Intel GM45 HECI rev 0x07 at pci0 dev 3 function 0 not configured
em0 at pci0 dev 25 function 0 Intel ICH9 IGP M AMT rev 0x03: msi, address 
00:21:86:a3:08:d0
uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 1 int 20
uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 1 int 21
uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 1 int 22
ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 1 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03: msi
azalia0: codecs: Conexant CX20561, Conexant/0x2c06, using Conexant CX20561
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: msi
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: msi
pci3 at ppb2 bus 3
iwn0 at pci3 dev 0 function 0 Intel WiFi Link 5100 rev 0x00: msi, MIMO 1T2R, MoW, address 
00:21:5d:77:88:dc

ppb3 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x03: msi
pci4 at ppb3 bus 4
Intel Turbo Memory rev 0x11 at pci4 dev 0 function 0 not configured
ppb4 at pci0 dev 28 function 3 Intel 82801I PCIE rev 0x03: msi
pci5 at ppb4 bus 5
ppb5 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x03: msi
pci6 at ppb5 bus 13
uhci3 at 

Re: USB voltmeter or DAQ module, small, inexpensive, with OpenBSD support

2010-01-28 Thread Raymond Lillard

Ralph Becker-Szendy wrote:
For one of my OpenBSD machines, I need to be able to measure a few 
analog voltages, and act on them in a control process.  The requirements 
 are quite simple compared to typical data acquisition: I absolutely 
need two voltage inputs, either 0-20V or 0-100mV; doesn't have to be 
differential, acquisition can be slow (1s is fine), and resolution can 
be as small as 10-12 bits (1% accuracy is more than good enough).  A few 
extra input channels, more accuracy/resolution, and a few digital IOs 
wouldn't hurt, but are not necessary.  DIN rail mounting and connection 
breakout would be nice, but can be improvised.


On the software side, there will be OpenBSD, with ad-hoc monitoring and 
control scripts.  With a little programming and script-writing, I can 
adapt anything that the OS can reasonably access.


Now come the issues: I can't use PCI cards, only external units, most 
likely connected via USB (as Ethernet and serial are expensive or rare). 
 And it needs to have some software support under OpenBSD - a Windows- 
or Linux-only solution doesn't work.  And this application is not worth 
spending thousands of $$$.  For Windows and LabView, solutions are easy 
to find (for example EMant300, DAQPodMX, a variety of Omega products). 
Does anyone now of a solution that would work with OpenBSD?




Ralph,

http://www.netburner.com/embedded_control.html

The PK70 with the analog board will give you everything you
asked for and quite a bit more at a hardware cost of US$400.

This may be over-kill, and you will need to write a bit of
code to run on the PK70.  You will also need to add a voltage
divider if you want to go the 20V route.

The development environment is GCC based but unfortunately
hosted on Windows :-(.  I have rolled my own cross-compilers
for other NB products on Linux, OpenBSD would probably be
possible.  The development environment is not needed once
you have downloaded your code to flash on the PK70.It is
probably not worth the trouble as your requirements are small,
even though it's hard to be productive while holding your nose
with one hand while typing with the other.

I am assuming this is a hobby project and your time is
free (as in beer).

I have been using products from this company in volume for
a decade.  They are good guys with very solid products.
I have no financial interest in the Netburner company.

I notice you are local to me.  Contact me by off-line by
email if you want to talk about it by phone.

Ray



Re: vi in /bin

2009-12-17 Thread Raymond Lillard
Brad Tilley wrote:
 On Thu, 17 Dec 2009 17:12 -0800, Randal L. Schwartz
 mer...@stonehenge.com wrote:
 Brad == Brad Tilley b...@16systems.com writes:
 Brad I use ed in emergencies when /usr is inaccessible, but I'm a lot
 more
 Brad comfortable with vi. Will a static vi ever live in /bin? Helping
 someone
 Brad use ed remotely, who has never used ed, when I myself don't use it
 Brad regularly is always an adventure.

 Solution: learn ed a bit more.

 It's really *not* that hard. :)
 
 Good advice. Guess I'm looking for the easy way out. I'll make myself
 edit in ed every Friday or something.
 
 Brad
 

Real men use cat. :-)



Re: Defending OpenBSD Performance

2009-09-16 Thread Raymond Lillard
Bob Beck wrote:
 boo hoo. run one machine somewhere and make release. done.
 
 Once you have a built release you can run upgrades everywhere from
 that release tarball.
 
 man release
 
 to figure out how to do that.
 
 Now you may ask, why don't we do that?  We simply do not have the
 resources and time to
 devote racks of machines, developer time, and internet bandwidth to
 building stable somewhere
 for all architectures, and distributing it securely.
 
 Us (the developers) would rather spend our time improving the os and
 our resources at
 distributing it and making it better than expending a lot of effort
 because someone is
 too lazy to rtfm and patch something themselves.  If you want push
 butan, get os, please
 go run windows 7 or OSuX.. you'll be much happier, as will we because
 the neediness
 of our user community goes down.
 
 The fact that you have to not be lazy to use OpenBSD is important to
 us. Unlike a commercial
 OS, or linux, we don't measure our success in how popular it is, or if
 we're going to replace the
 evil microsoft any time soon. we *WANT* needy lazy users to use those
 other OS's so we can
 concentrate on making something that works and is stable for people
 who really need it, like
 ourselves.
 

If you pick up a starving dog and make him prosperous,
he will not bite you. This is the principal difference
between a dog and a man. -- Mark Twain

Here, like so many other situations and places in this
world, people are feeding for free (or nearly so) and
bitching about the fare.

Enough already.



Re: the fdisk man page and the fdisk behaviour (OT)

2009-04-01 Thread Raymond Lillard
frantisek holop wrote:

 
 -f

 --
 number of vulcans to replace a bulb?  precisely 1.00.

Are you sure it isn't 1.000?  or maybe 1.?

Way back in the Dark Ages when I went to school, 1 was
thought to be more precise than 1.00.  I think it
still might be so in some circles.

:-)
Ray

PS  Just consider this a small diversion from the current flame war.

PPS: Thanks to all who are improving the fdisk and disklabel
 programs.



Re: Strange WLAN issue with ral(4) in hostap mode

2009-01-02 Thread Raymond Lillard
Todd T. Fries wrote:
 There are power savings for 802.11 that OpenBSD does not support; this is
 entirely independent from saving battery via cpu clocking and it is also
 entirely independent from saving battery via adjusting the transmit power
 of the radio.  The power savings for 802.11 actually put the radio to sleep
 for a given interval and wake it up sending a message to the AP which is
 supposed to hold packets for a given client until the client responds,
 which OpenBSD does not do, therefore packetloss ensues.
 
 I know this very well, my BlackBerry Pearl 8120 gets 90-95% packet loss
 with an OpenBSD based AP.
 
 Damien is aware of what needs doing, but I am to understand it is not a
 short or easy road to get there.

I believe I am seeing this problem with a new ral
in a Soekris 4801.  Over the holidays, I added:

GigaByte GN-WI01GS:

ral0 at pci0 dev 14 function 0 Ralink RT2561S rev 0x00: irq 11, address 
00:1f:d0:09:aa:06
ral0: MAC/BBP RT2561C, RF RT2527

Wanting to show off to some friends, I tried connecting
with a Linux laptop via WAP2.

When connection is made, it works well for a few minutes,
at which time it exhibits the above described behavior.
At first I thought it was me.  Now I wish it were.

I'm confused on one point though, is this issue specific
to ral or 802.11 in general?  My knowledge of things 802.11
is spotty at best.  In other words, can I work around this
by using a different MiniPCI card?

I'll happily donate the card to someone who volunteers to
work on this.

Regards all,
Ray



Re: Atheros AR2413A supported?

2007-07-09 Thread Raymond Lillard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Juan Miscaro wrote:
 I would like to know if this wireless network card is supported by
 OpenBSD 4.1:

It' simple to find the answer.  The answer itself of course is sad.

- From CVS:
 CVSROOT:  /cvs
 Module name:  src
 Changes by:   reyk_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2006/09/19 
 11:49:13
 
 Modified files:
   sys/dev/ic : ath.c ar5212.c ar5xxx.h
 
 Log message:
 attach and enable the newer chipset generations AR2413, AR5413, and
 AR5424. unlike the previous chipset generations, these chipsets are
 single chip solutions. the AR5424 is a PCI Express chipset as found in
 various intel Macs.
 
 support is still incomplete- 11a mode works and 11b mode is rx-only. i
 need some more test reports, hardware donations (there are several
 different subrevisions) and time to finish it.
 
 thanks for help from kettenis@
 of course! deraadt@

I have one to donate if someone wants to hack on it.

Ray

- --
Ray Lillard
[EMAIL PROTECTED]
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGkuBBW6j0KQLSyTQRAm41AKCXmJxR7cW885ErPqh/JGTmfes54QCeK91V
3CJjBKtRmWDOMm5v6egrQpY=
=p47z
-END PGP SIGNATURE-



Re: Can't make 3.7-stable release

2005-11-03 Thread Raymond Lillard

[EMAIL PROTECTED] wrote:

Hello!

   ...Same problem, again (it was already covered some time ago).
When I run the last step in building a release
(see http://www.openbsd.org/faq/faq5.html) , i.e.

  # make release

I get a message informing me that /dev/svnd0a is full. This occurs
while make is working with ramdiskC (exactly as the messages posted
last July).




C) Please don't flame--I'm just curious: In the mailing list
archives, I noticed this sort of problem has been around since
March (messages dated March 30). Why hasn't it yet been fixed? 


In the strictest of terms, a fix is impossible.  Think about
it a bit.  The problem could be mitigated a bit by dropping a
driver, but then its not the same release is it.  And then
there are the changes to the documentation, etc ...

I'm not going to take time to go back and check, but I think
I am the OP of the Mar 30 msg you refer to.  Just do what I
did, find a suitable work around (there are several) and get
on with the show.

Regards,
Ray



SIIG Cyber 4S PCI (quad serial) -- chip change

2005-11-01 Thread Raymond Lillard

Dear Misc,

I purchased a SIIG Cyber 4S PCI (quad serial).  After installation
of the card and a -current kernel (2005-10-31) I find the chip is
not being configured.  Looks like the classic chip change without a
product number change.

The dmesg lines which are problematic are:

vendor Oxford, unknown product 0x9501 (class communications subclass serial, rev 0x00) at 
pci0 dev 9 function 0 not configured
vendor Oxford, unknown product 0x9510 (class bridge subclass miscellaneous, rev 0x00) at 
pci0 dev 9 function 1 not configured



I personally lack a sufficiently clear understanding of what
needs to be added to the kernel to make this board work.
All help will be gratefully received.

Good night and good luck,
Ray




 OpenBSD 3.8-current (GENERIC) #229: Mon Oct 31 14:20:14 MST 2005
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel Pentium/MMX (GenuineIntel 586-class) 200 MHz
 cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
 cpu0: F00F bug workaround installed
 real mem  = 133804032 (130668K)
 avail mem = 115499008 (112792K)
 using 1658 buffers containing 6791168 bytes (6632K) of memory
 mainbus0 (root)
 bios0 at mainbus0: AT/286+(6c) BIOS, date 07/08/98, BIOS32 rev. 0 @ 0xf0400
 apm0 at bios0: Power Management spec V1.2
 apm0: AC on, battery charge unknown
 apm0: flags 30102 dobusy 0 doidle 1
 pcibios0 at bios0: rev 2.1 @ 0xf/0xa22
 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf09b0/112 (5 entries)
 pcibios0: PCI Interrupt Router at 000:07:0 (Intel 82371FB ISA rev 0x00)
 pcibios0: PCI bus #0 is the last bus
 bios0: ROM list: 0xc/0x8000
 ipmi at mainbus0 not configured
 cpu0 at mainbus0
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Intel 82439HX rev 0x03
 pcib0 at pci0 dev 7 function 0 Intel 82371SB ISA rev 0x01
 pciide0 at pci0 dev 7 function 1 Intel 82371SB IDE rev 0x00: DMA, channel 0 wired to 
compatibility, channel 1 wired to compatibility

 wd0 at pciide0 channel 0 drive 0: Maxtor 91021U2
 wd0: 16-sector PIO, LBA, 9641MB, 19746720 sectors
 atapiscsi0 at pciide0 channel 0 drive 1
 scsibus0 at atapiscsi0: 2 targets
 cd0 at scsibus0 targ 0 lun 0: LITEON, CD-ROM LTN341, ML16 SCSI0 5/cdrom 
removable
 wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
 cd0(pciide0:0:1): using PIO mode 4, DMA mode 2
 atapiscsi1 at pciide0 channel 1 drive 0
 scsibus1 at atapiscsi1: 2 targets
 sd0 at scsibus1 targ 0 lun 0: IOMEGA, ZIP 100, 23.D SCSI0 0/direct removable
 sd0: drive offline
 sd0(pciide0:1:0): using PIO mode 0
 vendor Oxford, unknown product 0x9501 (class communications subclass serial, rev 0x00) 
at pci0 dev 9 function 0 not configured
 vendor Oxford, unknown product 0x9510 (class bridge subclass miscellaneous, rev 0x00) at 
pci0 dev 9 function 1 not configured
 rl0 at pci0 dev 10 function 0 D-Link Systems 530TX+ rev 0x10: irq 12, address 
00:05:5d:d1:5f:fa

 rlphy0 at rl0 phy 0: RTL internal phy
 rl1 at pci0 dev 11 function 0 D-Link Systems 530TX+ rev 0x10: irq 10, address 
00:05:5d:36:39:4a

 rlphy1 at rl1 phy 0: RTL internal phy
 vga1 at pci0 dev 12 function 0 ATI Mach64 GP rev 0x5c
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 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
 pcppi0 at isa0 port 0x61
 midi0 at pcppi0: PC speaker
 spkr0 at pcppi0
 sysbeep0 at pcppi0
 lpt0 at isa0 port 0x378/4 irq 7
 npx0 at isa0 port 0xf0/16: using exception 16
 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
 pccom0: console
 pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
 biomask eb65 netmask ff65 ttymask ffe7
 pctr: 586-class performance counters and user-level cycle counter enabled
 dkcsum: wd0 matches BIOS drive 0x80
 root on wd0a
 rootdev=0x0 rrootdev=0x300 rawdev=0x302



Re: Motherboard Recommendation

2005-10-15 Thread Raymond Lillard

Francisco Valladolid wrote:

Abit A8XV Pro work fine.


I assume you intended to say Abit A8VX Pro.
It's a minor nit, until you type it into Google.  ;-)


On 10/11/05, Simon Morgan [EMAIL PROTECTED] wrote:


Hi,

I'm interested in building a machine for use as an OpenBSD workstation and
would appreciate any recommendations on AMD64 motherboards that are well
supported. I assume there are people on this list using OpenBSD as their
primary OS and would be interested to hear what you're using.

This would be a damned sight easier if manufacturers didn't insist on
including everything but the kitchen sink on-board and failing to document
which chipsets they're using. Can you even buy desktop motherboards that
don't come with on-board sound and network these days?

Any advice is appreciated.

Simon

--
Half Moon tonight. (At least it's better than no Moon at all.)






--
---
BSD - Unix simplicity.
Francisco Valladolid Hdez.
[EMAIL PROTECTED]




Re: RAID for dummies

2005-10-10 Thread Raymond Lillard

J Moore wrote:
I want to set up an OBSD box as a file server for some Windoze boxes. I 
think a RAID 1 setup will provide sufficient reliability - and it 
appears to be the cheapest way to go. 

I don't desire to become an expert on RAID, I don't want to spend a lot 
of money, and I'm confused by what I've read on the subject. Here's how 
I'd like it to work:


One of the disks craps out... an alarm goes off... I walk in with a new 
drive, and replace the failed one (hot-swap?)... beeping stops... no 
data is lost, system heals itself by taking care of the new drive... 
years pass, and life is good.


Is this feasible - can I remain ignorant of the RAID details and jargon, 
and still benefit from it?


Ignorance often leads to a very expensive education.

Are you certain that archival backups are not necessary?

While a properly designed RAID solution will (may) protect
users from loss of data due to h/w failures, it will do
nothing to protect them from themselves.  Furthermore,
off-site backups are needed to recover from catastrophic
events, like fire, flood, hurricanes, earthquakes, etc ...

I don't know how important the data is, but as the old
aphorism goes,

If its important, it's backed up.

Regards,
Ray



Re: FileSystem Corruptions? Very important Files at stake.

2005-10-08 Thread Raymond Lillard

STOP -- DON'T DO ANYTHING ELSE w/o expert help at your side.

Justin Wong wrote:

Hi, I was wondering if you could help me.
After searches on the internet turned up nothing, I found your site about
your love for OpenBSD. My problem is that when I boot, I get an error
/dev/rwd0a BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN
FIRST ALTERNATE.
Then, on the same 13 gig drive, the error,
/dev/rwd0a UNEXPECTED INCONSISTENCY RUN fsck_ffs MANUALLY
. Later on, I also get an error from my other HardDRive which is a 200 gig
Seagate. This drive is also getting many errors. I did not realise it, but I
guess I had formatted it in NTFS. 


How can you format a disk and not realize it?  Do you mean you
formatted a disk already containing data?  ... do you mean you
formatted the disk and then transferred the data to it?  Are
you set up for dual booting of Windows and OBSD?  Otherwise how
did NTFS get involved.  You need to describe your environment
and the sequence of steps preceding your catastrophe.


This HardDrive contains many files of
which are very important (3 years worth of files and a few thousand family
photos).


Data is only important if it is treated as though it is important.
If it's important, then it's backed up.


The only thing I can remember that might be related to the error is that the
computer would not shut down the previous night. I am relatively new to
OpenBSD so I shurgged it off as I held the power button down. I made sure
the HDD activity light was off.


When you typed the shutdown or halt command, what happened?


I am using OpenBSD 3.7.
When I type login I get a #sh not found error and it seems to continue.

From there I get thousands of errors where the computer tells me to fsck.
From my view, it looks like both filesystems became corrupted. I really need

these files.


You are probably correct in thinking both filesystems are corrupted.


A liveCD of Ubuntu doesn't seem to be working as it can't read the 200 gig
drive. 


The Ubintu CD is working just fine.  You are asking the programs
on it to perform a task they cannot do.


The 13 gig drive comes up with a nod error every couple or so nodes
with fsck. Ubuntu won't even read the 200 gig drive. Can you please help me
at least to recover hte files? Any suggestions would help. THe computer is a
500Mhz K6 with the 13 gig drive run as master and the 200 gig drive as
slave. 


I don't mean to be unkind during your distress, but this is entirely
the result of you own actions.  Trying to run fsck on an NTFS filesystem
is likely to make any recovery impossible.

Some of these files are photographs of my now deceased grandfather

and are very important.


I'm sorry to say this, but your files may be irretrievably gone.
The best advice I can give at this point is to find somebody
who has expert knowledge of whichever file system is involved
(BSD or NTFS) and let them take over.  Maybe there is a data
disk recovery shop near you.  The good ones are expensive.


Thank you for your time.


Da nada,  Sorry to be the bearer of bad news.

All the best,
Ray



Re: One time passwords?

2005-09-27 Thread Raymond Lillard

stan wrote:

I find myself in the position sometimes when away from home having access
to only M$ machines with a base OS load only. 


I don;t have telnet open on my home network, but i was considering opening
it up on the OpenbD firewall, and using some sort of one time password
scheme.

Would this be a sane thing to do? and f so, where cold  find some software
to support the one time password functionality?



Make a Live CD from OpenBSD and take it with you.
Failing that, get a copy of Knoppix.

Other than the above, Just say NO!!

Ray

PS Stan, Sorry about the double msgs.



Re: nat problems when using address pool

2005-09-16 Thread Raymond Lillard

Chris Smith wrote:

OpenBSD 3.7

Some hosts will experience poor to seemingly no Internet access when 
using NAT address pools - web sites time out, even pings to remote 
addresses fail.


Using:
nat on $ext_if from !$ext_if - $ext_if:0
works fine.

Using:
nat on $ext_if from !$ext_if - $ext_if
or
nat on $ext_if from !$ext_if - ext_net
does not.

Configuration:

T1-(cisco)-eth0 ---fxp0-(openBSD)-em0
  |
em1

fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
address: 00:07:e9:93:2b:50
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 66.100.28.130 netmask 0xfff0 broadcast 66.100.28.143
inet6 fe80::207:e9ff:fe93:2b50%fxp0 prefixlen 64 scopeid 0x3
inet 66.100.28.131 netmask 0x broadcast 66.100.28.131
inet 66.100.28.132 netmask 0x broadcast 66.100.28.132
inet 66.100.28.133 netmask 0x broadcast 66.100.28.133
inet 66.100.28.134 netmask 0x broadcast 66.100.28.134
inet 66.100.28.135 netmask 0x broadcast 66.100.28.135
inet 66.100.28.136 netmask 0x broadcast 66.100.28.136
inet 66.100.28.137 netmask 0x broadcast 66.100.28.137
inet 66.100.28.138 netmask 0x broadcast 66.100.28.138
inet 66.100.28.139 netmask 0x broadcast 66.100.28.139
inet 66.100.28.140 netmask 0x broadcast 66.100.28.140
inet 66.100.28.141 netmask 0x broadcast 66.100.28.141
inet 66.100.28.142 netmask 0x broadcast 66.100.28.142

Alas I realized that the outbound mail server couldn't participate in 
such a scheme as it needed to present the same addresses to the world 
so that its dns name matched the helo name.


So I tried this:
nat on $ext_if from $server_1 - $ext_ad
nat on $ext_if from sp_net - $ext_ad_sp
nat on $ext_if from kw_net_minus - ext_net_minus
where sp_net is the address block on em1 and kw_net_minus is the 
address block on em0 minus ext_ad (66.100.28.130).
Same problem, although mail service was solid again (no bounces from 
those MTA's doing reverse lookups).


After examining http://openbsd.org/faq/pf/pools.html, I thought it might 
be a round-robin vs. source-hash issue and tried this:

nat on $ext_if from $server_1 - $ext_ad
nat on $ext_if from sp_net - $ext_ad_sp
nat on $ext_if from kw_net_minus - 66.100.28.136/29 source-hash
as it appears, from the doc above that a CIDR block must be used when 
specifying source-hash.


But again some clients experience very poor to what seems like no 
Internet access.

The minute I revert back to:
nat on $ext_if from !$ext_if - $ext_if:0
or
nat on $ext_if from { kw_net, sp_net } - ext_net
everone works but my translations are limited to just the one address.

Pointers toward resolution? Thanks.


Chris,

First off, it's a bad idea to broadcast your real IP numbers
in a public place.

Secondly, here's what works for me.

nat_pool = { 169.1.2.64/29 }

nat on $ext_if from 10.10.10.0/25 to any - $nat_pool source-hash

At this site, I originally omitted source-hash.  Users of
secure web-sites like ADP (a payroll processing company) and
the IRS would get dumped out of secure sessions because the
client was changing IP numbers.

Best,
Ray



Re: named error

2005-08-25 Thread Raymond Lillard

Qv6 wrote:

Folks,

I'm in the process of configuring named with a split-view, but I'm 
having what I consider a minor issue which I haven't quite figured out. 


Here's the significant snippet from named.conf:

snip

view internal { // What the home network will see
match-clients { clients; };

zone example.com {
type master;
notify no;
file master/example-int.com ;
allow-query { any; };
};


};


view external { // What the Internet will see
match-clients { any; };
recursion no;

zone example.com {
type master;
notify no;
file master/example-ext.com;
allow-query { any; };
};


};


... unless you snipped them out because they were in-significant
to the good folks on [EMAIL PROTECTED]

I'm sure you're frustrated, but without knowing how you are
invoking named, having the complete named.conf available
and being able to examine your directory tree, I don't know
what you think the list can do for you.

Ray



Re: 3.8 beta requests

2005-08-23 Thread Raymond Lillard

J. Lievisse Adriaanse wrote:

On Tue, 23 Aug 2005 01:37:12 -0600
Theo de Raadt [EMAIL PROTECTED] wrote:
We are heading towards making the real 3.8 release soonish.  


I was wondering, when can we start pre-ordering our cd-sets?


We normally setup pre-orders 1 month before.  We might do it a bit
earlier... dunno.

But it is hard to do when artwork is not final yet :)


I wonder what the theme for this release will be...


Maybe a slogan along the lines of, Is your software good enough
for OpenBSD!!  Perhaps it could be worked into the release's
theme.

Or a Good Housekeeping Seal of Approval like version of Puffy.

I'm not in the publicity game, and for good reason, but it seems
a good opportunity for some positive publicity.  Some may try and
spin the broken applications against OpenBSD.  Make sure the OpenBSD
story is out there first, loud and clear.

Ray



Re: Ammunition needed to defend OpenBSD/pf

2005-08-03 Thread Raymond Lillard

Melameth, Daniel D. wrote:

Rod.. Whitworth wrote:


Somebody sent me a query asking for a justification for my proposal to
supply a firewall/router using OpenBSD when there was thsi device:
http://www.dlink.com/products/?pid=327 , with all its claimed bells
and whistles.

Anybody know what, if anything, it does that an OBSD solution doesn't/
cannot, that may be important?

Or alternatively the reverse.



I'm certain I can think of lots of reasons, but with a few stout beers
in me, one of the first thoughts that comes to mind is how thankful you
will be when troubleshooting some firewall or related issue and you find
your privsep'ed tcpdump happily providing you with what you need to
have a better day.


And that troubleshooting would in all likely-hood be of your
configuration of said firewall and not the firewall itself.

Regards,
Ray



Re: Device not configured (APM, sound, modem)

2005-08-03 Thread Raymond Lillard

Z L wrote:

I installed OBSD3.7 on my laptop. Things that are not working are:
sound and modem (dial-up internal laptop modem) and apm.

For modem, sound and apm it says: Device not configured. For APM I
tried to set the apmd_flags=YES in rc.conf. For sound and modem I
tried the things that are described in the FAQ and manpages.

Is there any userland program to get them working? Or any other method?

The good thing is most of the things *are* workin; like, X, Wifi, NIC,
touchpad, USB mouse etc.

Relevant dmesg output:

vendor ATI, unknown product 0x4341 (class multimedia subclass audio,
rev 0x00) at pci0 dev 20 function 5 not configured

vendor ATI, unknown product 0x434d (class communications subclass
modem, rev 0x01) at pci0 dev 20 function 6 not configured


You might favor the list with the irrelevant dmesg output.
mfg name and model might help too.

Ray



Re: Laptop CD Audio

2005-06-14 Thread Raymond Lillard

Christian Jones wrote:

Hi, all.  I've been putting a laptop (Dell Inspiron 1000) through the
motions in order to submit its status to the OpenBSD i386 laptops
page.  In doing so, I've tested out a bunch of things I've never used
before, and I've hit a snag with playing audio CDs (from the raw
device, not mounting and/or ripping them).

I thought I had this one all figured out---I can play audio just fine,
but not from the CD.  Everything's unmuted and maxed out in volume in
mixerctl (below);  I haven't changed any settings in audioctl (also
below).  cdio seems to read and play just fine (status below), but I
get no actual sound.  Even DVDs play great in ogle.


What kernel version?

Where is your dmesg?

I have a Dell Latitude D810 machine.  I have exactly the same
problem, I just haven't gotten around to complaining about
it yet.

My machine has no LINE-OUT jack, only headphones.  I think
the solution may require driver modifications to handle
the new audio hardware in the latest support chip.  I have
no datasheets to even study the problem let alone try to
fix it.  Besides, I have no driver development experience
in OBSD, so I been meaning to try interest one of the regular
developers into taking a look, but haven't had the time to get a
fresh snapshot to see where things are today.  When chasing
new hardware, it is good to try a recent snapshot before
complaining.

You should post a dmesg.  I posted one back in March for
the D810.  See:
http://www.sigmasoft.com/~openbsd/archive/openbsd-misc/200503/msg00566.html

If it will help things along, I will try to install a
recent snapshot this coming weekend.

Regards,
Ray