LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-21-2014, 05:25 AM   #1
dr.x
Member
 
Registered: Jan 2013
Posts: 231

Rep: Reputation: Disabled
pptp ipv6-up script no longer work after LCP session is up !!


Hi all ,

im trying to establish ipv6 over pptp.

actually i need to run "radvd" after LCP session is open during pptp negotiations.

i had the info of the script from here :
Hi ,
thanks so much for reply ....im trying to deploy it on centos , but the problem is the script of(( ipv6-up)) dont run after LCP state get !ON
======================
cat /etc/ppp/ipv6-up

#!/bin/bash
ip -6 addr add 2001:db8:0:10::1/64 dev ppp0
service radvd start
exit 0
===================
my pptp server works fine with ipv4 , but ipv6 dont get an ip , it only get ip link local !

this is my problem .... if i run it manually by "bash script name " it works.


but when the user is logging to server , i see from the logs that it dont get executed and here is sample of the log i have :

=========================================
Aug 20 00:19:04 centOS pptpd[29534]: CTRL: Client 176.58.69.250 control connection started
Aug 20 00:19:04 centOS pptpd[29534]: CTRL: Starting call (launching pppd, opening GRE)
Aug 20 00:19:04 centOS pppd[29535]: Plugin /usr/lib64/pptpd/pptpd-logwtmp.so loaded.
Aug 20 00:19:04 centOS pppd[29535]: pppd 2.4.5 started by root, uid 0
Aug 20 00:19:04 centOS pppd[29535]: Using interface ppp0
Aug 20 00:19:04 centOS pppd[29535]: Connect: ppp0 <--> /dev/pts/2
Aug 20 00:19:08 centOS pppd[29535]: peer from calling number 176.58.69.250 authorized
Aug 20 00:19:09 centOS pppd[29535]: MPPE 128-bit stateless compression enabled
Aug 20 00:19:10 centOS pppd[29535]: local LL address fe80::0000:0000:0000:0001
Aug 20 00:19:10 centOS pppd[29535]: remote LL address fe80::6059:e02c:3d9e:a552
Aug 20 00:19:10 centOS pppd[29535]: Can't execute /etc/ppp/ipv6-up: Invalid argument
Aug 20 00:19:11 centOS pppd[29535]: Cannot determine ethernet address for proxy ARP
Aug 20 00:19:11 centOS pppd[29535]: local IP address 172.16.36.1
Aug 20 00:19:11 centOS pppd[29535]: remote IP address 172.16.36.2
=========================================

as we see, the script , ipv6-up is not goining to work !!

Aug 20 00:19:10 centOS pppd[29535]: Can't execute /etc/ppp/ipv6-up: Invalid argument



but if i type , bash /etc/ppp/ipv6-up it works !!

why not works during LCP is up ????


any help ???

regards
 
Old 08-21-2014, 05:26 AM   #2
dr.x
Member
 
Registered: Jan 2013
Posts: 231

Original Poster
Rep: Reputation: Disabled
i gave it execute permission , but no luck !
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL 6.2: PPTP server communication issues from ppp session to local machine. Leigh507 Linux - Server 1 01-12-2012 03:08 PM
pppd: Debug a LCP conversation - LCP translator needed maus Linux - Networking 0 08-14-2009 04:32 AM
How to disable multiple session/logins per user PPTP-server Zurvy Linux - Networking 1 10-18-2008 07:01 PM
how to make my code to work on bsd (pptp script on bash) jabka *BSD 1 05-01-2007 12:53 PM
PPTP Client - LCP ConfReq Time-Out??? paranoidpenguin Linux - Networking 1 06-03-2004 07:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration