Networking :: Openvpn Connection - Can Not Ping When Connection Established

May 8, 2010

I have problem in making connection to my vpn server I can make connection from windows xp to that but can not open any website and I can not ping 172.16.10.1 when connection established.

These are my configuration files:

server config file:

Quote:

client configuration file:

Quote:

And this is my server syslog tailed file:

Quote:

And I added this routing to /etc/rc.d:

Quote:

And this is my iptable:

Quote:

And vpn connection is lost after establishing a lot.

View 4 Replies


ADVERTISEMENT

Ubuntu Networking :: Wireless "connection Established" No Browse No Ping

Jul 7, 2011

Ubuntu 11.04, wireless adapter BCM4312.The connection works for a while, for a random length of time from a few minutes to a few hours, then stops working. The laptop says it's connected, and the router says it's connected, but the browser can't find any Web pages, it can't find the router, and there is no response to pings from the router or any other device on the local network or on the Internet. "Host unreachable." When I try to ping to the laptop from another one, it times out.If I shut down the computer and try again a few hours later, it works fine again for a while, then after a while it stops working again.

In case it's relevant, sometimes when I restart networking from the command line, it says "ignoring unknown interface eth1=eth1," even though ifconfig -a lists eth1 as up with an ip address. eth1 is the wireless adapter. Another laptop with Ubuntu 11.04 connects to the same router with no problems.Using a fixed IP address doesn't change anything.

View 8 Replies View Related

Networking :: Run Script When Connection Established?

Jun 10, 2011

I was wondering, on a GNU/Linux system including but not limited to *ubuntu, how would I go about determining when the network connection is established on any interface, so I can run a shell script only once at that exact time?The idea that comes to mind is polling-and-sleeping, but I'd like to know if there is another, more robust way? Like an onconnectionestablished javascript event or something.

View 2 Replies View Related

Ubuntu Networking :: Network-manager-openvpn And Static-key OpenVPN Connection In 9.10

Apr 5, 2010

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

[code]....

View 1 Replies View Related

Ubuntu Networking :: Established Connection But Not To Browse

Jul 5, 2011

there is an open wireless i can connect it -in ubuntu- but can not browse anything.we tried to connect via mobile it's working fine ,in addition via Windows XP it's fine ,but not in ubuntu why???!!

View 1 Replies View Related

Ubuntu Networking :: Sharing Connection - Get "connection Established" *pause* "disconnected"?

Jul 26, 2010

my netbook shares it's wireless connection to my desktop. i've done this through the gui (edit connections > eth0 > ipv4 settings > shared to others) and it has worked for the last i don't know how many months.recently it had become a bit touchy with regards to how it was set up. it didn't work unless the netbook was already booted and wired in at the time of booting the desktop.now however it's gotten even worse and all i get when i connect them together is

"connection established" *pause* "disconnected" *pause* "connection established" *pause* "disconnected" *pause* "connection established" *pause* "disconnected" *pause* "connection established" *pause* "disconnected" *pause* "connection established" *pause* "disconnected" *pause* "connection established" *pause* "disconnected" *pause* "connection established" *pause* "disconnected" *pause* "connection established" *pause* "disconnected" and so on.

View 2 Replies View Related

Ubuntu Networking :: Run A Program When Network Connection Is Established

Jan 5, 2010

I want a program (shell script) to be executed as soon as my DHCP connection is established successfully. Is there any way I can do this ?

View 2 Replies View Related

Ubuntu Networking :: Connection Is Established But Not Able To Connect To Internet In 11.04?

May 21, 2011

I bought my new Dell inspiron N1401 64bit laptop. It has windows 7 installed in it, I am begineer to linux. I have installed Ubuntu 11.04 64 bit version. I have a wired internet connection which works fine with my windows 7. When I switch to Ubuntu, when internet cable is plugged, the top right corner, network manager shows connection is established, but when I open firefox I cannot access internet. I tried searching on forums, but I could not make it work. If I type ifconfig command in terminal attached is the output I get, I dont know what is the problem. I want to use Ubuntu than Windows

View 2 Replies View Related

Ubuntu Networking :: Internet Connection Is Established But Can't Open Any Sites At All

Feb 13, 2011

I see something like internet connection is established. Ive established etho connection but I cant open any sites at all. I also have Windows on another hard disk and it works well. About a week ago I had Ubuntu 8.04 and it worked really fine. What�s wrong? Is there any remedy?

View 3 Replies View Related

Networking :: Shell Script Should Switch If Connection Established But Doesn't?

Jan 18, 2010

I have created the following script

Code:
#!/bin/sh
interface=`ifconfig | grep -iE "(wlan0|gprs0)" | awk '{print $1}'`

[code]...

View 14 Replies View Related

Networking :: Ping Connection To Router OK But No Ping Between Boxes In LAN

May 26, 2010

I have Mandriva One 2009.0 (192.168.1.100) on one box and Mandriva Free 2010.0 (192.168.1.118) on the other. I can ping router (192.168.1.1) from both of these boxes but I can't ping one box to the other and the other way around. What's going on?.

Do I have to change some settings in router?. Or is it firewall issue on those two machines?. Both of these boxes are connected by cable. Symbol of the router: TL-WR340G.

View 2 Replies View Related

Networking :: OpenVPN Slows Down Connection

Aug 21, 2010

I'm using OpenVPN to connect to a remote system. When I run

Code:

It brings up a new tunnel interface. The problem is that once the tun interface is brought up and the VPN is established, my whole Internet connection slows to a crawl.

Here is the output from ip route show before openvpn:

Code:

And after openvpn:

Code:

View 2 Replies View Related

Ubuntu Networking :: OpenVPN Connection Isn't Working

Jan 22, 2011

I have an OpenVPN setup at work, and windows clients are able to connect fine. On my dual-boot system (Windows XP 64-bit and Ubuntu 10.10 64-bit) I'm able to connect on Windows but not Ubuntu. I use the same files for each. The network manager wasn't working, so I'm doing it via the command line right now:

Below is the output (sanitized)

Code:

Does this mean it's connected? If so, I'm not able to ping anything on the remote network, not even the OpenVPN server.

View 4 Replies View Related

Networking :: Openvpn - Newtorkmanager - No VPN Connection Was Active

Jul 12, 2011

I am having problems setting up openvpn with networkmanager. I am running fedora15 with the newest networkmanager. Okay here is some info...

openvpn runs at boot time no problem...

Here is a copy of the boot time message from /var/log/messages

Code:

Here is a copy of tun0 from the ifconfig, and also you can see that openvpn is running from the command "netstat -ntl"

Code:

Here is the options i am using for server.conf for openvpn.

Code:

Okay well when i try to add openvpn to network manager i select the openvpn option and it ask for the required fields.

For gateway i am using -> 10.0.0.0

ALL other options i am just using the defaults...

Now i am not sure if they options that i am using is correct... if anyone has any input i would love to hear some.

Now when i try to start New VPN Connection from network manager it fails to connect and here is what i am getting from /var/log/messages

Code:

If you want to recommend command line options instead of using the network manager gui i am okay with that...

View 7 Replies View Related

Ubuntu Networking :: Ubuntu 10.04 TLS Connection Established But Internet Not Working

Jul 24, 2010

My wired network dead which i used before 1hr. I seen my firestar firewall application blocked a hit from my internet provider gateway address. I allowed all the connection from my provider gateway after that hit. It did not work. I installed a new OS ubuntu 10.04 tls. and assigned the IP address but still I cant acess the internet. It says connection was established but i cant browse net. Some one pls help me. I tried configuring fire fox. no use.I am using Internet dish. I configure it by browser by entering dish IP.

View 9 Replies View Related

Ubuntu Networking :: OpenVPN Bridge - Cannot Get Faster Connection

Dec 5, 2010

I have an openvpn bridge up and running (ubuntu to ubuntu, both in vmware fusion machines on macs). My problem is that I cannot get a connection faster than ~9mbps even though 20+mbps is available. I've been troubleshooting for a while and have tried many fixes. I just now did ethtool tap0 and I think maybe I found it. It says the link is 10mbps. I tried to change it with:
sudo ethtool -s tap0 speed 100
but it says ethtool cant change speed on tap0. How can i define the link speed of tap0?

View 3 Replies View Related

Ubuntu Networking :: OpenVPN - Configure Connection And Script?

Jul 20, 2011

I have installed OpenVPN for network-manager using "sudo apt-get install network-manager-openvpn". Now I have it in my network-manager, but I dont know how to configure a connection, I have a configuration script, when I import that script in network-manager it automatically creates a connection, but still problems exists ...

View 3 Replies View Related

Ubuntu :: Wireless Connection Established But No Internet

Jan 5, 2010

I am new to ubuntu, just installed it a few hours a go. I've managed to get it hooked up to my wireless connection but still the internet doesnt work. What I can do to get it working?

View 4 Replies View Related

Ubuntu :: 10.04 Wired Connection Established But No Internet?

Sep 9, 2010

i have just installed ubuntu 10.04 on my laptop hp 550.after i finished installation i connected to internet via eth0 wired connection normally and everything was fine...after about 1 hour i had no internet....i try restart but is the same problem....this is strange because my eth0 says connection established and when i open mozilla i cant open google either..when i ping [URL] it says "cant resolve "

my internet works fine in windows so what should i do to have back my internet on ubuntu...i cant do anything else in ubuntu if i have not internet and i like very much ubuntu so

View 3 Replies View Related

Ubuntu Networking :: OpenVPN Connection - Unable To Correctly Connect ?

Sep 7, 2010

I have setup an OpenVPN server on Ubuntu server. I am able to connect with Windows clients. I am, however, unable to correctly connect using Ubuntu.

If the router firewall is blocking the pings to keep the connection alive, then the connection initially does not work, but will work after the first timeout and reconnect. If the firewall does not block the pings then the initial connection attempt never times and therefore the connection does not work.

Attached is the readout from the client.

The first attempt gives error ERROR: Linux route add command failed: external program exited with error status: 7

Successive attempts work, they just time out every two minutes.

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

General :: PPPoE Connection Not Established Under Debian Testing

Nov 21, 2010

Currently I use openSUSE but the 6 months release cycle is starting to bug me a bit so yesterday I have tried Debian Testing daily snapshot created on 20-11-2010, using KDE desktop (I am a KDE fun). All goes well until I try to make a pppoe using KDE's module network manager.

I created the pppoe connection with user and password but I got 2 problems:
- After I have created the connection it doesn't appear along with "Auto eth0" above the button manage connections.
- The pppoe connection is not established (both password and username are correct).

I know that I could use pppoeconf or ceni for that matter, but I am new to debian as I where new to openSUSE 4 years ago and I am still learning, so please don't tell to use them I just want to know if there's a way to use network manager from kde 4.4.5 to establish a pppoe connection (you could name it the GUI way, no worries I like using the console as well). Under openSUSE I have a program called qinternet that helps me with pppoe connection is there something similar under Debian?

View 2 Replies View Related

Networking :: Ping And FTP Connection Works But No HTTP?

Feb 6, 2010

My problem is the following:I can only connect to the internet and download through the FTP, but not through HTTP.I am in a hospital at this moment and have a netbook (Lemote Yeelong). Also there is a computer here with internet access.I would like to access the internet by using the cable from the computer.I configured my netbook just like the local computer (same host name, same MAC address, DHCP), just to be sure.I can ping google.com and I also can download from ftp.debian.org though ftp.However, when I try to connect to google.com through epiphany, it just loads and loads without success

View 4 Replies View Related

Ubuntu Networking :: Gray - Apply - Button In NetworkManager Openvpn Connection Window

Nov 19, 2010

I installed all the necessary packages for the networkmanager-openvpn function to function. The openvpn-connection-setting are successfully imported into the networkmanger via the conf file but the apply button is grayed out, so that actually saving and using the connection isn't possible? Does anyone know, where the problem is? It's a fresh install of Ubuntu 10.10 after the upgrade from 10.04 sent the networkmanger down the drain.

View 2 Replies View Related

Fedora Networking :: Ping OK But PuTTY Gets Connection Refused?

Jul 28, 2010

Can you find my blind spot? I had PuTTY up & running untill I did a reinstall of Fedora13.I can ping 192.168.1.163 fine. SELinux is disabled. Firewall is default (SSH allowed on p22).I have just disabled the firewall with same result)

PuTTY reports:
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2010.07.20 16:23:52 =~=~=~=~=~=~=~=~=~=~=~=
Event Log: Writing new session log (SSH raw data mode) to file: C:UserswimDesktopputty.log

[code]....

View 8 Replies View Related

Ubuntu Networking :: Wireless Connection Can't Even Ping Router

Feb 4, 2010

Previously posted under "Wireless Connection Can't Even Ping Router".I've been using Ubuntu for two years. About a year ago I switched to Kubuntu because I prefer the KDE desktop. Two weeks ago I bought a new laptop: Dell Vostro v13. I installed Kubuntu 9.10 from the live CD and everything worked! Well, almost. I also set up a home wireless network with a new Belkin N+ router from WalMart. When I try to connect to my router, the Plasma Network Manager reports that I'm connected and the assigned IP address, but I'm not truly connected! I can't even ping my own router, all packets are lost.

This problem is intermittent, sometimes I connect fine. I dual-boot with Windoze7 and it connects without problems. Also, if I connect with Windoze, then re-boot into Kubuntu, it seems to "wake-up" the connection somehow and it works. I might also add that I connect without difficulty to other routers in my neighborhood, at work, in airports, etc.My old laptop was also running Kubuntu 9.10, and it connected to the Belkin router without problems, although it was a different wireless card and driver. I also tried Ubuntu 9.10 from the live CD and it also reported a connection, IP address, etc. I couldn't ping the router from that connection either!

View 7 Replies View Related

Ubuntu :: Change Settings On The Notifications That Show On The Screen When A Wireless Connection Is Established?

Sep 3, 2010

I've been wondering about how I can change settings on the notifications that show on the screen when a wireless connection is established, when I get new mail, etc. They look a lot like growl notifications from OSX, but clicking on them doesn't show me anything. If someone could explain a little about what they are/do

View 2 Replies View Related

Ubuntu Networking :: Unable Get Internet Connection / Ping Router

Jun 7, 2010

when I was still at my university room where the connection would work after a few reboots. After moving back home the connection worked on and off for a day before not working at all. NetworkManager is telling me that I am connected and have an ip address, etc, but nothing is able to get an internet connection. I am able to ping myself but am not able to ping my router. Everything works fine on M$ and other PC's on the network, it's just my ubuntu 10.04 that is playing up.

View 9 Replies View Related

Networking :: Terminate The Ping Manually Using Ctrl+c - Connection Timeout

Feb 21, 2011

when i type the command ssh node2@ip the terminal hangs up a bit then an error message stating that connection timeout but here is a thing: i cant ping to node2 but i can terminate the ping manually using ctrl+c when i terminate the ping usual message appears stating 10 packets transmitted, 100% loss ps: when i go to node3 and ssh to node2 it works fine and also i can ping from node3 to node2 very fine. and the firewalls are down at all nodes

View 10 Replies View Related

Fedora Networking :: Unable To Start An Openvpn-connection Via The "nmcli"-command To Control NetworkManager

Jun 4, 2011

As I reported in this bug:[URL].. root is not able to start an openvpn-connection via the "nmcli"-command to control NetworkManager, whereas my user does not run in any problems with this command. My error output when starting as root is as follows:

Code:
# nmcli con up id "my-openvpn"
Active connection state: unknown
Active connection path: /org/freedesktop/NetworkManager/ActiveConnection/5
state: VPN connecting (need authentication) (2)
Error: Connection activation failed: no valid VPN secrets.

Does anybody know what to do about this strange behaviour? The vpn-secret seems to be stored in the gnome-keyring and in the /etc/NetworkManager/system-connections/my-openvpn simultaneously. But root cannot access any of these. Why this is important? I'm trying to set up a dispatcher-script to automatically start openvpn on eth-connection. but this does throw the exact error from above (no valid vpn secrets..).

[Code]...

View 1 Replies View Related







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