[no subject]

2014-03-10 Thread binary dreamer
i am trying to instal misdn/misdnuser/lcr from git in wheezy.
i am getting this error now. chan_lcr.c: In function 'load_module':
chan_lcr.c: 3520:24: warning: assignment makes pointer from integer without
a cast [enabled by default] make [2] : *** [chan_lcr.po] Error 1 make [ 2]
: Leaving directory/usr/src/lcr' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory / Usr / src / lcr 'make: *** [all] Error 2 root
@ voyage :/ usr / src / lcr #


any ideas please?


mount as read/write on demand

2014-02-18 Thread binary dreamer
Hello everyone.


I am running some services in a remote headless system. the system runs
debian 6.
I would like the system to be read only by default. in case of an
update/upgrade I could run in read/write to process the job.
the filesystem is ext2 and it runs in a cf card.

I have seen voyage Linux that has this functionality but it misses kernel
headers. It is a real pain to compile the headers in this underpowered box.

I would like to ask if someone could help me create a system read/write on
demand.


Thanks in advance.


limit traffic based on IPs

2013-08-12 Thread binary dreamer
stuck big time with the syntax of an iptable.
i would like to permit the speed of 512/512kbps to ips 192.168.1.2-5
i would like to permit the speed of 1024/1024kbps to ips 192.168.1.6-10
i would like to permit the speed of 2048/2048kbps to ips 192.168.1.11-12
the rest of the ips will set to free traffic


huawei e169 +asterisk

2013-04-16 Thread binary dreamer
hi. i am running debian 6.0.6 that has asterisk on it.
i am trying to install chan_dongle to make use of my Huawei e169 usb, to
make/receive calls.
after following the instructions
http://wiki.e1550.mobi/doku.php?id=installation
i do the ./configure, but it stops to the make. it gives me errors.
is there a way to overcome this issue?


Re: huawei e169 +asterisk

2013-04-16 Thread binary dreamer

Sorry, my mistake. i forgot to mention the errors:

root@debPBX:/usr/src/dongle-read-only# automake -a
configure.in:6: installing `./config.guess'
configure.in:6: installing `./config.sub'
configure.in:7: installing `./install-sh'
configure.in:7: installing `./missing'
automake: no `Makefile.am' found for any configure output
root@debPBX:/usr/src/dongle-read-only#







On 04/16/2013 01:39 PM, Darac Marjal wrote:

On Tue, Apr 16, 2013 at 01:36:14PM +0300, binary dreamer wrote:

hi. i am running debian 6.0.6 that has asterisk on it.
i am trying to install chan_dongle to make use of my Huawei e169 usb, to
make/receive calls.
after following the instructions
[1]http://wiki.e1550.mobi/doku.php?id=installation
i do the ./configure, but it stops to the make. it gives me errors.
is there a way to overcome this issue?

We don't have crystal balls here. It would probably help if we could see
WHAT the errors were (unless you want a snarky answer such as fix the
errors).







Re: huawei e169 +asterisk

2013-04-16 Thread binary dreamer

On 04/16/2013 02:54 PM, Tom Grace wrote:

On 16/04/13 12:12, binary dreamer wrote:

Sorry, my mistake. i forgot to mention the errors:

root@debPBX:/usr/src/dongle-read-only# automake -a
configure.in:6: installing `./config.guess'
configure.in:6: installing `./config.sub'
configure.in:7: installing `./install-sh'
configure.in:7: installing `./missing'
automake: no `Makefile.am' found for any configure output
root@debPBX:/usr/src/dongle-read-only#


Did you try from a tarball, rather than SVN ? You might have an easier
time with that.





this is the output after the tarball extraction.
root@debPBX:/usr/src/chan_dongle-1.1.r14# make
gcc -g -O2 -O6 -I.  -D_GNU_SOURCE -I/usr/include -I/usr/include 
-DHAVE_CONFIG_H  -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT app.o 
-MF .app.o.d -MP  -o app.o -c app.c

In file included from app.c:21:
/usr/include/asterisk/version.h:1:2: error: #error Do not include 
'asterisk/version.h'; use 'asterisk/ast_version.h' instead.

app.c: In function 'app_status_exec':
app.c:37: warning: missing initializer
app.c:37: warning: (near initialization for 'args.resource')
app.c: In function 'app_send_sms_exec':
app.c:82: warning: missing initializer
app.c:82: warning: (near initialization for 'args.device')
app.c: In function 'app_register':
app.c:162: warning: passing argument 2 of 'ast_register_application2' 
from incompatible pointer type
/usr/include/asterisk/module.h:458: note: expected 'int (*)(struct 
ast_channel *, const char *)' but argument is of type 'int (*)(struct 
ast_channel *, void *)'

make: *** [app.o] Error 1
root@debPBX:/usr/src/chan_dongle-1.1.r14#

i have tried all versions from r10 to r14 and i am getting the same problem.






i have tried all the versions from


remove unwanted services/packages

2013-04-12 Thread binary dreamer
Hi. i have done a clean install of debian making use of the debootstrap and
installing only the base system in a pcengines ALIX 2d13.
This system will run only asterisk (CLI) and i need it to be as skinny as
possible. i have removed exim4 and ftp. What other services/packages i
could remove to make it as light as possible? There is nothing such as gui
on this system.
the installation of asterisk will take place by me from source.

Some guidance please, to trim it down.


slow ssh prompt

2013-04-11 Thread binary dreamer
Hi. I am running debian 6.0.7 and i am facing a problem with slow 
response when asking to ssh. once i do a ssh root@192.168.1.77 then the 
prompt for the passwd it takes around 30 secs to respond. after that 
everything is fine. is there a way to fix that delay?



sincerely yours,


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/5166943e.5090...@gmail.com



Re: slow ssh prompt

2013-04-11 Thread binary dreamer

On 04/11/2013 02:46 PM, Lars Noodén wrote:

On 4/11/13 1:45 PM, binary dreamer wrote:

Hi. I am running debian 6.0.7 and i am facing a problem with slow
response when asking to ssh. once i do a ssh root@192.168.1.77 then
the prompt for the passwd it takes around 30 secs to respond. after
that everything is fine. is there a way to fix that delay?

As mentioned, it might be the DNS lookup.

Is your client machine properly registered in DNS for the server to be
able to easily look it up?  If not, you might try changing UseDNS from
yes to no in /etc/ssh/sshd_config.

Also, it's not such a good idea to leave remote root logins enabled.  It
is possible to tune sudo vi /etc/sudoers so that you can accomplish a
specific task without giving away access to the whole show.

Regards,
/Lars



hi.

thanks a lot for the reply.
i am afraid i do not see the usedns. here is the output

/etc/ssh# more ssh_config

# This is the ssh client system-wide configuration file.  See
# ssh_config(5) for more information.  This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.

# Configuration data is parsed as follows:
#  1. command line options
#  2. user-specific file
#  3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.

# Site-wide defaults for some commonly used options.  For a comprehensive
# list of available options, their meanings and defaults, please see the
# ssh_config(5) man page.

Host *
#   ForwardAgent no
#   ForwardX11 no
#   ForwardX11Trusted yes
#   RhostsRSAAuthentication no
#   RSAAuthentication yes
#   PasswordAuthentication yes
#   HostbasedAuthentication no
#   GSSAPIAuthentication no
#   GSSAPIDelegateCredentials no
#   GSSAPIKeyExchange no
#   GSSAPITrustDNS no
#   BatchMode no
#   CheckHostIP yes
#   AddressFamily any
#   ConnectTimeout 0
#   StrictHostKeyChecking ask
#   IdentityFile ~/.ssh/identity
#   IdentityFile ~/.ssh/id_rsa
#   IdentityFile ~/.ssh/id_dsa
#   Port 22
#   Protocol 2,1
#   Cipher 3des
#   Ciphers 
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc

#   MACs hmac-md5,hmac-sha1,umac...@openssh.com,hmac-ripemd160
#   EscapeChar ~
#   Tunnel no
#   TunnelDevice any:any
#   PermitLocalCommand no
#   VisualHostKey no
#   ProxyCommand ssh -q -W %h:%p gateway.example.com
SendEnv LANG LC_*
HashKnownHosts yes
GSSAPIAuthentication yes
GSSAPIDelegateCredentials no

any ideas?


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/5166c5bc.3070...@gmail.com



alix (pcengines) build up

2012-11-27 Thread binary dreamer
hi.

i am looking to build debian for my system ALIX (pcengines) all flavors,
especially for the ones without vga.
i am looking to create two partitions. the first will have the system and
will be read only. writable it has to be only on demand, such remountrw to
enable it.
the second partition it needs to be read-write an empty space.

i neet  to create an embedded system with ALIX in a CF. Due to cf
limitations i have to extend its life by disabling the read-writes all the
time.

is there a simple guide to create such a system?


asterisk 10+freepbx 2.10

2012-11-12 Thread binary dreamer
Hi.

i am trying to install asterisk 10 and freepbx 2.10 on Squeeze.
up to now i managed to install asterisk, dahdi and tools, correctly
unfortunately the freepbx it does not start.

Did anyone had any success with the above, or is there any script?



Sincerely yours!