Page 1 of 1

PPP support missing?

Posted: Mon Jun 12, 2017 3:35 pm
by Epyon
Is it possible that PPP support is missing in the precompiled Ubuntu Core Xenial images? I'm trying to make my NanoPi Neo connect to the internet through a cellular modem, but I get this error:

Code: Select all

root@test:~# pon fona
Couldn't open the /dev/ppp device: No such device or address
modprobe: FATAL: Module ppp_generic not found in directory /lib/modules/4.11.2
/usr/sbin/pppd: Please load the ppp_generic kernel module.


PPP seems to be installed, but not working?

Code: Select all

root@test:/etc# apt-cache policy ppp
ppp:
  Installed: 2.4.7-1+2ubuntu1
  Candidate: 2.4.7-1+2ubuntu1
  Version table:
 *** 2.4.7-1+2ubuntu1 500
        500 http://ports.ubuntu.com xenial/main armhf Packages
        100 /var/lib/dpkg/status


I am completely new to Linux, so excuse me if I'm asking obvious stuff here.

Re: PPP support missing?

Posted: Tue Jun 27, 2017 7:44 am
by jjm
Hi,
The NOE runs ubuntu16.04 so if you want to use ppp support you can just search Ubuntu16.04 how to configure PPP will be ok, and you can look at this link: https://wiki.archlinux.org/index.php/NetworkManager.

thank you!

Re: PPP support missing?

Posted: Thu Nov 23, 2017 6:32 am
by chleo
i met the same issue today, when running "sudo pon xxx", it shows

Code: Select all

modprobe: FATAL: Module ppp_generic not found in directory /lib/modules/4.11.2
/usr/sbin/pppd: Please load the ppp_generic kernel module.


@jjm, @Epyon any solution you found?

Re: PPP support missing?

Posted: Fri Nov 24, 2017 1:37 am
by chleo
Hi there is no PPP_* module/drivers loaded in the kernel, so can FA helps us compile ppp_generic module, so that we can load to the kernel? thanks.

Code: Select all

root@NanoPi-NEO-Air:/lib/modules/4.11.2/kernel/drivers/net# ls -l
total 16
drwxr-xr-x 2 root root 4096 Nov 13 08:42 appletalk
drwxr-xr-x 2 root root 4096 Nov 13 08:42 phy
drwxr-xr-x 2 root root 4096 Nov 13 08:42 usb
drwxr-xr-x 7 root root 4096 Nov 13 08:42 wireless


Code: Select all

lsmod
Module                  Size  Used by
bnep                   20480  2
hci_uart               57344  1
btbcm                  16384  1 hci_uart
btqca                  16384  1 hci_uart
btintel                16384  1 hci_uart
bluetooth             303104  26 hci_uart,btintel,btqca,bnep,btbcm
brcmfmac              167936  0
brcmutil               16384  1 brcmfmac
g_mass_storage         16384  0
usb_f_mass_storage     32768  1 g_mass_storage
libcomposite           40960  2 g_mass_storage,usb_f_mass_storage
ipv6                  348160  22