LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-19-2004, 10:23 AM   #1
fekzy
LQ Newbie
 
Registered: Sep 2004
Location: cairo, egypt
Distribution: slackware, suse
Posts: 4

Rep: Reputation: 0
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
 
Old 11-19-2004, 03:12 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"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
 
Old 11-20-2004, 06:23 AM   #3
fekzy
LQ Newbie
 
Registered: Sep 2004
Location: cairo, egypt
Distribution: slackware, suse
Posts: 4

Original Poster
Rep: Reputation: 0
im already useing stuoid mode!
 
Old 11-20-2004, 09:32 AM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"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

Last edited by jailbait; 11-20-2004 at 09:35 AM.
 
Old 11-20-2004, 12:33 PM   #5
fekzy
LQ Newbie
 
Registered: Sep 2004
Location: cairo, egypt
Distribution: slackware, suse
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 11-20-2004, 06:08 PM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
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

Last edited by jailbait; 11-20-2004 at 06:10 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
takes long time to load the KDE bruse Linux - Newbie 14 10-03-2005 03:29 PM
login takes long time doorman007 Linux - Software 2 04-25-2005 12:56 AM
Suse 9.1 takes a LONG time to boot.... randon SUSE / openSUSE 37 03-02-2005 05:28 PM
Bzipping takes a really long time sometimes scott_R General 0 10-10-2004 12:47 AM
binding to YPserver takes a long time esteeven Linux - General 1 04-24-2004 02:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:31 AM.

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