Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Ubuntu and mobile broadband
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
Rojj



Joined: Sun Nov 17, 2013 11:05 am
Posts: 16
Location: London

PostPosted: Wed Nov 20, 2013 8:44 pm    Post subject: Ubuntu and mobile broadband Reply with quote

Hi,
I have been using various Debian-based distros for a couple of years now.
I retired my Ubuntu 10.04 installation last Xmas, and installed Precise (12.04). My only means of internet access is by mobile broadband.
I have been unable to connect to the internet by any Ubuntu after 10.10.
I quite liked the look of LXLE 12.04.3, but of course was unable to connect again.
After joining this forum, I found that someone had had a similar problem, and copied a few commands which were recommended.
This afternoon, I booted the live DVD of LXLE, set up my mobile broadband in Network Manager as normal, unplugged the dongle and plugged it back in again, and was connected! Opening a terminal window, "dmesg |tail" showed that the dongle had been connected, disconnected, and reconnected again in a different way, thus:
Code:

lxle120432@lxle120432:~$ dmesg |tail
[  253.732221] option: option_instat_callback: error -108
[  253.732380] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[  253.732421] option 1-5:1.0: device disconnected
[  260.732965] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[  260.733003] option 1-5:1.1: device disconnected
[  260.844054] usb 1-5: reset high-speed USB device number 7 using ehci_hcd
[  260.981417] option 1-5:1.1: GSM modem (1-port) converter detected
[  260.981623] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB0
[  260.981776] option 1-5:1.0: GSM modem (1-port) converter detected
[  260.981986] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB1

I tried again this evening, no connection, and saved the relevant piece of code.
Here it is:

Code:

lxle120432@lxle120432:~$ dmesg |tail
[  721.776944] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB1
[  721.790146] scsi36 : usb-storage 1-5:1.2
[  721.798969] scsi37 : usb-storage 1-5:1.3
[  722.791432] scsi 36:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
[  722.799671] scsi 37:0:0:0: Direct-Access     HUAWEI   MMC Storage      2.31 PQ: 0 ANSI: 2
[  722.803526] sr1: scsi-1 drive
[  722.803836] sr 36:0:0:0: Attached scsi CD-ROM sr1
[  722.808151] sr 36:0:0:0: Attached scsi generic sg6 type 5
[  722.808720] sd 37:0:0:0: Attached scsi generic sg7 type 0
[  722.817693] sd 37:0:0:0: [sdf] Attached SCSI removable disk

Any suggestions as to how I can achieve a reliable Internet connection?
I am currently using Solusos, and the only other distro which seem to work reliably is Debian itself - I have Wheezy with the Xfce desktop from the magazine disk installed on my laptop.
All the best,
Rojj
_________________
Roman pottery databases are more interesting than you might think...
Back to top
View user's profile Send private message
Rhakios
Moderator


Joined: Thu Apr 07, 2005 12:18 am
Posts: 7633
Location: Midlands, UK

PostPosted: Wed Nov 20, 2013 9:00 pm    Post subject: Reply with quote

Have you got usb-modeswitch installed? It's needed for some dongles but not, oddly, for others, even though they have the same feature of being able to act as a data medium.
_________________
Bye, Rhakios
Back to top
View user's profile Send private message
Rojj



Joined: Sun Nov 17, 2013 11:05 am
Posts: 16
Location: London

PostPosted: Wed Nov 20, 2013 9:43 pm    Post subject: Reply with quote

Hi,
Thanks for answering so promptly.
Yes, I used "aptitude search modeswitch" both times.
Here are the results.
Successful connection:
Code:

lxle120432@lxle120432:~$ aptitude search modeswitch
i   usb-modeswitch                                         - mode switching tool for controlling "flip flop" USB devices     
i   usb-modeswitch-data                                    - mode switching data for usb-modeswitch                         
v   usb-modeswitch-data-packed                             -

Unsuccesful:
Code:

lxle120432@lxle120432:~$ aptitude search modeswitch
i   usb-modeswitch               - mode switching tool for controlling "
i   usb-modeswitch-data          - mode switching data for usb-modeswitc
v   usb-modeswitch-data-packed   -


Here is the successful "lsusb"
Code:

lxle120432@lxle120432:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 13fd:1840 Initio Corporation Shintaro SH23SDOCK Hard Drive Docker [INIC-1608L]
Bus 001 Device 004: ID 13fe:3600 Kingston Technology Company Inc.
Bus 004 Device 002: ID 046d:c016 Logitech, Inc. Optical Wheel Mouse
Bus 001 Device 007: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E230/E270/E870 HSDPA/HSUPA Modem


and unsuccessful
Code:

lxle120432@lxle120432:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 13fd:1840 Initio Corporation Shintaro SH23SDOCK Hard Drive Docker [INIC-1608L]
Bus 001 Device 004: ID 13fe:3600 Kingston Technology Company Inc.
Bus 004 Device 002: ID 046d:c016 Logitech, Inc. Optical Wheel Mouse
Bus 001 Device 009: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E230/E270/E870 HSDPA/HSUPA Modem

No physical changes to the machine between boots.
Regards,
Rojj
_________________
Roman pottery databases are more interesting than you might think...
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8464
Location: Warrington, UK

PostPosted: Wed Nov 20, 2013 10:03 pm    Post subject: Reply with quote

Are you booting with the dongle in place or plugging it in after booting?
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
Rojj



Joined: Sun Nov 17, 2013 11:05 am
Posts: 16
Location: London

PostPosted: Thu Nov 21, 2013 1:03 pm    Post subject: Reply with quote

Hi Nelz,
Booting with the dongle in place, as normal.
I've noticed that the list of usb modems begins "E220"
Mine is an ?E156?
Will boot a live CD of 10.10 tonight and see if my usb modem is included in a "lsusb"
Regards,
Rojj
_________________
Roman pottery databases are more interesting than you might think...
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8464
Location: Warrington, UK

PostPosted: Thu Nov 21, 2013 3:54 pm    Post subject: Reply with quote

What happens if you plug the dongle in after booting?
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
Rojj



Joined: Sun Nov 17, 2013 11:05 am
Posts: 16
Location: London

PostPosted: Sat Nov 23, 2013 3:12 pm    Post subject: Reply with quote

Hi Nelz,
I removed the dongle, rebooted, inserted the dongle and set up through Network Manager. No success, although "dmesg |tail" showed that the dongle was removed and re-inserted using ?ehcpi, which was the same as happened on my one successful attempt at getting on line with lxle.
Here is the code:
Code:

lxle120432@lxle120432:~$ dmesg |tail
[  150.460372] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[  150.460402] option 1-5:1.0: device disconnected
[  153.460031] tty_ldisc_hangup: waiting (usb-storage) for ttyUSB0 took too long, but we keep waiting...
[  155.460330] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[  155.460358] option 1-5:1.1: device disconnected
[  155.572041] usb 1-5: reset high-speed USB device number 6 using ehci_hcd
[  155.709437] option 1-5:1.1: GSM modem (1-port) converter detected
[  155.709611] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB0
[  155.709763] option 1-5:1.0: GSM modem (1-port) converter detected
[  155.709982] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB1

Just for kicks, posting this from a live cd of Maverick, (10.10), booted with dongle in.

Code:

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

ubuntu@ubuntu:~$ dmesg |tail
[   49.692480] option: v0.7.2:USB Driver for GSM modems
[   49.903249] ppdev: user-space parallel port driver
[   52.701639] Intel ICH 0000:00:1e.2: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[   52.701695] Intel ICH 0000:00:1e.2: setting latency timer to 64
[   52.873599] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   53.120029] intel8x0_measure_ac97_clock: measured 54844 usecs (2642 samples)
[   53.120036] intel8x0: clocking to 48000
[   53.670276] lp0: using parport0 (interrupt-driven).
[  175.820984] PPP BSD Compression module registered
[  175.827345] PPP Deflate Compression module registered
ubuntu@ubuntu:~$

Which looks quite a bit different.
I look forward to any comments you may have.
Regards,
Rojj
_________________
Roman pottery databases are more interesting than you might think...
Back to top
View user's profile Send private message
Rojj



Joined: Sun Nov 17, 2013 11:05 am
Posts: 16
Location: London

PostPosted: Sun Nov 24, 2013 3:12 pm    Post subject: Reply with quote

Hi All,
Further to my post yesterday,
I am currently running a live dvd of Debian 7.
Booted with dongle in.
Mobile broadband set up in Gnome 3 with no problems.
Here are the results of the usual 3 commands:
Code:

user@debian:~$ dmesg |tail
[   65.629879] ppdev: user-space parallel port driver
[  133.694874] FAT-fs (sdd1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[  133.695973] FAT-fs (sdd3): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[  133.716439] FAT-fs (sde1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[  365.217635] PPP generic driver version 2.4.2
[  365.248095] PPP BSD Compression module registered
[  365.317981] PPP Deflate Compression module registered
[ 1034.468898] rhythmbox: sending ioctl 2285 to a partition!
[ 1034.468951] rhythmbox: sending ioctl 2285 to a partition!
[ 1034.469006] rhythmbox: sending ioctl 2285 to a partition!
user@debian:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 13fd:1840 Initio Corporation Shintaro SH23SDOCK Hard Drive Docker [INIC-1608L]
Bus 001 Device 004: ID 13fe:3600 Kingston Technology Company Inc.
Bus 004 Device 002: ID 046d:c016 Logitech, Inc. Optical Wheel Mouse
Bus 001 Device 005: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E230/E270/E870 HSDPA/HSUPA Modem
user@debian:~$ aptitude search modeswitch
i A usb-modeswitch                  - mode switching tool for controlling "flip
i A usb-modeswitch-data             - mode switching data for usb-modeswitch   
v   usb-modeswitch-data-packed      -                                           
user@debian:~$


Note that the results are much more like Solusos/Ubuntu 10.10 than they are like LXDE 12.04.3.

(mention of Rythmbox is probably due to me not being au fait with Gnome 3 GUI)
Once again, I look forward to your comments.
Regards,
Rojj.
_________________
Roman pottery databases are more interesting than you might think...
Back to top
View user's profile Send private message
Rojj



Joined: Sun Nov 17, 2013 11:05 am
Posts: 16
Location: London

PostPosted: Mon Nov 25, 2013 9:01 pm    Post subject: Reply with quote

Hi,
I'm sure I posted this on Sunday, but it seems to have not got through...
When booting without dongle, insertion of dongle did not cause any Wizard to launch.
Regards,
Rojj
_________________
Roman pottery databases are more interesting than you might think...
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8464
Location: Warrington, UK

PostPosted: Mon Nov 25, 2013 10:41 pm    Post subject: Reply with quote

Once the connection has been configured, I would expect inserting the dongle to just connect it.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
Rojj



Joined: Sun Nov 17, 2013 11:05 am
Posts: 16
Location: London

PostPosted: Tue Nov 26, 2013 9:42 pm    Post subject: Reply with quote

Hi,
Just to see if I had been doing things in the wrong order, I booted "dongle-out", set up in Network Manager, and then inserted the dongle.
Nothing doing, though the last couple of lines of "dmesg |tail" seem as if it was killed off somehow.
Code:

lxle120432@lxle120432:~$ dmesg |tail
[  200.632330] option 1-5:1.1: device disconnected
[  200.637848] show_signal_msg: 10 callbacks suppressed
[  200.637857] modem-manager[1965]: segfault at c ip 08055184 sp bfcbbe30 error 4 in modem-manager[8048000+61000]
[  200.744076] usb 1-5: reset high-speed USB device number 6 using ehci_hcd
[  200.881391] option 1-5:1.1: GSM modem (1-port) converter detected
[  200.881568] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB0
[  200.881709] option 1-5:1.0: GSM modem (1-port) converter detected
[  200.881916] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB1
[  201.411696] init: modemmanager main process (1965) killed by SEGV signal
[  201.411761] init: modemmanager main process ended, respawning

Any thoughts?
It's beginning to look as though Debian may be my only upgrade choice.
Regards,
Rojj
_________________
Roman pottery databases are more interesting than you might think...
Back to top
View user's profile Send private message
ferrari
LXF regular


Joined: Tue May 03, 2005 12:09 pm
Posts: 132

PostPosted: Thu Nov 28, 2013 10:53 pm    Post subject: Reply with quote

What ModemManager and kernel versions are in use?

FWIW, I do note that there are bug reports about describing similar behaviour

https://bugs.launchpad.net/ubuntu/+source/glib2.0/+bug/1043246

Different hardware, but another ModemManager bug report discussed and linked to in this thread

http://draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=3&t=1601&start=15

https://bugzilla.gnome.org/show_bug.cgi?id=683525

There is some suggestion that ModemManager 0.9.x may have resolved the issue for some?
Back to top
View user's profile Send private message
Rojj



Joined: Sun Nov 17, 2013 11:05 am
Posts: 16
Location: London

PostPosted: Fri Nov 29, 2013 5:52 pm    Post subject: Reply with quote

Hi,
I have had a look.

I'm currently using Solusos with kernel 3.3.6.
Code:

roger@localhost ~ $ uname -r
3.3.6-solusos
roger@localhost ~ $



I earlier booted my lxle 12.04.3 live dvd and did "uname -r"
Result:
Code:

lxle120432@lxle120432:~$ uname -r
3.2.0-53-generic
lxle120432@lxle120432:~$


Successful Solusos Network Manager is 0.8.4.
Unable to find out version of ModemManager installed.

Unable to find out version of Network Manager or ModemManager used with lxle - any suggestions gratefully received!

Equipment: HP Compaq Pentium 4 HT.
Huawei E156G modem. (works OK with Windows, pre-Unity Ubuntus and Debian 7)
All other usb peripherals (mouse, memory sticks, external hard drive) working OK.
Regards,
Rojj
_________________
Roman pottery databases are more interesting than you might think...
Back to top
View user's profile Send private message
ferrari
LXF regular


Joined: Tue May 03, 2005 12:09 pm
Posts: 132

PostPosted: Sat Nov 30, 2013 12:00 am    Post subject: Reply with quote

For debian-based OS, you can use something like
Code:
dpkg -s <packagename>

Don't forget that case is important, so you need to get the name right.
Back to top
View user's profile Send private message
Rojj



Joined: Sun Nov 17, 2013 11:05 am
Posts: 16
Location: London

PostPosted: Sat Nov 30, 2013 5:32 pm    Post subject: Reply with quote

Hi,
I couldn't get the "dpkg" command to work, so I looked in Synaptic.

For lxle, modemmanager is 0.5.2.0ubuntu2
mobile-broadband-provider is 20120410-0bubuntu1
Network Manager is 0.9.4.0ubuntu 4.3

For Solusos:
modemmanager is 0.4+git.20100624t180953.6e79d15-2
mobile-broadband-provider is 20101106-1
Regards,
Rojj
_________________
Roman pottery databases are more interesting than you might think...
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast