WSL: PPP not available

Windows version: Microsoft Windows [Version 10.0.18917.1000]

I was trying to connect to a VPN and my client (openfortivpn) requires ppp. After running pppd I got this error

➜  pppd
Couldn't open the /dev/ppp device: No such device or address
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.19.43-microsoft-standard/modules.dep.bin'
modprobe: FATAL: Module ppp_generic not found in directory /lib/modules/4.19.43-microsoft-standard                                                                                                                                                                                        pppd: Please load the ppp_generic kernel module.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 20 (2 by maintainers)

Most upvoted comments

Same for me. Tried working with openfortivpn on wsl2 and got an error that pppd is not found. So, I went ahead, installed ppp (apt-get install ppp) and retried openfortivpn but got a read/write error. Ran it again in verbose mode to find the root cause and got this:

  ...
  DEBUG:  pppd_write thread
  ERROR:  read: Input/output error
  INFO:   Cancelling threads...
  DEBUG:  Waiting for pppd to exit...
  DEBUG:  waitpid: pppd exit status code 4
  ...

whereas exit code 4 means (from the manpage)

  4      The  kernel  does  not  support  PPP,  for  example, the PPP kernel driver is not included or cannot be
          loaded. 

Any plans to include ppp in wsl2?

Just checked it with insiders build 18995. openfortivpn works 👍. Thanks.

Great. Thanks! Please update when done so I can retry.

Uri.

On Sat, Jun 22, 2019 at 10:56 PM Ben Hillis notifications@github.com wrote:

Thanks for the information, I will get /dev/ppp added to the kernel config.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/microsoft/WSL/issues/4201?email_source=notifications&email_token=ACMZVKP6FW7ISPHVOBORDILP3Z7WHA5CNFSM4HZRZXR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYKQJOI#issuecomment-504693945, or mute the thread https://github.com/notifications/unsubscribe-auth/ACMZVKORVQVQ2KPRA7FCME3P3Z7WHANCNFSM4HZRZXRQ .