[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Help!!! Can't connect to my ISP using pon



First of all I'd like to thank all of you for responding to my problem..Here I am giving you all the pertinent data to try and fix my problem.
 
The problem? Well, I can't connect to my ISP, though my modem is dialing out..I can here it do so, and I can hear the screeching sound.
 
The answers I gave to pppconfig:
primary nameserver: 134.68.1.9
secondary nameserver: 134.68.140.1
provider name: provider (the default since I have just one ISP)
Password: *****
username: mcoelho
port modem is on: /dev/ttyS0
defaultroute enabled
noipdefault
modem port speed : 115200
modem initialization string: ATZ (I've let it choose its default settings as I don't know what the initialization string is for my modem: 56k Cardinal connecta external)
number to dial : 2785619
ATDT tone
authentication method : PAP (My friends who have Win-operating systems are able to connect easily, so I guess my university provides PAP)
 
I ran pon 4 times. The first time plog gave me this:
chat: expect (CONNECT)
chat: ^M
chat: ATDT2785619^M
chat:CONNECT
chat:--got it
chat:send (\d)
pppd: Serial Connection Established
pppd:Using interface ppp0
pppd:Connect ppp0<-->/dev/ttyS0
pppd: sent [LCP ConfReq id=0x1 <asyncmap 0x0> magic 0xffff024f> <pcomp><acomp>]
last message repeated 9 times
pppd: Hangup (SIGHUP)
pppd: Modem hangup
pppd: Connection terminated
pppd: Exit
 
The 2nd, 3rd and 4th times, as well as all other times in the past, I got this:
chat: expect (CONNECT)
chat: ^M
chat: ATDT2785619^M
chat:CONNECT
chat:--got it
chat:send (\d)
pppd: Serial Connection Established
pppd:Using interface ppp0
pppd:Connect ppp0<-->/dev/ttyS0
pppd: [LCP ConfReq id=0x1 <asyncmap 0x0> magic 0xffff024f> <pcomp><acomp>]
last message repeated 9 times
pppd: LCP: Timeout Sending Config_Requests
pppd: Connection termianted
pppd: Receive serial link is not 8-bit clean:
pppd: Problem: all had bit 7 set to 1
pppd: Hangup (SIGHUP)
pppd: Exit
 
I did a "ping 134.68.140.1", but it gave me "unknown host 134.68.140.1". So I wasn't connected.
 
Now here are the contents of some pertinent files:
/etc/chatscripts/provider
ABORT BUSY
ABORT "NO CARRIER"
ABORT VOICE   
ABORT "NO DIALTONE"
ABORT "NO ANSWER'
""ATZ
OK ATDT2785619
CONNECT \d\c
 
/etc/ppp/peers/provider
#This file was generated by pppconfig. You can edit the following lines but don't delete any or change the comments else you'll confuse pppconfig
 
noauth                                                                        #pppconfig_noauth
connect "usr/sbin/chat -v -f /etc/chatscripts/provider"      #pppconfig_connect
debug                                                                         #pppconfig_debug
/dev/ttyS0                                                                   #pppconfig_ dev
115200                                                                       #pppconfig_speed
defaultroute                                                                 #pppconfig_route
noipdefault                                                                   #pppconfig_ipdefault
user mcoelho                                                               #pppconfig_user
 
#End of pppconfig controlled lines. You can add lines below here wothout confusing pppconfig
 
In the file /etc/ppp/peers/provider.old (whose contents are same as above except for pppconfig_dev and pppconfig_speed which is 384000), I changed '/dev/modem' to '/dev/ttyS0'.
 
/etc/resolv.conf
nameserver 134.68.1.9
nameserver 134.68.140.1
 
/etc/hosts
127.0.0.1   pussycat   localhost
 
/etc/hostname
pussycat
 
/etc/host.conf
Order hosts, bind
multi on
 
I think you'd be interested in knowing that I got the following messages at boot time:
Configuring serial ports....failed....
Trying to load serial module manually
Serial driver version 4.13 with no serial options enabled.
tty00 at 0x03f8 (irq=4) is a 16450
tty01 at 0x02f8 (irq=3) is a 16450
Success...retrying configuration..done
/dev/ttyS0 at 0x03f8 (irq=4) is a 16450
/dev/ttyS1 at 0x02f8 (irq=3) is a 16450
 
 
I made a symbolic link called '/dev/modem' to '/dev/ttyS0'.
On doing a setserial -a /dev/ttyS0, I got:
/dev/ttyS0, line 0, UART: 16450, Port 0x3f8, IRQ: 4, Baud_base:115200, close_delay:50, divisor :0 closing_wait:3000, closing_wait2 :infinite Flags:spd_normal skip_test session_lockout
Then, I did a setserial /dev/ttyS0 spd_hi, but the problem persists.
In pppconfig, I changed the speed to 38400, yet the problem remained so I it changed back to 115200.
Do you reckon the problem to be due to the fact that I've a 16450 UART, though I seriously don't think so....
I have a 33.6 internal modem (not connected, of course)..should I be using that instead?
I've racked my head ..(and some of yours) to fix the problem..I'm so fed up..I hope someone out there can figure out a solution..
Thanks..
 

Reply to: