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
ADVERTISEMENT
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
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
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
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
Aug 6, 2010
Ive recently switched over to AT&T Uverse TV/Internet service and I've noticed that when I ssh into my linux( 2.6.18-194.3.1.el5xen CentOS) server I get disconnected. When I'm using putty it gives the "network error software caused connection abort" error. When I'm at work using one of our jump servers and ssh'ing from the command line it will freeze up from time to time but never disconnects. I think the problem is either with the OS or the new AT&T modem. At first I had my CentOS server using DHCP and it would disconnect within a few minutes after I ssh'ed. I switched over to a static IP and now it goes about 10 minutes before it disconnects. It doesnt matter if I'm actively typing or not, so it's not an inactivity issue. I have the firewall turned off on my laptop, and since the issue happens on multiple devices, including my iphone I dont think thats the issue.
I have iptables and selinux turned off/disabled so thats not it. In putty I have enabled Keep Alive(30 seconds) and it still disconnects. I opened the port on the modem to allow ssh for the IP of the linux server. Ive also recently reinstalled this server with CentOS so I can't compare with the previous internet provider as I didn't reinstall until after I switched over. BUT previous installs with CentOS 5.2 worked fine with the previous ISP. AT&T Modem is a 2wire 3800HGV-B
View 5 Replies
View Related
Apr 2, 2010
The main thing preventing me from going Linux although I have it installed in a multi-boot is the probelm I have with Reconnecting the Network (eth0)
If I reboot everything is fine and I am automatically connected to internet via my Ethernet_NAT_router/Homeplug_PowerLine/Cable_Router (using DHCP)
But if I manually disconnect the Network using the tray icon, or through the terminal, when I reconnect the Network Manager says I am reconnected but actually I am not connected to the internet. I can load my Cable Routers configuration page but pages beyond that in the outside world are accessible no longer...
To regain access I have to reboot.
The reason this is important for me is that I reckon if I could get this sorted then if I put the laptop to sleep it will will wake up and reconnect.
As it is using Linux sleep function is unworkable unless I don't mind losing internet.
I am determined to get this sorted eventually as I feel sure there must be a solution. My laptop isn't new but is a good workhorse.
Dell Inspiron 4100 / OpenSUSE Linux 11.2 Gnome
View 9 Replies
View Related
Oct 1, 2010
I've been experiencing one issue in my opensuse 11.3 KDE, the thing is when leave my pc downloading a file, it disconnects after a period of time, I don't know when exactly. I connect to internet at boot time via DSL modem, when I was setting up my connection I noticed, that there is an option "idle-timeout" I set it to zero "0", I know that my pc donwloads all the time and speed do not drop, why then it disconnects?, it disconnects even with higher numbers of idle-timeout. It happened on the other laptop too, so I need every time to "rcnetwork restart" to get it back working
View 9 Replies
View Related
Mar 14, 2011
I'm thrilled using wicd to connect to wireless networks. But when I suspend my laptop using the special keys, I just want to disconnect from wireless without having to use any kind of GUI or curses user interface. It says in the documentation that wicd works by sending DBUS messages, so presumably it's possible to write a command that talks to the daemon directly.But I can't figure out how.Does anybody know by means of what shell command I can tell the wicd daemon to disconnect me from my wireless network?
View 2 Replies
View Related
Mar 9, 2011
I am using tcp for data transmission between 2pcs running linux.During transmission, I have noticed that if I unplug the network cable and reinsert it quickly,connection is not lost(same as i expect)and the sender start to resend the packet after 5s(what i expect is that network packets sent immediately after quick physical disconnect and reconnect).My question is can i reduce 5s to 0s(resend immediately after network cable reconnect)?Any parameters(tcp rto,txqueuelength,..) can be modified to achieve this condition?
View 10 Replies
View Related
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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