I am a newbie in iMX6. Currently, I'm using MX6UL-evk and i wanna connect internet via module GSMEVB-UC15. But it's not successful. My configuration:
usb 1-1: new full-speed USB device number 3 using ci_hdrc
ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected
usb 1-1: Detected FT232RL
usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB0
And get error:
Couldn't open the /dev/ppp device: No such device or address
/usr/sbin/pppd: Please load the ppp_generic kernel module.
I try to fix follow this guide pppd_cannot_load_kernel_module_ppp_generic , but in /etc/modprobe.d have only file "blacklist.conf" , no file name "modules.conf"
So, how can i fix it ?
Thank you so much !
imx6ul ppp_generic ppp pppd imx6 linux
Solved! Go to Solution.
Currently, I am using iMX6 UltraLite EVK with Distro 4.9.88-2.0.0 (rocko) and pppd version 2.4.7. GSM module is Quectel UC15 and it's working good.
I configured the ppp package follow this steps:
$ nano /etc/ppp/peers/provider
provider file content:
# example configuration for a dialup connection authenticated with PAP or CHAP
# This is the default configuration used by pon(1) and poff(1).
# See the manual page pppd(8) for information on all the options.
# MUST CHANGE: replace myusername@realm with the PPP login name given to
# your by your provider.
# There should be a matching entry with the password in /etc/ppp/pap-secrets
# and/or /etc/ppp/chap-secrets.
# MUST CHANGE: replace ******** with the phone number of your provider.
# The /etc/chatscripts/pap chat script may be modified to change the
# modem initialization string.
connect "/usr/sbin/chat -v -f /etc/chatscripts/pap -T ********"
# Serial device to which the modem is connected.
# Speed of the serial line.
# Assumes that your IP address is allocated dynamically by the ISP.
# Try to get the name server addresses from the ISP.
# Use this connection as the default route.
# Makes pppd "dial again" when the connection is lost.
# Do not ask the remote to authenticate.
user "myusername@realm" --> I dont know how to get this
******** --> m-wap <this is an APN of mobile network- MOBIFONE SIM>
/dev/ttyS --> /dev/ttyUSB3
Should I edit another file ?
Moreover, in raspberry module, i just edit follow:
But in iMX6UL, it's not working.
refer to your error message, did you add the ppp in the kernel? the driver should under kernel, pls try to enable it
Device Drivers --->Network device support --->ppp
hi joanxie. I so glad to hear respond from you. I communicate with iMX6UL via serial and using Ubuntu 14.04 as a host > so I dont know how to enable it via command. May you guide me ?
I also added the ppp in the kernal by edit the local.conf file:
CORE_IMAGE_EXTRA_INSTALL += "ppp"
I also find out PPP folder in /etc/ppp
Each time i start iMX6 and execute connect by pon command. It require run:
mknod /dev/ppp c 108 0
To create a node in /dev/ after execute it and i return to run pon again. It show the error above.
What should I do now ?
Thank you so much for your support !
After run command to build distro, i ran command to configure the kernel. It's work (need to install some package). But i only can find it and can not enable/disable it. Instead of include/exclude, do you mean that ?
Yes. I fixed the error above. It's very great and amazing. Thank you very much.
For sencond question, it's absolutely no. Not for GSM module, it's still error with my ppp configuration. It's small differment with other embedded computer, like raspberry. I can not access internet via GSM module. If you dont mind, May i share my method and we discuss about it.
Thank you !
I tried execute this command before command "bitbake fsl-image-gui". After running about 30 minutes, it's show me:
Press any key to continue....
Should i execute it after command above ?