MTN usb modem connection problems

HI Snowy

Happy New Years to you too.

Unfortunately my main sql server decide to crash & burn on me yesterday morning. So I will be busy with that today and & tomorrow. So will gladly assist again, by tomorrow.
 
Ok

Hope you come right with the server.

I will check in now and then to see if you are ready

Cheers
 
Hi DWPTA

Happy New Year and hope it's a good one.

Positive developments here, I will give you a brief run down.

After spending half the night thinking about it I decided to remove everything connected to
the desktop, clean it and set up about ½ metre away, the same place where the laptop works.
Left everything off except keyboard, mouse & screen, connected the modem direct to the pc…….BINGO!!!!!!
It would appear that the usb hub is faulty and there is a signal problem when my desktop is in it's
original position as when I tried the modem in the pc at first it was in it's original position and it
made no difference, I cannot understand that as it's been there for about 5 years trouble free, so maybe I also have intermittent faults on the ports too.
I will leave it out for now and monitor it and try various set ups.
I can get WCDMA (3G only) and Automatic (2G or lower) successfully though if I need to change it for any reason I have to do it on the Windows machine, but no issue really!
#Edit….additional issues are with my Network.
3g but constantly dropping signal (flashing red) searching network, then (flashing blue) for ages
before connecting, sometimes no connection for hours and when there is it's never more than one bar…….weird because I can connect with my laptop also with only one bar but stable???
Need someone to check this tower, the signal is very unstable or I must consider another package
with another provider. I will try to get them out first
………………………………………………………………………...

In order to connect I used the original settings as before:-
roy@roy-desktop ~ $ su (enter)
Password: …………….
roy-desktop roy # modprobe -v option (enter)
insmod /lib/modules/3.16.0-41-generic/kernel/drivers/usb/serial/usbserial.ko
insmod /lib/modules/3.16.0-41-generic/kernel/drivers/usb/serial/usb_wwan.ko
insmod /lib/modules/3.16.0-41-generic/kernel/drivers/usb/serial/option.ko
roy-desktop roy # echo "1bbb 022c ff" > /sys/bus/usb-serial/drivers/option1/new_id (enter)
roy-desktop roy #
and also
~/scripts $ ./usbmodem.sh
Password:…………….
And that works too.

I have to enter whichever code each time I reboot, is there a permanent solution to avoid that
I didn't do anything else for fear of making a mistake and I need to just confirm with you again.

Also now when I check with the Modem Manager GUI I get an error when I try to request
*141# the error says:-
………………………………………………………………………………………..
Error sending USSD

GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Cancelled: USSD
terminated by network
………………………………………………………………………………………..


Hope you don't mind assisting but after all the issues prior I will understand if you wish to opt out.

I need to thank MyBroadband, Ginggs & yourself for your persistence and willingness to assist to a
sucessful conclusion, I could not have done this without you guys.
I have learnt quite a lot and I hope with all the hits others have too.

Once again thanks

Snowy

Great, I had a suspicion that it could've been a hardware issue, glad that the reception issue is resolved.

My method is just to basically make that 2 commands into 1. Do you still have the last script that you downloaded from dropbox link?
 
Hi

I have one script which is still in my script folder which I think is the right one:
#!/bin/bash
su -c 'modprobe -v option && echo "1bbb 022c ff" > /sys/bus/usb-serial/drivers/option1/new_id'

I contacted MTN to check the tower, they said they would and let me know..........but a few days later I can access 3G no problem so I don't know whether they have been and done something and not told me or it's pure coincidence.

Cheers
 
Hi

I have one script which is still in my script folder which I think is the right one:
#!/bin/bash
su -c 'modprobe -v option && echo "1bbb 022c ff" > /sys/bus/usb-serial/drivers/option1/new_id'

I contacted MTN to check the tower, they said they would and let me know..........but a few days later I can access 3G no problem so I don't know whether they have been and done something and not told me or it's pure coincidence.

Cheers

Great, reboot the PC, then run the command, in cli from the scripts folder;

./usbmodem.sh

Post the out come.
 
ok.
here's the results

insmod /lib/modules/3.16.0-41-generic/kernel/drivers/usb/serial/usbserial.ko
insmod /lib/modules/3.16.0-41-generic/kernel/drivers/usb/serial/usb_wwan.ko
insmod /lib/modules/3.16.0-41-generic/kernel/drivers/usb/serial/option.ko
roy@roy-desktop ~/scripts $
 
ok.
here's the results

insmod /lib/modules/3.16.0-41-generic/kernel/drivers/usb/serial/usbserial.ko
insmod /lib/modules/3.16.0-41-generic/kernel/drivers/usb/serial/usb_wwan.ko
insmod /lib/modules/3.16.0-41-generic/kernel/drivers/usb/serial/option.ko
roy@roy-desktop ~/scripts $

Great is the modem connected as when you would run the commands normally?
 
I can run the commands in the cli with the modem in place or not
and it connects to the network
 
Hi again

Maybe I'm misunderstanding you but I'll try again:
If I leave the modem out and run the script you gave me ./usbmodem.sh
in the scripts dir. in cli then plug in the modem it connects successfully.
If I plug the modem in then run the script as above the modem also connects
successfully.
If I run the scripts in the cli but not in the scripts dir. it says no such file (or similar)

I hope that's what you mean
cheers
 
Hi again

Maybe I'm misunderstanding you but I'll try again:
If I leave the modem out and run the script you gave me ./usbmodem.sh
in the scripts dir. in cli then plug in the modem it connects successfully.
If I plug the modem in then run the script as above the modem also connects
successfully.
If I run the scripts in the cli but not in the scripts dir. it says no such file (or similar)

I hope that's what you mean
cheers

Great, yes the last one will fail, because there is no such file if you are not the scripts dir.

So we know the script is working, the usbmodem.sh

Next step.

1. Do want the scipt to start up with the PC?
2. Or do you want to run it manually?
 
preferably with the start up, much like it used to be, just plug in the
modem when i need to connect and it's ready to operate.
 
ok thanks

sorry for the slow response, my wife hijacked me at gunpoint to go shopping :)
 
ok thanks

will check with you Monday

Cheers
 
No problems

I can manage for now, let me know when your free

cheers
 
Ok finally

Download the two files from my dropbox --> https://www.dropbox.com/sh/h3tck6nj0fysjla/AAAZ0oEtalacq4gMGiU_RwfJa?dl=0

  1. The usbmodem.sh in you scripts folder, copy it somewhere else ot just rename it.
  2. Copy the new usbmodem.sh to you scripts forlder.
  3. The usbmodem.conf copy it to /etc/init/. To do this in cli, where the files is saved,

    Code:
    sudo cp usbmodem.conf /etc/init/

    This will start the script on startup.
  4. Reboot you PC and test and let me know of the out come.
 
Hi again

I am going to have to put everything on hold for a while as my pc crashed and is unusable at the moment
I think it could be my hard drive and if all else fails I may have to reload a new version of Linux.
I will let you know what happens but in the meantime thanks.
cheers
 
Top
Sign up to the MyBroadband newsletter
X