Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wlan vpnc & resolv-conf
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
hitachi
Guru
Guru


Joined: 20 Feb 2006
Posts: 478
Location: Freiburg / Deutschland

PostPosted: Mon Feb 20, 2006 2:23 pm    Post subject: wlan vpnc & resolv-conf Reply with quote

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
Code:
vpnc-connect

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
View user's profile Send private message
Nazgulled
Guru
Guru


Joined: 04 Aug 2005
Posts: 485

PostPosted: Tue Feb 28, 2006 5:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
hitachi
Guru
Guru


Joined: 20 Feb 2006
Posts: 478
Location: Freiburg / Deutschland

PostPosted: Fri Mar 03, 2006 10:41 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum