Trying to run 4G hat with pppd pon
Posted: 2024-07-22 12:00
Hello
Thank you for this awsome low-cost development board.
I am trying to run 4G hat with PPPD support i was able to enable serial port using
luckfox-config > ttyS4 > enable
Then i used a chat script named it rnet
Then ran these commands and this happends
I am using ubantu version since buildroot version does not have any pppd directory
Thank you for this awsome low-cost development board.
I am trying to run 4G hat with PPPD support i was able to enable serial port using
luckfox-config > ttyS4 > enable
Then i used a chat script named it rnet
Code: Select all
#imis/internet is the apn for idea connection
connect "/usr/sbin/chat -v -f /etc/chatscripts/gprs -T airtelgprs.com"
# For Raspberry Pi3 use /dev/ttyAMA0 as the communication port:
/dev/ttyS0
# Baudrate
#921600
115200
# Assumes that your IP address is allocated dynamically by the ISP.
noipdefault
debug
# Try to get the name server addresses from the ISP.
usepeerdns
# Use this connection as the default route to the internet.
defaultroute
# Makes PPPD "dial again" when the connection is lost.
persist
# Do not ask the remote to authenticate.
noauth
# No hardware flow control on the serial link with GSM Modem
nocrtscts
# No modem control lines with GSM Modem
local
Code: Select all
pico@luckfox:~$ pppd call gprs
Couldn't open the /dev/ppp device: No such file or directory
pppd: You need to create the /dev/ppp device node by
executing the following command as root:
mknod /dev/ppp c 108 0
pico@luckfox:~$ mknod /dev/ppp c 108 0
mknod: /dev/ppp: Permission denied
pico@luckfox:~$ sudo mknod /dev/ppp c 108 0
[sudo] password for pico:
pico@luckfox:~$ pon rnet
Couldn't open the /dev/ppp device: No such device or address
pppd: Please load the ppp_generic kernel module.