Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(MacOS) PPTP Client: Couldn't open the /dev/ppp device: No such file or directory #184

Open
keniobats opened this issue Aug 2, 2021 · 4 comments

Comments

@keniobats
Copy link

Hello!

I'm using MacOS Big Sur, docker desktop 3.5.2, docker engine 20.10.7. Used your docker-compose file as is(with my credentials and server ip addres) and got this error:

[+] Running 1/1
⠿ Container vpn_client_pptp_1 Started 1.2s
Attaching to pptp_1
pptp_1 | Couldn't open the /dev/ppp device: No such file or directory
pptp_1 | /usr/sbin/pppd: You need to create the /dev/ppp device node by
pptp_1 | executing the following command as root:
pptp_1 | mknod /dev/ppp c 108 0
pptp_1 |
pptp_1 exited with code 4

Any help will be appreciated!

@umar14
Copy link

umar14 commented Feb 16, 2022

I get the same error on MacOS. Any workaround?

@MardariG
Copy link

MardariG commented Apr 5, 2022

Hello!

I'm using MacOS Big Sur, docker desktop 3.5.2, docker engine 20.10.7. Used your docker-compose file as is(with my credentials and server ip addres) and got this error:

[+] Running 1/1
⠿ Container vpn_client_pptp_1 Started 1.2s
Attaching to pptp_1
pptp_1 | Couldn't open the /dev/ppp device: No such file or directory
pptp_1 | /usr/sbin/pppd: You need to create the /dev/ppp device node by
pptp_1 | executing the following command as root:
pptp_1 | mknod /dev/ppp c 108 0
pptp_1 |
pptp_1 exited with code 4

Any help will be appreciated!

did you solve it?

@keniobats
Copy link
Author

Hi, not yet! :(

@sec-martin
Copy link

Hi,

Im running PPTP server under proxmox then under LXC container Ubuntu 22 and when i got error "Couldn't open the /dev/ppp device: No such file or directory" and "You need to create the /dev/ppp device"

Solution:
i applied this command command: "mknod /dev/ppp c 108 0" under the root
and
if you get error : mknod: /dev/ppp: Operation not permitted, then you need to create LXC privileged container

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants