Page 2 of 8 FirstFirst 1234 ... LastLast
Results 11 to 20 of 80

Thread: How To : Mobile Broadband Connections [ Ubuntu 11.04 : 10.10 : 10.04 : 9.10]

  1. #11
    Join Date
    Jan 2010
    Beans
    14

    Re: How To : Mobile Broadband Connections [ Ubuntu 10.04 : 9.10 : 9.04 ]

    The Tips above were certainly useful...I have similar problem but Mine is a bit strange...I have a USB Mobile BB....But for mine...It is perfectly being detected in my Desktop loaded with Ubuntu 10.04...and my laptop which is loaded with 9.10....

    The problem is if I upgrade my laptop to 10.04...It is not detected...But being done fine in Desktop...

    Why is it so...

    Can anyone help me....

  2. #12
    Join Date
    May 2010
    Beans
    10

    Re: How To : Mobile Broadband Connections [ Ubuntu 10.04 : 9.10 : 9.04 ]

    Quote Originally Posted by rbpyogesh View Post
    The Tips above were certainly useful...I have similar problem but Mine is a bit strange...I have a USB Mobile BB....But for mine...It is perfectly being detected in my Desktop loaded with Ubuntu 10.04...and my laptop which is loaded with 9.10....

    The problem is if I upgrade my laptop to 10.04...It is not detected...But being done fine in Desktop...

    Why is it so...

    Can anyone help me....

    Reports indicate that the new linux kernel version that is part of Lucid 10.04 is not noticing certian 3 G modems. 9.10 had few issues due to using an older kernel version.

  3. #13
    Join Date
    Jan 2010
    Beans
    14

    Re: How To : Mobile Broadband Connections [ Ubuntu 10.04 : 9.10 : 9.04 ]

    It is not exactly that....Mine is being noticed at my desktop but not on my Laptop...

    How can it be...??

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

    Re: How To : Mobile Broadband Connections [ Ubuntu 10.04 : 9.10 : 9.04 ]

    Quote Originally Posted by rbpyogesh View Post
    The Tips above were certainly useful...I have similar problem but Mine is a bit strange...I have a USB Mobile BB....But for mine...It is perfectly being detected in my Desktop loaded with Ubuntu 10.04...and my laptop which is loaded with 9.10....

    The problem is if I upgrade my laptop to 10.04...It is not detected...But being done fine in Desktop...

    Why is it so...

    Can anyone help me....
    Hi

    Is this a generic problem with all USB devices or just the modem
    Two tin cans are better than an iphone

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

  5. #15
    Join Date
    Jan 2010
    Beans
    14

    Re: How To : Mobile Broadband Connections [ Ubuntu 10.04 : 9.10 : 9.04 ]

    Just that particular Modem....And That only on that Particular desktop...

    And If I attach my phone...I could connect it to the net Normally...

    I am thinking of downloading the Xfce version for now and try checking it...Because mY laptop Specs are actually very basic....

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

    Re: How To : Mobile Broadband Connections [ Ubuntu 10.04 : 9.10 : 9.04 ]

    Editing in progress: most of what was here; now moved to Post # 2: (Thur . Feb . 24 . 2011)

    How to flip USB Modems and modprobe manually
    + Adding the rules to etc /udev/rules.d And Testing the connection
    Note:
    [7 feb 2011] this post will be replaced by a one off script , : the script will encompass most of what listed
    need to copy and save parts : do so now:

    REMEMBER ALL THESE ARE EXAMPLES : SUBSTITUTE THE device ID's in the examples WITH the ID's of YOUR device : (as they say you have been warned)

    to see which modules are been used or loading at runtime use the "lsmod" command from the terminal

    Code:
    lsmod
    to check if device supported , find the name of driver to the device depends ,
    example of devices with option driver
    Code:
    modinfo option
    check with the ID's from the lsusb command
    Code:
    lsusb
    Search your system to ensure the "modem-modeswitch" is in the "/lib/udev" directory , you will need this for the last part of this post ,IE :to set the udev/rules.d

    if the serial drivers have not loaded or the device has not registered as a modem try the following
    Code:
    ls -al /dev/serial/by-id/usb*
    if it comes up with an error try
    Find the Mass Storage of the device
    Code:
    ls -al /dev/disk/by-id/usb*Mass_Storage*
    or
    Code:
    ls -al /dev/disk/by-id/usb*Storage*
    example reply
    /dev/disk/by-id/usb-HUAWEI_Mass_Storage-0:0 -> ../../sr2
    Eject the device
    Code:
    eject -s /sr2
    wait for the device to settle
    Code:
    lsusb
    example reply:
    Bus 001 Device 007: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
    Note some devices will show the same ID's as when not flipped : as the above listed device: With devices that show the same ID's always double check that the eject command has been sent , if this is not done the drivers may not load:Although the CD TRAY does makes a handy coffee cup Holder
    .................................................. ..........................
    For GSM :Check to see if the option drivers will load for the device:
    Also If you have a problematic devices and the below command "sudo modprobe option" works then make a start-up script for the dialler to include the command
    Code:
    sudo modprobe option
    .................................................. ..........................
    check your logfile viewer / messages . you may see something like
    usbcore: registered new interface driver usbserial
    USB Serial support registered for generic
    usbcore: registered new interface driver usbserial_generic
    usbserial: USB Serial Driver core
    USB Serial support registered for GSM modem (1-port)
    option 1-9:1.0: GSM modem (1-port) converter detected
    usb 1-9: GSM modem (1-port) converter now attached to ttyUSB0
    option 1-9:1.1: GSM modem (1-port) converter detected
    usb 1-9: GSM modem (1-port) converter now attached to ttyUSB1
    usbcore: registered new interface driver option
    option: v0.7.2:USB Driver for GSM modems
    .................................................. ..........................
    For CDMA :Check to see if the ACM drivers will load for the device:
    Code:
    sudo modprobe cdc-acm
    .................................................. ..........................
    For other drivers examine files
    lib/modules/kernel version/kernel/drivers/usb/serial
    lib/modules/kernel version/kernel/drivers/usb/class
    lib/modules/kernel version /kernel/drivers/net/usb
    .................................................. ..........................

    Question:
    Sometimes my device is recognized on the system , and sometimes not

    Answer :
    Sometime it occurs if the device was plugged in at boot and then later inserted after a boot: also notable if switching between windows and Linux
    Do The Above procedure . Remember to connect the device after boot

    Question:

    my device is recognized on the system but the Network Manager can't find it , or will not connect

    Answer:

    this can occur if the device was plugged in at boot , the result been the device has automatically booted in and connected through the pppd
    Kill the pppd daemon
    Code:
    Killall pppd


    Remember to connect the device after boot

    Modem-Modeswitch :
    setting the udev rules.d

    Please read: now obsolete, Modem-modeswitch for providing similar services only for a limited subset of devices Usb_ModeSwitch does.
    May be totally depreciated in Ubuntu 10.10.

    depreciated: rules now removed (as of above date)

    Can also suggest keep up date with latest news as regards HAL and UDEV , could be someday Hal nomore :
    Note: for those looking Toward HAL to find ,Device info, May find ALL info is listing, as to the device Capabilities, can try Sakis3g, to update HAL, look through the MENU options
    Sakis3g will still work in the absence of HAL ( says he , I think)

    use the lsusb command to find the device details


    ZTE devices:Example
    Code:
    sudo gedit /etc/udev/rules.d/zte_eject.rules
    add the following line(edit the SYSFS{idVendor}=="ID", SYSFS{idProduct}=="ID" according to device
    Code:
    SYSFS{idVendor}=="19d2", SYSFS{idProduct}=="0103", RUN+="/usr/bin/eject %k", OPTIONS+="last_rule"
    The first Error I made was to copy an example that did not end with ".rules" .

    Notes:

    use of the "ls -al /dev/serial/by-id/usb*" lists the orientation of the tty ports

    Incorrect switching: Example
    The ports have reversed ,although the log file messages shows them in sequence
    The results in the network manager etc will be unable to connect

    /dev/serial/by-id/usb-HUAWEI_Technology_HUAWEI_Mobile-if00-port0 -> ../../ttyUSB1
    /dev/serial/by-id/usb-HUAWEI_Technology_HUAWEI_Mobile-if01-port0 -> ../../ttyUSB0

    option 1-10:1.1: GSM modem (1-port) converter detected
    usb 1-10: GSM modem (1-port) converter now attached to ttyUSB0
    option 1-10:1.0: GSM modem (1-port) converter detected
    usb 1-10: GSM modem (1-port) converter now attached to ttyUSB1

    Correct switching:
    /dev/serial/by-id/usb-HUAWEI_Technology_HUAWEI_Mobile-if00-port0 -> ../../ttyUSB0
    /dev/serial/by-id/usb-HUAWEI_Technology_HUAWEI_Mobile-if01-port0 -> ../../ttyUSB1

    you can also monitor the device with the lsusb -t command [ note the changes]

    If the device is listing incorrectly and Still recognized (try to resolve the issue ) if a resolve can't be found and the Network Manager is failing to connect Fix: Use Alternate Method of dial up where you can choose the ttyport, you will have to test each port ( report bug to Network Manager RE modem manager , {can be checked be testing the CTS,DCD and DSR lines of the serial port} )
    ~~~~~~~~~~~~~~~~~~~~~
    Statserial:

    using statserial to check the status line of your modem

    Examples:
    Code:
    statserial /dev/ttyUSB1
    response
    Device: /dev/ttyUSB1
    Signal Pin Pin Direction Status Full
    Name (25) (9) (computer) Name
    ----- --- --- --------- ------ -----
    FG 1 - - - Frame Ground
    TxD 2 3 out - Transmit Data
    RxD 3 2 in - Receive Data
    RTS 4 7 out 1 Request To Send
    CTS 5 8 in 0 Clear To Send
    DSR 6 6 in 0 Data Set Ready
    GND 7 5 - - Signal Ground
    DCD 8 1 in 0 Data Carrier Detect
    DTR 20 4 out 1 Data Terminal Ready
    RI 22 9 in 0 Ring Indicator
    Code:
    statserial /dev/ttyUSB2
    response : Note this out put Indicates it could be the modem
    Device: /dev/ttyUSB2
    Signal Pin Pin Direction Status Full
    Name (25) (9) (computer) Name
    ----- --- --- --------- ------ -----
    FG 1 - - - Frame Ground
    TxD 2 3 out - Transmit Data
    RxD 3 2 in - Receive Data
    RTS 4 7 out 1 Request To Send
    CTS 5 8 in 1 Clear To Send
    DSR 6 6 in 1 Data Set Ready
    GND 7 5 - - Signal Ground
    DCD 8 1 in 1 Data Carrier Detect
    DTR 20 4 out 1 Data Terminal Ready
    RI 22 9 in 0 Ring Indicator
    Test the modem : Even if the statserial does not show output as above/ testing each ttyport : Can only assume modem has been Pre-Probed and left in a state where these lines have been suspended

    :::: rest removed
    Last edited by alexfish; February 24th, 2011 at 03:12 PM. Reason: ZTE RULES
    Two tin cans are better than an iphone

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

  7. #17
    Join Date
    Sep 2009
    Location
    chennai . India
    Beans
    28
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How To : Mobile Broadband Connections [ Ubuntu 10.04 : 9.10 : 9.04 ]

    Hi i have a usb Micromax mmx3000G usb 3 G modem. In win xp--

    As mass storage its id is Vid_05c6&Pid_f000

    and as mode its id is Vid_05c6&Pid_9000

    in ubuntu netbook remix 10.4 when i insert and immediately give the command lsusb

    its id is shown as 05c6 x f000 and on subsequent lsusb its id has changed to 05c6 x 9000. So i consider the switching of mode is done.

    Now when i run wvdialconf wvdial.conf in /usr/bin it is not finding the modem. at the end it says like 'have you used setserial ........'

    dmesg -- does not show any modem device. it is shown as storage device.

    How to go about it.

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

    Re: How To : Mobile Broadband Connections [ Ubuntu 10.04 : 9.10 : 9.04 ]

    Hi im.saravanan

    I think you are correct about the device having been switched

    what is the result of this code from the terminal
    Code:
    ls -al /dev/serial/by-id/*
    Last edited by alexfish; February 5th, 2011 at 01:22 PM.
    Two tin cans are better than an iphone

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

  9. #19
    Join Date
    Jun 2009
    Beans
    20

    Re: How To : Mobile Broadband Connections [ Ubuntu 10.04 : 9.10 : 9.04 ]

    I am hoping that GeorgeVita will pick up on this cry for help, but failing that, any kind soul will do!

    My netbook is running 10.4 and I have updated it through update manager. I have bought an o2 dongle (MF100) on payandgo. It is ZTE device. I went into Network Manager and entered the details and I now get o2 payandgo as an option under the network manager. I read some of GeorgeVita's earlier posts and noted that I should not enter the keyring password when asked, and cancelling this request brings up a request for the ZTE password. I enter payandgo (which was entered by Ubuntu when I created the link). It tries to connect, but does not.

    Also, when Ubuntu created the o2 link, it put *99# as the phone number. I have tried with this, and also inserted the actual number that came with the dongle.

    Is there any hope for me? Not sure I can cope with difficult stuff like wvdial (which I saw on another post).

    Thanks in anticpation,

    Jim Whitston

  10. #20
    Join Date
    Aug 2008
    Location
    Athens Greece
    Beans
    971
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How To : Mobile Broadband Connections [ Ubuntu 10.04 : 9.10 : 9.04 ]

    Hi Whitston,
    as we do not have the same modem it is difficult to find a 100% solution. From your description as you had tried those stated in this thread by alexfish, just try to remove the modem, wait some seconds attach it again and retry to connect.

    If the problem still exists, try to set the mobile broadband connection again (remove modem, delete all existing mobile broadband connections, reboot, wait for the sysytem to fully load, attach modem, setup again your connection.

    If again you have the problem I propose to open a new thread to Networking & Wireless forum stating your modem type on title, just in case another user of the same modem will see it.

    Good Luck!

    Regards,
    George
    Last edited by GeorgeVita; July 3rd, 2010 at 02:34 PM.

Page 2 of 8 FirstFirst 1234 ... LastLast

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
  •