关键词:华为  HUAWEI  ME909  4G  LTE 模组  模块  树莓派  Raspberry Pi  4B  Ubuntu  Mate  联网演示  PPP  PPPD  SSH

概述:树莓派4B可以运行Ubuntu Mate系统,我们测试用的是ubuntu-mate-20.04.1-beta2-desktop-arm64+raspi版本,下面演示一下在该版本Ubuntu Mate系统下使用华为ME909 4G模块的操作演示。

准备工作:
1,烧写Ubuntu MATE 20.04版系统;
2,执行update,并安装网络安装包来启用ifconfig命令
sudo apt-get upgrade
sudo apt-get net-tools
注意,upgrade的内容可能会比较多,时间会比较久,看实际情况考虑是否进行升级。如果后续步骤能正常进行,可以先不升级。
3,Ubuntu Mate默认关闭了SSH,如果要用SSH连接需要先开启SSH:
sudo apt install openssh-server
sudo service ssh restart
并可以通过sudo systemctl enable ssh设置为用户登录时启动

1,首先执行update,并安装网络安装包来启用ifconfig命令
sudo apt-get upgrade
sudo apt-get net-tools
注意,upgrade的内容可能会比较多,时间会比较久,看实际情况考虑是否进行升级。如果后续步骤能正常进行,可以先不升级。

华为ME909 4G LTE模块在树莓派+Ubuntu Mate平台的联网演示

华为ME909 4G LTE模块在树莓派+Ubuntu Mate平台的联网演示

华为ME909 4G LTE模块在树莓派+Ubuntu Mate平台的联网演示

华为ME909 4G LTE模块在树莓派+Ubuntu Mate平台的联网演示

Ubuntu Mate默认关闭了SSH,如果要用SSH连接需要先开启SSH:
sudo apt install openssh-server
sudo service ssh restart
并可以通过sudo systemctl enable ssh设置为用户登录时启动

2,插上USB,用lsusb确认USB设备已连接,并到/dev下观察ttyUSB设备是否已经识别

华为ME909 4G LTE模块在树莓派+Ubuntu Mate平台的联网演示

3,复制脚本到/etc/ppp/peers目录***意权限问题,如果用mobaXterm拖拽文件会遇到权限问题,可以先放到home目录下,然后再sudo cp到目标目录

华为ME909 4G LTE模块在树莓派+Ubuntu Mate平台的联网演示

华为ME909 4G LTE模块在树莓派+Ubuntu Mate平台的联网演示

4,sudo pppd call huawei-dial &

华为ME909 4G LTE模块在树莓派+Ubuntu Mate平台的联网演示

5,ping包验证

华为ME909 4G LTE模块在树莓派+Ubuntu Mate平台的联网演示

 

相关文章:

  • 2021-08-24
  • 2021-05-05
  • 2021-06-06
  • 2021-06-21
  • 2021-12-31
  • 2021-06-07
  • 2021-06-04
  • 2021-09-13
猜你喜欢
  • 2021-11-23
  • 2021-11-05
  • 2021-06-06
  • 2021-09-20
  • 2021-05-03
  • 2022-12-23
  • 2021-10-31
相关资源
相似解决方案