service issue

2009-05-11 Thread nir grinberg
one of the servers I manage has develop a service-blinking issue.
The server is running Asterisk, Trixbox 2.6.  Lately the service has
started to "Blink" from time to time.  with no apparent reason
Asterisk service will stop.  amportal / asterisk service start will
bring all back to life.  I looked on the log file and saw an error
relating to one of the server interfaces.  this might be the issue,
but i am not sure.
As you can suspect this is very annoying to me and customer and i am
trying to figure what is going on.

is there a tool allowing for remote service monitoring on VoIP
services?  (maybe something simple that create a SIP request every so
often from a remote server, keeping logs and creating alerts?)

-

-- 
Regards,

Nir Grinberg
I.T.C. IP Technologies Ltd.
n...@israelnumber.com
www.IsraelNumber.com
972.3.9707000

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: [Israel.pm] [TelFOSS] Announcement: "Fring Open Source Apps" on 31-May-2009

2009-05-11 Thread Tzafrir Cohen
On Sun, May 10, 2009 at 10:57:02PM +0300, Oron Peled wrote:

> Thanks. While these services are not my cup of tea, whenever Twitter
> is mentioned, please note there's an open-source alternative:
> 
>  http://identi.ca   (identica)
> 
> Which uses the FOSS software:
> 
>  http://laconi.ca/trac (laconica)
> 
> (e.g: any person/group may set up their own private group service
>  using the same tools/technologies as the "big-boys" without being
>  second-class citizens that get "permission" to use some API's at
>  the choice of the current social networking hot-shot).

While the software itself counts, it's the data that really matters with
such a web service.

Is it possible to replicate their data? To interconnect with them?

(Their FAQ states that yes. I'd like to get a practical answer)

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


why ubuntu increases interface name of network card eth ( ASAP !!!0

2009-05-11 Thread Lev Olshvang

Shalom List,

Please advice me on the following issue :

I have Compact flash with Ubuntu 8.04 installation and several mini ATX 
boxes


When I booted up first box, I had eth0 interface up

The second box received eth1 name

The third one got  eth2

/etc/udev/rules.d/z25_persistent-net.rules

I do not see any network card related information in udevinfo --export_db

My /etc/network/interfaces is :



I saw once the post from Shahar:

"On Debian systems, check out /etc/udev/rules.d/z25-persistent-network. 
Just delete the lines for the old and the new network card, and let it 
choose automatically eth0.


Shachar "


But  I do not see anything related to the inerface number in my 
udev/rules for Ubuntu


I have a feeling that the list of PCI devices is stored in some place  
and  the udev matching see network card MAC address stored when I booted 
other boxes


I need some answer today if possible ???



ThanX,
Lev

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: why ubuntu increases interface name of network card eth ( ASAP !!!0

2009-05-11 Thread Shay Ohayon
This might not be exactly your problem, but it has a similar solution:

http://ubuntuforums.org/showthread.php?t=658842

Note the second post, workaround, I quote:

>>>

Add this line to /etc/udev/70-persistent-net.rules

SUBSYSTEM=="net", DRIVERS=="forcedeth*", NAME="eth0"

And remove all other lines.

Note that this might make a conflict in some way if there are more
than one network interface that utilies the forcedeth driver. In that
case it may be possible to separate them using the PCI address. Not
tested that.

To get the MAC-address not changing I have the following configuration
in /etc/network/interfaces

auto eth0 static
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
gateway 192.168.0.3
hwaddress ether 00:e0:4c:12:34:56

It is the hwaddress ether that is important.

If you want to use DHCP this would work (not tested):
auto eth0
iface eth0 inet dhcp
hwaddress ether 00:e0:4c:12:34:56

<<

Bear in mind what the writed said, it might be problematic on a
machine with multiple NICs.

Best of luck,
shay

On Mon, May 11, 2009 at 4:24 PM, Lev Olshvang  wrote:
> Shalom List,
>
> Please advice me on the following issue :
>
> I have Compact flash with Ubuntu 8.04 installation and several mini ATX
> boxes
>
> When I booted up first box, I had eth0 interface up
>
> The second box received eth1 name
>
> The third one got  eth2
>
> /etc/udev/rules.d/z25_persistent-net.rules
>
> I do not see any network card related information in udevinfo --export_db
>
> My /etc/network/interfaces is :
>
>
>
> I saw once the post from Shahar:
>
> "On Debian systems, check out /etc/udev/rules.d/z25-persistent-network. Just
> delete the lines for the old and the new network card, and let it choose
> automatically eth0.
>
> Shachar "
>
>
> But  I do not see anything related to the inerface number in my udev/rules
> for Ubuntu
>
> I have a feeling that the list of PCI devices is stored in some place  and
>  the udev matching see network card MAC address stored when I booted other
> boxes
>
> I need some answer today if possible ???
>
>
>
> ThanX,
> Lev
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


SOLVED: why ubuntu increases interface name of network card eth

2009-05-11 Thread Lev Olshvang
References: <4a08272a.3060...@vboxcomm.com>
In-Reply-To: <4a08272a.3060...@vboxcomm.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Return-Path: l...@vboxcomm.com
X-OriginalArrivalTime: 11 May 2009 12:58:49.0578 (UTC) 
FILETIME=[3A5A7CA0:01C9D238]

I did not knw that udev writes new rules on every boot:

The problem was in file
 /etc/udev/rules.d/70-persistent-net.rules

I cleaned this file and rebooted.

ThanX


Lev Olshvang wrote:
> Shalom List,
>
> Please advice me on the following issue :
>
> I have Compact flash with Ubuntu 8.04 installation and several mini 
> ATX boxes
>
> When I booted up first box, I had eth0 interface up
>
> The second box received eth1 name
>
> The third one got  eth2
>
> /etc/udev/rules.d/z25_persistent-net.rules
>
> I do not see any network card related information in udevinfo --export_db
>
> My /etc/network/interfaces is :
>
>
>
> I saw once the post from Shahar:
>
> "On Debian systems, check out 
> /etc/udev/rules.d/z25-persistent-network. Just delete the lines for 
> the old and the new network card, and let it choose automatically eth0.
>
> Shachar "
>
>
> But  I do not see anything related to the inerface number in my 
> udev/rules for Ubuntu
>
> I have a feeling that the list of PCI devices is stored in some place  
> and  the udev matching see network card MAC address stored when I 
> booted other boxes
>
> I need some answer today if possible ???
>
>
>
> ThanX,
> Lev
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: switch in gawk

2009-05-11 Thread Oleg Goldshmidt
Oleg Goldshmidt  writes:

> So, if you have access to the latest RHEL/SLES, or Debian / Ubuntu /
> Gentoo / whatever, would you mind running
> 
> $ gawk 'END {switch(NR) {default: print NR}}' /dev/null

Thanks to everyone who answered. It seems that Cygwin is the sole
dissenter (gawk compiled with --enable-switch) - those Windows
computers are weird, aren't they? ;-)

I am still curious about SLES (I suppose between CentOS and Fedora one
has a pretty good guess what RHEL has), so if you try it, please let
me know.

Thanks a lot again,

-- 
Oleg Goldshmidt | p...@goldshmidt.org

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: [Israel.pm] [TelFOSS] Announcement: "Fring Open Source Apps" on 31-May-2009

2009-05-11 Thread Lisha Sterling
It would be great if someone from TELUX would write a fring plugin for
the open source microblogging alternatives, like identica. :)

Just sayin'


BTW, if anyone out there wants to get a head start, you can sign up as
a fring API developer and start poking around the documentation by
going to http://dev.fring.com

Have fun!

- Lisha

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: switch in gawk

2009-05-11 Thread Amos Shapira
2009/5/12 Oleg Goldshmidt :
> I am still curious about SLES (I suppose between CentOS and Fedora one
> has a pretty good guess what RHEL has), so if you try it, please let
> me know.

CentOS 5.3 and Ubuntu 8.10 also give same error. Be aware that as far
as I understand RHEL 5.x rules, you shouldn't expect any change which
is not a bug or a security fix inside the 5.x family. Maybe when 6.x
comes out you should check again.

--Amos

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Assign both "CTRL" keys to switch language in Gnome Layout Switching.

2009-05-11 Thread Rafi Gordon
Hi, list,

I am trying unsuccessfully to assign both "CTRL" keys to switch language.
I am using Fedora with Gnome 2.22.1. I have two languages : US english
and hebrew.

When I go to "keyboard preferences->Layouts->Layouts Options->Layout Switching"
(By right clicking on the language indicator and navigating there)
I get many options for setting keyboard keys for switching between languages.
When I chose Alt+caps it work. When I chose "Both ctrl keys together"
it doesn't
work. Any idea why ? I looked at
System->Preferences->Personal->Keyboard shortcuts
and could not find any "Both ctrl" shortcut (nor in the terminal
Keyboard shortcuts).
Any idea?

rgs,
RG

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il