7/24/2020 8:06 AM | |
Joined: 4/28/2015 Last visit: 7/26/2023 Posts: 18 Rating: (2) |
Now I can use mPCIe modem to connect internet by 3G/4G SIM card successfully (mPCIe is Huawei ME909s-120). Let me summarize what I've found first then I have some questions for better understanding the process of the script. Basically, there're 2 ways to configure mPCIe modem.
Question1: What's the script inside method 2 so that we don't need to fill PIN, APN, user & password? But we still can connect internet successfully. Question2: with the first method, the channel you get when checking with ifconfig is "ppp0" channel. While in method 2, you'll get the channel named "wwan0". What's the command to choose this channel? Question3: I notice that once I setup with method 2. I cannot use the same modem with method 1 anymore, even I restore original image to SD card. I believe some script command of method 2 should setup something in modem. May I know how to bring it back to ppp0 again? |
Last edited by: Maew at: 07/24/2020 08:06:21Last edited by: Arkom P. at: 07/24/2020 08:08:04 |
|
7/24/2020 9:49 AM | |
Joined: 12/12/2016 Last visit: 4/8/2024 Posts: 640 Rating: (60)
|
Hello, Method Number 1 is pretty much outdated and was only used before the feature was integrated into iot2050setup. I would not recommend this method as it is also using an old pppd binary The script behind method number 2 is inside iot2050setup.py. If you setup your card using the "old" method, pppd will send AT commands to the card over serial, while method 2 uses the ModemManager. The channel name which is used (ppp0 / wwan0) depends if pppd is installed and on how your hardware is recognized by the system. While ppp0 is only shown when a connection is established, wwan0 should always be visible as it exposed by the card over usb. You can check this when entering:
e.g after inserting the mPCIe Card. |
Last edited by: Fe_lipe at: 07/24/2020 09:50:43 |
|
Follow us on