Re: OpenBSD 3.7 on Soekris rebooting at random

2005-08-23 Thread Dimitri Georganas

Olivier Mehani wrote:


Hi,

I'm facing a strange problem (started a week or so ago):

My OpenBSD 3.7 running on a Soekris net4511 reboots with no obvious
reason. I've started monitoring the memory usage, load average and pf
states, but these do not seem to be related to the problem.

I'm also using the hardware watchdog which I will disable to see if it
is involved in the problem, but everything has been working well for
more than two months with it before.

Do you have any suggestion of other things I should monitor ?

Thanks

--
Olivier Mehani [EMAIL PROTECTED]

[demime 1.01d removed an attachment of type application/pgp-signature]

 


a dmesg may be helpful...



Re: OpenBSD 3.7 on Soekris rebooting at random

2005-08-23 Thread Dimitri Georganas

Did you put this atheros card in one week ago? :)


ath0 at pci0 dev 16 function 0 Atheros AR5212 rev 0x01: irq 11
ath0: mac 80.9 phy 4.3 radio 3.6, 802.11a/b/g, FCC1A, address


3.7 would crash on ath0 with AR5212 in hostap mode every six hours or so. Your 
watchdog does an excellent job, otherwise your board would just freeze.

Not sure if this is an ath problem or a card-specific problem, but later 
snapshots (june) made it worse: the system would freeze when you'd do ifconfig 
up - probably due to the gpio support that, as you can see, isn't here yet in 
this dmesg.

Your best chance is to check out the latest snapshots to see if the problem is 
fixed. I reported it a while ago, but didn't check back. I just replaced the 
atheros card by an old prism card and that one works 24/7.






Olivier Mehani wrote:


On Tue, 23 Aug 2005 15:21:53 +0200
Dimitri Georganas [EMAIL PROTECTED] wrote:

 


I'm facing a strange problem (started a week or so ago):
 


a dmesg may be helpful...
   



Yes, I realised I forgot to include it just after posting, sorry...

Anyway, it confirms that this is the watchdog which triggered the
reset, but I still don't know why...

Full dmesg follows:

OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Am486DX4 W/B or Am5x86 W/B 150 (AuthenticAMD 486-class)
cpu0: FPU
real mem  = 66691072 (65128K)
avail mem = 53448704 (52196K)
using 839 buffers containing 3436544 bytes (3356K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 20/41/22, BIOS32 rev. 0 @
0xf7840 pcibios0 at bios0: rev 2.0 @ 0xf/0x1
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc8000/0x9000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
elansc0 at pci0 dev 0 function 0 AMD ElanSC520 PCI rev 0x00: product
0 steppin g 1.1, CPU clock 100MHz, reset 8WDT
elansc0: WARNING: LAST RESET DUE TO WATCHDOG EXPIRATION!
gpio0 at elansc0: 32 pins
cbb0 at pci0 dev 9 function 0 Texas Instruments PCI1410 CardBus rev
0x02: irq 10
ath0 at pci0 dev 16 function 0 Atheros AR5212 rev 0x01: irq 11
ath0: mac 80.9 phy 4.3 radio 3.6, 802.11a/b/g, FCC1A, address
00:02:6f:21:ea:79 gpio at ath0 not configured
sis0 at pci0 dev 18 function 0 NS DP83815 10/100 rev 0x00: DP83816A,
irq 5, ad dress 00:00:24:c4:22:5c
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 19 function 0 NS DP83815 10/100 rev 0x00: DP83816A,
irq 9, ad dress 00:00:24:c4:22:5d
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 1 device 0 cacheline 0x10, lattimer 0x3f
pcmcia0 at cardslot0
isa0 at mainbus0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard
wdc0 at isa0 port 0x1f0/8 irq 14
wd0 at wdc0 channel 0 drive 0: Hitachi XX.V.3.4.0.0
wd0: 1-sector PIO, LBA, 488MB, 1000944 sectors
wd0(wdc0:0:0): using BIOS timings
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
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
biomask f5c5 netmask ffe5 ttymask ffe7
pctr: no performance counters in CPU
rtw0 at cardbus0 dev 0 function 0 irq 10
rtw0: ver F, radio SA2400A, amp SA2411, address 00:0f:3d:cf:cb:e8
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
WARNING: / was not properly unmounted

And, as it may help too, my watchdog script:

#!/bin/sh
echo starting watchdog...
 
sysctl kern.watchdog.auto=0  /dev/null
 
while : ; do

   sysctl kern.watchdog.period=10  /dev/null
   sleep 8
done




Re: package installation fatal error

2005-06-24 Thread Dimitri Georganas

Qv6 wrote:


Folks:

Brand new to openbsd.

Just installed obsd without any of the X sets, game*, or bsd.mp 
installed, on an intel pc. Every seems to be on the up and up except 
that installing packges gives a fatal error, and there is nothing in 
the log files to tell me anything about this particular error. 

Note: 
The network is up and running and I can surf with lynx

Shell is sh. I also received this error using csh
I can ftp to ftp.openbsd.org

Here are the steps I took:

#PKG_PATH=ftp://ftp.openbsd.org/pub/OPENBSD/3.7/packages/i386/
 


s/OPENBSD/OpenBSD and lose the trailing slash


#export PKG_PATH
#
#pkg_add snort-2.1.2.tgz
Can't find snort-2.1.2.tgz
/usr/bin/pkg_add: snort-2.1.2.tgz:Fatal error

I get this error using pkg_add as above or by prepending $PKG_PATH to 
the package name:


#pkg_add ${PKG_PATH}snort-2.1.2.tgz

OR

#pkg_add 
ftp://ftp.openbsd.org/pub/OPENBSD/3.7/packages/i386/snort-2.1.2.tgz


What could be the issue here.

TIA




gpio + ath problems iwth ath AT5212A-00

2005-06-14 Thread Dimitri Georganas
I have tried OpenBSD3.7 -stable with generic kernel with an atheros 
AT5212A-00 on a wrap board and the dmesg showed gpio not configured.
The system crashed every few hours. But performance in between was quite 
good.



Then I installed -current and dmesg showed gpio to be supported.

However, crashes occured immediately after ath0 came up

The message was ath0 timeout...then the system froze.

I had to replace the atheros card by a prism card to avoid problems and 
can't reproduce a dmesg at this time.


I'm aware this is minor information. If this problem is known pls 
advise, if not I will put back
the card asap to reproduce the problem and see what I can find out so I 
can file a decent bug report.




Re: wireless bridge router/firewall

2005-06-10 Thread Dimitri Georganas

*Bridged*:
The easiest, unfirewalled

Get a switch and a wireless bridge (Like senao /engenius sl2511)

Connect the bridge to the wireless router and to the switch and you're done.

Cost: 100 euro

Or:

Get an openbsd box with ethernet and wireless card, bridge both interfaces
and connect the wireless interface to the wireless router. Connect the wired
interface to the switch where you also connect the rest of your equipment.

Here you could set up a bridged firewall with pf.
*
Routed
*
Get an openbsd box with ethernet and wireless card, instead of bridging, 
configure
NAT between the two interfaces, connect the wireless card to the 
wireless router
in client mode. Connect the wired interface to the switch togheter with 
your equipment.


Things to read:

pf manual
man ifconfig
man brconfig
man hostname.if
and some more...

If you know how to do it it's five minutes work. If you don't, it's some 
homework.




Zen Lunatic wrote:


I recently got cable. The modem is installed on the third floor of the
house. We have a wireless router which allows me to connect my laptop,
and we have an xp machine and a ps2 hooked wired to two of the four
wired ports on the router.

I wanted to build my own router/firewall but the modem is in someone
elses room and they don't want to have a machine sitting in there.

What I want to do is somehow build a box that is a router/firewall but
connects to the internet using the wireless signal, so I can set up my
own router in my room in the basement and connect a bunch of wired
computers so I don't have to buy wireless cards for everything plus so
I can have my own dedicated firewall. This is basically a standard or
bsd dedicated router/firewall box, but which uses the wireless to get
to the internet instead of a second network card. Can this be done?

I looked into these wireless bridge things but I was wondering if I
could do something like I've described with a bsd or gnu/linux box
with wireless card and a network card which is plugged into a switch
like a normal bsd or gnu/linux router.

I searched and didn't find anything on this topic.

I know this isn't the most ideal setup for a home network, but its all
I got for now. At least my part of the network will be firewalled off
from the windows side. Thanks.




Re: openbsd list fckery

2005-06-03 Thread Dimitri Georganas

It's always nice to see people find some level of harmony in their lives.

(I really love the obsd installer btw, please don't change it)

[EMAIL PROTECTED] wrote:


Hello Lars,

AND of what fucking use was this shitty email from you Lars?  WHAT
FUCKING GOOD ARE YOU and why the fuck is your shitty-tongued crap 
in
my inbox!?  Isn't Theo enough of a malicious CUNT without his 
lapdog
roottard bitches yipping at his heels climbing over each other for 
a

chance to lick his stinking crack on this polluted mailing list?  I
mean for FUCK SAKE SHUT THE HELL UP!  What good was your idiot 
email?


OpenBSD is NOT run by kind people.  Look at the motherfucking
installer for one tiny example.  One keyfumble or one return too 
many
and you are FUCKED, have to start over.  Haven't you fucking 
ASSHOLES
heard of go back? How far up your own ass do you have to be to 
code
such a DEEPLY SHITTY INSTALLER that it won't even allow the user to 
go
back and change that important N to a Y?  You don't even have to 
keep
state just store important choices as variables and allow us to 
change
variables at each prompt.  I could code something like that 20 
years

ago, what is your excuse you fucking bastards?  Social retardation?
Horrid brain damage?  Are you just plain evil (in the covered in 
shit

retarded way)?

Everything I ever hear from cockmaster THEO and his little bitches
REEKS OF THIS SAME SHIT.

Your attitude will serve you well in hell!

/UNSUBSCRIBE (fuck you!!)

Friday, June 3, 2005, 4:12:36 AM, you wrote:




Re: openbsd list fckery

2005-06-03 Thread Dimitri Georganas
I got private mail too, but my reply bounced...the [EMAIL PROTECTED] 
account was disabled (...)




I don't advocate for obsd. I just like the os, as it is stable and it 
does what it does.
I don't like the 'obsd attitude' either, but I ignore it. Personally I 
feel that if you don't
like peoples attitudes, it doesn't help to go the way you went on that 
list.


I do like the installer though, I'm serious. Not for it's user 
friendliness, but because

it works for me. I've seen better ones, I've seen worse.




[EMAIL PROTECTED] wrote:

just tip of the iceberg, starting with what users see first, is only 
reason i gave that measly example.  openbsd is has so many problems 
that are unfixed because the advocates like yourself have such SHT 
attitudes and think you are so smart.  it is what gives me the 
greatest joy when i root you fcks and rm your machines.  such joy i 
cannot express.  your MiTC bitsy site may enjoy my company someday 
soon.  because, you know perfectly well the installer is shit you just 
choose to troll. want to debate the other more important sht wrong 
things about obsd? haha too bad i don't have any such interest. good 
day and bye.




Concerned about your privacy? Follow this link to get
secure FREE email: http://www.hushmail.com/?l=2

Free, ultra-private instant messaging with Hush Messenger
http://www.hushmail.com/services-messenger?l=434

Promote security and make money with the Hushmail Affiliate Program: 
http://www.hushmail.com/about-affiliate?l=427


 






[EMAIL PROTECTED] wrote:


Hello Lars,

AND of what fucking use was this shitty email from you Lars?  WHAT
FUCKING GOOD ARE YOU and why the fuck is your shitty-tongued crap 
in
my inbox!?  Isn't Theo enough of a malicious CUNT without his 
lapdog
roottard bitches yipping at his heels climbing over each other for 
a

chance to lick his stinking crack on this polluted mailing list?  I
mean for FUCK SAKE SHUT THE HELL UP!  What good was your idiot 
email?


OpenBSD is NOT run by kind people.  Look at the motherfucking
installer for one tiny example.  One keyfumble or one return too 
many
and you are FUCKED, have to start over.  Haven't you fucking 
ASSHOLES
heard of go back? How far up your own ass do you have to be to 
code
such a DEEPLY SHITTY INSTALLER that it won't even allow the user to 
go
back and change that important N to a Y?  You don't even have to 
keep
state just store important choices as variables and allow us to 
change
variables at each prompt.  I could code something like that 20 
years

ago, what is your excuse you fucking bastards?  Social retardation?
Horrid brain damage?  Are you just plain evil (in the covered in 
shit

retarded way)?

Everything I ever hear from cockmaster THEO and his little bitches
REEKS OF THIS SAME SHIT.

Your attitude will serve you well in hell!

/UNSUBSCRIBE (fuck you!!)

Friday, June 3, 2005, 4:12:36 AM, you wrote:

 


On Fri, 3 Jun 2005 12:47:41 +0200
Markus Kolb [EMAIL PROTECTED] wrote:
   

This is my last post to any of your lists and it was my last 
 


OBSD
 


installation.
 



 


You say it like you expect anyone to care.
   



 

The work you do is quite good but your mentality has no 
 


compatibility
 


with ours.
 



 


Ours? Who are these ours? The voices in your head?
   



 


I got it that I am using the wrong OS.
 



 


Obviously.
   



 


Your OS is only useable for
things you think about. So nothing free at all when you hate 
 


people
 


doing stuff you don't like.
 



 


This doesnt even make sense. Try to write comprehensible english
even if you're upset. 
   



 


---
Lars Hansson
   







Concerned about your privacy? Follow this link to get
secure FREE email: http://www.hushmail.com/?l=2

Free, ultra-private instant messaging with Hush Messenger
http://www.hushmail.com/services-messenger?l=434

Promote security and make money with the Hushmail Affiliate Program: 
http://www.hushmail.com/about-affiliate?l=427




Re: NAT Problems :-(

2005-05-31 Thread Dimitri Georganas

[EMAIL PROTECTED] wrote:


[...]
   




SNAP


Yes I tried that also.
$Int2:network was a hint from the #pf - IRC Channel at Freenode.

Kind regards,
Sebastian

 

Well since you said you tried with minimal pf.conf as well and it didn't 
work, you may want to try this minimal conf which does work.



ext_if=sis0 
int_if=wi0  


scrub in all

nat on $ext_if from !($ext_if) - ($ext_if:0)

block in on $ext_if 
pass out on $ext_if  keep state

block in on wi0 inet
pass in on wi0 inet from friends to any keep state

friends is assumed to be a table with ip's listed that should have wireless 
access.