Skip to content

Setup script to install Huawei ME909s-120 mPCIe modem 📶 on Raspberry Pi

Notifications You must be signed in to change notification settings

Atarity/Rpi-huawei-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Rpi-huawei-setup

Setup script to install Huawei ME909s-120 mPCIe modem on Raspberry Pi (Raspbian). I've connected modem thru cheap mpcie-to-USB adapter with SIM slot and stuck with usb_modeswitch auto mode (which should be disabled). Also script add up udev rules, so you can plug modem to any USB port each time.

  • Script assumes PIN is disabled for the SIM-card
  • Default APN set as "internet.beeline.ru"

Installation

$ curl -sSOOJ https://raw.githubusercontent.com/Atarity/Rpi-huawei-setup/master/{rpi-huawei-me909s-120-setup.sh,rpi-huawei-me909s-120-remove.sh}

$ chmod +x rpi-huawei-me909s-120-setup.sh rpi-huawei-me909s-120-remove.sh

$ sudo ./rpi-huawei-me909s-120-setup.sh
  • Disconnect modem from USB port and plug it back.
  • You can find new lte0 interface now: ifconfig
  • Connect to cellular network and obtain IP by sudo ifup -v lte0
  • Run speedtest-cli --source xx.xx.xx.xx to test the speed. Replace xx with IP modem got.

Removing

To remove all created configs and bring usb_modeswitch to its AUTO switch state simply run:

$ sudo ./rpi-huawei-me909s-120-remove.sh

Ubuntu

Script works on Ubuntu as well. The only you need to link interfaces configs. So open /etc/network/interfaces and add string at the end:

source /etc/network/interfaces.d/*

This script dependencies sed and yn is already in default Raspbian and Ubuntu packages.

About

Setup script to install Huawei ME909s-120 mPCIe modem 📶 on Raspberry Pi

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages