You are not logged in.

#1 2010-07-15 18:40:31

10098
Member
Registered: 2010-05-11
Posts: 40
Website

[solved] Using a phone as a 3G modem

Hi!

I have a Nokia 5800 XpressMusic and I'm trying to use it as a 3g modem with my laptop.
I went to the appropriate wiki page, installed usb_modeswitch and wvdial packages. When I plug in the phone via a USB cable, the lsusb command shows the following output:

Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 0a5c:6300 Broadcom Corp. Pirelli Remote NDIS Device
Bus 006 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 004 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 002 Device 012: ID 0421:0156 Nokia Mobile Phones 5800 XpressMusic (Storage mode)
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0ac8:c326 Z-Star Microelectronics Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

When I try to run wvdialconf as root I get:

Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0   S1   S2   S3   


Sorry, no modem was detected!  Is it in use by another program?
Did you configure it properly with setserial?

Please read the FAQ at http://alumnit.ca/wiki/?WvDial

When I try running usb_modeswitch manually I get this:

[javadyan@optimus-prime ~]$ sudo usb_modeswitch -v 0421 -p 0156 -H

Looking for default devices ...
 Found devices in default mode or class (1)
Accessing device 012 on bus 002 ...
Using endpoints 0x01 (out) and 0x81 (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: Nokia   
   Model String: S60             
Revision String: 1.0 
-------------------------

USB description data (for identification)
-------------------------
Manufacturer: Nokia
     Product: Nokia 5800 XpressMusic
  Serial No.: 356910034991828
-------------------------
Sending Huawei control message ...
 OK, Huawei control message sent
-> Run lsusb to note any changes. Bye.

But with no apparent result. I also tried passing -S, -O and -G options to usb_modeswitch but none of these worked.
I think there has to be some kind of workaround because I managed to get 3g working earlier on linux mint with the same laptop and phone.

Can anyone help me with this?

Last edited by 10098 (2010-07-15 19:10:03)


:x

Offline

#2 2010-07-15 18:54:41

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,797

Re: [solved] Using a phone as a 3G modem

Two things.  You might look at the /dev directory to see what device node was assigned.  It is probably /dev/ttyUSB0, or something to that effect.  Make sure wvdial looks at that device.

Second:  Are you with Verison?  If so, you might just be chasing a rabbit down a hole.  They like to cripple features like this.

Edit:  More specifically, Verison likes to turn things like this off, even though the once worked.

Last edited by ewaller (2010-07-15 18:56:17)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2010-07-15 19:08:55

10098
Member
Registered: 2010-05-11
Posts: 40
Website

Re: [solved] Using a phone as a 3G modem

Ok, never mind. I switched the phone to PC suite mode while connecting, and looked at the last few lines in /var/log/messages.log. Surprisingly, the modem showed up in /dev/ttyACM0:

usb 2-3: USB disconnect, address 7
usb 2-3: new high speed USB device using ehci_hcd and address 8
usb 2-3: USB disconnect, address 8
usb 2-3: new high speed USB device using ehci_hcd and address 9
cdc_acm 2-3:1.1: ttyACM0: USB ACM device

Then I ran wvdialconf, edited the config manually to enter my mobile service provider specific settings, fired up wvdial, and voila, I have access to mobile internet. Thanks for the help anyway. Cheers! smile


:x

Offline

Board footer

Powered by FluxBB