LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   conecting to isp takes a long time (https://www.linuxquestions.org/questions/linux-networking-3/conecting-to-isp-takes-a-long-time-256861/)

fekzy 11-19-2004 10:23 AM

conecting to isp takes a long time
 
connecting to my isp using dial up takes a long time
i tried kdebug 4 in /etc/ppp/options but i didnt understand anything
hereh is my log:

SuSE Meta pppd (smpppd), Version 0.78 on emod.
wwwoffle not is running
Selection of interface/provider "ppp0"/"starnet" succeeded.

Starting connection. (2004-11-19 18:10:40 EET)
pppd: Plugin passwordfd.so loaded.
pppd: Perms of /dev/modem are ok, no 'mesg n' neccesary.
pppd: --> WvDial: Internet dialer version 1.42
pppd: --> Initializing modem.
pppd: --> Sending: ATZ
pppd: ATZ
pppd: OK
pppd: --> Sending: AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
pppd: AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
pppd: OK
pppd: --> Sending: ATM1
pppd: ATM1
pppd: OK
pppd: --> Modem initialized.
pppd: --> Sending: ATDT07770666
pppd: --> Waiting for carrier.
pppd: ATDT07770666
pppd: CONNECT 57600
pppd: --> Carrier detected. Chatmode finished.
pppd: Serial connection established.
pppd: using channel 2
pppd: Using interface ppp0
pppd: Connect: ppp0 <--> /dev/modem
pppd: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf561b63a> <pcomp> <accomp>]
pppd: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf561b63a> <pcomp> <accomp>]
pppd: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf561b63a> <pcomp> <accomp>]
pppd: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf561b63a> <pcomp> <accomp>]
pppd: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf561b63a> <pcomp> <accomp>]
pppd: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf561b63a> <pcomp> <accomp>]
pppd: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf561b63a> <pcomp> <accomp>]
pppd: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf561b63a> <pcomp> <accomp>]
pppd: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf561b63a> <pcomp> <accomp>]
pppd: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf561b63a> <pcomp> <accomp>]
pppd: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf561b63a> <pcomp> <accomp>]
pppd: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf561b63a> <pcomp> <accomp>]
pppd: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf561b63a> <pcomp> <accomp>]
pppd: rcvd [LCP ConfReq id=0xba <asyncmap 0xa0000> <magic 0x7f57b07e> <pcomp> <accomp>]
pppd: sent [LCP ConfAck id=0xba <asyncmap 0xa0000> <magic 0x7f57b07e> <pcomp> <accomp>]
pppd: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xf561b63a> <pcomp> <accomp>]
pppd: sent [LCP EchoReq id=0x0 magic=0xf561b63a]
pppd: cbcp_lowerup
pppd: want: 2
pppd: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
pppd: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
pppd: rcvd [LCP EchoRep id=0x0 magic=0x7f57b07e]
pppd: rcvd [IPCP ConfReq id=0x29 <addr 172.31.11.10>]
pppd: sent [IPCP ConfAck id=0x29 <addr 172.31.11.10>]
pppd: rcvd [CCP ConfReq id=0xbb <mppe 0 0 0 1>]
pppd: sent [CCP ConfRej id=0xbb <mppe 0 0 0 1>]
pppd: rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
pppd: sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
pppd: rcvd [CCP ConfRej id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
pppd: sent [CCP ConfReq id=0x2]
pppd: rcvd [CCP ConfReq id=0xbc < 17 06 00 01 02 00>]
pppd: sent [CCP ConfRej id=0xbc < 17 06 00 01 02 00>]
pppd: rcvd [IPCP ConfNak id=0x2 <addr 62.68.226.197> <ms-dns1 62.240.110.197> <ms-dns3 62.140.73.1>]
pppd: sent [IPCP ConfReq id=0x3 <addr 62.68.226.197> <ms-dns1 62.240.110.197> <ms-dns3 62.140.73.1>]
pppd: rcvd [CCP ConfAck id=0x2]
pppd: rcvd [CCP ConfReq id=0xbd <lzs 0 1 1>]
pppd: sent [CCP ConfRej id=0xbd <lzs 0 1 1>]
pppd: rcvd [IPCP ConfAck id=0x3 <addr 62.68.226.197> <ms-dns1 62.240.110.197> <ms-dns3 62.140.73.1>]
pppd: local IP address 62.68.226.197
pppd: remote IP address 172.31.11.10
pppd: primary DNS address 62.240.110.197
pppd: secondary DNS address 62.140.73.1
pppd: Script /etc/ppp/ip-up started (pid 2183)
pppd: rcvd [CCP ConfReq id=0xbe <lzs 0 1 3>]
pppd: sent [CCP ConfRej id=0xbe <lzs 0 1 3>]
pppd: rcvd [CCP ConfReq id=0xbf <predictor 1>]
pppd: sent [CCP ConfRej id=0xbf <predictor 1>]
pppd: rcvd [CCP ConfReq id=0xc0]
pppd: sent [CCP ConfAck id=0xc0]
pppd: rcvd [CCP TermReq id=0xc1]
pppd: CCP terminated by peer
pppd: sent [CCP TermAck id=0xc1]
pppd: Compression disabled by peer.
pppd: sent [LCP EchoReq id=0x1 magic=0xf561b63a]
pppd: rcvd [LCP EchoRep id=0x1 magic=0x7f57b07e]
pppd: sent [LCP EchoReq id=0x2 magic=0xf561b63a]
pppd: rcvd [LCP EchoRep id=0x2 magic=0x7f57b07e]
pppd: Script /etc/ppp/ip-up finished (pid 2183), status = 0x0
We are connected. (2004-11-19 18:13:01 EET)

please help.
thanks

jailbait 11-19-2004 03:12 PM

"connecting to my isp using dial up takes a long time"

It looks to me like your computer and the ISP computer do not agree exactly on the signup protocol. wvdial had a mode called stupid mode where it tries to ignore minor protocol errors and work anyway. You could try stupid mode and see if that fixes your problem. This thread explains how to do that:

http://www.linuxquestions.org/questi...hreadid=138661

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

fekzy 11-20-2004 06:23 AM

im already useing stuoid mode!

jailbait 11-20-2004 09:32 AM

"im already useing stuoid mode!"

Could you post your /etc/wvdial.conf file with the userid and password xxxxxx out. Also you could try taking stupid mode out and see what happens.

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

fekzy 11-20-2004 12:33 PM

here is my wvdial.conf

[Dialer Defaults]
Modem = /dev/modem
Baud = 57600
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 =
Area Code =
Phone = 0
Username =
Password =
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 1
Compuserve = 0
Force Address =
Idle Seconds = 300
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1

jailbait 11-20-2004 06:08 PM

Here is an explanation of what the wvdial.conf parameters mean:
http://linux.about.com/library/cmd/b...vdial.conf.htm

The first thing that I think that you should try is to set
Stupid Mode = 0
This means that wvdial will go through the complete hand shaking logic when the connection is made. That might work. If it doesn't work then save the error messages to compare against the error messages in your first post. Then set Stupid Mode back to 1.

Another test that you can try is to simplify your init2 string as much as possible to see if maybe there is something wrong in your init2 modem commands. Try:
Init2 = ATM0L0
If that does not work then save the error messages to compare against the error messages in your first post. Then set Init2 back to the way it originally was.

You have idle seconds set to 300. This means that wvdial will hang up the connection if nothing happens on the telephone line for 5 minutes. I don't think that Idle Seconds is your problem but you may want to change it to 0 so that you are not abruptly disconnected. People who live in countries where you pay for the phone connection by time use Idle Seconds to keep from accidently running up a large phone bill. I don't know if this is the case in Egypt or not.
Idle Seconds = 0

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


All times are GMT -5. The time now is 03:42 PM.