I have succesflly installed OpenVPN server and clients(followed tuts). Everything is great, however when I have openvpn connection established on the clients I loose the basic internet connection in the browser, but my clients can see the vpn server(even I can ssh to the server via the openvpn client ip). I am guessing that all the traffic is routed through the server. I am just not knowledgable enough with routing , iptables and internet sharing. I am using tun based setup on OpenVPN. I am just not even sure if this is a server or a client issue, sorry for ignorance and illeteracy.
1 linksys router: gets the net from PPPOE and give the network DHCP. The router IP is 192.168.1.1. 1 windows laptop that work wireless and wired. 1 debian desktop that work wired and not working wireless. THe problem with the debian desktop is like this: I have a TP-Link TL-WN321G installed and found by lsusb command. I make a wireless connection WPA Personal (just like the router settings) it says i am connected to the wl network but no internet connection. the route command give me this:
[code]....
I tryed with wicd who said that the connection is WEP (and it's not, it is setup to WPA on the router and the network-manager conncetion) and when i try to connect i get bad password. I tryed with network-manager uninstalled and no chance.
I rebooted my vServer (Debian 8) and it doesn't came back up. Well, I used the rescue console on my server and the server seems to be running fine, except the network was broken. So I tried 'ifconfig' but nothing came up. So I tried to enable my interface with 'ifconfig venet0 up', and now it appears in my ifconfig list
Code: Select allroot@i67svof:/var/www# ifconfig venet0Â Â Link encap:UNSPECÂ HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00Â Â Â Â Â Â UP BROADCAST POINTOPOINT RUNNING NOARPÂ MTU:1500Â Metric:1 Â Â Â Â Â RX packets:557 errors:0 dropped:0 overruns:0 frame:0 Â Â Â Â Â TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 Â Â Â Â Â collisions:0 txqueuelen:0 Â Â Â Â Â RX bytes:36463 (35.6 KiB)Â TX bytes:0 (0.0 B)
My HWaddr doesn't look that well :) 'ip addr' prints this result:
Code: Select allroot@i67svof:/var/www# ip addr 1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN Â Â link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
These are the last lines in /var/log/syslog:
Code: Select allroot@i67svof:/var/www# tail /var/log/syslog Feb 20 11:34:16 i67svof systemd[1]: Stopping memcached daemon... Feb 20 11:34:16 i67svof systemd[1]: Stopping Network Name Resolution... Feb 20 11:34:16 i67svof systemd[1]: Stopping Regular background program processing daemon... Feb 20 11:34:16 i67svof systemd[1]: Stopping Login Prompts.
[Code] .....
And finally my network config in /etc/network/interfaces
Code: Select all# Auto generated lo interface auto lo iface lo inet loopback # Auto generated venet0 interface auto venet0
I am using Empathy IM client to access to gadu gadu and to message with my friends. The strange thing that is happening is that I keep on being connected and then disconnected and then connected again even if I am continuously connected to my internet connection (no problem when surfing or using skype for example)It also seems to come only from me because when my girlfriend is using the same gadu gadu on her windows laptop simultaneously, she doesn´t get disconnected (whether when she is at home and using the same connection as I am or when she is outside, meaning that it doesn´t seem to come from the whole gadu gadu network)maybe it has something to do with the ports that gadu gadu is using but it is strange that sometimes it is working for a period of time and then not and then again.
I have just installed Debian Squeeze on my spare computer (dual booted with Ubuntu 11.04) and I cannot connect to the internet using Squeeze. Due to my ISP, I have to manually connect this computer and on Ubuntu copying and pasting a text file such as this into the terminal works with no problems.What do I need to do to manually configure my Squeeze internet connection?
I replaced my motherboard and processor but am keeping my old hard drive without reformatting it. Things work well except that I cannot connect to the internet. I am thinking that I just need to reconfigure the connection to see the new network hardware. I tried /etc/init.d/networking restart but that doesn't do anything. What am I missing? By the way it is a wired connection - not wireless.
AMD 64 Upgrade to testing last night killed my internet connection. The lan works, I can ping the dns server from my IP, however no mail, browser possible. Is something in testing broken again?
I'm going to start using Debian as my desktop system rather than Ubuntu since I'm not really liking all the crazy eye candy and just wanted a fast and simple system. My main problem is networking, I guess I'll start off with my system specs and other information for problem solving.
I have a Realtek RTL8111/8168B Ethernet Adapter builtin to my motherboad which I am using, I could only get a basic connection, by basic I mean that it allowed me to connect to my local area network but not the internet. I then modified /etc/NetworkManager/NetworkManager.conf to change to managed=true this allowed me to use the internet, but the problem is, that it is a very unstable connection, the speed is very slow and it drops a lot! I have to carry on running /etc/init.d/network-manager restart twice to get my connection back, which lasts for about a minute.
I have no idea how I managed this, but I am able to connect to the internet but NetworkManager doesn't show any connection. This means that until I kill it, I cannot log in with Pidgin, because it is waiting for a connection.
Do I disable NetworkManager completely or do I try to make it recognize that I am connected to the Internet? If the latter, then how should I go about? (Please let me know which files I need to show you, because I know I've messed around with a couple).
I had some trouble with the netinst CD and I had to install lenny with the 6DVDs instead. My internet connection only works after I edit the interfaces and resolv.conf files manually. So my question is: can I do that from the netinst CD before it actually needs the connection to install everything? (otherwise I'll just need to use the DVDs.
i have some problems with configuring openvpn tunnel connection to my openvpn server. I'm using static-key tcp connection. Network manager always said to me that connection could not be established. Also, when i try to run openvpn from terminal, i got some strange permissions problem:
Code:
openvpn --config config.ovpn Mon Apr 5 15:48:37 2010 OpenVPN 2.1_rc19 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on Oct 13 2009 Mon Apr 5 15:48:37 2010 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables Mon Apr 5 15:48:37 2010 /usr/sbin/openvpn-vulnkey -q moj.key
I played with the Network Settings section in YaST, because I wanted to use the wireless network card I installed into the PCI port. OpenSUSE recognised the type of card and its MAC number, and told me that I needed to install a firmware (fwcutter something). I tried some changes on the cable internet connection (like activate on plugged) while I tried to change the wireless connection (like activate on boot).
What I have now is that my cable internet connection is not working at all (it was working just 3 days ago), my wireless internet connection is, as always, not working either. I managed to work the wireless card on Windows XP by finding its drivers.
Since the problem is with my office computer, I cannot answer the exact brand names of the ethernet card and wireless card. Shall I reinstall OpenSUSE 11.3 from the DVD I have?
Second problem: OpenSUSE does not recognise my external harddisk, it gives an error about mounting the device.
I'm running 10.10 and I uninstalled some files through synaptic and it also removed a lot of other packages which messed up my whole system. I lost the connection to the Internet and also the taskbar. I don't know how to re-install those lost packages because I have no net connection. How can I fix this? This is what I removed:
Completely removed the following packages: apt-xapian-index libboost-python-dev python-xapian
Three months ago my daughter went off to college with a new computer. I zapped her old system and successfully installed Ubuntu 9.04 from a CD. Everything worked fine including all the peripherals and the wireless internet connection. I was able to download and update applications without a hitch. Great system and so much cleaner and quicker than Win XP on the old machine. Then the system was shut down and lay idle for three months.When I fired it up a couple of days ago, all seemed normal except I could no longer access the internet even though the wireless network icon showed four or five bars. I first discovered the problem when I tried to update though Update Manager and noticed that 22 identified files could not be fetched. Neither Firefox, Skype nor Goodgle Earth can connect.
The router is a Linksys WRT54G router that connects to the computer through a Linksys WUSB54G USB network adapter. The router serves three other non-Linux computers without a problem, including one using the same model network adapter.I don't have much experience with Ubuntu, but this is some of the information I have been able to generate.
I tried a few of the recommendations found in other sites, but nothing seems to do the job. I am perplexed because everything was great until I shut down the system for three months and then started it up again. I appreciate any assistance and would be happy to provide additional information as requested.
Using acer aspire one (ZG5) and have lost connection to Firefox browser after changing setting to make google my home default web page. I have no experience with linux so any help would be appreciated. There's no problem with my internet connection it shows connected.
After having updated unconditionally all packages in Kde-desktop-factory-repository to get the latest version 4.4.4, I can no longer connect to the Internet through Knetworkmanager. I receive the the following message from a pop-up window when clicking on the Knetworkmanager icon
Code: KNetworkManager cannot start because the installation is misconfigured.System DBUS policy does not allow it to provide user settings; contact your system administrator or distribution.KNetworkManager will not start automatically in future.I tried opening Knetworkmanager in a terminal as root user through 'su' but received the following message:
Code:# knetworkmanager knetworkmanager(2331): KUniqueApplication: Cannot find the D-Bus session server:"Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."
I am running ubuntu 9.1 on a Dell Dimension 2400. After installing ubuntu on the pc, it was automatically recognizing my router and connecting to the internet fine via ethernet. Then, my roommate unplugged the router and it won't recognize it. I can't access my router settings, and ubuntu is recognizing it as "inactive" but every other computer in the apartment runs fine. My PC uses a broadcom ethernet controller, and my router is a Linksys wireless N.
I was running 8.04 and my internet (Comcast) comes via a Motorola SB5100 cable modem then into a Netgear router then into my Dell. When I upgraded to 10.04 yesterday, I lost the wired connection. The wireless connection still works fine, but I have not been able to get a wired connection. Also, most online solutions reference the Network Manager, which is nowhere to be found.
Anyone have any solutions? I would be willing to revert to 8.04 if needed, as that worked fine, and obviously I quite regret the upgrade!
We have an Asterisk machine that we suspect periodically loses internet connectivity, causing all calls to drop. First, would this sort of thing be logged anywhere out of the box? I haven't noticed anything in /var/log, but that doesn't mean it's not there. If this is not typically logged, how I might go about logging it? I'm currently running a bash script from cron every 5 or 10 minutes which pings Google and writes success or failure messages to a log file. This works fine for extended outages, but if the internet connection drops and comes back between cron runs, it won't be caught.
I have an Acer Aspire One Netbook that has lost connection with the Internet. On clicking the Browser button I get a message saying "Your wired device is now connected" - but nothing happens. It was working fine up till about a week ago. A substituted computer will work OK from the same output from the Router/ Modem through the same cable.
I'm running OpenVPN service on both debian server and client. When start connection between client and server, I expect all the computer traffic (except ARP and DHCP requests) go through created tunnel. However, when I capture packets on wlan0 on client (the only connection going outside host) using Wireshark, I can see DNS requests visible and sometimes incoming TCP traffic as well, but most of the traffic is going through tunnel as expected. I provide both configurations of client and server and client routing table for inspection. I changed server address to avoid server exploitation in the case of some big configuration mistake.
Commands to run OpenVPN services are: Code: Select allFor client: sudo openvpn --config /etc/openvpn/client.conf & For server: sudo openvpn --config /etc/openvpn/server.conf &
**Client routing table when VPN is OFF** Code: Select allKernel IP routing table Destination   Gateway     Genmask     Flags Metric Ref  Use Iface default     192.168.1.1   0.0.0.0     UG  1024  0    0 wlan0 192.168.1.0   *        255.255.255.0  U   0   0    0 wlan0
[code]...
I searched through many forums and documentation and I found, that for all the traffic going via VPN is command: *push "redirect-gateway def1"* neccessary, however, I have leaks despite this command being in place. I already spent over 2 days with this and tried to configure it in many ways, now I have no clue what I'm missing.
I have recently rented a VPS server so I can run a VPN. Unfortunately, I did not get far in this [URL] ....., I have encountered this error:
Code: Select allxaver@xaver:/$ sudo modprobe tun ERROR: could not insert 'tun': Unknown symbol in module, or unknown parameter (see dmesg)
So I googled this error and found this: [URL] ....., however response of mine VPS was:
Code: Select allxaver@xaver:/$ ls /lib/modules/uname -r /kernel/drivers/net/tun.* ls: cannot access /lib/modules/uname: No such file or directory ls: cannot access /kernel/drivers/net/tun.*: No such file or directory
Code: Select allxaver@xaver:/$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description:Â Â Debian GNU/Linux 7.9 (wheezy) Release:Â Â Â Â 7.9 Codename:Â Â Â Â wheezy
xaver@xaver:/$ uname -a Linux xaver 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u1 x86_64 GNU/Linux
After running a large update and rebooting a few weeks ago, I found that my internet connection had stopped working. My internal network still worked fine though, so it I know it's not the card itself or its configuration. After a bit of trial and error I discovered that simply running dhclient brings the connection up again, so it appears that something is interfering with the initial dhcp update to my ISP (or something like that; I'm no expert in this area. ) My usual policy in cases like this is to wait through two or three updates in the hopes that it's just a temporary problem, but it's been a while now and subsequent updates haven't fixed it.
I've tried looking around, but I can't come up with search criteria specific enough to narrow it down to my specific situation. I'm not even sure where to begin looking to diagnose the problem, nor do I know which package update(s) could've affected it. I'm not sure what might be useful, but here's the relevant entry in /etc/network/interfaces. I have it configured with a static internal address, with my router as the gateway.
I installed Fedora today, and I automatically had internet connection, I never had do configure anything myself. Then, I was playing around with VPN for a good while (trying to set up the VPN connection to my University), and now, I suddenly lost my connection to the internet!
But only Fedora can't connect anymore, the Windows PC has connection as well as my Mac OS X (I dualboot Linux on my MacBook). The Ethernet connection works as well, when I unplug the cable, Fedora gives me a message, but I just don't get into the internet!
Does anyone have an ides what I have to do? I don't know anything about network connections and I'm new to Linux...
I already restarted the Computer, but that didn't work, and Google didn't really held either.
As I view it, Ubuntu has a great security risk in that it still allows internet access when the VPN connection has been lost, for whatever reason. As it is now, when the VPN connection fails you get bumped back to using your regular IP, and whatever you are doing becomes transparent to anyone watching. This is simply unacceptable for an allegedly secure platform. Does anyone know of a way to fix this with a script/program, or is there a distribution/OS that allows this? Windows re-dials the vpn automatically, but still allows internet access in the mean time.
I am a non-techie, have been gratefully using Ubuntu 8.10 for a few years for the basics: email, web, documents, photos. I have somehow lost my internet connection, but strangely my email still works...!?!? My router is showing all the correct green lights, but I cannot get to any url. I am posting this thread via work (windows) pc. I have searched on this forum and in anticipation have done as much homework as possible, see below.I have a Netgear wired router. I cannot find Network manager on the menus and tried this from the terminal:
Code:
network-manager bash: network-manager: command not found networkmanager
I do have a problem with my internet connection at home, I've a Huawei router and ubuntu 10. When I connect to the internet whether wireless or wired I become able to surf the internet for less than 10 min then it cuts off! and to be able to surf it again I need to restart the whole system!
I used this command to restart the networking but in vain Code: sudo /etc/init.d/networking restart
On windows I do not face this problem with the same internet connection. I do not face it either when I'm using my campus wireless connections using ubuntu/windows!, so the problem is related to my home connection+ my OS.