Ubuntu Networking :: Losing SSH Connection When VPN Is Activated?
Jul 6, 2010
A friend of mine is running Ubuntu. He used to run Windows XP, but he kept destroying it completely, and I soon got tired of fixing it for him. So I setup Ubuntu, and we're both happier people for it.BUT! The other day he asked me to setup a VPN (PPTP) connection to his workplace, which I promptly did. It also just works, except for one minor problem: When he fires up the VPN connection, I lose the ability to connect to his computer over SSH. As soon as he shutdown the VPN connection, I can once again log in over SSH.I use the SSH connection for basic maintenance and for tunneling port 5900 so I can assist him over VNC.
His nic is setup with DHCP. Gateway is 192.168.57.1. Port 22 is NAT'ed to 192.168.57.2, which is the IP his computer is assigned by the router (it's reserved to his MAC address).
When he connect the VPN, a new interface is created with the IP 192.168.1.32. I'm very much _not_ a network expert. I can manage the very basic stuff, but beyond that I'm quite lost.
View 1 Replies
ADVERTISEMENT
Mar 11, 2009
After an update this week I noticed some strange things with the network.
1. The network connection doesn't activate itself automaticaly. Have to do it every time when booted up.
2. At the taskbar icon the previously "Auto eth0" changed to "System eth0". I guess this is kind of connected to the first issue
3. I can't connect anymore to the windows network -Times out (also worked fine before)
How to set it up to the "old" way?
View 1 Replies
View Related
Feb 16, 2009
I'm using Xubuntu 8.10, network-manager, Atheros AR2413 802.11bg NIC, and Radeon Xpress 200M with open-source ati drivers.
My problem is that I'm frequently losing my internet connection--whether I'm wired or wireless. It happens most often when I'm watching a ..... video but it happens other times too. My cpu usage is high when watching ..... (70-100%), so that may have something to do with it but I'm here because I really don't know.
I started having this problem when I switched from the proprietary fglrx driver to the ati driver. I switched because my laptop was always freezing halfway through a movie using vlc/mplayer. The ati fixed this but gave me my current problem. I do not want to go back to fglrx.
Here's what I've done so far to try to fix it without success:
-tried using noapci boot option
-tried using a different router
-tried using wicd
When I lose the connection I still have a strong signal. My lshw and iwconfig outputs are the same as before I lose my connection. However, I cannot ping my router when I lose the connection. I have to reboot to reconnect.
View 5 Replies
View Related
Feb 11, 2009
I just installed fedora 10 on a machine with a netgear ga311 gigabyte Ethernet card. Usually when I start it up I have a connection but after 5 minutes I lose the connection.
View 4 Replies
View Related
Feb 2, 2010
I am running Karmic AMD64 on a homebrew desktop PC, but I also previously had this trouble on 32 bit with different hardware and on Ubuntu 9.04 and 8.10. The router is now an ADSL+ Thomson TG585n supplied by O2 and badged O2 Wireless box III. The PC has a direct ethernet connection. The router was replaced by O2 when the problem first appeared, as the Wireless box II was suspect. However, I still have the problem and it is getting more frequent.
The symptoms are these: I generally shut down the PC each night, and only fire it up again when needed, which is usually the following evening, but it remains on for most of the day at the weekend. Very often when started, I find I have no connectivity to the internet, and cannot retrieve my emails. Strangely though, the Skype connection is still present and works, although not every time. My wife's laptop is connected over the wireless link - and that STILL WORKS! Sometimes I can connect to the router interface, but sometimes I can't. I've never lost the connection while the PC is running.
I have tried everything I can find in the router (when I can connect) and also in the Systemreferences:Network Connections and also in System:Administration:Network Tools, but can't find anything that helps. A re-boot of the PC doesn't help. A re-boot of the router doesn't help. A hard reset of the router on it's own doesn't help. The only solution to restore the connection is a hard reset of the router (using the recessed reset switch in the back) followed by a re-boot of the PC.
Since the Skype service remains working, and the lights on the router remain normal and wireless service doesn't fail, I think this has to be a DNS server problem. In the previous release, Jaunty, I changed the DNS service to OpenDNS within Ubuntu, overriding the router's settings. That seemed to help a great deal, although there was still the occasional outage which might have been another cause. I can't find anything in the GUI interface in Karmic that will let me do this, and I can't now remember how I did that in Jaunty.
View 8 Replies
View Related
Nov 1, 2010
I did a clean install of 10.10 just under a week ago and something is really wrong with my wired connection. I keep loosing all connectivity and have to connect again from the panel app. After that, every thing works again for about 30 to 60 seconds and the the connection goes again. No lost connection notification pop up or anything like that, but i cannot browse the web or download upgrades while the connection is gone.
Then the really weird part. Sometimes my connection works just fine. On some boots everything is fine for a long time (hours?) but then the problem comes back. My network card is an Intel 82567LF-2 and it uses the e1000e kernel module. I dual boot to Windows Server 2008 R2 and there I have full connectivity all the time.
View 1 Replies
View Related
May 24, 2010
My wireless network is giving me a fit. Slow transfer speeds and then I lose connection and have to reboot.
greg@greg-computer:~$ /sbin/ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:92 errors:0 dropped:0 overruns:0 frame:0
TX packets:92 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10214 (10.2 KB) TX bytes:10214 (10.2 KB)
wlan0 Link encap:Ethernet HWaddr 00:16:b6:5a:9c:a5
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::216:b6ff:fe5a:9ca5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13085 errors:0 dropped:0 overruns:0 frame:0
TX packets:9600 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:15268450 (15.2 MB) TX bytes:2704035 (2.7 MB)
wmaster0 Link encap:UNSPEC HWaddr 00-16-B6-5A-9C-A5-00-00-00-00-00-00-00-00-00-00
UP RUNNING MTU:0 Metric:1
RX packets: 0 errors:0 dropped:0 overruns:0 frame:0
TX packets: 0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes: 0 (0.0 B) TX bytes:0 (0.0 B)
greg@greg-computer:~$ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 wlan0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
greg@greg-computer:~$ cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.1.1
greg@greg-computer:~$
View 1 Replies
View Related
Jun 30, 2011
Since I installed Ubuntu I've had this problem that makes me loose connection to the Internet. The wireless-icon on the panel starts loading, and after like 5 minutes, it works again.I had this problem when I had Mint 11, but it happened more often.Anyone know how to fix? Edit:Network: Card-1 Atheros AR9285 Wireless Network Adapter (PCI-Express) driver ath9k Card-2 Marvell 88E8040 PCI-E Fast Ethernet Controller driver sky2
View 2 Replies
View Related
Feb 11, 2009
I have a very strange problem with my Linux Router/Firewall machine where i keep losing my connection on the ethernet card.
I have installed a Debian 4 distro on a PC with 2 nics to create a router/firewall machine. On nic-1 i have connected the ADSL modem and on nic-2 a laptop for testing.
What i want is to build a DMZ with public IP addresses assigned to the servers in DMZ.
Schematic example:
Code:
We have a total of 16 Public IP's assigned to the ADSL modem from our ISP configured in routering mode. Unfortunately our new ISP does not support Bridge mode, otherwise i would not have this problem. (we had modem in bridge mode working fine with our old ISP, but they have stopped so we were forced to switch to another ISP. eth1 and eth2 both have public IP addresses from the modem set hardcoded in the /etc/network/interfaces on Linux pc and on my testlaptop in the DMZ (server-1) i have set another public IP (they all fall in the same network range) I have enabled IP forwarding on Linux router/firewall and for testing the firewall is set to allow all traffic.
When i try to ping the testlaptop in my DMZ from a remote machine outside in our datacenter i get no reply.
However when i run the following command: ip addr add xx.xx.xx.xx dev eth1 to assign the public IP i have chosen for the laptop to the inner nic (eth2) and then try to ping the testlaptop again from the remote machine it still does not reply ... but (and here is the most bizar thing)...
When i then run the following command: ip addr del xx.xx.xx.xx dev eth1 (where xx.xx.xx.xx is the ip of the testlaptop) and try to ping again from the remote machine then it seems to be working fine ... however only for a short time because then connection is lost somehow.
View 7 Replies
View Related
Aug 8, 2011
Sorry if this has already been solved;answered anywhere else - I tried looking it up but to no avail. The problem persists & the hints I found around the forum did not provide a solution to the case, neither other net solutions i looked up I run Winblows at the lab and sometimes take my Ubuntu PC with me. There is an open Wireless network where they set MAC permission, and there's no pwd to access. It so should be fairly easy to change m MAC and access it, right! No. I run ifconfig and macchange, successfully change my MAC addr BUT the connection drops! Then if I change it back (MAC to my original address) it goes back online. And yes, I shut down the service -- "ifconfig wlan0 down" and then up..WHAT ON EARTH am I doing wrong??? No webpages touch this 'trouble-frigging-shooting instance!
View 2 Replies
View Related
Feb 21, 2011
I'm setting up a computer with xUbuntu installed and wan't to run it as a PPtP VPN server.
I'm using a mobile broadband for internet connection, with DynDNS wich updates the host with public IP-address.
I've managed to set up the connections and installed the needed packages. The problem appears when I connect to the VPN server through another computer;
When I get connected to the VPN server the remote computer recieves an IP-address from the server (xUbuntu) wich is great! But the server changes prefered network, from the mobile broadband to the wired network wich results in the remote computer losing it's connection to the server.
View 1 Replies
View Related
Dec 12, 2010
Running 2.6.29-gentoo-r1 on a Sun Ultrasparc 10 with a Sun Happy Meal on eth0 connected directly to my cable modem. Intermittently, with a frequency between a few hours and a few days, I lose internet connectivity. Running ifconfig eth0 indicates all is well and I have a valid IP address but I cannot even ping the cable modem's management address; pings to 127.0.0.1 and eth0's IP address do get a reply but no other address I've tried does. I can 'fix' the problem by issuing
Code:
If I check the CM logs, it appears that it has rebooted itself prior to the loss of connectivity. The strange thing is that the incoming traffic doesn't seem to be affected by this, my PSAD log is full of incoming scans even during the periods when I can't connect to the net. I suspect this is an ISP problem (they own the CM);
View 2 Replies
View Related
Dec 14, 2009
lost my internet connection on fedora 12 ? i try to assaing the ip address manual in the configruation part but no nothing happen I've tried googling for the problem
View 4 Replies
View Related
Jun 14, 2010
My imac is connected on a wired connection and it keeps losing signal it will work fine for the first couple of minutes
View 3 Replies
View Related
Sep 15, 2010
I have a Zotac MAG HD N01 desktop computer hooked up to my 40" LCD Samsung TV in the living room. On this machine, I have Ubuntu 9.10 minimal installed, and the system is configured using the XCI script (a customization script to configure the system as an HTPC with XBMC).
Now, since the original install, I've tweak it a little, and one of the things I have it doing is its booting into a minimal desktop using the NODM login manager and it goes into OpenBox. Everything works fine and dandy, however, when I leave it for a while, it looses its connection and says "Searching for Signal" on my TV. I can remedy the situation by just hitting a key on the keyboard (Ctrl for example).
This also happens if i'm watching, say a flash video in a web browser for a while (like a hockey game), and all of a sudden, the screen cuts out.I've checked in the openbox configuration, and screensaver is turned off, but I can't seem to find where to configure any sort of power management. Is there a way to turn off the, what I can only assume, is a power management feature?
View 1 Replies
View Related
Aug 13, 2009
I'm not sure if it is the connection I'm losing or something else is happening and I just can't fathom it out.
I have set up Debian from netinstall. I installed openssh server and Apache. The server is connected to our local network with the IP address 192.168.0.51 and shares a physical port on a simple ethernet switch.
I can SSH into the server from Ubuntu but it takes around one minute to ask for a password and another 20 seconds or so to bring up the prompt. I have checked twice to make sure their are no conflicting IP addresses on the network (all static). The connection seems fine but if I am away from the secure shell for more than a couple of minutes or I minimize the terminal window I can no longer type anything at the remote machines prompt. Reconnection without restarting the server is impossible on most attempts and the terminal just hangs before the password prompt appears.
I have the same kind of issue with Apache. I can view Apaches test index.html using just the IP address from my browser but after a few minutes I get the 'connecting to 192.168.0.52' in the status bar and it never reconnects.
View 1 Replies
View Related
Sep 8, 2011
I have problem with my wireless GSM connection , my notebook has built-in Toshiba (in fact Ericsson) F5521gw wireless modem , it is detected and usable by default without installing additional software.Problem is that I can connect flawlessly only once after switching on notebookif I disconnect manually I'm not able to connect again, i have to reboot my computer or another solution which allows me to reconnect is closing and opening lid (putting notebook in suspended state)I'm using Toshiba Tecra r850, openSUSE 11.4 x64 on Gnome 2 DE, using NetworkManager and nm-applet /var/log/messages after using disconnect from nm-applet:
Code:
Sep 8 17:04:39 linux-b5nl pppd[9933]: Terminating on signal 15
Sep 8 17:04:39 linux-b5nl pppd[9933]: Connect time 243.2 minutes.
[code]....
View 5 Replies
View Related
Dec 3, 2008
I have been using Open SUSE 10.3 for about a year now and have been very pleased. I am now trying Open SUSE 11, it seems good, loads a lot faster than 10.3 and seems to run a little faster. I have had a few probs but they have been resolved with help from these forums. But I have a big prob remaining and I have no idea what could cause it. For no apparent reason I will lose the connection to the net.It happens mostly when running aMule, it can be downloading fine for some while when suddenly the connection to the servers is lost and it won't reconnect, and then also I can not connect to the net with Google etc. The only way to solve it seems to be to shut down, wait awhile then reboot. It will be OK for a while then the problem re-occurs. There does not seem to be a problem with anything else on the system. I know that the Modem is OK as I have three HDD - 1 running Win XP, 2 - running Open Suse 10.3. 3 - running Open Suse 11 & the prob only occurs with SUSE 11, I do not get this problem with either of the other HDD. I have tried three versions of aMule, with SUSE 11,the one given on YAST - v2.2.2-0, & others from Packman v2.2.1-0, & vSVN, the problem occurs with each version so I think it must lie with SUSE 11. I have opened ports 4662 & 4672 on the firewall, & the setup I use is identical to the one on 10.3 which works faultlessly. I use a NTL Modem connected to the PC via Ethernet.
View 1 Replies
View Related
Feb 17, 2011
I have Ubuntu 10.10 installed. I am very new to Linux. I am having a problem connecting to wireless network when I reboot to Vista OS. When I am using Ubuntu, it works fine. I have to plug in the LAN cable in order to connect to internet. When I try to connect to wireless network, I don't see any networks at all. My WiFi switch is ON. I keep switching back and forth between Vista OS and Linux.Narendra
View 1 Replies
View Related
Sep 6, 2010
as the majority of ubuntu 10.04 users I had problems with setting up wireless internet connection too. After reading many forum topics I somehow managed to set up the connection.Now the only problem is that when I restart computer wireless connection is no longer working. Each time I boot Ubuntu I have to go to System>Administration>Hardware Drivers, remove Broadcom STA wireless driver and then install it again. Otherwise the wireless connection is not working and under Broadcom STA wireless driver this message is written:
View 2 Replies
View Related
May 25, 2011
I bought Sony vivo c series laptop and I tried to install ubuntu 10.10 version on it.After installed ubuntu the ethernet device was not activated. But It's working fine with wireless network. Similar problem I faced with older version 10.04 also.
Then, I tried with newer version 11.04. It detected Ethernet device.After installation over I just rebooted and I have chosen ubuntu OS, then it stuck and goes to blank screen.I am doing all my work in ubuntu only, i am struggling to recover form this problem for a long time.
System Information:
Model :VPCCA15FG/B
Processor : Intel(R) Core (TM) i5-2410M CPU @ 2.30GHz
RAM : 4.00 GB
System Type : 64 bit
Network Adapter : Atheros AR8151 PCI-E Gigabit Ethernet Controller (NDE 6.20)
Display Adapter : AMD Radeon HD 6630M / Mobilie Intel (R) HD Graphics
View 3 Replies
View Related
Jun 17, 2011
I was trying to get the b43 driver work with my broadcom bcm4322 wireless card. I changed the kernel from 2.6.32 to 2.6.38 in order to make the b43 driver to work. When I booted with the new kernel the internet stopped working so I looked for a solution. I don't remember which website I went but it said that I have to re-install the STA drivers so I did that and rebooted and nothing happened. I decided to go back to the 2.6.32 kernel and re-installed the STA drivers. The wireless card (eth1) isn't showing when I run the command iwconfig
Code:
xavi@xavi-laptop:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
easytether0 no wireless extensions.
xavi@xavi-laptop:~$
I'm currently running Ubuntu 10.04 Lucid Lynx
View 4 Replies
View Related
Apr 29, 2011
Here is the output of lspci -v on a dell xps laptop I got today:
Network controller: Intel Corporation Device 008a (rev 34)
Subsystem: Intel Corporation Device 5325
Flags: fast devsel, IRQ 17
Memory at f3b00000 (64-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel modules: iwlagn
View 3 Replies
View Related
Mar 24, 2010
It says "device not ready" ive read a lot of posts with problems that seem the same but i dont know which fix actually applies to me. im running karmic on an ppc with the b43-fwcutter driver.
View 3 Replies
View Related
May 30, 2010
I wanted to get away from windows, because of the helll lot of issues it gave me. I installed ubuntu in my machine, and i am facing lot of issues to activate internet. May be I am fool number one. So need some help from experts. FIrst my hardware details :-
01:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
Subsystem: Hewlett-Packard Company Device 1508
Flags: bus master, fast devsel, latency 0, IRQ 16
[code]....
I have gone thru lot of websites and forums to try to enable the wireless connections. Till now I have installed the ndisgtk_0.8.5-1_i386.deb, ndiswrapper-utils- .9_1.54-2ubuntu1_i386.deb & ndiswrapper-common_1.54-2ubuntu1_all.deb. Then I was able to install the windows driver for my wireless card. But still the status is showing as disabled for the wireless adaptor. Please help to make it working.
View 3 Replies
View Related
Jun 16, 2010
I recently bought a Lenovo laptop which comes with a wireless card called Broadcom BCM4312 but in dmesg it says "bcm4315 hybrid wireless controller".
Jockey says the driver is installed, activated and in use. However I don't get any signal (I even moved the laptop to the same room the wireless router is).
I run iwevent and nothing appeared.
I run Kubuntu 10.04, fresh install from a USB stick, latest updates. I replaced knetworkmanager with the network-manager-gnome. network-manager-gnome works fine and I can connect to wired connection with no problem.
Network-manager-gnome says that the wireless is disconnected. What can be done to make the wireless work?
View 4 Replies
View Related
Mar 29, 2009
I've a desktop running Fedora 10 connected to the Internet via LAN. There's 3 network controllers in the desktop. One integrated to the motherboard and two additional. I would like to connect other computers (two laptops, one running fc9 and the other Window$ XP) to the Internet via the desktop. I googled the question and found out that I need to adjust thing called 'NAT'.
For that purpose I did the following:
iptables -t nat -A POSTROUTING -s 192.168.2.0/24 -j SNAT --to-source 192.168.*.*
where 192.168.*.* - is desktop' IP address. I want to use 192.168.2.0/24 as a network for laptops. I activated one of devices (eth1), gave it IP address:
ifconfig eth1 192.168.2.0/24
and connected f9 laptop to it.
On the laptop I activated eth0 with the same IP. The problem is: it doesn't work. I can't ping anything from the laptop except its own address (192.168.2.0).
View 4 Replies
View Related
Dec 28, 2010
The ethernet configuration files are under
"/etc/sysconfig/network-scripts" such as "ifcfg-eth0:1" etc.
The file looks as follow:
Code:
DEVICE="eth0:1"
BOOTPROTO="static"
ONBOOT=no
IPADDR="172.23.17.10"
NETMASK="255.255.255.0"
ALIAS="yes"
I've set the ONBOOT=no. This means this device should not be activated at boot-time. But as I reboot the machine, this device is activated again. This means the option ONBOOT doesn't work. Seems this is a bug of RedHat LINUX?
View 3 Replies
View Related
Nov 19, 2010
I have installed Fedora 14 about 4 days ago. I have set all the networking parameters like dns path, hostname etc. I have also ensured that I select the check-box for "Enable automatically when system starts" for eth0 interface. But weirdly, whenever I boot my system(or restart), I see that the interface eth0 is disabled. I have to manually enter as root and enable it, each time I boot/reboot my system. Why is this happening? Could you please suggest a way so that I have eth0 interface enabled always when I boot up?Also, my domainname also is not boot-persistent. What steps should I take to ensure that the domainname set once persists across reboots?
View 12 Replies
View Related
Sep 10, 2010
I have a very weird case in my firewall.I have an asterisk server and some phones and between them there is a linux firewall based on iptables.With basic rules on iptables everything works ok, but when I put a single nat rule (no matter what rule I use) some packets from some phones misteriously disappear from interfase to interfase.
Clearer:The firewall has two interfases: eth0 (pointing to phones) and eth2 (pointing to asterisk).One problematic phone is 192.168.3.242, so I use tcpdump this way.
View 14 Replies
View Related