LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Dial-up connection problem,dialing but not connecting (https://www.linuxquestions.org/questions/debian-26/dial-up-connection-problem-dialing-but-not-connecting-384865/)

libbyz 11-20-2005 08:44 AM

Dial-up connection problem,dialing but not connecting
 
After managing to make my winmodem work, I can dial my ISP but I cannot establish connection using wvdial.
Here's the output of wvdial:

--> WvDial: Internet dialer version 1.54.0
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
ATQ0 V1 E1 S0=0 &C1 &D2
OK
--> Sending: ATX3
ATX3
OK
--> Modem initialized.
--> Idle Seconds = 300, disabling automatic reconnect.
--> Sending: ATDTwhatever
--> Waiting for carrier.
ATDTwhatever
CONNECT 49333 NoEC
--> Carrier detected. Waiting for prompt.
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Sun Nov 20 15:44:22 2005
--> pid of pppd: 22512
--> Using interface ppp0
--> Using interface ppp0
--> Disconnecting at Sun Nov 20 15:44:52 2005
--> 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)

The exit code 10 according to man pages means:
PPP daemon:
10 The PPP negotiation failed, that is, it didn't reach the point
where at least one network protocol (e.g. IP) was running.

However using dmesg I can see that all the required services run when the PC is booted:

# dmesg|grep IP
[4294671.581000] IP: routing cache hash table of 8192 buckets, 64Kbytes
[4294713.038000] IPv6 over IPv4 tunneling driver
[4294723.588000] eth0: no IPv6 routers present
[4296254.249000] CSLIP: code copyright 1989 Regents of the University of California

# dmesg|grep TCP
[4294671.581000] TCP established hash table entries: 262144 (order: 9, 2097152 bytes)
[4294671.582000] TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
[4294671.582000] TCP: Hash tables configured (established 262144 bind 65536)

# dmesg|grep PPP
[4296254.251000] PPP generic driver version 2.4.2

The modem is detected during startup:
# dmesg|grep tty
...
[4294700.981000] ttyLTM0 at I/O 0xbc00 (irq = 10) is a Lucent/Agere Modem

I've also tried pppconfig, but when executing pon nothing happens! I've set correctly the modem setting...

I've read many posts,manuals,books, I have googled it but still can't solve the problem of connecting to the Internet. Does anyone have any ideas what might be wrong?

Thank you for your attention,
Libb

jailbait 11-20-2005 11:39 AM

Here are some thoughts on your problem.

"[4294700.981000] ttyLTM0 at I/O 0xbc00 (irq = 10) is a Lucent/Agere Modem "

Your problem is typical of winmodems without a driver installed. Make sure that you have the correct driver properly installed. After you have tried to connect run this command:

lsmod | less

and check for a loaded driver for a Lucent/Agere Modem

"--> Idle Seconds = 300, disabling automatic reconnect.
--> Starting pppd at Sun Nov 20 15:44:22 2005
--> Disconnecting at Sun Nov 20 15:44:52 2005 "

You are waiting for a response from the ISP for 30 seconds and then disconnecting. I suggest that you edit /etc/wvdial.conf and change:
Idle Seconds = 0

That will get rid of the timeout but won't solve the original problem. Try to connect again and see if you get an error message other than timeout.

"--> Carrier detected. Waiting for prompt.
--> Don't know what to do! Starting pppd and hoping for the best."

I think that you are running:
Stupid Mode = 1
Whether you are running Stupid Mode = 0 or Stupid Mode =1 try the other once. If neither works then set:
Stupid Mode =1

------------------------
Steve Stites

libbyz 11-22-2005 06:07 PM

The driver is correctly installed, when executing lsmod|grep lt I get to modules ltserial and ltmodem.
I tried what you said,but unfortunately the same problem remains.
I actually did install even SuSE Linux 9.3 which had the lucent driver preinstalled and even there I have a similar problem. The difference is that I get as exit code 15 instead of 10.
I tried to connect via KPPP and here's what the error log contains after trying to connect to the Internet:

Nov 22 22:36:36 linux pppd[10701]: Plugin passwordfd.so loaded.
Nov 22 22:36:36 linux pppd[10701]: pppd 2.4.3 started by root, uid 0
Nov 22 22:36:36 linux pppd[10701]: using channel 4
Nov 22 22:36:36 linux pppd[10701]: Using interface ppp0
Nov 22 22:36:36 linux pppd[10701]: Connect: ppp0 <--> /dev/ttyLT0
Nov 22 22:36:36 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
Nov 22 22:36:38 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
Nov 22 22:36:40 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
Nov 22 22:36:42 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
Nov 22 22:36:44 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
Nov 22 22:36:46 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
Nov 22 22:36:48 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
Nov 22 22:36:50 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
Nov 22 22:36:52 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
Nov 22 22:36:54 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
Nov 22 22:36:56 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
Nov 22 22:36:58 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
Nov 22 22:37:00 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
Nov 22 22:37:02 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
Nov 22 22:37:04 linux pppd[10701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce3aff7e> <pcomp> <accomp>]
Nov 22 22:37:06 linux pppd[10701]: Terminating on signal 15
Nov 22 22:37:06 linux pppd[10701]: sent [LCP TermReq id=0x2 "User request"]
Nov 22 22:37:08 linux pppd[10701]: sent [LCP TermReq id=0x3 "User request"]
Nov 22 22:37:10 linux pppd[10701]: Connection terminated.
Nov 22 22:37:10 linux pppd[10701]: Modem hangup
Nov 22 22:37:10 linux pppd[10701]: Exit.

I think it looks like a driver problem, but the strange thing is that the same modem in another computer which has installed SuSE Linux 9.1 and the same driver works fine.
I might have missed to take care of some settings but I've done whatever I've read in manuals,forums and linux books and still doesn't work. Very strange,isn't it?

jailbait 11-22-2005 07:49 PM

"Nov 22 22:37:06 linux pppd[10701]: Terminating on signal 15"

man pppd describes signal 15 as:
The link was terminated because the peer is not responding to echo requests.

I agree that this looks like a driver problem. Since the driver works on some SuSE systems and not on others maybe the problem is release dependent. I suggest that you get the source for the driver, if possible, and compile the driver on the system that you are trying to get working.


----------------------------
Steve Stites


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