Page 4 of 7 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 70

Thread: modem-manager not working

  1. #31
    Join Date
    Oct 2009
    Location
    A world without windows
    Beans
    Hidden!

    Re: modem-manager not working

    wait a few moments then enter this command in the terminal
    Code:
    plog
    it will list the last few lines of the sys log ,
    Example
    Code:
    alexfish@alexfish-desktop:~$ plog
    May 17 21:20:35 alexfish-desktop pppd[2055]: rcvd [IPCP ConfNak id=0x3 <addr 92.40.67.243> <ms-dns1 217.171.132.1> <ms-dns2 217.171.135.1>]
    May 17 21:20:35 alexfish-desktop pppd[2055]: sent [IPCP ConfReq id=0x4 <addr 92.40.67.243> <ms-dns1 217.171.132.1> <ms-dns2 217.171.135.1>]
    May 17 21:20:35 alexfish-desktop pppd[2055]: rcvd [IPCP ConfAck id=0x4 <addr 92.40.67.243> <ms-dns1 217.171.132.1> <ms-dns2 217.171.135.1>]
    May 17 21:20:35 alexfish-desktop pppd[2055]: Could not determine remote IP address: defaulting to 10.64.64.64
    May 17 21:20:35 alexfish-desktop pppd[2055]: local  IP address 92.40.67.243
    May 17 21:20:35 alexfish-desktop pppd[2055]: remote IP address 10.64.64.64
    May 17 21:20:35 alexfish-desktop pppd[2055]: primary   DNS address 217.171.132.1
    May 17 21:20:35 alexfish-desktop pppd[2055]: secondary DNS address 217.171.135.1
    May 17 21:20:35 alexfish-desktop pppd[2055]: Script /etc/ppp/ip-up started (pid 2102)
    May 17 21:20:38 alexfish-desktop pppd[2055]: Script /etc/ppp/ip-up finished (pid 2102), status = 0x0
    or can monitor the events in
    another terminal with this command
    Code:
    tail -f /var/log/syslog
    just want to mention , been on a thread where for some reason wvdial has been used to some success where MM has failed.
    Two tin cans are better than an iphone

    http://www.ehow.co.uk/how_2067160_ma...hone.html?cr=1

  2. #32
    Join Date
    Nov 2008
    Location
    Belgium
    Beans
    31
    Distro
    Xubuntu 13.04 Raring Ringtail

    Re: modem-manager not working

    the plog command following on the pon gives:

    Code:
    kris@kris-1011PX:~$ sudo pon belgacom
    [sudo] password for kris: 
    kris@kris-1011PX:~$ plog
    May 20 20:58:35 kris-1011PX chat[2622]: send (ATZ^M)
    May 20 20:58:35 kris-1011PX chat[2622]: expect (OK)
    May 20 20:58:35 kris-1011PX chat[2622]: ^M
    May 20 20:58:35 kris-1011PX chat[2622]: OK
    May 20 20:58:35 kris-1011PX chat[2622]:  -- got it
    May 20 20:58:35 kris-1011PX chat[2622]: send (ATDT*99#^M)
    May 20 20:58:35 kris-1011PX chat[2622]: expect (CONNECT)
    May 20 20:58:35 kris-1011PX chat[2622]: ^M
    May 20 20:58:35 kris-1011PX chat[2622]: ^M
    May 20 20:58:35 kris-1011PX chat[2622]: ERROR^M

  3. #33
    Join Date
    Mar 2009
    Beans
    46

    Unhappy Re: modem-manager not working

    Dear AlexFish,

    I need your help (again). I have a usb mobile broadband device from HUAWEI TECHNOLOGIES. The service provider is MTS Mblaze in India. I want to connect to Internet using this. But for some reason it does not work!

    The output of the command usb-devices is as follows:
    T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 5 Spd=12 MxCh= 0
    D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
    P: Vendor=12d1 ProdID=1446 Rev=00.00
    S: Manufacturer=HUA˙WEI TECHNOLOGIES
    S: Product=HUAWEI Mobile
    S: SerialNumber=˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙
    C: #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA
    I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)

    So it can be seen that the driver is 'none'. The vendor & product ids are 12d1:1446. I followed the commands as you have suggested. But it still does not work ! Here is the output of the commands:

    $ cat /usr/bin/option_12d1\:1446
    #! /bin/bash
    echo 1C9E 9605 > /sys/bus/usb-serial/drivers/option1/new_id

    ls -l /usr/bin/option_12d1\:1446
    -rwxr-xr-x 1 root root 74 Jul 5 15:50 /usr/bin/option_12d1:1446

    $ ls -l /sys/bus/usb-serial/drivers/option1/new_id
    -rwxr--r-- 1 root root 4096 Jul 5 16:06 /sys/bus/usb-serial/drivers/option1/new_id

    $ cat /etc/udev/rules.d/option.rules
    ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1446", RUN+="/sbin/modprobe option"
    ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1446", RUN+="/usr/bin/option_12d1:1446"

    Having followed your commands, unfortuntely it still does not connect. The driver option for this device listed in the usb-devices command is still none. So can you please guide me on this? Thanks a lot for your help and cooperation.

    Regds
    Xlearner

  4. #34
    Join Date
    Oct 2009
    Location
    A world without windows
    Beans
    Hidden!

    Re: modem-manager not working

    @ xlearner

    Looks as if the device has not switched

    try this command from the terminal

    Code:
    sudo usb_modeswitch -v 0x12d1 -p 0x1446 -M "55534243123456780000000000000011060000000000000000000000000000"
    then list the device with
    Code:
    usb-devices
    alexfish
    Two tin cans are better than an iphone

    http://www.ehow.co.uk/how_2067160_ma...hone.html?cr=1

  5. #35
    Join Date
    Mar 2009
    Beans
    46

    Re: modem-manager not working

    @Alexfish,

    I followed the command as you suggested. Here is the output:

    $ sudo usb_modeswitch -v 0x12d1 -p 0x1446 -M "5553424312345678000000000000001106000000000000000 0000000000000"

    Looking for default devices ...
    found matching product ID
    adding device
    Found device in default mode, class or configuration (1)
    Accessing device 003 on bus 003 ...
    Getting the current device configuration ...
    OK, got current device configuration (1)
    Using first interface: 0x00
    Using endpoints 0x08 (out) and 0x87 (in)
    Inquiring device details; driver will be detached ...
    Looking for active driver ...
    No driver found. Either detached before or never attached

    SCSI inquiry data (for identification)
    -------------------------
    Vendor String: HUAWEI
    Model String: Mass Storage
    Revision String: 2.31
    -------------------------

    USB description data (for identification)
    -------------------------
    Manufacturer: HUA�WEI TECHNOLOGIES
    Product: HUAWEI Mobile
    Serial No.: �������������������
    -------------------------
    Setting up communication with interface 0
    Using endpoint 0x08 for message sending ...
    Trying to send message 1 to endpoint 0x08 ...
    OK, message successfully sent
    Resetting response endpoint 0x87
    Resetting message endpoint 0x08
    -> Run lsusb to note any changes. Bye.
    $

    After this output, I listed the devices with the command usb-devices as you suggested. I have listed the output only for this device below:
    $ usb-devices
    .
    .
    .
    T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
    D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
    P: Vendor=12d1 ProdID=1446 Rev=00.00
    S: Manufacturer=HUA˙WEI TECHNOLOGIES
    S: Product=HUAWEI Mobile
    S: SerialNumber=˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙
    C: #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA
    I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
    .
    .
    .
    .
    $

    So the driver is still none. Am I missing something?

    BTW, when I attempted these steps, I was connected to a regular wireless network. Can that affect the working of the usb modem? Thanks again!

  6. #36
    Join Date
    Oct 2009
    Location
    A world without windows
    Beans
    Hidden!

    Re: modem-manager not working

    Not sure ,

    the amount of info shown does not match a similar device that have tested,

    do know this device "12d1 1446" can be problematic , it has various modes of operation when switched + product ID's vary when switched.

    or how your provider has configured it,


    also behaves differently , depending on the Kernel

    need to know if your dual booting with windows or using virtual box or similar ,

    also trying plugging the device before and after booting , this sometimes can be important if the device is getting reset,

    also check the sim card is inserted the correct way ,

    if the device still not switching , check to see if working in windows.

    failing that , can only suggest trying to get advice from the Modeswitch forum

    Draisberghof - Software - USB_ModeSwitch


    or try installing Huawei's own drivers + software,

    note if using Huawie drivers then it may not be seen by Network Manager

    can look here , note best chance for these devices is to use Latest Ubuntu

    [ubuntu] Huawei Mobile Broadband Devices (Ubuntu 12.04) : use at own risk

    alexfish
    Two tin cans are better than an iphone

    http://www.ehow.co.uk/how_2067160_ma...hone.html?cr=1

  7. #37
    Join Date
    Mar 2009
    Beans
    46

    Re: modem-manager not working

    Alexfish,

    Thanks for the information. I will look at the pointers that you gave me. I will look into it.

    Strangely enough, this modem was working very well in 11.10. Once I updated to 12.04, it stopped working. It is sad to know that things that used to work on an earlier have stopped working in the latest version.

    Xlearner

  8. #38
    Join Date
    Oct 2009
    Location
    A world without windows
    Beans
    Hidden!

    Re: modem-manager not working

    Quote Originally Posted by xlearner View Post
    Alexfish,

    Thanks for the information. I will look at the pointers that you gave me. I will look into it.

    Strangely enough, this modem was working very well in 11.10. Once I updated to 12.04, it stopped working. It is sad to know that things that used to work on an earlier have stopped working in the latest version.

    Xlearner
    Strange perhaps try re-installing usb_modeswitch

    also some times deleting the existing connection in NM ,then make new , also helps.

    have a look in the log file viewer , syslog , see what it shows

    regards

    alexfish
    Two tin cans are better than an iphone

    http://www.ehow.co.uk/how_2067160_ma...hone.html?cr=1

  9. #39
    Join Date
    Mar 2009
    Beans
    46

    Unhappy Re: modem-manager not working

    Alexfish,

    Actually I distinctly remember how I used to connect through Internet on 11.10. I was having classic gnome 2.0 on Ubuntu 11.10. I used to follow these steps: Firstly, I had to right click on the Network Connections manager. Then I used to enable the Mobile Broadband option.
    Only when I enabled to the Mobile Broadband option, I was able to see the option for connecting to Internet using the USB Modem.

    But the problem in 12.04 is that I don't see any option for enabling the Mobile Broadband option. I am able to 'Edit Connections' and create a network connection for the USB Modem. After creating the connection, it is just not appearing in the list of the networks available.

    So do you have any idea, how I can enable the Mobile Broadband option? Currently I am still running classic gnome 2.0 on Ubuntu 12.04.

    Thanks
    Xlearner
    Last edited by xlearner; July 6th, 2012 at 02:38 PM.

  10. #40
    Join Date
    Oct 2009
    Location
    A world without windows
    Beans
    Hidden!

    Re: modem-manager not working

    Quote Originally Posted by xlearner View Post
    Alexfish,

    Actually I distinctly remember how I used to connect through Internet on 11.10. I was having classic gnome 2.0 on Ubuntu 11.10. I used to follow these steps: Firstly, I had to right click on the Network Connections manager. Then I used to enable the Mobile Broadband option.
    Only when I enabled to the Mobile Broadband option, I was able to see the option for connecting to Internet using the USB Modem.

    But the problem in 12.04 is that I don't see any option for enabling the Mobile Broadband option. I am able to 'Edit Connections' and create a network connection for the USB Modem. After creating the connection, it is just not appearing in the list of the networks available.

    So do you have any idea, how I can enable the Mobile Broadband option? Currently I am still running classic gnome 2.0 on Ubuntu 12.04.

    Thanks
    Xlearner
    Hi

    First, is to get the device recognized as a modem,

    so need to see any results from the syslog,

    open up the log file viewer , the plug the modem,

    post any info which shows the modem details,

    from this I may have an idea of what action can be taken,

    once the device has switched to modem mode then it is easy to get connect from the Terminal , say he I think.

    can also try this command from the terminal
    Code:
    tail -f /var/log/syslog
    then plug the modem

    regards

    alexfish
    Last edited by alexfish; July 6th, 2012 at 05:43 PM.
    Two tin cans are better than an iphone

    http://www.ehow.co.uk/how_2067160_ma...hone.html?cr=1

Page 4 of 7 FirstFirst ... 23456 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •