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


ADVERTISEMENT

Ubuntu Networking :: Wi-fi Disconnect Every Few Hours?

Sep 25, 2010

Periodically, about 3 to 5 hours, Ubuntu disconnects from my wi-fi network and doesn't reconnect until I restart the router.This is an Ubuntu specific issue, since it doesn't happen when I boot into my Windows partition, and it doesn't happen to other computers on the network.

View 2 Replies View Related

Ubuntu Networking :: Network Disconnect Periodically?

Feb 25, 2010

use kubuntu 9.10 64-bit on AMD Turion M500 machine.The network keeps disconnecting periodically or on some heavy activity The connection is totally stable on windows 7 though.My doubts point to network manager and so my next step is to switch to command line wpa_supplicant

View 1 Replies View Related

Ubuntu Networking :: Internet Connection Disconnect Itself

May 29, 2010

I tough that firefox was the problem of my very slow web sites loading, but I am suspecting that sometimes the internet connection is the reason, maybe for some reason that I don't know it can not just connect to the site.I am running Linux quick-desktop 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:28:05 UTC 2010 x86_64 GNU/Linux.when I browse the web it is very slow to load.sometimes I get this error message.Could not locate remote server.Even I know the site is up running like google.

View 6 Replies View Related

Ubuntu Networking :: Disconnect The Network On Shutdown?

Nov 22, 2010

A month ago I had (and still have) a weird problem were leaving my switched off computer plugged into the network killed the whole network.

[URL]

well I have found a fix, if I disconnect my computer via software (Right click and disconnect "eth1" and shut down the network will remain up. I want to make a script that runs on shutdown that simply disconnects "eth1". Are there any pre-made shutdown scripts in ubuntu that I can simply add "eth1 enabled = 0" or something.

View 4 Replies View Related

Ubuntu Networking :: NetworkManager Can't Connect After Disconnect / Why Is So?

Jan 18, 2011

I've simple PPTP connection in NetworkManager that is build in with ubuntu, once I disconnect the connection [to change IP or so] the connection won't establish again...

I'm getting a libnotify popup that says "Connection failed because timeout"

I'm getting a good IP, I just can't connect again after 1 disconnect...
Any idea why?

View 1 Replies View Related

Ubuntu Networking :: Wired Network Is Disconnect

Jul 19, 2011

i installed linux at home on my laptop (dv2000, hp). Because i was having problems connecting to the internet through wireless. And wired at friends houses.So installed linux. Wireless took me a while but finally got that working. Now the problem i have is that wired is not working apart from at home. Any other router apart from mine it cannot connect to.

View 2 Replies View Related

Ubuntu Networking :: Disconnect After A Few Seconds - Rt3090sta

Aug 27, 2011

I have an asus eeepc 1015pem with the builtin wireless adapter..

[Code]....

and it seems to work ok connecting to the network for the most part. but when i start pushing decent traffic like with an scp copy of many files, the network will disconnect after a few seconds. with the following

[Code]....

ive searched and searched, but cant seem to find out what the heck is wrong with this silly thing..

[Code]....

View 2 Replies View Related

Networking :: Use Combo Again To Disconnect?

Mar 22, 2011

The combination "~." disconnects SSH session. But if I enter "~" twice, I won't be able to use this combo again to disconnect. Can I get this combo to work again within one SSH session if I typed in the "~" twice?

View 1 Replies View Related

Ubuntu Networking :: Wireless Connection Not Working After Disconnect It

Jan 9, 2010

I have a cisco linksys wireless adapter (WUSB600n) which, most of the time, great when booting up. But mostly after some time (1min- 1hr.) it disconnects. When checking the status I can see some of the networks around me, including mine. But selecting it doesn't do anything. I searched the forums and tried:

sudo dhclient
and
sudo /etc/init.d/networking restart

But still no connection; the only thing that helps is rebooting.

View 2 Replies View Related

Ubuntu Networking :: Disconnect Pc From Switch It Sometimes Connects Before It Times Out

May 19, 2010

I have my internet connection via a wireless USB adapter and that works fine. Recently I connected my pc (Ubuntu 9.10) through a wired switch to my modified xbox so I can watch my videos in my office. I can share my content with my xbox (except for the items on my external USB HD's - I am working on that and will post that question elsewhere) but when I have my PC's wired connection plugged into the switch I can not surf the web or check email. It gets stuck at resolving host and then times out. If I disconnect the pc from the switch it sometimes connects before it times out. Usually it is quicker if I reboot without the wired intranet connection.

View 1 Replies View Related

Ubuntu Networking :: Can Download Packages (apt-get) - Ping If Disconnect WAN

Jun 7, 2010

I have 2 nic cards. One I use for my LAN and the other for my WAN (ftp, web). I am using a fresh install of Ubuntu 10.04 LTS. If I disconnect the WAN I can download packages (apt-get), ping etc. If both nic cards are active I cannot do either. This behavior is the same whether or not iptables is enabled. BTW I am using the server version. I was only able to find examples that used a GUI, nothing from the command line.

[Code]...

View 1 Replies View Related

Ubuntu Networking :: Command To Connect To And Disconnect Internet?

May 15, 2011

what is the command in the terminal to connect to and disconnect to interneti have mobile broadband usb modem

View 5 Replies View Related

Networking :: How To Auto-disconnect And Connect

Jan 19, 2010

I am checking something out in my connection and i just wanted to ask, is there a way to auto-disconnect and connect from the internet, for example say I want to disconnect now and reconnect to the internet in 0.05 seconds, is there any program that does that?

View 1 Replies View Related

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 View Related

Networking :: How To Make Ppp Reconnect On Disconnect

Nov 27, 2010

i use ppp to connect to a VPN, and i need it to auto reconnect when i looses connection. How do i make it work?I use Debian.

options.pptp settings:
lock
noauth

[code]....

View 1 Replies View Related

Ubuntu Networking :: Wireless Connection Disconnect After 2 Hours Reboot?

Jul 20, 2010

do not post such long blocks of messages directly on the forums. Attach the output as .txt or use a pasetebin.

View 5 Replies View Related

Ubuntu Networking :: Wireless Network Connection Disconnect-reconnects Every 5 Min

Jul 31, 2010

I recently installed Ubuntu 10.04 on my Acer TravelMate 3270 notebook (with Windows 7 dual boot) for everyday use. All is great except i started to notice my Wireless Network get disconnected and then reconnects every 5 minutes or so. Also the NetworkManager Applet 0.8 keep annoying me with the notifications that its disconnected and then reconnected.

I do not have this issue while using Windows 7 (in the same area). Can this be fixed. As i really want to move my day to day computing need to Ubuntu.

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

Networking :: Random Wired Network Disconnect?

Sep 28, 2010

I installed Red Hat Eterprise Linux 5.4 Server on my HCL Server machine.I use a static IP for my server. The problem is the network connection is automatically disconnected for some times and it again connected automatically after some time. It happens in periodic manner.I check my cable, port and connection.Those works fine in other PC

View 7 Replies View Related

Ubuntu Networking :: Upgrade To 10.04 - Wireless Connection Is Unstable - Randomly Disconnect ?

May 2, 2010

Since I upgrade to Ubuntu 10.04 my wireless connection is very unstable. I install the needed wireless drivers from 'Hardware Drivers' (Broadcom STA wireless driver) and I got wireless connection, but it randomly disconnect, and also connection is very slow.

I think that the problem are the drivers which are not very compatible with this version of Ubuntu, which means we need to wait for update? I have HP ProBook 4510s laptop, Intel PRO/Wireless 5100 AGN network card & Gembird NSW-R2 router. I'm only having this problem on Ubuntu 10.04, on other OS's the internet is fine.

View 7 Replies View Related

Ubuntu Networking :: Linksys WUSB54g V4 - Disconnect And Require Me To Unplug The Device?

Jun 1, 2010

Bus 001 Device 008: ID 13b1:000d Linksys WUSB54G Wireless Adapter
wlan1 Link encap:Ethernet HWaddr 00:18:f8:33:91:7d
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0[code]........

It is the linksys WUSB54g V4, im assuming it runs on the rt2500 chipset,when im connected and working it runs fine, however if i try to let a download run, it generally will disconnect and require me to unplug the device and plug it back in to get it working again, i cant just reconnect if i do that it simply wont connect, im connecting to a linksys router with the most recent firmware i think its the wrt54g v7, its setup using a wpa personal password and im connected through manual entry of my ip address due to port forwarding for some of my games, however the same issue persists even when im connected through an automatic configuration.

View 1 Replies View Related

Ubuntu Networking :: Repeating Disconnect With Edimax Ew-7318 - Every Few Minutes Or Seconds ?

Aug 6, 2010

I have a usb wireless card called "edimax ew-7318" i used it for a year and it was great- worked out of the box. recently i've been having repeating disconnect problems every few minutes or seconds it will disconnect and then reconnect again

In system log i get:

Code:

It seams like a physical hardware problem but i cant find any physical fault on the card itself.

View 4 Replies View Related

Ubuntu Networking :: Natty Netman Connect/disconnect Wifi Every Minute?

Jun 26, 2011

I was happily running Ubuntu 9 but since I cannot get security updates for it anymore I had to upgrade to 11. Now I'm on Natty, and the "NetworkManager" apparently cannot deal with my latop's wifi card which worked fine for years under ubuntu 9. The laptop is a Dell latitude D610 and the card is an intel ipw2200 minipci. I used to just run /etc/init.d/network restart after I logged in to get the wireless to come up, if it failed by itself, but now I get a message that that's deprecated. Nice.

I'm running WPA. If I don't create a wireless configuration in the network manager, wireless never connects. Ever. If I do create a configuration, the connection comes up for about a minute, and then drops. And then comes up. And then drops. And then comes up. And then drops. It's insane. Also, I get a series of "Auto <ssid>" entries in the NM settings area.I dug around in /var/log, but all of the wpa_supplicant logs are of size 0, except the gzipped backups, which are all size 20. Go gzip. The syslog has some messages in it about 4-way handshake failed, and association taking too long, but since the laptop has no network connection I don't have an easy way to post those here.I just want the wireless to come up, by itself, when I turn on the laptop like it used to. I don't want to have to deal with retyping the (long and complicated) WPA password every time I wake up the machine, nor deal with the "keychain." How do I get there?

View 1 Replies View Related

Networking :: Kill/disconnect Unix Domain Socket?

Jan 5, 2010

I have described my issue in detail here: [URL] basically, I am having a mysql server which keeps piling up on it's unix domain socket connections.

here's a small example of netstat as it looks now (count about 80-100 connections paired with httpd):

Code:
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix 2 [ ACC ] STREAM LISTENING 3521428 12429/mysqld /tmp/mysql.sock

[Code].....

This is indeed a mysql server issue as far as I managed to debug it but until a workaround/fix is found I need to have my server responsive and the first idea that comes to my mind is to somehow kill those stray connections. as described in the mysql topic mentioend above, killing from mysql will not work. I need to kill them from outside mysql. I have setup a crontab script to kill and restart the mysql server when it cannot connect and it runs every 5 min. however this only lead to mysql being down sooner rather than later because in many cases just kill -9 and then service start mysql does not do the job (it's either part of the same issue of mysql or another issue). basically I need to manually kill mysqld instances a bunch of times until it's ok, OR, if that doesn't work, stop everything that is using mysql, wait a few minutes, and then start mysql. so I ditched that script and now I am manually restarting mysql server every ~ 24 hours.

so basically it's a pain. if I were to kill the stray connections however, I will not have to bother every day with restarting mysql.

View 2 Replies View Related

Networking :: Iwl4965 Stops Talking Without Disconnect From D-Link Router

May 12, 2010

I have laptops with intel 4965/AGN wireless hardware and ubuntu jaunty. My wireless access point, router, gateway is a D-Link DIR-655. The D-Link is directly connected to my cable modem. The connection does not drop, but They suddenly quit talking with each other. After a brief time lapse, they start talking again without intervention on my part. When I say "stop talking" this is behavior where a browser will return "page or server not found" errors or "DNS timeout". Has anyone seen this sort of network behavior and have some idea about corrective actions?

My attempts to get some help from D-Link have not been successful. Since there are not hundreds of folks reporting troubles, they don't [want to?] understand one poor souls problems.I've tried to ask about this several times and several places.

View 4 Replies View Related

Networking :: Samba Client Shares Disconnect Over OpenVPN Connection

Jun 23, 2010

My network is barely functional. I'm running 2 linux servers connected by openvpn (tun) through routers on both sides. There are Windows clients (98 and XP) on both subnets. One server (ls3) acting as PDC for the domain. The Windows clients use the respective linux boxes as gateways. On the server side (ls3 which is both openvpn server and samba server), all the clients can read/write properly to shares on both sides. The problems are all on the client side. Share connections to the server side disconnect after a few moments.

Browsing on the client side windows machines is fine. I can see shares on the server side. Some server side files open and are readable, writable, other server side files will not open. Some samba logon scripts on the server side can be opened from the client side. Others open after a long wait to a blank file! Permissions on server side files are set to 777 for testing. If a file won't open or reads "blank", that doesn't change no matter how many times you try. A non-readable/writable file overwritten by a readable/writable one can be read and written to!

I can ping successfully from any client on either side to any other client by either ip address or workstation name. Firewalls on both side are set to forward tcp and udp traffic going to port 1194 to the respective gateway linux boxes. Iptables on both linux gateways are down for testing. I tried reversing the openvpn server/client roles with the same result; the same physical side of the network had the problem. On one of the windows 98 clients, I wiped out the networking configuration completely and rebuilt it from scratch. Same result.

One one of the windows xp clients, I tried to rejoin the domain. It went through successfully but the result was the same as above. The network was operating smoothly for several years until the client side dsl modem broke last week. It was replaced with a newer model and at the same time I migrated from a pptp connection to openvpn. How to resolve this, Is this something to do with openvpn? Is this a network hardware problem? Am I missing something in the port forwarding on the routers? My smb.conf files are ancient except I added interface tun0. I have never seen 2 files sitting next to each other in the same directory where one opens and the other doesn't!

I'm running Mandrake 9.2 on the client side and Mandriva 2008 on the server side. I have a Sonicwall firewall on the server side, a Westell 7500 on the client side. I note that during the modem install, the http port was opened to the linux box on the client side and the access log got huge over the weekend and I ran out of disk space until I closed it down and deleted the log. I tried a simple test while viewing /var/log/daemons/errors on the client side. From a windows workstation in the client subnet, I opened a dos window and tried to print a file located on the samba server on the openvpn server machine which I knew NOT to be problematic.

The file printed and there were no errors reported in the log. I repeated the test with a known problematic file. The file would not print. The errors log noted:
Authenticate/Decrypt packet error: packet HMAC authentication failed
I regenerated the static.key file on the server side and scp'd it to the client side and restarted both openvpn's. I checked for duplicate files named static.key on both sides. Same error.

View 1 Replies View Related

Ubuntu :: Hotkeys Trigger While Typing?

Mar 12, 2011

This has been happening for a while and I can't figure out how to fix it. If I'm surfing the web listening to music, when I type something -- the song will start changing. Has anyone else run into this problem? Does anyone know how to fix it

View 1 Replies View Related

Ubuntu :: Remotely Trigger Gnome Apps Over SSH?

Jan 11, 2010

I have a keyboard&monitor damaged laptop which I've converted into a media server/HTPC with a large external monitor. I've installed Ubuntu 9.10, and attached an external 1TB HDD with my video collection. As a media player it works perfectly fine. I can connect to it through my home network, both with VNC and with SSH. I can use VNC on my current laptop to access the player's desktop and play video files. However, this is awkward as the screen resolution of the playback monitor is 1920x1080 - much bigger than the laptop's screen - which means I either end up scrolling the viewpoint around, or scaling the virtual screen down to make reading text very difficult.

What I'd like to be able to do is to trigger Gnome applications - specifically the Totem video player - via a SSH session, on the current Gnome desktop. The idea is that I'd like to be able to browse the directories which house my video collection in SSH, launch the player in the session, and have it appear on the monitor. Ultimately, I'd like to be able to invoke this from a PHP script - thus allowing me to create a (simple) web application on a LAMP installation which would allow me to browse & play my video collection. Currently, when I try and invoke totem, it seems to want to connect the invocation of the software to the SSH session, which - of course - it can't do. Where I might start in trying to set this up?

View 7 Replies View Related

Ubuntu :: Way To Trigger Root-level Process?

Jun 29, 2010

I have what I hope someone finds to be a simple problem. I am running a data acquisition computer for a research project, where multiple people use the same non-privileged user account to take data and save it to /incoming. Once the file has been closed, I would like to somehow copy the data into a more permanent location owned by root. Obviously giving the shared user account sudo permission would be a huge security hole.

I know that this should be possible using some sort of client/server connection, but writing my own server just for this little task seems a bit cumbersome, and is something I have no experience with. Nor have I ever written a daemon/init script before.

Does anyone have any ideas on a simple procedure I could use? Very few things are fixed in stone, but the copy operation is necessary - the final location is a RAID5 array, and the write speeds are too slow to keep up with the data stream.

If a client/server type of thing really is the best way to go, anyone have any links to good tutorials to make a simple server and daemonize it?

View 2 Replies View Related







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