I've been having trouble getting my redhat linux 5.0 box (alpha
processor) to connect to u-net's dialup service.  I've included the
scripts I'm using below, and output from the log files.  The problem
seems to be something to do with routing, but I'm at a loss as to how to
fix it.  Any clues, anyone?  I've been struggling with this for more
than a week, and I'm more or less at the end of my tether now.
  Sorry if the formatting of this message sucks: until I get my linux
box up I'm having to use NT from work.  Talk about an incentive to get
this working...
  Could you please Cc: me on any replies?  I subscribed to the
redhat-ppp-list today, but I haven't had any messages through yet.  I
wouldn't want to miss The Answer, you see.

Thanks -- Robin.

-- 
 [EMAIL PROTECTED]
 Blackwell's Information Services

> ------------------------------
> /etc/ppp/options:
> 
> /dev/modem
> debug
> # This line duplicates information in the dip script -- see comment
> later.
> 0.0.0.0:194.119.131.1
> 
> ------------------------------
> /etc/hosts:
> 
> 127.0.0.1       localhost
> 0.0.0.0         vsms-flanaga.u-net.com  vsms-flanaga
> 194.119.131.1   u-net.com
> 
> ------------------------------
> dip script:
> #-------start of u-net DIP script---------------------------
> main:
>   get $local 0.0.0.0
>   get $remote 194.119.131.1
> # If the next line is used instead, the remote end seems to pick a
> dialup IP address.  Otherwise the result is the same.
> #  get $remote 0.0.0.0
>   netmask 255.255.255.0
>   port modem
>   speed 57600
>   send ATZ&F\r
>   wait OK 2
>   if $errlvl != 0 goto modem_error
>   dial 08450798112
> # Using either 'phone number produces the same effect.
> #  dial 08450798068
>   if $errlvl != 1 goto modem_error
> 
> login:        
>   wait ogin: 8
>   if $errlvl != 0 goto login_error
>   send vsms-flanaga\r
>   print login sent
> 
> wait assword: 2
>   if $errlvl != 0 goto pass_error
>   send ***password_goes_here_in_real_life***\r
>   print password sent
>   
> wait ervice: 2
>   if $errlvl != 0 goto service_Error
>   send PPP\r
>   print service sent
> 
> loggedin:
>   get $mtu 576
>   default
> done:
>   print connected at $speed 
>   mode PPP
>   goto exit
> login_error:
>   print problem waiting for the login: prompt...
>   goto error
> pass_error:
>   print problem waiting for the password: prompt...
>   goto error
> service_error
>   print could not negotiate PPP
>   goto error
> modem_error:
>   print Trouble occurred with the modem
> error:
>   print CONNECT FAILED
>   quit
> exit:
>   exit
> #-------end of U-NET dip script-----------------------------------
> 
> ------------------------------
> contents of /var/log/messages
> May  4 22:45:25 localhost dip[1590]: DIP: tty_open: /dev/modem (4) 
> May  4 22:45:25 localhost dip[1590]: waiting for "OK" for 2 sec's.
> May  4 22:45:56 localhost dip[1590]: waiting for "ogin:" for 8 sec's.
> May  4 22:45:57 localhost dip[1590]: waiting for "assword:" for 2
> sec's.
> May  4 22:45:58 localhost dip[1590]: waiting for "ervice:" for 2
> sec's.
> May  4 22:45:59 localhost dip[1591]: tty_notlocal: file0: /dev/ttyp3
> flle4 /dev/cua0 
> May  4 22:45:59 localhost pppd[1591]: pppd 2.2.0 started by root, uid
> 0
> May  4 22:45:59 localhost pppd[1591]: Using interface ppp0
> May  4 22:45:59 localhost pppd[1591]: Connect: ppp0 <--> /dev/modem
> May  4 22:46:09 localhost pppd[1591]: local  IP address 195.102.196.10
> May  4 22:46:09 localhost pppd[1591]: remote IP address 194.119.131.1
> May  4 22:46:09 localhost pppd[1591]: ioctl(SIOCADDRT) device route:
> Network is unreachable
> 
> ------------------------------
> contents of /var/log/debug:
> 
> May  4 22:45:59 localhost pppd[1591]: sent [LCP ConfReq id=0x1 <mru
> 1500> <magic 0xffff0626> <pcomp> <accomp>]
> May  4 22:46:02 localhost pppd[1591]: sent [LCP ConfReq id=0x1 <mru
> 1500> <magic 0xffff0626> <pcomp> <accomp>]
> May  4 22:46:05 localhost pppd[1591]: rcvd [LCP ConfReq id=0x9c
> <asyncmap 0xa0000> <magic 0x115d2179> <pcomp> <accomp>]
> May  4 22:46:05 localhost pppd[1591]: sent [LCP ConfAck id=0x9c
> <asyncmap 0xa0000> <magic 0x115d2179> <pcomp> <accomp>]
> May  4 22:46:05 localhost pppd[1591]: rcvd [LCP ConfAck id=0x1 <mru
> 1500> <magic 0xffff0626> <pcomp> <accomp>]
> May  4 22:46:05 localhost pppd[1591]: sent [IPCP ConfReq id=0x1 <addr
> 0.0.0.0> <compress VJ 0f 01>]
> May  4 22:46:05 localhost pppd[1591]: rcvd [LCP ConfReq id=0x9d
> <asyncmap 0xa0000> <magic 0x115d2179> <pcomp> <accomp>]
> May  4 22:46:05 localhost pppd[1591]: sent [LCP ConfReq id=0x2 <mru
> 1500> <magic 0xffff8481> <pcomp> <accomp>]
> May  4 22:46:05 localhost pppd[1591]: sent [LCP ConfAck id=0x9d
> <asyncmap 0xa0000> <magic 0x115d2179> <pcomp> <accomp>]
> May  4 22:46:05 localhost pppd[1591]: rcvd [LCP ConfAck id=0x2 <mru
> 1500> <magic 0xffff8481> <pcomp> <accomp>]
> May  4 22:46:05 localhost pppd[1591]: sent [IPCP ConfReq id=0x2 <addr
> 0.0.0.0> <compress VJ 0f 01>]
> May  4 22:46:06 localhost pppd[1591]: rcvd [IPCP ConfReq id=0x2e
> <compress VJ 0f 00> <addr 195.102.255.135>]
> May  4 22:46:06 localhost pppd[1591]: sent [IPCP ConfNak id=0x2e <addr
> 194.119.131.1>]
> May  4 22:46:06 localhost pppd[1591]: rcvd [CCP ConfReq id=0xb1 < 17
> 06 00 01 02 01>]
> May  4 22:46:06 localhost pppd[1591]: sent [CCP ConfReq id=0x1]
> May  4 22:46:06 localhost pppd[1591]: sent [CCP ConfRej id=0xb1 < 17
> 06 00 01 02 01>]
> May  4 22:46:08 localhost pppd[1591]: rcvd [IPCP ConfNak id=0x2 <addr
> 195.102.196.10>]
> May  4 22:46:08 localhost pppd[1591]: sent [IPCP ConfReq id=0x3 <addr
> 195.102.196.10> <compress VJ 0f 01>]
> May  4 22:46:08 localhost pppd[1591]: rcvd [IPCP ConfReq id=0x2f
> <compress VJ 0f 00>]
> May  4 22:46:08 localhost pppd[1591]: sent [IPCP ConfNak id=0x2f <addr
> 194.119.131.1>]
> May  4 22:46:09 localhost pppd[1591]: rcvd [CCP ConfAck id=0x1]
> May  4 22:46:09 localhost pppd[1591]: rcvd [CCP ConfReq id=0xb2 < 11
> 05 00 01 01>]
> May  4 22:46:09 localhost pppd[1591]: sent [CCP ConfRej id=0xb2 < 11
> 05 00 01 01>]
> May  4 22:46:09 localhost pppd[1591]: sent [CCP ConfReq id=0x1]
> May  4 22:46:09 localhost pppd[1591]: rcvd [IPCP ConfAck id=0x3 <addr
> 195.102.196.10> <compress VJ 0f 01>]
> May  4 22:46:09 localhost pppd[1591]: rcvd [IPCP ConfReq id=0x30
> <compress VJ 0f 00>]
> May  4 22:46:09 localhost pppd[1591]: sent [IPCP ConfAck id=0x30
> <compress VJ 0f 00>]
> May  4 22:46:09 localhost pppd[1591]: sent [IPCP TermReq id=0x4]
> May  4 22:46:10 localhost pppd[1591]: rcvd [CCP ConfReq id=0xb3 < 11
> 05 00 01 01>]
> May  4 22:46:10 localhost pppd[1591]: sent [CCP ConfRej id=0xb3 < 11
> 05 00 01 01>]
> May  4 22:46:10 localhost pppd[1591]: rcvd [CCP ConfAck id=0x1]
> May  4 22:46:10 localhost pppd[1591]: rcvd [IPCP TermAck id=0x4]
> May  4 22:46:11 localhost pppd[1591]: rcvd [CCP ConfReq id=0xb4 < 11
> 05 00 01 01>]
> May  4 22:46:11 localhost pppd[1591]: sent [CCP ConfRej id=0xb4 < 11
> 05 00 01 01>]
> May  4 22:46:12 localhost pppd[1591]: sent [CCP ConfReq id=0x1]
> May  4 22:46:12 localhost pppd[1591]: rcvd [CCP ConfReq id=0xb5 < 11
> 05 00 01 03>]
> May  4 22:46:12 localhost pppd[1591]: sent [CCP ConfRej id=0xb5 < 11
> 05 00 01 03>]
> May  4 22:46:12 localhost pppd[1591]: rcvd [CCP ConfAck id=0x1]
> May  4 22:46:13 localhost pppd[1591]: rcvd [CCP ConfReq id=0xb6
> <predictor 1>]
> May  4 22:46:13 localhost pppd[1591]: sent [CCP ConfRej id=0xb6
> <predictor 1>]
> May  4 22:46:14 localhost pppd[1591]: rcvd [CCP ConfReq id=0xb7]
> May  4 22:46:14 localhost pppd[1591]: sent [CCP ConfAck id=0xb7]
> May  4 22:51:12 localhost pppd[1591]: sent [LCP TermReq id=0x3]
> May  4 22:51:14 localhost pppd[1591]: rcvd [LCP TermAck id=0x3]
> 
> 
> ------------------------------
> commands and associated output
> 
> This is from just after the dip script exits, ie after PPP has
> announced `ioctl(SIOCADDRT) device route: Network is unreachable'.
> 
> [/root]# ifconfig ppp0 up
> [/root]# route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref
> Use Iface
> 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0
> 2 lo
> [/root]# route add u-net.com ppp0
> [/root]# route add default gw u-net.com
> [/root]# ping 193.119.176.64
> PING 193.119.176.64 (193.119.176.64): 56 data bytes
> 
> --- 193.119.176.64 ping statistics ---
> 7 packets transmitted, 0 packets received, 100% packet loss
> [/root]# ifconfig
> lo        Link encap:Local Loopback  
>           inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
>           UP BROADCAST LOOPBACK RUNNING  MTU:7168  Metric:1
>           RX packets:224 errors:0 dropped:0 overruns:0
>           TX packets:224 errors:0 dropped:0 overruns:0
> 
> ppp0      Link encap:Point-to-Point Protocol  
>           inet addr:195.102.196.10  P-t-P:194.119.131.1
> Mask:255.255.255.0
>           UP POINTOPOINT RUNNING  MTU:1500  Metric:1
>           RX packets:20 errors:0 dropped:0 overruns:0
>           TX packets:29 errors:0 dropped:0 overruns:0
> 
> [/root]# route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref
> Use Iface
> 194.119.131.1   0.0.0.0         255.255.255.255 UH    0      0
> 0 ppp0
> 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0
> 2 lo
> 0.0.0.0         194.119.131.1   0.0.0.0         UG    0      0
> 1 ppp0
> 
> 


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to