MTN usb modem connection problems

I think thats what you mean

roy@roy-desktop ~/scripts $ ls -l
total 4
-rwxr-xr-x 1 roy roy 131 Dec 29 15:51 usbmodem.sh
roy@roy-desktop ~/scripts $
 
ok
sorry it taking so long, I am working on a laptop and having to transfer data from one pc to another

roy@roy-desktop ~/scripts $ ls -l
total 4
-rwxr-xr-x 1 roy roy 131 Dec 29 15:51 usbmodem.sh
roy@roy-desktop ~/scripts $
 
No Problem, but I'm actually looking for the contents of the file, so within the scripts folder again run this command

cat usbmodem.sh

Then post the output please.
 
Ah??

I enter that command in the ubmodem.sh file

I'm not sure where you mean
 
No, that is an external commend, not part of the file the only thing in that file must be

Code:
anton@anton-mint:~/scripts$ cat usbmodem.sh 
#!/bin/bash
sudo modprobe -v option
sudo echo "1bbb 022c ff" > /sys/bus/usb-serial/drivers/option1/new_id
anton@anton-mint:~/scripts$

It must look like this file

Anyways will take this further as it's going home time. Will see if I can help further from home.
 
roy@roy-desktop ~/scripts $ cat usbmodem.sh

#!/bin/bash
sudo modprobe -v option
sudo echo "1bbb 022c ff" > /sys/bus/usb-serial/drivers/option1/new_id

chmod +x usbmodem.sh

cat usbmodem.sh

roy@roy-desktop ~/scripts $
 
ok thanks

if you would prefer to carry on tomorrow thats fine
 
Last edited:
roy@roy-desktop ~/scripts $ cat usbmodem.sh

#!/bin/bash
sudo modprobe -v option
sudo echo "1bbb 022c ff" > /sys/bus/usb-serial/drivers/option1/new_id

chmod +x usbmodem.sh

cat usbmodem.sh

roy@roy-desktop ~/scripts $
Remove those last 2 lines. You only need the first three lines. See my previous post on what in the file must be.
 
hi again

roy@roy-desktop ~/scripts $ cat usbmodem.sh

#!/bin/bash
sudo modprobe -v option
sudo echo "1bbb 022c ff" > /sys/bus/usb-serial/drivers/option1/new_id


roy@roy-desktop ~/scripts $

your offer to assist from home has made me feel very guilty & if you don't mind I think tomorrow would be better, you family is more important

cheers till tomorrow
 
Last edited:
Hi again

To recap: I opened Home/scripts/usbmodem.sh and removed the commands you
requested and ran the command 'cat usbmodem.sh' as you can see.
If this is correct do I have to re-instate those 2 commands back in to the original
file where I removed them from.
 
Hi again

To recap: I opened Home/scripts/usbmodem.sh and removed the commands you
requested and ran the command 'cat usbmodem.sh' as you can see.
If this is correct do I have to re-instate those 2 commands back in to the original
file where I removed them from.

That's perfect all you need are just those three lines. Those other are just commands to see if the file is correct.

So test that the script is working plugin the usb modem, open terminal, go to the scripts directory and the type this

./usbmodem.sh

Note the .(dot) in front of the /

It should just run and not give an error, then test to see if you can connect to the internet.
 
roy@roy-desktop ~ $ cd scripts
roy@roy-desktop ~/scripts $ ./usbmodem.sh
[sudo] password for roy:
./usbmodem.sh: line 4: /sys/bus/usb-serial/drivers/option1/new_id: Permission denied
roy@roy-desktop ~/scripts $


I just get Network Settings & Network Connections but it doesn't open any further to
display the option to connect to MTN
 
roy@roy-desktop ~ $ cd scripts
roy@roy-desktop ~/scripts $ ./usbmodem.sh
[sudo] password for roy:
./usbmodem.sh: line 4: /sys/bus/usb-serial/drivers/option1/new_id: Permission denied
roy@roy-desktop ~/scripts $


I just get Network Settings & Network Connections but it doesn't open any further to
display the option to connect to MTN

Ok, is it possible to get teamviewer up and running? Reboot you laptop and then go the long way and connect your usb modem?
 
Hi

My laptop is my windows pc, my desktop is my linux pc, I am currently getting a very poor signal with my old modem
but connected just now and writing this on my desktop with linux.
I dont know any about teamviewer
 
ok done that, do I leave the other entry there.

I am having to run on the laptop again due to bad signal
 
Top
Sign up to the MyBroadband newsletter
X