View previous topic :: View next topic |
Author |
Message |
hitachi Guru
Joined: 20 Feb 2006 Posts: 478 Location: Freiburg / Deutschland
|
Posted: Mon Feb 20, 2006 2:23 pm Post subject: wlan vpnc & resolv-conf |
|
|
Here is my problem. I am connecting to the WLan from my university. I am using an Sony Vaio P3 (PCG-F807K) and a AVM Fritz WLan USB device to do so. This is working fine. The University asks us to us a VPN-tunnel. So as root I'm executing
I am asked for password. OK (I have one, works). The problem I have is: I cannot ping whatever but directly an IPs for example
Code: | ping 216.239.39.104 |
is working. So I change my resolve.conf
Code: | vim /etc/resolv.conf |
It is: Quote: | # Generated by dhcpcd for interface wlan0
domain vpn.uni-freiburg.de
nameserver 10.1.1.12
nameserver 10.1.0.3 |
I change it to: Quote: | # Generated by dhcpcd for interface wlan0
domain vpn.uni-freiburg.de
nameserver 132.230.200.200
nameserver 132.230.200.201 |
My question is whether I have to change it every time by hand or not. If I change the resolv.conf bevor executing vpnc-connect it is not working at all. |
|
Back to top |
|
|
Nazgulled Guru
Joined: 04 Aug 2005 Posts: 485
|
Posted: Tue Feb 28, 2006 5:54 pm Post subject: |
|
|
well... if you don't have it already, install dhcpcd and before connecting do dhcpcd eth1 (this is an example for my machine, you need to know your interface), and make sure you are in the range of the wifi lan. after that, the ips on resolv.conf should be set correctly.
that's what I do... |
|
Back to top |
|
|
hitachi Guru
Joined: 20 Feb 2006 Posts: 478 Location: Freiburg / Deutschland
|
Posted: Fri Mar 03, 2006 10:41 am Post subject: |
|
|
The interface is: #/etc/init.d/net.wlan0
I allways recive the an ip adress and the resolv.conf is set to this one. The problem is that I am only allowed to open an vpn tunnel (university does not want everybody to use the network) after the tunnel is opend I need to use another nameserver (I don't know why). So I have to change my resolv.conf.
Thanks for any idea |
|
Back to top |
|
|
|