DaZZa wrote:
I can ping anything for a minute or so, or use browser or email but then it just stops sending/receivingOn Fri, 10 Dec 2004, Brad Kowalczyk wrote:
2. I finally managed to get my computer connected to my ISP under Linux (ubuntu) but despite a connection (dialup) I could not actually access any address on the net, with either direct IP address or domain name. Then after I installed FC3 I treid again and this time I got connected and was able to connect to addresses on the net, but only for a few minutes before everything came to a halt despite the connection still being there. I checked /var/log/messages and there is the following extract:
Dec 10 09:54:49 localhost ifup-ppp: pppd started for optusnet on /dev/ttyS0 at 57600 Dec 10 09:54:49 localhost pppd[17843]: pppd 2.4.2 started by root, uid 0 Dec 10 09:54:49 localhost pppd[17843]: Removed stale lock on ttyS0 (pid 17258) Dec 10 09:54:50 localhost wvdial[17856]: WvDial: Internet dialer version 1.54.0 Dec 10 09:54:50 localhost wvdial[17856]: Initializing modem. Dec 10 09:54:51 localhost wvdial[17856]: Sending: ATZ Dec 10 09:54:51 localhost wvdial[17856]: ATZ Dec 10 09:54:51 localhost wvdial[17856]: OK Dec 10 09:54:51 localhost wvdial[17856]: Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Dec 10 09:54:51 localhost wvdial[17856]: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Dec 10 09:54:51 localhost wvdial[17856]: OK Dec 10 09:54:51 localhost wvdial[17856]: Sending: ATM1L1 Dec 10 09:54:51 localhost wvdial[17856]: ATM1L1 Dec 10 09:54:51 localhost wvdial[17856]: OK Dec 10 09:54:51 localhost wvdial[17856]: Modem initialized. Dec 10 09:54:51 localhost wvdial[17856]: Sending: ATDT0198331111 Dec 10 09:54:51 localhost wvdial[17856]: Waiting for carrier. Dec 10 09:54:51 localhost wvdial[17856]: ATDT0198331111 Dec 10 09:55:14 localhost wvdial[17856]: CONNECT 26400 Dec 10 09:55:14 localhost wvdial[17856]: User Access Verification Dec 10 09:55:14 localhost wvdial[17856]: Username: username: login: Dec 10 09:55:14 localhost wvdial[17856]: Carrier detected. Chatmode finished. Dec 10 09:55:14 localhost pppd[17843]: Serial connection established. Dec 10 09:55:14 localhost pppd[17843]: Using interface ppp0 Dec 10 09:55:14 localhost pppd[17843]: Connect: ppp0 <--> /dev/ttyS0 Dec 10 09:55:15 localhost pppd[17843]: PAP authentication succeeded Dec 10 09:55:16 localhost pppd[17843]: local IP address 210.49.224.133 Dec 10 09:55:16 localhost pppd[17843]: remote IP address 210.49.224.254 Dec 10 09:55:16 localhost pppd[17843]: primary DNS address 203.2.75.132 Dec 10 09:55:16 localhost pppd[17843]: secondary DNS address 198.142.0.51
This doesn't seem to indicate any errors, is there somewhere else I
should look? If anyone has any ideas they would be greatly appreciated,
before I go mad...
Can you ping the listed remote IP address when the conection comes up?
If you can, and you can't ping anything else, then do you have a default
route pointing out the PPP connection?
Try doing this {as root} once your connection is up
route add default gw <remote ip>
did that
[EMAIL PROTECTED] ppp]# /sbin/route add default gw 210.49.225.254
SIOCADDRT: File exists
[EMAIL PROTECTED] ppp]# /sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
210.49.225.254 * 255.255.255.255 UH 0 0 0 ppp0
169.254.0.0 * 255.255.0.0 U 0 0 0 lo
default 210.49.225.254 0.0.0.0 UG 0 0 0 ppp0
Then try to ping something else.
no luck, I get the following:
[EMAIL PROTECTED] ppp]# ping -c3 216.55.97.142 PING 216.55.97.142 (216.55.97.142) 56(84) bytes of data. ping: sendmsg: No buffer space available ping: sendmsg: No buffer space available ping: sendmsg: No buffer space available
--- 216.55.97.142 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 21087ms
Cheers, Brad
-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
