Server :: Create A Script For ISP Connection Check?

Jan 14, 2011

I would like to make a script which can check my ISP connection, I have a dynamic IP and it seems that lately it often gets changed.
So I thought of making a script which does a NSlookup and send this to my root address. But it would be better if it only does this when it notice a disconnect otherwise I get loads of messages. I use a watchguard firewall and behind this I have my Ubuntu server which is also the DNS and DHCP server for my internal LAN. My watchguard makes a DSL connection with my bridged DSL modem. Also the watchguard has a logging system and I send the syslog to my ubuntu server but it's too much work to look everyday into this whole logfile system.Or would it be better to look into this logging files and search for a specific description and send only this to my root mail?

View 10 Replies


ADVERTISEMENT

Ubuntu Servers :: Machine Shadowing Crashes With Message "The Connection With Remote Server Was Shut Down, Please Check Your Network Settings And Try Again."

Sep 5, 2010

I am using debian testing on my office pc, but i need to access it's desktop from time to time. So i need No machine/teamviewer software that can provide me with possibility to interact my desktop. The problem is, that i want to run shadowed session type, because teamviewer is not good for me. So, when i run no machine in shadowed mode, it crashes with message "The connection with remote server was shut down, please check your network settings and try again." The log is here:

[Code]....

View 1 Replies View Related

General :: Lpq Printer 'sdst@other.domain' - Cannot Open Connection - Connection Timed Out Make Sure LPD Server Is Running On The Server

Mar 23, 2011

Linux printing appeared to be working fine up until yesterday. Today typing lpq gives the following: lpq Printer 'sdst@other.domain' - cannot open connection - Connection timed out Make sure LPD server is running on the server

The /etc/cups/printers.conf file is properly set, the printers appear in localhost:631 and they are printing test pages. However, all command line print commands seem to be trying to print to sdst@other.domain I don't know why printers.conf is being ignored and why and how sdst@other.domain was added. Seems like it might have been auto-discovered?

# dit: sdst@other.domain was mentioned in /usr/local/etc/lpd.conf I'm not sure why lpd.conf is being used instead of /etc/cups/printers.conf

View 1 Replies View Related

Ubuntu :: How To Check Ftp Connection

May 4, 2010

I have a Ubuntu box with a ftp service on. I wanto to upload/download files from my Win XP connected via LAN. I tried ftp command from cmd but I received "Error 530. Login incorrect. Login failed".I'm using root, I am 100% sure about the password (I managed to connect via putty), I just wonder how I can check the ftp connection from xp to ubuntu... maybe a firewall is blocking the port 21?I also tried ftp command in ubuntu (when I was connected with putty) and I got "connection refused" error.

View 3 Replies View Related

Ubuntu :: Script Supposed To Check If There's A Folder - Create If It's Not There

Jul 9, 2010

I have a script that takes a location and does something to them then creates new files in the supplied location. I was trying to get the script to create the location if it didn't exist, but i can't figure out why it won't work. Here's what i've got right now

Code:

#!/bin/bash
destdir=$1
[[ -z "$destdir" ]] && { echo "No destination parameter supplied, exiting"; exit 1; }
[[ ! -e "$destdir" ]] && { echo "$destdir does not exist, exiting"; exit 1; }

[code]....

when i run the first one, it works if the supplied folder exists. If i try with my modification with a name such as /media/place/Foo bar, it creates a folder called Foo in the supplied dir, and bar in the dir i'm in when i run the script. the -p flag on mkdir creates parent directories btw.

View 4 Replies View Related

General :: Inbound Connection Check

Jun 1, 2010

How to check inbound and files transfer from outbound to inbound in my linux server. because in my server from outside to inside transfer is high. so its take huge bandwidth. how to check this and reduse this .

View 2 Replies View Related

Debian Installation :: How To Check Internet Connection From CLI

Oct 29, 2014

freshly installed Debian-netinst, configured internet connection. Pinged Google - all transmitted packets were received, 0% loss.

Yet I am not sure if I have internet connection for what ever package I am trying to install using apt-get install package_name, I receive

E: Unable to locate package package_name

How can I check internet connection from CLI?

View 3 Replies View Related

Ubuntu :: How To Check If Internet Connection Monitored

Oct 24, 2010

In Ubuntu, How can you tell if your connection is being monitored? Have a home system, me and girlfriend are only users. Lately ALLl websites are taking longer to download. She claims her system and bank accounts were compromised. So am wondering if the connection is being monitored. Lots of tools for "windows" to help determine, but what about linux / ubuntu?

View 7 Replies View Related

Ubuntu :: Program To Check When Internet Connection Is Gone?

Jun 24, 2011

My internet connection is really bad,so I need some kind of program to make a text file or something saying when internet connection is gone and time and date,also if possible to say why is it gone,is it my problem or is it my internet providers problem.

View 1 Replies View Related

Programming :: C Program To Check If Network Connection Available Or Not?

Jun 3, 2011

I am writing a simple C program which has to find whether the system is connected to network/internet or not..

View 10 Replies View Related

CentOS 5 Networking :: Possible To Check Current Connection?

Sep 14, 2010

I have a email(postfix) installed on my centos, i think it is under some kind of attack, Is it possible that I can check who is connecting my server?

View 1 Replies View Related

Ubuntu Networking :: Check Which Program Is Using The Internet Connection?

Feb 11, 2010

I'm using Ubuntu 9.10. My internet connection is an ADSL which I have set up using "pppoeconf". The connection starts at boot up. I can also start it if needed by using "sudo pon dsl-provider" and can stop it by using "poff dsl-provider".Recently I noticed that when I start my computer, there is some program (or programs) which is connecting automatically to the internet and downloading and uploading a lot of data. The data transferred can exceed 200 mb or 300 mb in an hour. I don't know what is being uploaded or downloaded.I know for sure that no file sharing programs like bittorrent clients are started at bootup so it is strange that this much data to be downloaded and uploaded without me sharing files or downloading files explicitly. The update software also does not run by default as I have opted to start it manually.

Is there any application which shows the programs that are connected to any particular port and transmitting and receiving data?In Windows XP I use a program called "What's Running" which clearly lists the programs using the different ports in the local machine and the remote IP addresses that the program is connected to. It also shows which program is transmitting and receiving data at any point in time. Is there any similar program for Linux?My internet connection is a data limited package otherwise I probably would not have bothered.

View 2 Replies View Related

Security :: Check Mail Via Tor And Browser Says Connection Untrusted?

May 20, 2011

I was recently connecting securely to the website where I have my mail account, and I connected through Tor. When doing so firefox presents me with the screen saying that the connection is untrusted and it can't verify the certificate. So I cancelled. I'm using torbutton and I turned torbutton to off and connected again with no problem. Then with torbutton on again, same thing (untrusted).

Is it possible the exit node I was going through is doing a man in the middle attack? However later when connecting through tor I did NOT get the warning about the site being untrusted. I really don't know what exit node I was using when I got the certificate warning and what exit node I was using when I did not recieve the warning. I don't know how long I stay on the same node or how/when it changes.

View 4 Replies View Related

Server :: Connection Sharing Feature - Shared Connection To Server Closed

May 20, 2010

I'm a frequent user of the shared connection feature of SSH. Usually i have two or three connections open at the same time through the connection sharing feature, but sometimes when i try to start another i get the message "Shared connection to <server< closed". All the connection that are established through the connection sharing feature are still active and not closed, but when i try to create a new one i get that message.. i've even got that message when i have only had two connections through the shared connection feature.

I've tried to search google but it doesnt seem like anyone else has had the same kind of problem, does someone know why i sometimes get this error ?

View 1 Replies View Related

Ubuntu / Apple :: While Running A System Check It Says No Internet Connection

Jan 24, 2011

So I just installed ubuntu from a net install, and updated from the internet and posted on this site through firefox while installing vlc wich just froze at 90%.....

but when I try to add community repos it comes up with errors. And while running a system check it says I have no internet connection...

I'm connected through ethernet on a router wich works with the g5 in the other room running osx, and the pc upstairs running ubuntu meerkat. Now I had this same problem with SUSE 11.1 and worked around it by adding through terminal but I was never able to add from the GUI.

View 1 Replies View Related

Security :: Check Data Being Uploaded In A Firefox Connection To A Web Site?

Jul 24, 2010

I use Firefox 3.5.9 and Ubuntu 9.10.

There is a suspicious amount of data (more than a megabyte) being uploaded from my computer whenever I log onto a commercial web site on which I advertise rental properties.

Is there any way I can see the data being uploaded - I am pretty familiar with the Unix/Linux system and commands.

View 7 Replies View Related

Ubuntu Installation :: Upgrade Stopped Abruptly - Check Internet Connection

May 1, 2010

I had clicked on the upgrade notification in Update Manager. After 3 hours of downloading, it stopped abruptly. Now when I try, I get a message saying could not download, check internet connection. I am able to visit other sites, and am actually downloading the CD itself without any problem.

View 2 Replies View Related

Ubuntu :: 11.04 Update Error Message About File Permissions And To Check Connection?

May 3, 2011

I had to register with a new username, because I could not remember my logon details and have since changed ISP so could not get details sent, anyway that aside to the problem.

I upgraded to 11.04 and all went well (hence posting here and not in the Upgrade section) and it is running fine, well until yesterday.

I ran the update manager as I usually do when first entering Ubuntu and it did an update but then gave me an error message about file permissions and to check my connection (which was connected OK).It has also affected the Software Installer, and now I can not install any new software.

Is this a generic problem with the latest update or is it just my Dell Inspiron 1545 please?

View 1 Replies View Related

General ::Create Custom Name Server \ Create Own Name Server?

Nov 4, 2009

I bought a web hosting account(cPanel) and I want to create my own name server(ns1 and ns2.mydomain.com). So when I want to host addon domain, I can point them to my name server instead of hosting company name server.

View 10 Replies View Related

Fedora :: Install Mplayer On 13 - Package Download Failed - Check Internet Connection

Aug 8, 2010

I recently decided that I want to install mplayer on fedora 13. Problem is, everytime I try, a new problem arises. I've tried add/remove software, and it said "package download failed, check internet connection" which doesn't make sense because I'm connected to the internet and my connection is fine. So, then I tried yum install mplayer, that gave me an error.

View 5 Replies View Related

Ubuntu Networking :: Check The Network Connection Applet, It Display Active Information Of Eth0?

Jun 7, 2010

I have a question regarding the configuration of Network Connection. My wired connection is fine right now and when I check the network connection applet, it display active information of eth0. However, when I click the Configure button, the Network Connection window appears but there's nothing in the Wired panel. Should there be a eth0 in that panel? I remember I had one before, but after I messed with some configuration of VPN, my network became unstable and I remove the Network Manager to try to solve the problem. Since then, there's nothing in my Network Connection window, though I can still connect to my router with eth0. Now even after I reinstalled the Network Manager, I still don't get anything.

View 7 Replies View Related

Ubuntu Installation :: Error - Failed To Download Package Files Check Your Internet Connection

Jul 31, 2011

I just installed Ubuntu 11.04 but "whenever i try to download or install any software from 'Ubuntu software Center'it gives error: "Failed to download Package Files Check your internet Connection" Internet is working fine!I've also tried the command: "sudo apt-get update"

View 2 Replies View Related

Server :: Check If Any JDBC Driver For Mysql Server Is Installed On System

Oct 4, 2010

I have a RHEL5 machine having mysql5.0.22 is installed in it. i also installed java through "jdk-1_5_0_19-linux-i586.bin" package, and its version is 1.5.0_19. I am trying to check if any JDBC driver for Mysql Server is installed on my system . How can I do this? If any driver is already installed How can I get the file path for those driver files? is it comes along with jdk packages? As i am not a programmer, and does't know more about jdbc.

View 1 Replies View Related

Server :: PHP And Sendmail With External Mail Server / Failed Reverse DNS Check?

Jun 7, 2010

After searching the forum I could not find a clear answer to my question so I am giving it a try...

I have installed a LAMP server with Postfix as mail server. The scripts send email as user www-data using the mail server on the same machine.

However, the email got rejected by external mail servers (failed reverse DNS check) so I setup a mail server that meets all needed requirements.

Now I would like to use this second server instead of the mail server on the LAMP server. I found that this could be done with changing sendmail settings in php.ini (I think).

However I am not sure how that will go: www-data is no actual user on the new email server (which requires authentication before sending). Do I need to create a new user on the email server or change the settings in php.ini to match an existing user?

View 1 Replies View Related

Server :: Check A User Connected From Server Using Internet Or Where He Visited?

Nov 12, 2010

I'm using a linux server where nat server is running. Local user are connected from this server. So is there in tool that i can check that local user getting internet? or how can i check that a user connected from linux server using internet or where he visited?

View 1 Replies View Related

Networking :: Way To Create VPN Connection To The Internet ?

Sep 23, 2010

For any distro, via CLI and configuring config files, without using graphical tools. Or there have to be different?

View 1 Replies View Related

General :: How To Create A Dial-up Connection

Oct 27, 2010

I am using Opensuse 11.3 In windows, I can create a new network connection , choose broadband network,create and copy onto desktop, so that I can dial up to my internet service provider. In linux, how to do that?

View 1 Replies View Related

Ubuntu Servers :: SSL Setup - Connection Error Unable To Make A Secure Connection To The Server

Feb 10, 2011

I am running an Ubuntu Server on a VirtualBox VM running on my windows machine. So I've created a self-signed certificate using the following tutorial: [URL]

From this tutorial I'm left with 3 files:
server.key
server.csr
server.crt

Then I found this very similar tutorial that has an extra bit on installing the certificates in apache: [URL] So I followed it's instructions which boil down to this:

[Code]...

So I'm thinking this should work now. However in Chrome I get: SSL connection error Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have. Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error. IE8 gives me a typical "Internet Explorer cannot display the webpage" Note that [URL] fails while [URL] works fine, so it's definitely something in my ssl setup I'm thinking.

View 5 Replies View Related

Server :: Vsftpd Not Working: Connection Attempt Failed With "ECONNREFUSED - Connection Refused?

Apr 28, 2010

vsftpd not working on my CentOS system. I tried logging in using FileZilla but the error message was: Connection attempt failed with "ECONNREFUSED - Connection refused by server".

View 7 Replies View Related

OpenSUSE Network :: Can Make A Connection To Vpn Server, Connection Starts, But Nothing Happens?

Feb 2, 2010

I can make a connection to the vpn server, the connection starts, but nothing happens! My IP address remains the same as previous! There is nothing added to my Knetworkmanager, I'm a beginner I should use a pcf file for my vpn connection. I use it properly, I'm sure because the connection starts and an icon is added to my panel and remains until I disconnect.

I checked it via ifconfig -a, the last part (which is for vpn) is:

Code:
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:141.213.169.76 P-t-P:141.213.169.76 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1390 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0

View 2 Replies View Related







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