I think I am going to declare this topic resolved as I can now reliably connect even if it is a slightly long-winded procedure. I am going through a busy time presently, I have just been told I have to transfer to another ship in two days and internet access may be a bit difficult for a while. I will definitely experiment with the several suggestions I have received once things settle down. My thanks to coyotl and GuruX for showing such an interest in this topic.
Last edited by kickstart (2010-12-15 19:40:12)
First off, #! 8.10 is way old. You should switch to Statler or (if you have a fear of the word alpha) then another distro.
I knew somebody would suggest that! Unfortunately I will not be in a position to get another distro until I leave this ship and go home on leave which is some time away yet. To download Statler would use up my monthly bandwidth allowance in one go. (I only have a 500 MB pay monthly contract as I only normally do a bit of browsing and e-mail when I'm away on the ship.) I guess I'm stuck with 8.10 for a while. I just thought that once it had achieved a handshake with the dongle, it should continue to do so and could be made to connect with a bit of tweaking.
try lsusb command and see if the device is found.
also try umtsmon (download it) --you'll need to install qt4libs (search qt4 in synaptic) to use it.
Could it be a modeswitch problem? --seems possible with this old version
there is a commandline program for that, usb-modeswitch or something
Many thanks coyotl. lsusb found Huawei Technologies top of the list and my mobile broadband connection was reinstated in network manager's list where it has stayed. It still won't connect though but I feel I'm a step closer. Being inexperienced with Linux I really rely on people like yourself who are familiar with the various commands.
As for downloading your other suggestions, I'm going to have to get my laptop off the ship and find a wifi connection before I can download umtsmon (I know my wireless adaptor works well with #!), which I'm not in a position to do at present.
I read about modeswitch problems in another thread but since my dongle does not have the micro SD card installed, I'm assuming that it will always be seen as a modem rather than storage and shouldn't be a problem.
As far as I understand modeswitch is used by windows to install drivers and connect software from the
dongle's flash chip. Then the win driver switches the device into modem mode.
I have a Huawei1752 but it was problematic -it does require modeswitch -so i use Huawei E220 which i got from my former ISP
it may be the problem
Im glad you got it solved. To change the thread title, just edit your first post.
Last edited by coyotl (2010-12-06 14:58:45)
Thanks for the info coyotl. I realised after I had posted that lsusb had nothing to do with the dongle switching mode spontaneously, it was just coincidence. It did another flip earlier and was able to download usb-modeswitch from draisberghof. Tried to install and got this:-
nick@nick-laptop:~/dls/usb-modeswitch-1.1.5$ make install
gcc -o usb_modeswitch usb_modeswitch.c -Wall -l usb
usb_modeswitch.c:56:17: error: usb.h: No such file or directory
usb_modeswitch.c: In function ‘main’:
usb_modeswitch.c:346: warning: implicit declaration of function ‘usb_init’
usb_modeswitch.c:349: warning: implicit declaration of function ‘usb_set_debug’
usb_modeswitch.c:351: warning: implicit declaration of function ‘usb_find_busses’
usb_modeswitch.c:352: warning: implicit declaration of function ‘usb_find_devices’
usb_modeswitch.c:395: error: dereferencing pointer to incomplete type
usb_modeswitch.c:396: error: dereferencing pointer to incomplete type
usb_modeswitch.c:398: warning: implicit declaration of function ‘usb_open’
usb_modeswitch.c:398: warning: assignment makes pointer from integer without a cast
usb_modeswitch.c:408: error: dereferencing pointer to incomplete type
usb_modeswitch.c:539: warning: implicit declaration of function ‘usb_close’
usb_modeswitch.c: In function ‘deviceDescription’:
usb_modeswitch.c:597: error: dereferencing pointer to incomplete type
usb_modeswitch.c:598: warning: implicit declaration of function ‘usb_get_string_simple’
usb_modeswitch.c:598: error: dereferencing pointer to incomplete type
usb_modeswitch.c:607: error: dereferencing pointer to incomplete type
usb_modeswitch.c:608: error: dereferencing pointer to incomplete type
usb_modeswitch.c:617: error: dereferencing pointer to incomplete type
usb_modeswitch.c:618: error: dereferencing pointer to incomplete type
usb_modeswitch.c: In function ‘deviceInquire’:
usb_modeswitch.c:650: warning: implicit declaration of function
and so on for over two pages. Do I have to install as root? I tried but got the message terminal not specified. I tried to specify one from the drop down box but now terminal does not appear at all in root though it's still ok when I am user/group.
I have a problem with downloading as the dongle only flips mode occasionally by itself and I am able to connect but I have been trying all evening with no success so I haven't been able to try umtsmon yet.
Didn't notice you said download umtsmon in windows. However I am now back on line in #! after rebooting from a Windows session so I can do it directly. I think it did this before. I wonder if Windows is switching mode and it's staying switched when rebooting directly to #! and keeping the dongle powered up? No, that sounds ridiculous, probably just another coincidence.
Last edited by kickstart (2010-12-06 23:48:55)
Forget about compiling.
Find a deb somewhere.
was there only source code on the modeswitch site?
Last edited by coyotl (2010-12-07 23:30:05)
Last edited by coyotl (2010-12-12 12:34:59)
Last edited by kickstart (2010-12-12 22:55:34)
Apologies for going quiet, ship has been at sea for a few days, back in port briefly, then out again till the end of the week.
So far I have managed to try out sakis3g. It works but is a bit clumsy and long-winded thus:-
I made a desktop shortcut. Used file manager to reveal desktop. Click on sakis3g, click more options and click only switch modem, enter password, exit sakis, then connect using network manager which I prefer as sakis doesn't leave a tray icon unless you run
./sakis3g helper balloons &
from a terminal. Using sakis to connect means I have to navigate back to the sakis file again to disconnect. Network manager's tray icon makes it a bit easier. Having to run a terminal command every time to get a tray icon is a bit of a nuisance.
I tried adding the following to autostart.sh It didn't work but I'm not surprised as I am still a total Linux novice.
# Launch sakis3g
sakis3g helper balloons &
Thanks for all the tips coyotl, I'll try some of your other suggestions when were settled at our next port (providing I can get a signal on the dongle as it's a bit remote). I think I'm just about ready to declare this thread resolved but I'll hang on a bit longer as I'm sure there are still improvements that can be made.
When I have trouble with my 3G modems, I try to use them with wvdial. It's very often a better solution than using nm-applet. It's a terminal app that dials PPP för you. It won't modeswitch for you though.
It's in the repos.
you should be able to edit the openbox menu or whatever windowmanager you use
and add an entry for sakis3g ..
obmenu (or edit the config file)
you can place the sakis executable in /usr/local/bin f.ex, in your path or symlink it there, a little easier.
It will be hard to automate the modeswitching on your system, maybe better to set up an easier way to start sakis
--I agree GuruX, wvdial rules, it's my choice too. But it requires a working config file + switching ..
I think the config file for wvdial very easy to set up. I just run sudo wvdialconf and the you'll have /etc/wvdial.conf. I usually only have to edit username/password and what number to dial.
In my case it did require a few more options than that.
And a huawei e1752 did not work at all on Debian lenny which does not have
Anyway Kickstart here is new to Linux and needs to make this work on 8.10 which he is stuck with for now,
usb modem software has improved since then.