freedt

2007-08-23 Thread Shohrukh Shoyokubov
Hi list,

I am having troubles with running freedt to supervise the mldonkey daemon. I
use 4.1-release and installed both mldonkey and freedt from ports.
I created /etc/svc.d directory where I put service directories. Created a
run file in /etc/svc.d/mldonkey/run with following content:
#!/bin/sh
exec /usr/local/bin/mlnet

Created /service directory with 755 permissions
Later linked the /etc/svc.d/mldonkey to /service/mldonkey

But when I fire up the svscan it gives me the following error:
# svscan
svscan: sys: unable to change into service directory
svscan: sys: unable to change into service directory
svscan: sys: unable to change into service directory
svscan: sys: unable to change into service directory
svscan: sys: unable to change into service directory
svscan: sys: unable to change into service directory
svscan: sys: unable to change into service directory
svscan: sys: unable to change into service directory

Am I missing something?

Shohrukh



Simple OpenBSD gateway

2007-03-04 Thread Shohrukh Shoyokubov
I want to implement an OpenBSD gateway with two interfaces like the 
following


ISP (xxx.yyy.zzz.0/25) --- OpenBSD Gateway --- Internal network 
(xxx.yyy.zzz.128/25)


My ISP will give me a pool of IP addresses (xxx.yyy.zzz.128/25). My OBSD 
box will have one default static route, which is going to be my ISP's 
gateway. I need to allow machines in my subnet to access the rest of the 
world and do bandwidth management based on IP addresses at the same 
time. I have a small checklist, but it seems to be so simple, am I 
missing something?


1. Enable net.inet.ip.forwarding
2. Create a CBQ queue and define the allowed bandwidth for the IP addresses
3. Create pass rules and assing queue for them

Thanks,
Shohrukh



Re: Wireless Access Points and DHCPd

2007-02-27 Thread Shohrukh Shoyokubov

Darren Spruell wrote:

On 2/26/07, Shohrukh Shoyokubov [EMAIL PROTECTED] wrote:

Hello,

I have problem with assigning IP addresses to wireless clients using
DHCP. I have two D-Link DWL-G700AP access points and turned their DHCP
servers off. They are connected to my wired network, where my OpenBSD
server resides. I have configured OpenBSD as DHCP server and it works
fine with wired clients, but no success with wireless clients. Am I
missing something?


How do we know if you're not explaining your configuration and showing
the setup?

DS


Here are some settings

Ethernet
MAC Address
   00:19:5b:08:f5:9f
IP Address
   192.168.100.11
Subnet Mask
   255.255.255.0
Gateway
   192.168.100.193
DHCP Server
   Disabled
Wireless
SSID
   MCT
Encryption Function
   WEP 64bits
Channel
   11

There is almost nothing else to set in this Access Point. And there is 
no DHCP proxying option also. I guess it is impossible to assign ips for 
my wireless client using my OBSD box :(


Thanks
Shohrukh



Wireless Access Points and DHCPd

2007-02-26 Thread Shohrukh Shoyokubov

Hello,

I have problem with assigning IP addresses to wireless clients using 
DHCP. I have two D-Link DWL-G700AP access points and turned their DHCP 
servers off. They are connected to my wired network, where my OpenBSD 
server resides. I have configured OpenBSD as DHCP server and it works 
fine with wired clients, but no success with wireless clients. Am I 
missing something?


Thanks



Re: Router performance on OpenBSD and OpenBGPD

2007-02-21 Thread Shohrukh Shoyokubov
I just wanted to ask this question to [EMAIL PROTECTED] My situation is 
100Mbps/100Mbps that is needed to be managed. I need bandwidth 
management and I want to ask if someone has such experience. I plan to 
implement it on OpenBSD. Any recommendations?


Shohrukh

Alex Thurlow wrote:
So anywhere I look for router performance on OpenBSD, all the 
benchmarks are on small lines or old machines.  I also see mentions of 
people using it in large scale installations, which is what I'm 
looking to do.  I thought I'd ask here and see what people have done.
I have 2 GigE lines from different providers balanced via BGP with 
full routes from both providers.  Currently, these are running through 
a Linux/Quagga/Iptables router/firewall with a P4 3.2 GHz.  The distro 
is Gentoo, and we've stripped it down quite a bit.


We're pushing streaming video, so it's almost all outbound traffic by 
about a 30:1 factor, and our average packet size is quite large - 
around 1200 bytes.  At the moment, when we hit about 350Mbps, the 
router gets to ~30% CPU usage, and it appears that we stop being able 
to pass all the traffic at full speed.  I don't see packet loss, but 
our traffic graph flattens a good bit.  At those rates, we also start 
to see crashing, but we haven't been able to figure out the exact 
cause of those either.
So, long story short, I need a new router.  We've looked at Cisco, 
etc. and for what we're doing, it looks like we need a carrier class 
router.  I can get a decked out 12008 for about $8k, but I'd rather 
not spend that much, or use the 2 feet of rack space.


I've used OpenBSD/PF for firewalls in the past, and loved them, so I'd 
like to use it for a router if it can handle what we need.  Basically, 
I need to be able to saturate both of those GigE lines.  I'm willing 
to buy the brand-newest hardware - the PCI express bus should be able 
to do 2.5 Gbps, but I can't find anything that says I can push that 
much through software.


I was also looking at the Intel I/O Accelerator, but I didn't see if 
there was OpenBSD support for it.  I'm sure if there is, that would 
help get me to be able to push the traffic I want to.


A long explanation, but I'm just hoping someone could give me some 
insight here.



Alex Thurlow
Technical Director
Blastro, Inc.




Re: SIP on OpenBSD

2007-02-13 Thread Shohrukh Shoyokubov

It seems that you are not understanding * architecture well.

As I know zaptel is required for analog FXO/FXS cards from digium and 
libpri for T1/E1 cards. But they have nothing to do with VoIP, which is 
SIP, IAX ...


I have never ran asterisk on OBSD, but I believe it works (I mean 
asterisk only, no zaptel and libpri)


Shohrukh

[EMAIL PROTECTED] wrote:

I don't know for sure how you did it. But I been working with 
Asterisk+Zaptel+Libpri here in UK
both for personnal and commercial VOIP applications. My success so far on the 
BSDs is with FreeBSD
and never had any single damn problem. I have and reviewed the specs of digium 
over and over again
that zaptel is the device driver for the NIC card that talks to the kernel. If 
you claimed that
you made OpenBSD run asterisk, then that is something worthwhile to talk about. 
But as I could
see, your setup is making your machine connecting to some other machine 
elsewhere. Well, in my
opinion it would be nice if one could put zaptel+libpri+asterisk under one box 
just as a typical
pabx.

FYI, I do not used softphones and I prefer hardphones.

  

On Tue, Feb 13, 2007 at 10:39:59AM -, [EMAIL PROTECTED] wrote:
| If zaptel won't work in openbsd, there is no way for asterisk be installed. 
Hence, no chance for
| any SIP protocol to work. But in case you want to get SIP running on the 
BSDs, I suggest you go
| over to FreeBSD.

I've been running a PBX with Asterisk and OpenBSD for quite some time
now. I'm very happy with the resulting uptime and functionality. I've
used an IAX softphone (LoudHush, MacOSX payware) and a few hardware
SIP phones. It connects to a SIP provider in the Netherlands to
connect to the rest of the world. No zaptel in my (sparc64) machine.

I would also like a softphone (preferably IAX based, but SIP would be
fine too I suppose) in the OpenBSD ports tree, but not having one does
not make Asterisk on OpenBSD useless.

Cheers,

Paul 'WEiRD' de Weerd

--


[++-]+++.+++[---].+++[+
  

+++-].++[-]+.--.[-]
 http://www.weirdnet.nl/