LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-11-2008, 02:22 PM   #16
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50

Quote:
Dial Command = ATDP
FlowControl = NOFLOW
'ATDP' is 'pulse dialling'; as far as I know this is not supported by cell phones. You should be using 'ATDT' (tone dialling).

The 'flow control' should be set to hardware handshake.

You may also need to set the username and password - any string will do since they are not actually checked.
 
Old 11-11-2008, 11:46 PM   #17
swift2008
Member
 
Registered: Jul 2008
Posts: 78

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by pinniped View Post
'ATDP' is 'pulse dialling'; as far as I know this is not supported by cell phones. You should be using 'ATDT' (tone dialling).

The 'flow control' should be set to hardware handshake.

You may also need to set the username and password - any string will do since they are not actually checked.
Hi
i given like this in wvdial.conf

Quote:
; Phone = <Target Phone Number>
; Password = web
; Username = web
[Modem0]
Modem = /dev/ttyUSB0
Baud = 19200
SetVolume = 0
Dial Command = ATDT
Init1 = ATZ
Init3 = ATM0
FlowControl = CRTSCTS
[Dialer Vodafone]
Username = web
Password = web
Phone = *99***1#
Stupid Mode = 1
Init1 = ATZ
Inherits = Modem0
when i am dialing trough terminal using "wvdial vodafone" , terminal mesages showing like this
Quote:
# wvdial vodafone
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.
[root@localhost ~]# wvdial vodafone
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATM0
ATM0
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
~[7f]}#@!}!}#} }9}"}&} }*} } }'}"}(}"}%}&%m}:?}#}%B#}%D[17]~
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Wed Nov 12 11:18:22 2008
--> Pid of pppd: 14772
--> Using interface ppp0
--> pppd: ��[16]
--> pppd: ��[16]
--> pppd: ��[16]
--> pppd: ��[16]
--> pppd: ��[16]
--> pppd: ��[16]
--> pppd: ��[16]
--> Disconnecting at Wed Nov 12 11:18:29 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: ATM0
ATM0
OK
--> Modem initialized.
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATM0
ATM0
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
~[7f]}#@!}!}#} }9}"}&} }*} } }'}"}(}"}%}&y[1e]Z[0f]}#}%B#}%#}"~
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Wed Nov 12 11:18:38 2008
--> Pid of pppd: 14788
--> Using interface ppp0
--> pppd: ��[16]
--> pppd: ��[16]
--> pppd: ��[16]
--> pppd: ��[16]
--> pppd: ��[16]
--> pppd: ��[16]
--> pppd: ��[16]
--> Disconnecting at Wed Nov 12 11:18:44 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: ATM0
ATM0
OK
--> Modem initialized.
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATM0
ATM0
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
^CCaught signal 2: Attempting to exit gracefully...
CONNECT
~[7f]}#@!}!}#} }9}"}&} }*} } }'}"}(}"}%}&X<(O}#}%B#}%C'~
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Wed Nov 12 11:18:58 2008
--> Pid of pppd: 14809
please make me correct..

any help it should be appreciable
 
Old 11-11-2008, 11:53 PM   #18
swift2008
Member
 
Registered: Jul 2008
Posts: 78

Original Poster
Rep: Reputation: 15
also
i used this command too
Quote:
# ls -l /dev/ttyU*
crw-rw---- 1 swift uucp 188, 0 2008-11-12 11:20 /dev/ttyUSB0
 
Old 11-12-2008, 03:06 AM   #19
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
The 'hangup' suggests that there may have been a long wait during the negotiations and pppd decided to give up. You need to look at the pppd messages in /var/log/messages:

grep ppp /var/log/messages | less

The messages may give you a better idea what went wrong. If all it says is "hung up" then you need to set a longer timeout for the pppd negotiation. You *should* be able to do that via wvdial. Also use minicom to check the signal quality (AT+CSQ); sometimes if the signal quality is poor the modem will connect and disconnect frequently.
 
Old 11-12-2008, 03:25 AM   #20
swift2008
Member
 
Registered: Jul 2008
Posts: 78

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by pinniped View Post
The 'hangup' suggests that there may have been a long wait during the negotiations and pppd decided to give up. You need to look at the pppd messages in /var/log/messages:

grep ppp /var/log/messages | less

The messages may give you a better idea what went wrong. If all it says is "hung up" then you need to set a longer timeout for the pppd negotiation. You *should* be able to do that via wvdial. Also use minicom to check the signal quality (AT+CSQ); sometimes if the signal quality is poor the modem will connect and disconnect frequently.
still having same problem..
i am using fedora 9 machine..
i don not understand what i have to do

any help it should be appreciable
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Restricted Nvidia drivers not listed in Hardware Drivers (8.04 Hardy Heron, liveCD) shroomy_bee Ubuntu 4 07-06-2008 10:16 AM
Hardware Drivers not detecting hardware correctly in Hardy adanedhel728 Ubuntu 2 04-26-2008 03:22 AM
Drivers for hardware vande012 Linux - Newbie 3 01-31-2008 08:11 AM
Hardware drivers VidsGuy Linux - General 2 12-21-2002 11:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration