1

I cannot connect to my pptpd server, because it fails to send LCP: Config-Requests to my client. I found the problem, it was located in syslog

 Jan 14 03:45:38 mightyowl3 pppd[22256]: Couldn't open the /dev/ppp device: Permission denied

can someone please help me fix this...

Extra stuff:

I did

chown root
chmod 777

on it.

macintosh264
  • 155
  • 1
  • 7

3 Answers3

1

What is the permission on /dev/ppp? Who owns /dev/ppp? What is the group membership of /dev/ppp? What is the username/group under which pptpd being run as?

Providing and analyzing at least this information would help you and perhaps allow us to direct you to the right place to fix this problem.

mdpc
  • 11,856
  • 28
  • 53
  • 67
1

Some VPS has the configuration of enable PPP service, so you can check it and enable the PPP item. The default settings may be disabled, this can cause error:

Couldn't open the /dev/ppp device: No such file or directory

vps config for ppp

farland
  • 11
  • 1
0

It seems that the user running the pppd process cannot access to the device. Probably you need to add the user at least to the group of /dev/ppp

Gianluca
  • 101
  • 2