Hi everyone,
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
已解决! 转到解答。
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.
user "myusername@realm"# 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.
/dev/ttyS# Speed of the serial line.
115200# Assumes that your IP address is allocated dynamically by the ISP.
noipdefault
# Try to get the name server addresses from the ISP.
usepeerdns
# Use this connection as the default route.
defaultroute# Makes pppd "dial again" when the connection is lost.
persist# Do not ask the remote to authenticate.
noauth
I changed:
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:
#m-wap is the apn for idea connectionconnect "/usr/sbin/chat -v -f /etc/chatscripts/gprs -T m-wap"/dev/ttyUSB3# Baudrate115200# Assumes that your IP address is allocated dynamically by the ISP.noipdefault# 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 Modemnocrtscts# No modem control lines with GSM Modemlocal
But in iMX6UL, it's not working.
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:
Command failed.
Press any key to continue....
Should i execute it after command above ?