benjarobbi/get-a-robot-vpnc

resolv.conf not getting VPN dns entry

Opened this issue · 1 comments

What steps will reproduce the problem?
1. Start VPN connection
2. Go to terminal and confirm connectivity
3. cat /etc/resolv.conf

What is the expected output? What do you see instead?
I would expect to see entries from 
/data/data/org.codeandroid.vpnc_frontend/files/dns1.txt and dns2.txt placed 
into /etc/resolv.conf. Instead, the original name servers are there 8.8.8.8 
8.8.4.4

What version of the product are you using? On what operating system?
.99 on Calkulin's E4GT v2.8.1 (XDA), Samsung Galaxy S II Epic 4G Touch (Sprint)

Please provide any additional information below.
Using 

#cat lastConnection.log

.....

backing up dns and resolv.conf
vpnc-script ran to completion

object "link" is unknown, try "ip help"

process stderr  Object "link" is unknown, try "ip help".

connect string detected!

Original issue reported on code.google.com by nichols....@gmail.com on 7 Feb 2012 at 9:36

I misunderstood how the script works. I guess I would expect at least the new 
getprop net.dns(#) to be added to resolv.conf . Everything here is working fine.

Original comment by nichols....@gmail.com on 8 Feb 2012 at 6:08