layer 2 traffic
hello everyone, i would like to connect my office(A), home(B) and my wife's office(C) in a network. all 3 of them they do have an adsl connection with a debian wheezy box with 3 ethernet cards. that box runs as files server in the local network. i would like to connect all 3 sites but have some kind of layer 2 network over IP. this is due to some application that i need to run that they fail to run in a layer 3 network (checked with the vendor). for example ethernet 3 on each site's box could be setup for layer 2 traffic. then site A could send all traffic (MAC, ) to site's B and C ethernet 3 attached devices. at the moment the 3 sites are in an openvpn from the linux boxes with port forward from the ISP's routers on each site. but this is for the layer 3, i cannot carry layer 2 traffic. could someone point me to some solutions on how to run this kind of setup? sincerely yours. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/536a8ad6.2010...@gmail.com
[no subject]
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?
Re: mount as read/write on demand
sorry, i am lost. what is the solution to my problem? Στις 22/2/2014 15:36, ο/η Reco έγραψε: Hi. On Sat, 22 Feb 2014 10:57:48 +0200 binary wrote: I forgot to mention my /etc/fstab proc/proc procdefaults00 sysfs/syssysfs defaults00 /dev/sda1 / ext2noatime,errors=remount-ro 0 1 Surely you realize that 'errors=remount-ro' should only work in case you encounter any filesystem error? Στις 22/2/2014 10:36, ο/η binary έγραψε: i have done this mount -o remount,ro and then run apt-get upgrade. I assume you've meant 'mount -o remount,rw'. it worked and writed everything to the card. Did you invoked 'sync' afterwards? Did you remount filesystem back to read-only status? then i unplugged the power to simulate a power failure and the system got corrupted. Did you run fsck.ext2 on the boot following the simulated power failure? Reco -- 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/5308b555.60...@gmail.com
Re: mount as read/write on demand
I forgot to mention my /etc/fstab proc/proc procdefaults00 sysfs/syssysfs defaults00 /dev/sda1 / ext2noatime,errors=remount-ro 0 1 Στις 22/2/2014 10:36, ο/η binary έγραψε: i have done this mount -o remount,ro and then run apt-get upgrade. it worked and writed everything to the card. then i unplugged the power to simulate a power failure and the system got corrupted. this is what i am looking to avoid. mount as read only by default, to protect from power failures. Στις 21/2/2014 23:44, ο/η Andrei POPESCU έγραψε: On Vi, 21 feb 14, 22:25:17, binary wrote: i am afraid that the mount -o remount,rw is not working. You'll have to give much more detail than this, like what was the result/error message/etc. Kind regards, Andrei
Re: mount as read/write on demand
i have done this mount -o remount,ro and then run apt-get upgrade. it worked and writed everything to the card. then i unplugged the power to simulate a power failure and the system got corrupted. this is what i am looking to avoid. mount as read only by default, to protect from power failures. Στις 21/2/2014 23:44, ο/η Andrei POPESCU έγραψε: On Vi, 21 feb 14, 22:25:17, binary wrote: i am afraid that the mount -o remount,rw is not working. You'll have to give much more detail than this, like what was the result/error message/etc. Kind regards, Andrei -- 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/53086174.7060...@gmail.com
Re: mount as read/write on demand
i am afraid that the mount -o remount,rw is not working. is there a howto for this? i am running squeeze 6.0.9 Στις 19/2/2014 17:50, ο/η Efraim Flashner έγραψε: On Tue, 18 Feb 2014 15:47:19 +0100 Erwan David wrote: Le 18/02/2014 15:42, binary dreamer a écrit : 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. mount -o remount,rw should do the trick (and mount -o remount,ro after use) and change the listing in /etc/fstab from rw to ro -- 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/5307b62d.7010...@gmail.com
mount as read/write on demand
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
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
Re: huawei e169 +asterisk
Στις 16/4/2013 6:57 μμ, ο/η Tom Grace έγραψε: On 16/04/13 13:54, binary dreamer wrote: i have tried all versions from r10 to r14 and i am getting the same problem. I just tried, following the instructions on the page you linked with no problems, other than a missing libxml building asterisk. My system is as follows: $ cat /etc/debian_version ; uname -a 6.0.6 Linux sf-squeeze-64 2.6.32-5-amd64 #1 SMP Sun Sep 23 10:07:46 UTC 2012 x86_64 GNU/Linux The exact process I followed is: sudo apt-get install linux-headers-`uname -r` gcc g++ make libnewt-dev libncurses5-dev openssl libssl-dev zlib1g-dev libxml2-dev wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.6.2.13.tar.gz tar zxvf asterisk-1.6.2.13.tar.gz cd asterisk-1.6.2.13 make clean && ./configure --disable-xmldocs && make && sudo make install && sudo make config cd .. wget http://asterisk-chan-dongle.googlecode.com/files/chan_dongle-1.1.r14.tgz tar xvf chan_dongle-1.1.r14.tgz cd chan_dongle-1.1.r14 ./configure --enable-manager --enable-apps make sudo make install I have not tried building against the Debian packaged versions of Asterisk, and you may have more luck asking the developers of asterisk-chan-dongle about it. thanks a lot for the answer. i have done a clean install of debian root@debPBX:/usr/src/chan_dongle-1.1.r14# uname -a Linux debPBX 2.6.32-5-486 #1 Mon Feb 25 00:22:26 UTC 2013 i586 GNU/Linux root@debPBX:/usr/src/chan_dongle-1.1.r14# and i have taken from the beginning the instructions and it still fails. the only difference is that i am installing asterisk version 11.3 what am i doing wrong? -- 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/516d92ac.50...@gmail.com
Re: huawei e169 +asterisk
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
Re: huawei e169 +asterisk
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").
huawei e169 +asterisk
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?
remove unwanted services/packages
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.
Re: slow ssh prompt
11/4/2013 5:48 ??, ?/? Jaikumar Sharma ??: On Thu, Apr 11, 2013 at 4:15 PM, binary dreamer mailto:dreamer.bin...@gmail.com>> 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 <mailto: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 far as I know DNS is being used here and it is causing dealy in remote ssh connection: add "UseDNS no" in "/etc/ssh/sshd_config" it is not exists there and I think this should solve your issue. Thanks! Jaikumar Dear Jaikumar, thanks a lot. you are correct. it works
Re: slow ssh prompt
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
slow ssh prompt
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
alix (pcengines) build up
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
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!