LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   problem with configuring my usb edge modem (wvdialconf can not detect modem):fedora 9 (http://www.linuxquestions.org/questions/linux-hardware-18/problem-with-configuring-my-usb-edge-modem-wvdialconf-can-not-detect-modem-fedora-9-a-668003/)

Asif Akter 09-06-2008 01:47 PM

problem with configuring my usb edge modem (wvdialconf can not detect modem):fedora 9
 
I have a USB EDGE modem having following description on its bottom. (i am a newbie:( )

1.Qua-Band EGSM850, EGSM900, GSM1800 and GSM1900
2.EDGE multi-slot class 12
3.Control via AT-Command(GSM 07.07, 07.05 and enhanced AT Commands)
4.Interface: PCMCIA
5.SIM application toolkit



I am using fedora 9, but i can not configure my internet connection by typing command "wvdialconf" or "wvdial" in terminal.

It can not detect my modem and so i can't connect to internet. I am using this modem in windows xp and it works well.

my apn is: gpinternet [isp:Grameen Phone (Bangladesh)]
dial no: *99***1#



**I have a 3g cell phone(Nokia n73). By using this cell phone i can not connect to internet in fedora 9 too. (i am trying to be connected by edge modem and by using n73 but i was failed)



Can anybody help me to resolve this problem.

Thanx in advance.

piyusharora420 01-10-2011 06:06 AM

http://ubuntuforums.org/showthread.php?t=378968

Re: Nokia PC Suite for Linux?
I did it on a nokia n80, n73, 6230(somethinsimilar..is a folder java phone), 7610, 6630 & 6680....

This is how to do it...

Connect your phone via datacable
open terminal & type

lsusb

now u will get the following output

owais@owais-desktop:~$ lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 0421:0445 Nokia Mobile Phones
Bus 001 Device 002: ID 046d:092f Logitech, Inc.
Bus 001 Device 001: ID 0000:0000
owais@owais-desktop:~$


it is on my compter,ur will not be exactly the same...

Now note the line in which NOkia Mobile Phones is written...it has two number one is 0421 & other is 0445...we'll take these numbers as 0x421 & 0x445

0421 is the Vendor ID & 0445 is the Product ID

Now enter this comand.

sudo /sbin/modprobe usbserial vendor=0x(vid) product=0x(pid)

eg, in my case::: sudo /sbin/modprobe usbserial vendor=0Χ421 product=0Χ445

Now enter this command

wvdialconf create
u'll get a long output which will be like

Scanning your serial ports for a modem.
Port Scan: S0 S1 S2 S3
WvModem: Cannot get information for serial port.
ttyACM0: ATQ0 V1 E1 — OK
ttyACM0: ATQ0 V1 E1 Z — OK
ttyACM0: ATQ0 V1 E1 S0=0 — OK
ttyACM0: ATQ0 V1 E1 S0=0 &C1 — OK
ttyACM0: ATQ0 V1 E1 S0=0 &C1 &D2 — OK
ttyACM0: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
ttyACM0: Modem Identifier: ATI — Nokia
ttyACM0: Speed 4800: AT — OK
ttyACM0: Speed 9600: AT — OK
ttyACM0: Speed 19200: AT — OK
ttyACM0: Speed 38400: AT — OK
ttyACM0: Speed 57600: AT — OK
ttyACM0: Speed 115200: AT — OK
ttyACM0: Speed 230400: AT — OK
ttyACM0: Speed 460800: AT — OK
ttyACM0: Max speed is 460800; that should be safe.
ttyACM0: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
Found an USB modem on /dev/ttyACM0.
Modem configuration written to create.
ttyACM0: Speed 460800; init “ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0″

NOw.. notice the output says that there is a modem at /dev/ttyACM0 & max speed is 460800

now enter this command

sudo gedit /etc/wvdial.conf

A file will open in text editor...now delete everything in that file & paste the following there

[Dialer Defaults]
Modem = Your Modem Name(eg, /dev/ttyACM0 in my case)
Baud = ur max speed(460800 in my case)
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Phone = *99#
Username = username
Password = password
Stupid Mode = 1

save the file & you are done


NOw whenevr u need to connect...open terminal & type wvdial,,wait till some sort of IP adress is displayed like

pppd: �[06][06][08]` [06][08]
primary DNS address 218.248.240.135
pppd: �[06][06][08]` [06][08]
secondary DNS address 218.248.240.79
pppd: �[06][06][08]` [06][08]

Now you are connected....hit cntrl+c to dissconnect...



U can also create a laucher on desktop(application in terminal) & keep the command as wvdial..now double click it & u r connected


All times are GMT -5. The time now is 01:04 AM.