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



EWM FAQCategoryEWMDate2018/12/11KeywordEWM-C163M201E,3G/4G Connection,PPP mode,Ubuntu 16.04 LTS and above versionQuestion:How to establish 3G/4G connection with EWM-C163M201E automatically when system startup on Ubuntu Linux OS?Notice:With EWM-C163M201E module, please remember to switch network mode by AT commands 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 network mode for establishing 4G connectionStep 2Enter to minicom application and input following Commands one by one OrderlyAT+GTUSBMODE?AT+GTUSBMODE=0AT+CFUN=16 Step 3Input “dir ../dev/ttyACM*” Command and ensure the counter of Com port will increase to 3Instructions :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/4G>[Dialer Defaults]Init1 = ATZ; Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0Modem Type = Analog ModemPhone = *99#ISDN = 0Password = passwordNew PPPD = yesUsername = usernameModem = /dev/ttyACM0 //select correct ACM portBaud = 9600Stupid Mode = 1Step 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