Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am using Cisco VPN client over lion and I want to make the ip-up and ip-down work. There is no sign of any action taken when I connect or disconnect this VPN connection. I really doubt whether the syntax has been changed or even this kind if connection is triggering the ip-up. Logically, it must be set over ppp but when using the following codes and instructions on them, there is no sign of any output in the log file:

Going for error, which there is no sign of it, using the following page:

I couldn't find the /var/log/ppp/vpnd.log log file.

Also the files are given full permission 0755 or a+x or even 777 using the following command:

sudo chmod a+x /etc/ppp/ip-up 

Any clue on how to debug this would be appreciated. I am totally confused, netstat -rn -f inet doesn't show the routes. Even when the routes are added manually, closing the VPN connection does not run the ip-down and the routes must be deleted manually.

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

I believe your issue is related to security.

Remove the file then create an empty one using the following command:

 sudo touch /etc/ppp/ip-up

Then:

 sudo vi /etc/ppp/ip-up

And finally:

 sudo chmod a+x /etc/ppp/ip-up

I think the point is to use sudo whenever you create/edit that file.

share|improve this answer
    
I will check it out but probabely it must be correct. –  Yasser Sobhdel Jul 29 '12 at 8:52
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.