Ethernet performance do not achieve the standard speed by ...



EWM FAQCategoryEWMDate2018/10/04KeywordEWM-C109F601E, EWM-C117FL0XE,3G/4G Connection,PPP mode,Ubuntu 16.04 LTS and above versionQuestion:How to establish 3G/4G connection with EWM-C109F601E/ EWM-C117FL0XE automatically when system startup on Ubuntu Linux OS?Notice:With EWM-C117FL0XE module, please remember to switch network mode to PPP mode at first.Step 1Before set up dial up connection, please install “minicom” application by typing “apt-get install minicom” through ethernet network in order to switch PPP mode for establishing 4G connectionStep 2Enter to minicom application and input following Commands one by one OrderlyAT+UUSBCONF=0AT+CFUN=16 Step 3Input “dir ../dev/ttyACM*” Command and ensure the counter of Com port will increase to 6Instructions :Step 1Install “Wvdial” application by Typing “apt-get install wvdial” command in terminal Step 2Create your “wvdial.conf” profile in specific path (/etc/wvdial.conf) which must refer to your sim card information<Example_3G>[Dialer Defaults]Baud = 115200Modem = /dev/ttyACM0 //select correct ACM portInit1 =AT+CGDCONT=1,"ip","internet"Phone=*99#Username=’’ //please enter Apostrophe keys twice when the username is emptyPassword=’’ //please enter Apostrophe keys twice when the password is emptyDial Command =ATDTNEW PPPD=yesNOTE: Please remember to modify your APN(internet) and the serial port number of Modem before saving profile<Example_4G>[Dialer Defaults]Baud = 115200Modem = /dev/ttyACM0 //select correct ACM port Init1 =AT+UCGDFLT=1,"ip","internet"Phone=*99***1#Username=’’ //please enter Apostrophe keys twice when the username is emptyPassword=’’ //please enter Apostrophe keys twice when the password is emptyDial Command =ATDTNEW PPPD=yesNOTE: Please remember to modify your APN(internet) and the serial port number of Modem before saving profileStep 3In order to ensure your connection can be established normally, please input SIM card’s PIN code which define by your carrier in “minicom” application before 3G/4G connecting Note: For my sample, the default PIN code is 0000Step 4Exit “minicom” application (CTRL+A+Z) and input “wvdial &” command to establish 3G/4G connection Step 5After connecting 3G/4G by wvdial application, please cross check if the ppp interface has generated in network interfaceStep 6 Create a shell script to execute “wvdial” application under specific folder(/home/Desktop/Startup) and configure the counters of redial up and delay time which depends on your platform <refer to attached script file below>250134812433853215806876383Step 7 Create a startup service under specific folder(/etc/systemd/system/)which can execute “autoDialup_script.sh” script when boots up system automatically <please refer to attached service file below> <Directory modification>/etc/systemd/system/AutoDialUp.service[Unit]Description=Auto Dial up serviceAfter=network.target systemd-sysctl.service systemd-modules-load.service[Service]User=rootWorkingDirectory=/home/advantech/Desktop/StartupRestart=noType=oneshotExecStart=/home/advantech/Desktop/Startup/autoDialup_script.shRemainAfterExit=true[Install]WantedBy=multi-user.targetStep 8 Double check if the service has created under specific folder and modify the access permission of service by “sudo chmod 777 AutoDialUp.service” command.Step 9 Enable “AutoDialUp.service” service and activate it by following commands in red mark in order to execute process when system boots upStep 10 Shut down system and confirm if the 3G/4G connection can be established after booting up ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download

To fulfill the demand for quickly locating and searching documents.

It is intelligent file search solution for home and business.

Literature Lottery

Related searches