![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#41 |
|
A Carafe of Ubuntu
![]() Join Date: Jul 2005
Beans: 153
|
Re: Howto: Connect ZTE MF627 3G modem with NM0.7
Upgraded to Karmic and it works straight away
|
|
|
|
|
|
#42 |
|
Extra Foam Sugar Free Ubuntu
![]() Join Date: Aug 2008
Location: Athens Greece
Beans: 832
Ubuntu
|
Re: Howto: Connect ZTE MF627 3G modem with NM0.7
Hi dc2447,
do you have MF627 or other type of ZTE modem? Is it working booting with it AND attaching after boot? Also check from terminal: uname -a and post here the kernel number! Thanks, George
__________________
Testing ZTE MF63x on pre-released Karmic. Install wvdial or Network Manager with no internet connection. Example: 3G modem connected using only one terminal command (pppd). |
|
|
|
|
|
#43 | |||||
|
A Carafe of Ubuntu
![]() Join Date: Jul 2005
Beans: 153
|
Re: Howto: Connect ZTE MF627 3G modem with NM0.7
Quote:
Quote:
trying a reboot Quote:
Update: Reboot - modem won't work in karmic. Put modem straight into Jaunty desktop, works first time and connects: Quote:
Quote:
More annoying still, if I delete the APN from network manager - reinsert the mode, readd the APN... it connects first time Last edited by dc2447; July 2nd, 2009 at 08:19 AM.. |
|||||
|
|
|
|
|
#44 | |
|
Extra Foam Sugar Free Ubuntu
![]() Join Date: Aug 2008
Location: Athens Greece
Beans: 832
Ubuntu
|
Re: Howto: Connect ZTE MF627 3G modem with NM0.7
Quote:
We (you other ZTE modem users and I) could test it after an Ubuntu 9.10 "milestone" as Alpha 3 and possibly report a bug to launchpad. Till then we must have a "typical" testing procedure. We must NOT involve in usb-modeswitch programming as this will be encapsulated to the kernel. My opinion is that we can just test various types of ZTE modems and conclude with the 'bug report'. A 'typical' test procedure could be the one described at: http://ubuntuforums.org/showthread.php?p=7550364 I think we must try before final release coming on October! Regards, George
__________________
Testing ZTE MF63x on pre-released Karmic. Install wvdial or Network Manager with no internet connection. Example: 3G modem connected using only one terminal command (pppd). Last edited by GeorgeVita; July 2nd, 2009 at 08:52 AM.. Reason: New thread created to summarise test results |
|
|
|
|
|
|
#45 |
|
5 Cups of Ubuntu
![]() Join Date: Dec 2008
Beans: 22
|
Re: Howto: Connect ZTE MF627 3G modem with NM0.7
More information ...
Via the NetworkManager developers mailing list, I've been in contact with one of the lead NM developers, and there are definite problems in the way these ZTE devices interact. NM 0.7.1 (as in Jaunty, not sure about Karmic) probes any serial ports on the device using AT commands to find which is a modem. It tries to avoid choosing two ports on the same parent device, but it's slightly out of sync with the latest version of HAL so it's not working properly. This is why you often get two devices listed. You can fix this by adding a .fdi file that restores the previous HAL behaviour, but the problem is that it's then random whether it chooses ttyUSB1 or ttyUSB2. They both appear to behave as modems, but only ttyUSB2 will actually make a connection, ttyUSB1 will just hang. (Strictly speaking these are USB interfaces 1 and 3, which normally get assigned to ttyUSB 1 & 2.) I've found that it's best to let it possibly detect two devices, then work our which is the correct one to use (see my scripts below). The NM people now understand the problem and are trying to produce a solution that isn't a horrible hack. However, there are still other issues that result in erratic behaviour. Sometimes you can plug the device in and it will connect immediately, other times you'll be fighting it for ages. The issues are the serial port modes (which I think is a bug in the "option" driver, I'm trying to work that one out), and the continuous +ZUSIMR:2 messages that the modem spits out - these can be stopped by sending an initialisation command to the modem. See my earlier post #35, with scripts attached that work round these problems. They're not pretty, they run in a terminal window, but for now they do the job! Cheers, Rick |
|
|
|
|
|
#46 |
|
A Carafe of Ubuntu
![]() Join Date: Jul 2005
Beans: 153
|
Re: Howto: Connect ZTE MF627 3G modem with NM0.7
I thought I had a reliable method of connecting.
* delete all apn * plug in modem * eject volume * follow wizard That worked at least five times in a row but now it doesn't. Time to revisit unlocking my huawei |
|
|
|
|
|
#47 |
|
Extra Foam Sugar Free Ubuntu
![]() Join Date: Aug 2008
Location: Athens Greece
Beans: 832
Ubuntu
|
Re: Howto: Connect ZTE MF627 3G modem with NM0.7
Hi again,
as Sergiu Bivol has already report to: https://bugs.launchpad.net/ubuntu/+s...ux/+bug/386764 I think that I faced an "Oops" with kernel [B]2.6.30-10-generic #12-Ubuntu[ Code:
[ 242.768726] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3 [ 242.768844] option 1-2:1.0: device disconnected [ 242.769752] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2 [ 242.769857] option 1-2:1.1: device disconnected [ 242.770004] option: option_instat_callback: error -108 [ 242.770985] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1 [ 242.771094] option 1-2:1.3: device disconnected [ 242.880144] usb 1-2: reset high speed USB device using ehci_hcd and address 5 [ 243.015049] option 1-2:1.3: GSM modem (1-port) converter detected [ 243.015398] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB2 [ 243.015520] option 1-2:1.1: GSM modem (1-port) converter detected [ 243.015733] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB4 [ 243.015844] option 1-2:1.0: GSM modem (1-port) converter detected [ 243.016157] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB5 [ 248.985672] BUG: unable to handle kernel NULL pointer dereference at 0000002b [ 248.985699] IP: [<c03da6d3>] usb_kill_urb+0x13/0xa0 [ 248.985728] *pde = 7e5c7067 [ 248.985740] Oops: 0000 [#2] SMP [ 248.985753] last sysfs file: /sys/devices/LNXSYSTM:00/device:00/ASUS010:00/rfkill/rfkill0/state https://bugs.launchpad.net/ubuntu/+s...ux/+bug/373821 I am not sure if we can help by generating more 'bug reports' or just test and report somewhere how we manage it to work! Also I do not know if developers have (physically) these modems to test them. If not we are ready to follow their instructions instead of trying blindly after every update! Regards, George
__________________
Testing ZTE MF63x on pre-released Karmic. Install wvdial or Network Manager with no internet connection. Example: 3G modem connected using only one terminal command (pppd). |
|
|
|
|
|
#48 | |
|
Extra Foam Sugar Free Ubuntu
![]() Join Date: Aug 2008
Location: Athens Greece
Beans: 832
Ubuntu
|
Re: Howto: Connect ZTE MF627 3G modem with NM0.7
Hi RickPJ,
your post#35 (http://ubuntuforums.org/showpost.php...5&postcount=35) is very informative and of course is the result from your efforts to get the device working. Can you confirm: Your scripts need a 'running' PC and can be used after creation of the ttyUSBx ports (after ejecting the 19d2:2000 drive). As 9.10 is on development, do you feel it will help anyone doing tests with any pre-released version or we must just wait for the final release? If we can help doing tests, can you suggest a "typical" test procedure? My test procedure is on the link into my signature. EDIT: Quote:
"for modemport=0 to lastport" works some times, "for modemport=lastport to 0" works always! Regards, George
__________________
Testing ZTE MF63x on pre-released Karmic. Install wvdial or Network Manager with no internet connection. Example: 3G modem connected using only one terminal command (pppd). Last edited by GeorgeVita; July 2nd, 2009 at 05:28 PM.. |
|
|
|
|
|
|
#49 |
|
5 Cups of Ubuntu
![]() Join Date: Dec 2008
Beans: 22
|
Re: Howto: Connect ZTE MF627 3G modem with NM0.7
Hi George
Yes, you run the scripts after plugging in the modem. You can start running mblog at any time, but mbmgr will only work once the ttyUSB devices have been created. I've avoided having to do the "eject" or usb-modeswitch by turning off ZeroCD mode using the AT+ZCDRUN=9 command. You can do this manually in minicom, or even with the command "echo -en 'AT+ZCDRUN=9\r' >/dev/ttyUSB2", and you only need to do it once. This makes things much simpler, and makes the device a lot quicker to start up. The NetworkManager developers have made a fix to deal with the problem of using the correct port, and choosing only one. The update is on Launchpad BUT it has introduced a regression which means it fails to connect for a different reason. So don't use this update yet until the regression is fixed. The second major problem is the issue of random ttyUSB port modes. This makes systematic tests very difficult, as behaviour is not always exactly repeatable. Just because you plug it in once and it works doesn't mean it will always work! Running my mbmgr script after the modem is plugged in works round this. I think the bug is in the "option" driver module but I'm trying to confirm this. I have also definitely linked this problem to kernel panics - i.e. if the port modes are correct you don't get crashes. The final problem is stopping the modem outputting +ZUSIMR:2 all the time. This can be fixed with an extra initialisation command (again, mbmgr does this), but it's unlikely this can be integrated until we have NetworkManager 0.8 which introduces ModemManager as a separate entity. This allows for custom per-modem configurations etc. Which version of NetworkManager is in Karmic at the moment? Cheers, Rick |
|
|
|
|
|
#50 |
|
Extra Foam Sugar Free Ubuntu
![]() Join Date: Aug 2008
Location: Athens Greece
Beans: 832
Ubuntu
|
Re: Howto: Connect ZTE MF627 3G modem with NM0.7
0.7.1-0ubuntu1 (karmic) on kernel 2.6.31-1-generic #14-Ubuntu
Thanks for above info, George
__________________
Testing ZTE MF63x on pre-released Karmic. Install wvdial or Network Manager with no internet connection. Example: 3G modem connected using only one terminal command (pppd). |
|
|
|
| Bookmarks |
| Tags |
| mf627, mf637, nm0.7, zte |
| Thread Tools | |
| Display Modes | |
|
|