Saturday, June 21, 2008

Using nokia n95 as modem for linux (ubuntu 8.04)

Today i had problems with my internet connection again
so i decided to give a try for using Nokia N95 as a modem for my ubuntu laptop
i had write about it before and i failed Read here
Today i succeeded and this is what i did

1- connect the Nokia to the laptop using usb cable
2- select pcsuite when asked in nokia
3- open terminal and do the following
lsusb
you got something similar to this
Bus 005 Device 002: ID 0c45:62c0 Microdia
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 0421:04f0 Nokia Mobile Phones
Bus 001 Device 001: ID 0000:0000

5- sudo modprobe cdc_acm
6- sudo /sbin/modprobe usbserial vendor=0x0421 product=0x04f0
7- sudo vi /etc/wvdial.conf
delete everything in it and add the following (this is what worked for me)

[Dialer Defaults]
Modem = /dev/ttyACM0
Baud = 460800
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

8- wvdialconf create
you get something similar to this

Editing `create'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0 S1 S2 S3
WvModem<*1>: Cannot get information for serial port.
ttyACM0<*1>: ATQ0 V1 E1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 Z -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyACM0<*1>: Modem Identifier: ATI -- Nokia
ttyACM0<*1>: Speed 4800: AT -- OK
ttyACM0<*1>: Speed 9600: AT -- OK
ttyACM0<*1>: Speed 19200: AT -- OK
ttyACM0<*1>: Speed 38400: AT -- OK
ttyACM0<*1>: Speed 57600: AT -- OK
ttyACM0<*1>: Speed 115200: AT -- OK
ttyACM0<*1>: Speed 230400: AT -- OK
ttyACM0<*1>: Speed 460800: AT -- OK
ttyACM0<*1>: Max speed is 460800; that should be safe.
ttyACM0<*1>: 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"

9- wvdial
you got

--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Sat Jun 21 13:31:29 2008
--> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
--> --> PAP (Password Authentication Protocol) may be flaky.
--> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
--> --> CHAP (Challenge Handshake) may be flaky.
--> Pid of pppd: 4551
--> Using interface ppp0
--> pppd: h�[06][08] �[06][08]
--> pppd: h�[06][08] �[06][08]
--> pppd: h�[06][08] �[06][08]
--> pppd: h�[06][08] �[06][08]
--> pppd: h�[06][08] �[06][08]
--> local IP address 10.70.15.96
--> pppd: h�[06][08] �[06][08]
--> remote IP address 10.6.6.6
--> pppd: h�[06][08] �[06][08]
--> primary DNS address 212.103.160.26
--> pppd: h�[06][08] �[06][08]
--> secondary DNS address 4.2.2.2
--> pppd: h�[06][08] �[06][08]
Caught signal 2: Attempting to exit gracefully...
--> Terminating on signal 15
--> pppd: h�[06][08] �[06][08]
--> Connect time 0.4 minutes.
--> pppd: h�[06][08] �[06][08]
--> pppd: h�[06][08] �[06][08]
--> pppd: h�[06][08] �[06][08]

to stop click CTRL+C

no enjoy the internet with the speed of your mobile data connection

this is how it's for my mobile (using etisalat egypt 3.75G)

33 comments:

Anonymous said...

yensor denak
ana jarabt el tare2a we kolo tamam ya basha :D

waelaase said...

thank you
and i hope it helped

Unknown said...

I have tried some other setups and none of them worked. Yours does, so thanks for an accurate and easy to follow description. You have saved me a lot of time.

waelaase said...

thanx i'm glad it helps

Anonymous said...

Hi.
When I try your setup, it will not dial up, but when I change this line in wvdial.conf

Phone = *99***1#*

Because it is the number for my isp. it does dial up, but I get this fault:

ATDT*99***1#*
NO CARRIER
--> No Carrier! Trying again.
--> Sending: ATDT*99***1#*
--> Waiting for carrier.

Does it say you anything??

Best regards Loejf

waelaase said...

Hi
the ATDT command dial the number that the operator need to activate the service
so i got my data by running the modem under windows it installed a software that has this number in the configuration
so if the one i gave not working for you
try to run yours in windows machine and get the configuration from it
hope hear it works for you soon

Anonymous said...

When you are connected, can you answer or use the fone?

waelaase said...

i use Etisalat network in Egypt

Anonymous said...

hi
i tried it, it little bit worked for that thankz as i m new user in linux field i face some deficulties and in this my phone is nokia N73 i tried as you say but after this command i face this problem in my Fedora 7
#wvdail
--> WvDial: Internet dialer version 1.54.0
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Mon Sep 22 00:11:44 2008
--> pid of pppd: 3868
--> Using interface ppp0
--> Disconnecting at Mon Sep 22 00:11:53 2008
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> Auto Reconnect will be attempted in 5 seconds
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Mon Sep 22 00:11:59 2008
--> pid of pppd: 3888
--> Using interface ppp0
--> Disconnecting at Mon Sep 22 00:12:26 2008
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> Auto Reconnect will be attempted in 10 seconds
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Mon Sep 22 00:12:37 2008
--> pid of pppd: 3910
--> Using interface ppp0
--> Disconnecting at Mon Sep 22 00:13:05 2008
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> Auto Reconnect will be attempted in 20 seconds
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Mon Sep 22 00:13:26 2008
--> pid of pppd: 3930
--> Using interface ppp0
--> Disconnecting at Mon Sep 22 00:14:00 2008
--> The PPP daemon has died: PPP negotiation failed (exit code = 10)
--> man pppd explains pppd error codes in more detail.
--> I guess that's it for now, exiting
--> The PPP daemon has died. (exit code = 10)

plz if you can help me i really thankz you from my heart plz
@@@@papseddy@@@@

waelaase said...

Hello
Could you please show the /var/log/messages
and what network you are using

Anonymous said...

Hi guys...
I got mine working with my Nokia E66 now.Unluckily,not with the "wvdial"..I tried "wvdial" many times but not succeeded.Perhaps my phone is not supported...I Dont know.I am not sure because I am a newbie in Linux/Ubuntu.But I should thank Waelaase for his technique.I've actuallly followed his first 6 steps. Then I tried something called "chatscripts" afterwards for The Internet Connection.and It works!!!

Here it goes...from waelaase.

1- connect the Nokia to the laptop using usb cable
2- select pcsuite when asked in nokia
3- open terminal and do the following
lsusb
you got something similar to this
Bus 005 Device 002: ID 0c45:62c0 Microdia
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 0421:00b0 Nokia Mobile Phones
Bus 001 Device 001: ID 0000:0000

5- sudo modprobe cdc_acm
6- sudo /sbin/modprobe usbserial vendor=0x0421 product=0x00b0

Then we need to setup PPP (Point to Point Protocol).
Code:

7-
$ sudo gedit /etc/ppp/peers/E66Dialup

Note:You can change "E66Dialup",I just named it.You can create any file name as you want.But keep it in mind because you need it for chatscripts.

Don't be suprised if you see blank document after hitting ENTER key,its normal,we're actually creating a file now rather than editing.
Copy/Paste this...then save,close

# E66Dialup PPP initialisation/termination script
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/E66Dialup-connect"
disconnect "/usr/sbin/chat -v -f /etc/chatscripts/E66Dialup-disconnect"
silent
debug
/dev/ttyACM0
115200
defaultroute
usepeerdns

#Note:In my case my phone was recognized through ttyACM0,yours maybe different.

8.Create the Connect chatscript now.

$ sudo gedit /etc/chatscripts/E66Dialup-connect

Copy/paste...then Save,close

# E66Dialup PPP CONNECT script
TIMEOUT 5
ECHO ON
ABORT '\nBUSY\r'
ABORT '\nERROR\r'
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
ABORT '\nRINGING\r\n\r\nRINGING\r'
'' \rAT
TIMEOUT 12

OK ATE1
OK 'AT+cgdcont=1,"IP","type your access point here"'
OK ATD*99#


9.Create the disconnect chatscript now.

$ sudo gedit /etc/chatscripts/E66Dialup-disconnect

Copy/Save this...then save


# E66Dialup PPP DISCONNECT script
ABORT "BUSY"
ABORT "ERROR"
ABORT "NO DIALTONE"
SAY "\nSending break to the modem\n"
"" "\K"
"" "\K"
"" "\K"
"" "+++ATH"
"" "+++ATH"
"" "+++ATH"
SAY "\nPDP context detached\n"



10.Finally,type this in the terminal to Connect.

$ pon E66Dialup

then check your connection manager(nokia) if your connected.

Remember,E66Dialup is the one i created.You can change it by your own.

11.To Disconnect

$ poff E66Dialup


Hopefully this would work with you guys.I Really tried it and I got Connected easily.Gudluck.

waelaase said...

Hello
I'm Happy that you find a way to make it work for you
and thank you for giving another way so whom ever could not make it work can try this way
thank you

Anonymous said...

oh thank you mr. waelaase,
your guide is really good!)))

it helped me to establish i-net connection with nokia e60 on ubuntu 8.04

olp from russia

waelaase said...

Hello
thank you and I'm happy it helps you

Anonymous said...

Great! It works fine! Thanks a lot!

Anonymous said...

Not sure if it's cos I'm using Ubuntu Ultimate edition (2.0) or not. But I just plugged my Nokia N85 into USB, did NOT select Pc Suite or Mass storage, waited for a few seconds and hey presto 'Found Mobile Broadband Modem, do you wish to configure?' be quick, cos the windows only there for a few seconds (I'm sure it could be found elsewhere). Internet now working!!
Once again many thanks to THEEMAHN for Ubuntu Ultimate, cos it is.

waelaase said...

Thank you for the hint
i know that starting from Ubuntu 8.10 it can find the USB modem, i guess I'll try to connect my N95 and see if it will be recognized

Anonymous said...

With reference to my previous post (2 above). Further use has proved I DO have to select PC suite after connecting phone. I'm sure I didn't the first time but then maybe I did (my life is always rather vague!!)
Waelaase, did your N95 straight away?

Anonymous said...

Yep this work but you have to run wvdial as root. Also disconnect your other network before connecting via your phone.

waelaase said...

Hello
thank you, I'm happy it's worked
and if you are using ubuntu 9
it detects it and you dont have to do these steps

Jugal said...

Hi, Thanks for the steps on configuration. Was able to configure my ubuntu 9.10 for my new Nokia E63. I created the chatscripts as mentioned by Seperstick.. Thanks guys..

Unknown said...

hello guys i am using Nokia N82 as modem under fedora 9. but i am getting max 460kbps,which is supposed to be 3.6Mbps, i am not getting no where near to it. anybody knows wht settings to be done have guys checked your speed.

vikasreddy said...

Thanks buddy...
It worked like a charm on my Nokia 5230.

Filipe said...

Thanks, worked like a charm! By the way, to make this work in N95 8GB, just change que modprobe line to

/sbin/modprobe usbserial vendor=0x0421 product=0x0070

:D

Anonymous said...

I'm awfully sorry for an offtopic message, but does anybody can tell me how to exchange my currently installed Ubuntu with the Ubuntu Studio?

Shortly, I want to delete one system and install another(Ub.St. 10.04) , that is already burned to a cd...

waelaase said...

Hello Filipe
i'm happy it worked
and thank you for your advice for N958gb

waelaase said...

Hello oleg,
start the new installation from the CD
and when asked about the partition select manual and select the old ubuntu partitioned and select format and select the mount point

Unknown said...

Dear Waelaase,
I have followed your advise exactly as mentioned below:
1- connect the Nokia to the laptop using usb cable
2- select pcsuite when asked in nokia
3- open terminal and do the following

[root@localhost ~]# lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 007: ID 0421:0208 Nokia Mobile Phones
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
[root@localhost ~]# sudo modprobe cdc_acm
[root@localhost ~]# sudo /sbin/modprobe usbserial vendor=0x0421 product=0x0208

[root@localhost ~]# sudo vi /etc/wvdial.conf
_______________________________________________________________________
E325: ATTENTION
Found a swap file by the name "/etc/.wvdial.conf.swp"
owned by: root dated: Thu Sep 2 14:06:13 2010
file name: /etc/wvdial.conf
modified: YES
user name: root host name: localhost.localdomain
process ID: 6866
While opening file "/etc/wvdial.conf"
dated: Tue Sep 21 20:39:23 2004

(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.

(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r /etc/wvdial.conf"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file "/etc/.wvdial.conf.swp"
to avoid this message.
"/etc/wvdial.conf" 0L, 0C
Hit ENTER or type command to continue
_______________________________________________________________________
so,
Dear Waelaase do u want me to delete the above content. Infact I deleted the content from this particular screen and pasted the below mentioned content exactly
_________________________________________________________
[Dialer Defaults]
Modem = /dev/ttyACM0
Baud = 460800
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
_________________________________________________________________
but nothing happened and as per your advise i have to give command
wvdialconf create .Do i have to make any change in the just above screen where
[Dialer Defaults] is written.

But please note that [root@localhost ~]# is not appearing in the terminal screen
because we always have to give command after [root@localhost ~]# for example
[root@localhost ~]# wvdialconf create
so where to give this command. Do I have to open new terminal and close the previous terminal.
Please Help Man ......Thanks a lot for your help in advance.

Anonymous said...

Dear Waelaase,
I have followed your advise exactly as mentioned below:
1- connect the Nokia to the laptop using usb cable
2- select pcsuite when asked in nokia
3- open terminal and do the following

[root@localhost ~]# lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 007: ID 0421:0208 Nokia Mobile Phones
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
[root@localhost ~]# sudo modprobe cdc_acm
[root@localhost ~]# sudo /sbin/modprobe usbserial vendor=0x0421 product=0x0208

[root@localhost ~]# sudo vi /etc/wvdial.conf
_______________________________________________________________________
E325: ATTENTION
Found a swap file by the name "/etc/.wvdial.conf.swp"
owned by: root dated: Thu Sep 2 14:06:13 2010
file name: /etc/wvdial.conf
modified: YES
user name: root host name: localhost.localdomain
process ID: 6866
While opening file "/etc/wvdial.conf"
dated: Tue Sep 21 20:39:23 2004

(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.

(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r /etc/wvdial.conf"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file "/etc/.wvdial.conf.swp"
to avoid this message.
"/etc/wvdial.conf" 0L, 0C
Hit ENTER or type command to continue
_______________________________________________________________________
so,
Dear Waelaase do u want me to delete the above content. Infact I deleted the content from this particular screen and pasted the below mentioned content exactly
_________________________________________________________
[Dialer Defaults]
Modem = /dev/ttyACM0
Baud = 460800
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
_________________________________________________________________
but nothing happened and as per your advise i have to give command
wvdialconf create .Do i have to make any change in the just above screen where
[Dialer Defaults] is written.

But please note that [root@localhost ~]# is not appearing in the terminal screen
because we always have to give command after [root@localhost ~]# for example
[root@localhost ~]# wvdialconf create
so where to give this command. Do I have to open new terminal and close the previous terminal.
Please Help Man ......Thanks a lot for your help in advance.

Anonymous said...

Dear Waelaase,
I have followed your advise exactly as mentioned below:
1- connect the Nokia to the laptop using usb cable
2- select pcsuite when asked in nokia
3- open terminal and do the following

[root@localhost ~]# lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 007: ID 0421:0208 Nokia Mobile Phones
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
[root@localhost ~]# sudo modprobe cdc_acm
[root@localhost ~]# sudo /sbin/modprobe usbserial vendor=0x0421 product=0x0208

[root@localhost ~]# sudo vi /etc/wvdial.conf
_______________________________________________________________________
E325: ATTENTION
Found a swap file by the name "/etc/.wvdial.conf.swp"
owned by: root dated: Thu Sep 2 14:06:13 2010
file name: /etc/wvdial.conf
modified: YES
user name: root host name: localhost.localdomain
process ID: 6866
While opening file "/etc/wvdial.conf"
dated: Tue Sep 21 20:39:23 2004

(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.

(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r /etc/wvdial.conf"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file "/etc/.wvdial.conf.swp"
to avoid this message.
"/etc/wvdial.conf" 0L, 0C
Hit ENTER or type command to continue
_______________________________________________________________________
so,
Dear Waelaase do u want me to delete the above content. Infact I deleted the content from this particular screen and pasted the below mentioned content exactly
_________________________________________________________
[Dialer Defaults]
Modem = /dev/ttyACM0
Baud = 460800
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
_________________________________________________________________
but nothing happened and as per your advise i have to give command
wvdialconf create .Do i have to make any change in the just above screen where
[Dialer Defaults] is written.

But please note that [root@localhost ~]# is not appearing in the terminal screen
because we always have to give command after [root@localhost ~]# for example
[root@localhost ~]# wvdialconf create
so where to give this command. Do I have to open new terminal and close the previous terminal.
Please Help Man ......Thanks a lot for your help in advance.

Anonymous said...

Dear Superstick.

I have followed your advise exactly as mentioned below:
1- connect the Nokia to the laptop using usb cable
2- select pcsuite when asked in nokia
3- open terminal and do the following

[root@localhost ~]# lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 007: ID 0421:0208 Nokia Mobile Phones
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
[root@localhost ~]# sudo modprobe cdc_acm
[root@localhost ~]# sudo /sbin/modprobe usbserial vendor=0x0421 product=0x0208


but as soon as i m done with above step and press ENTER , a pop up screen appears with following content (it is not blank as suggested by u) exactly same as what u have mentioned
___________________________________________________________
# E66Dialup PPP initialisation/termination script
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/E66Dialup-connect"
disconnect "/usr/sbin/chat -v -f /etc/chatscripts/E66Dialup-disconnect"
silent
debug
/dev/ttyACM0
115200
defaultroute
usepeerdns

now i save and close this and move ahead.
then I give the command
[root@localhost ~]# sudo gedit /etc/chatscripts/E66Dialup-connect

and one empty screen appears where I copy paste the below content
____________________________________________________
# E66Dialup PPP CONNECT script
TIMEOUT 5
ECHO ON
ABORT '\nBUSY\r'
ABORT '\nERROR\r'
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
ABORT '\nRINGING\r\n\r\nRINGING\r'
'' \rAT
TIMEOUT 12

OK ATE1
OK 'AT+cgdcont=1,"IP","type your access point here"'
OK ATD*99#

but when i try to save it,it says u cannot save the file
“/etc/chatscripts/E66Dialup-connect”
the same happens with
“ /etc/chatscripts/E66Dialup-disconnect”

So,Please help me out Man, I don't know what to do in this situation and after this.
Thanks a lot for your help in advance.

Graham Allott said...

Thankyou for this! It works exactly as you've described using an N97 Mini on Gentoo - only thing I have to do is copy /etc/ppp/resolv.conf to /etc/resolv.conf, which I'm sure a small tweak to the ppp settings will solve.

waelaase said...

Hello Graham,
I'm glad it works for you