Networking :: Link Down / Up Notification Event

Oct 26, 2010

I am on debian lenny and I am trying to make a script that will run in the background and checks the ethernet connection. If the ethernet connection goes down it will connect to wlan. I have found 2 ways of checking ethernet connection, via proc/net/dev and via ifconfig eth0. But if possible I want to avoid polling. So is there any event that is triggered when the table gets disconnect or at least the connection goes down and up?

View 1 Replies


ADVERTISEMENT

OpenSUSE :: Apparmor Security Event Notification Error

Nov 13, 2010

Currently the Apparmor program has the notification logs saved to /etc/apparmor/notify.cfg, however, when I try to save the notification after putting my email address in, I get an error saying "Configuration failed for the following operations: Unable to write config changes to /etc/apparmor/notify.cfg"looking inside the folder, I do not see any file named "notify.cfg" BUT I do see so files called reports.conf, logprof.conf, and reports.crontab. I am guessing that the program is asking to save the notification changes to a file that does not exist and in fact one of those three files are the proper ones to use. Well if that is the case then how would I go about fixing this error?

View 4 Replies View Related

General :: Smartcard Insert / Removal Event Notification

Jun 24, 2010

I'm working on an app that will authenticate user with a smartcard when the user inserts it in the card reader (this is on Red Hat 5.5). How do I detect a card has been inserted? Is there a daemon service I need to listen to and associated api to get notified etc? .

View 3 Replies View Related

Ubuntu Networking :: Mount To Vista Needed For Apache - Symbolic Link Not Allowed Or Link Target Not Accessible

Apr 26, 2010

I have a problem where I'm using Ubuntu linux to mount a Windows Vista machine's USB drive and access it on the web using Apache. I did have the USB drive plugged into the Linux machine directly and that was working via the web. FollowSymLinks is on in httpd.conf

[Code]....

The mount works and I can see the files (see above) from my regular linux user account. If I make a test file in /mnt and soft link to that, I can see it on the web. So it's just the mount to the vista machine that seems to be a problem. It's supposed to be a simple read-only mount and the apache login should (I think) be able to see the same generic root access permissions.

log from apache: [Mon Apr 26 20:39:42 2010] [error] [client 99.99.99.99] Symbolic link not allowed or link target not accessible: /home/user1/pub_html/Music, referer: https://xx.xx.xx/~user1/music.html

The credentials have a login and password that matches a special read-only account on Vista. I can see the files on the system from Linux, but not via the web. As mentioned above, a different link to the same /mnt area works fine via the web. I've tried several different mount options with no success.

View 3 Replies View Related

Ubuntu Networking :: Using VPN Disconnect To Trigger An Event

Mar 3, 2010

I use network-manager-pptp to connect to my VPN server. However, occasionally my VPN drops out (although my Internet stays up). I was just wondering how I could make the VPN drop-out trigger a bash script, for example playing a sound to alert me that the VPN has dropped?

View 1 Replies View Related

Networking :: Event Handlers Not Working In Nagios

Feb 8, 2011

I have placed the restart-ssh script in /usr/local/nagios/libexec/eventhandler but its not working on seeing the event log the following information is obtained

Though i have checked the script manually by the following command

It works fine with both of the above mentioned commands

I don't know why it is not able to restart ssh when nagios is calling it as event handler

The service definition for ssh in localhost.cfg is as follow:

View 1 Replies View Related

Ubuntu Networking :: Turn Off Notification Of Low Signal Gsm In KDE?

Apr 15, 2011

How do I disable the notice about the low level signal gsm in KDE. Appear almost every second.

View 1 Replies View Related

Networking :: Nagios Email Notification Using Postfix ?

Feb 15, 2011

My Nagios email Notification is not working, I'm trying to setup external relay server using GMAIL. I'm also using dynamic IP.

Please see the test below:

Here is my PoSTFIX CONFIGURATION:

View 3 Replies View Related

Networking :: Settings For Mail Notification Nagios

Feb 15, 2011

I'm currently working with Nagios Core 3.2.2 and I'm trying to set up a mail notification.

My current settings:

Commands

Quote:

Notification Type: $NOTIFICATIONTYPE$

Date/Time: $LONGDATETIME$

Notification Type: $NOTIFICATIONTYPE$

Additional Info:

Services

Quote:

Host

Quote:

Quote:

I have 2 problems:

I'm getting mail that the PC is OK every 3 minutes.

And I don't know what I should config in Service and host .cfg. Sow that I will get a good description of the problem in the mail that Nagios is sending me.

View 4 Replies View Related

OpenSUSE :: Symbolic Link Not Allowed Or Link Target Not Accessible: /srv/www/htdocs?

Apr 28, 2010

i only need localhost for testing some phpnow i get[Wed Apr 28 18:44:57 2010] [error] [client ::1] Symbolic link not allowed or link target not accessible: /srv/www/htdocs

View 9 Replies View Related

Programming :: Link Directories - Symlink Not Updated / Hard Link Not Supported?

Sep 6, 2010

In the ordering of files I keep I need links to directories. Sometimes I even need to move directories to new locations. I have tried using symlinks, but they become dead when I move the directory they point to. I have tried hard links, but I haven't found any Linux file system that would support hard linked directories. How can I achieve that a complex structure of directories (currently with symlinks for directories and hard links for files) keep symlinks live when directories are moved?

- is there any utility that updates symlinks when a directory is moved?

- is there any Linux filesystem that supports hard linked directories?

- is there any good Linux interface to the new NTFS (the only file system I know to support automatically updating directory links, called directory junctions)?

View 9 Replies View Related

Ubuntu Networking :: Nm-applet Removed From Notification Area?

Oct 22, 2010

After upgrading to Kubuntu 10.10 the icon for the gnome-network-manager (which I had installed instead of the former knetworkmanager) does not show up.

Although I can connect to the Internet, I am not able to set up my VPN without an icon showing up.

Checking at the terminal indicates that there is indeed something wrong here:

Code:
sovonet@sovonet:~$ nm-applet
** Message: applet now removed from the notification area
** (nm-applet:3027): DEBUG: old state indicates that this was not a disconnect 0

[Code].....

View 6 Replies View Related

Networking :: Notification From DHCP Client On Lease Change?

Jan 26, 2011

Is there any way to get an async notification (perhaps through something like a Linux message queue or Unix socket) when a DHCP client is either unable to renew its lease, or the address obtained changes from the previous value? I've got the ISC client and will dig into it to determine if it supports such a feature, but thought I'd ask here in parallel. (I'm trying to find out if there are any DHCP clients out there which already support this capability.)

If you're curious: We have an application where we're doing auto-registration of an IP camera to an external server. If the camera's dynamically assigned address changes, we need to restart the auto-reg state machine. I've seen implementations where a socket is opened and a SIOCGIFADDR ioctl used to fetch the IP addr, but I'd sure like to avoid polling like this if possible.

View 1 Replies View Related

Ubuntu :: Send A Link For Download And A Link With The Installation Instructions?

Aug 16, 2011

I was looking for live link to download ubuntu mobile but unfortunately I don't find anything... Can someone send me a link for download and a link with the installation instructions ?? All the links that I found are dead.

View 9 Replies View Related

General :: View CD Shortcut Link / List Link Name By Using Any Command?

Jun 8, 2010

Whenever we insert CD,it creates a shortcut link in desktop.Can we list this link name by using any command? I am using Oracle Enterprise Linux 5.0.

View 10 Replies View Related

Server :: Create Soft Link And Hard Link In RHEL5?

Sep 8, 2010

how can we create soft link and hard link in RHEL5 when am using in command it is giving format error

View 6 Replies View Related

Fedora Networking :: Disable Networkmanager Notification Popup Balloons?

Jun 11, 2009

does anyone know a way to disable those annoying NM 0.7.1 popup balloons in F11 (KDE)? The ones that say that it is now connected to the wired eth0 network for example? I would really like to get rid of those ugly GTK notifications in KDE, but the NM GUI doesn't seem to have an option for this?!

View 2 Replies View Related

Ubuntu Networking :: NetworkManager Applet Notification Graph Paper?

Jan 23, 2010

My networking seems to be OK but when any changes are made the NetworkManager Applet 0.7.996 (I think) in the panel pops up a small window ~ 300*80 pixels which displays some faint coloured lines and dotted lines where, presumably, there should be a message of some form. How can I configure it to get the message?

View 1 Replies View Related

Ubuntu Networking :: Wifi Icon Disappeared From Notification Area?

Jun 2, 2010

While my wifi still is working just fine (I'm here aren't I), the Network Manager has disappeared from the Notification Area on my panel upon reboot.Have all current patches, so have no clue what to do. Most likely is a bug.

View 1 Replies View Related

Ubuntu Networking :: Desktop Popup Notification When WAN Dynamic Ip Address Changes?

Jul 23, 2011

Is there some kind of Ubuntu desktop application that notifies you when your WAN ip address has changed? I don't care about my LAN ip address. I need some kind of popup on the desktop when my ISP assigns the next dynamic WAN ip address.

View 1 Replies View Related

Networking :: Setting Up A Mail Notification Nagios On A Ubuntu Machine?

Feb 11, 2011

I I'm currently working on Nagios Core 3.2.2, and I'm trying to set up a mail notification. I already install postfix and mailx. And I'm able to send a mail via Ubuntu. I checked this with the command: echo "mail test" | mailx -s "test subject" mail address.But I don't know what to do next. I'v tried many different suggestions that I found on goolge, but nothing seems to work.

View 26 Replies View Related

General :: Difference Between A Hard Link And Symbolic Link?

Jun 20, 2011

I have searched around and am trying to understand the difference between a hard link and symbolic link (soft link). I found this link is quite useful. But I am still not very clear. I understand soft link is not a copy of original file, but is a hard link a copy or not?

View 4 Replies View Related

Ubuntu Networking :: Network Manager Applet Disappears From Notification Area

Jan 28, 2010

On about 90% of bootups I find that network manager has disappeared from the notification area to be replaced by a random duplicate of one of the other icons (at random). If I remove the notification area and add it again all is fine.

View 9 Replies View Related

Ubuntu Networking :: Network Manager Not Displayed On System Notification Area

Apr 13, 2010

am new to ubuntu, have some issues with connecting to wireless. I have downloaded my wireless drivers and installed, I can see that my wireless is on from the indicatior, but I cant connect to any wireless access point because I cant locate network manager on the notification area. Am using Dell inspiron 1501.The second issue I have is connecting as root. after I installed ubuntu, it created a user for me which I specified during installation, but most things am doing requires root privilleges. I cant connect as root because I dont know root password, I have tried changing the password but it doesn't go. Pls guys help me sort out these issues.

View 2 Replies View Related

Ubuntu Networking :: Network Manager Doesn't Show Up In Notification Area

Jun 8, 2010

im just getting the hang of ubuntu 9.10, and then all of a sudden 10.04 comes over and screws everything up with the upgrade. i did the upgrade, and now the network manager wont show up in notification areas. any clue as to why? help is greatly appreciated. also, my machine does register that the drivers for wireless card is installed, and when i run lshw -c net command with sudo priveleges, it says it can detect networks, so im confused as hell.

View 9 Replies View Related

Networking :: Configure An Application That Requires To Send Mail Notification On Registration?

Jan 13, 2011

I am trying to configure an application that requires to send mail notification on registration. But the application shows warning

Net::SMTP is installed in this environment, but {SMTP}{MAILHOST} is not defined, therefore the program listed at {MailProgram} will be used.

How to setup SMTP:MAILHOST

View 1 Replies View Related

Fedora Networking :: How To Set D-Link DWM 652

Nov 19, 2009

I want to know ; how to setting D-Link DWM 652 anybody can tell me how to do I have go back to windows again or I should stick to Fedora

View 2 Replies View Related

Ubuntu Networking :: Cannot See D-Link DIR-615

May 22, 2011

I've just installed ubuntu 11.04 on my dell inspiron mini 10; dual-booting it with Windows 7.

I've looked at a couple of other threads about problems with the wireless card in the netbook and about problems with the wireless router. However, this problem doesn't seem to be the same; the netbook can see other wireless networks, just not mine, and other people seemed to be able to access their wireless network for a short period of time before they stopped being able to access it.

I can't see the wireless network on the D-link DIR-615 at all in ubuntu, though it still works in windows 7.

I've tried reinstalling the broadcom STA drivers as per this link and reinstalling but this hasn't made any difference.

What things should I consider trying in order to resolve this?

Ps. As a side note, my other ubuntu laptop (a toshiba equium A100) cannot see this network either, but has no problem connecting to other, although oddly it couldn't detect it in windows either before I put in a new harddrive and installed ubuntu on it.

View 9 Replies View Related

Fedora Networking :: How To Link Two Servers

Mar 25, 2009

I want to link two servers (nets) 192.168.1.x and 10.0.0.x which use Fedora with firewalls.

View 2 Replies View Related

Ubuntu Networking :: D-Link Dwa-131 Is Not Recognized?

Sep 27, 2010

I have just built my self a new computer, since it will become a media center its not that powerful so i decided on using ubuntu instead of windows. Only one problem so far, my D-Link dwa-131 is not recognized and i can't connect to the internet except with a Ethernet cable. So how do i make my computer recognize the dwa-131?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved