Ethernet performance do not achieve the standard speed by...
Transcript of Ethernet performance do not achieve the standard speed by...
![Page 1: Ethernet performance do not achieve the standard speed by ...ess-wiki.advantech.com.tw/wiki/images/a/aa/FAQ_EWM_How... · Web viewEnsure your 4G cellular card which is already set](https://reader035.fdocuments.in/reader035/viewer/2022071113/5feaa538406d3810250f618b/html5/thumbnails/1.jpg)
EWM FAQCategory EWM Date 2018/10/31
KeywordEWM-C117FL0XE,4G Connection,RNDIS mode,Ubuntu 16.04 LTS and 18.04 version
Question:
How to establish 4G connection with EWM-C117FL0XE in RNDIS mode on Ubuntu
Linux OS?
Instructions :
Step 1
Ensure your 4G cellular card which is already set in RNDIS mode by “AT+UUSBCONF” AT commands at first and refer to following instruction to modify it if the module is set at other mode
Step 2
Exit “minicom” application (CTRL+A+Z) and input “sudo ifconfig” command on terminal to confirm the ID name of usb ethernet interface
![Page 2: Ethernet performance do not achieve the standard speed by ...ess-wiki.advantech.com.tw/wiki/images/a/aa/FAQ_EWM_How... · Web viewEnsure your 4G cellular card which is already set](https://reader035.fdocuments.in/reader035/viewer/2022071113/5feaa538406d3810250f618b/html5/thumbnails/2.jpg)
Note: if the usb ethernet interface didn’t appear in “ifconfig” session, please try to shut down your platform and restart again
Step 3
Enter “minicom” application again and type following AT commands to configure 4G modules for sure
<AT Command 1>
![Page 3: Ethernet performance do not achieve the standard speed by ...ess-wiki.advantech.com.tw/wiki/images/a/aa/FAQ_EWM_How... · Web viewEnsure your 4G cellular card which is already set](https://reader035.fdocuments.in/reader035/viewer/2022071113/5feaa538406d3810250f618b/html5/thumbnails/3.jpg)
<AT Command 2>
Refer to your sim card carrier APN definition and modify it with this AT command
Note: if you are not familiar with this command, please refer to following FAQ to get more information(https://goo.gl/qdY748)
Step 4
Enter to specific path to modify “interface” file under network folder as below, then save and exit it.
![Page 4: Ethernet performance do not achieve the standard speed by ...ess-wiki.advantech.com.tw/wiki/images/a/aa/FAQ_EWM_How... · Web viewEnsure your 4G cellular card which is already set](https://reader035.fdocuments.in/reader035/viewer/2022071113/5feaa538406d3810250f618b/html5/thumbnails/4.jpg)
Note: the block area must modify to your unique ID name at your platform.(please confirm the ID name by Step2)
Step 5
Enter “sudo systemctl restart network-manager.service” commands on terminal to restart network service, then enter “sudo ifdown” and “sudo ifup” to reconnect usb ethernet interface
![Page 5: Ethernet performance do not achieve the standard speed by ...ess-wiki.advantech.com.tw/wiki/images/a/aa/FAQ_EWM_How... · Web viewEnsure your 4G cellular card which is already set](https://reader035.fdocuments.in/reader035/viewer/2022071113/5feaa538406d3810250f618b/html5/thumbnails/5.jpg)
Step 6
Try to browse the webpage by firefox/Chrome browser and make sure if you can connect to internet successfully.
Note: if the webpage pop ups “secure connection failed” prompt message, please try to disable IPV6 configuration by following commands
![Page 6: Ethernet performance do not achieve the standard speed by ...ess-wiki.advantech.com.tw/wiki/images/a/aa/FAQ_EWM_How... · Web viewEnsure your 4G cellular card which is already set](https://reader035.fdocuments.in/reader035/viewer/2022071113/5feaa538406d3810250f618b/html5/thumbnails/6.jpg)
Step 6
Create a shell script which will do “ifdown” usb ethernet interface regularly under specific folder(/home/Desktop/) to avoid abnormal working status when next system boots up <refer to attached script file below>
![Page 7: Ethernet performance do not achieve the standard speed by ...ess-wiki.advantech.com.tw/wiki/images/a/aa/FAQ_EWM_How... · Web viewEnsure your 4G cellular card which is already set](https://reader035.fdocuments.in/reader035/viewer/2022071113/5feaa538406d3810250f618b/html5/thumbnails/7.jpg)
Step 7
Create a startup service under specific folder(/etc/systemd/system/)which can execute “StopEthernet_script.sh” script before shut down the system automatically <please refer to attached service file below>
<Directory modification>
/etc/systemd/system/StopEthernet.service
![Page 8: Ethernet performance do not achieve the standard speed by ...ess-wiki.advantech.com.tw/wiki/images/a/aa/FAQ_EWM_How... · Web viewEnsure your 4G cellular card which is already set](https://reader035.fdocuments.in/reader035/viewer/2022071113/5feaa538406d3810250f618b/html5/thumbnails/8.jpg)
[Unit]Description=disable usb ethernet service before shutdown
[Service]User=rootType=oneshotRemainAfterExit=trueExecStart=/bin/trueExecStop= /home/pc/Desktop/stopEthernet_script.sh
[Install]WantedBy=multi-user.target
Step 8
Double check if the service has created under specific folder and modify the access permission of service by “sudo chmod 777 StopEthernet.service” command for sure
![Page 9: Ethernet performance do not achieve the standard speed by ...ess-wiki.advantech.com.tw/wiki/images/a/aa/FAQ_EWM_How... · Web viewEnsure your 4G cellular card which is already set](https://reader035.fdocuments.in/reader035/viewer/2022071113/5feaa538406d3810250f618b/html5/thumbnails/9.jpg)
Step 9
Enable “StopEthernet.service” service and activate it by following commands in red mark in order to execute process when system boots up
Step 10
Shut down system and confirm if the 4G connection can be established after booting up
![Page 10: Ethernet performance do not achieve the standard speed by ...ess-wiki.advantech.com.tw/wiki/images/a/aa/FAQ_EWM_How... · Web viewEnsure your 4G cellular card which is already set](https://reader035.fdocuments.in/reader035/viewer/2022071113/5feaa538406d3810250f618b/html5/thumbnails/10.jpg)