Automated Flashing/Upgrading for all EM/MC74XX modems.

Sierra Wireless AirPrime Modem Card Topics
ph34rful
Posts: 13
Joined: Sat Sep 01, 2018 8:15 pm

Re: Automated Flashing/Upgrading for all EM/MC74XX modems.

Post by ph34rful » Sat Nov 24, 2018 3:20 pm

cwarren78 wrote:
Sat Nov 24, 2018 11:48 am
Update the script for these entries below............change 1.20.0-1ubuntu1_amd64.deb TO 1.20.0.1-1ubuntu1_amd64.deb

deb_libqmi_glib5='libqmi-glib5_1.20.0-1ubuntu1_amd64.deb'
deb_libqmi_proxy='libqmi-proxy_1.20.0-1ubuntu1_amd64.deb'
deb_libqmi_utils='libqmi-utils_1.20.0-1ubuntu1_amd64.deb'
Thanks for your reply! I did as you indicated but I'm not sure how to run the script. I saved the txt from github to .sh but that doesn't seem to run. I'm sure I'm missing something obvious as I know almost nothing about linux.

cwarren78
Posts: 2
Joined: Thu Oct 18, 2018 4:53 pm

Re: Automated Flashing/Upgrading for all EM/MC74XX modems.

Post by cwarren78 » Sat Nov 24, 2018 4:45 pm

are you using the livecd? if so:


sudo bash autoflash-7455.sh

if it doesn't run, may need to set execute bit: chmod +x autoflash-7455.sh

erok5211
Posts: 1
Joined: Wed Dec 19, 2018 3:20 pm

Re: Automated Flashing/Upgrading for all EM/MC74XX modems.

Post by erok5211 » Fri Dec 28, 2018 2:43 pm

Actually.
change 1.20.0-1ubuntu1_amd64.deb TO 1.20.0-1.1ubuntu1_amd64.deb

Dart67
Posts: 1
Joined: Wed Sep 26, 2018 2:14 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Automated Flashing/Upgrading for all EM/MC74XX modems.

Post by Dart67 » Fri Feb 22, 2019 9:56 am

cwarren78 wrote:
Sat Nov 24, 2018 11:48 am
Update the script for these entries below............change 1.20.0-1ubuntu1_amd64.deb TO 1.20.0.1-1ubuntu1_amd64.deb

deb_libqmi_glib5='libqmi-glib5_1.20.0-1ubuntu1_amd64.deb'
deb_libqmi_proxy='libqmi-proxy_1.20.0-1ubuntu1_amd64.deb'
deb_libqmi_utils='libqmi-utils_1.20.0-1ubuntu1_amd64.deb'
This information is no longer correct.

Here is the correct information to change in the script as of 2/22/2019

deb_libqmi_glib5='libqmi-glib5_1.20.0-1.1ubuntu1_amd64.deb'
deb_libqmi_proxy='libqmi-proxy_1.20.0-1.1ubuntu1_amd64.deb'
deb_libqmi_utils='libqmi-utils_1.20.0-1.1ubuntu1_amd64.deb'
These users thanked the author Dart67 for the post:
JimHelms (Fri Feb 22, 2019 10:58 am)

xray_man
Posts: 1
Joined: Tue Mar 13, 2018 4:32 pm
Been thanked: 1 time

Re: Automated Flashing/Upgrading for all EM/MC74XX modems.

Post by xray_man » Thu May 02, 2019 9:29 pm

First I want to say I am very inexperienced when it comes to Linux and running scripts.
After much time and research, I got the bash script written by danielewood to run and to flash a Dell em7455 modem.
Below are some the pitfalls I ran into and my way of getting the script to run. Many steps needed to run the script are not that well explained and are just glossed very by the experienced users that do this type of work.
1. When downloading the OS for Ubuntu 18.04 LTS needed to make the LiveUSB, it is the desktop version that you download. Yes, the file with amd64 on the end. It will load and run on an intel cpu computer, not just an AMD. Use a new or fresh formatted 4 gig or large USB stick to burn the ubuntu-18.04.2-desktop-amd64.iso file on. I used Rufus. It is a utility that helps format and create bootable USB flash drives, such as USB keys/pendrives, memory sticks, etc.
2. When downloading the autoflash-7455.sh script off of github.com first click on the Raw box. Then right-click any place on the script and then Save as. It will be saved with the .sh extension. I first copied and pasted the text into note pad on a win10 computer and saved it with the .sh extension, not a good idea. This caused many odd run errors in many lines of the script.
3. Don't forget to remove old lines and paste in the three updated lines of code provided by Dart67. I did this using the text editor in Ubuntu.
4. After you boot up using the USB stick, click on the Try it box, this will keep the OS on the USB stick and not on your hard drive. The danielewood script is made to operate only on the USB stick.
5. Before you try to run the script you need to provide an internet connection. The "try it" OS will not connect to your wifi automatically. I worked for half a day trying to get the script to complete all operations before I found out it needs to be connected to the internet.
6. When using Terminal in Linux some basic commands are useful to know. To get to the directory (folder) where you saved the autoflash script to use "CD" after the prompt, space and the name of the directory. This works to move only one directory at a time. I found to run the script this command worked for me if you are in the same directory as the script file: sudo bash autoflash-7455.sh

This is not a complete step by step how to but only some of the hang-ups I had.
Hope this will help the ones that get stuck when using the script.
These users thanked the author xray_man for the post:
JimHelms (Fri May 03, 2019 11:11 pm)

Post Reply
  • Similar Topics
    Replies
    Views
    Last post