ppp does not work with my 56kflex modem

ppp does not work with my 56kflex modem

Post by Dietrich Ti » Wed, 20 May 1998 04:00:00



ccp...@uxmail.ust.hk (Chan Yung Wan) wrote:

>        My organisation has two modem pools. Modem Pool A is 33.6k. Modem Pool
>B is 56Kflex. Both modem pool servers used same configuration.

> Dial-in (PPP) Status in our modem pool        
>--------------------------------------------
>|Modem / OS  | Modem Pool A | Modem Pool B |
>--------------------------------------------
>|Windows 95  |      ok      |   ok         |
>--------------------------------------------
>|Linux       |              |              |
>|(RedHat 5.0)|      ok      |   fail       |
>--------------------------------------------

>    My linux  Kernel version is 2.0.33 and pppd is 2.2.0.f. This is
>dial in script for both  modem pool.Linux does not work in Modem Pool
>B with PPP.

>ppp-on script
>-------------
>#!/bin/sh
>#
># Script to initiate a ppp connection. This is the first part of the
># pair of scripts. This is not a secure pair of scripts as the codes
># are visible with the 'ps' command.  However, it is simple.
>#
># These are the parameters. Change as needed.
>TELEPHONE=99999999  # The telephone number for the connection
>ACCOUNT=xxxxxx              # The account name for logon (as in 'George Burns')
>PASSWORD=xxxxxxxx   # The password for this account (and 'Gracie Allen')
>LOCAL_IP=0.0.0.0    # Local IP address if known. Dynamic = 0.0.0.0
>REMOTE_IP=0.0.0.0   # Remote IP address if desired. Normally 0.0.0.0
>NETMASK=255.255.252.0       # The proper netmask if needed
>#
># Export them so that they will be available at 'ppp-on-dialer' time.
>export TELEPHONE ACCOUNT PASSWORD
>#
># This is the location of the script which dials the phone and logs
># in.  Please use the absolute file name as the $PATH variable is not
># used on the connect option.  (To do so on a 'root' account would be
># a security hole so don't ask.)
>#
>DIALER_SCRIPT=/test/ppp-on-dialer
>#
># Initiate the connection
>#
># I put most of the common options on this command. Please, don't
># forget the 'lock' option or some programs such as mgetty will not
># work. The asyncmap and escape will permit the PPP link to work with
># a telnet or rlogin connection. You are welcome to make any changes
># as desired. Don't use the 'defaultroute' option if you currently
># have a default route to an ethernet gateway.
>#
>exec /usr/sbin/pppd debug lock modem crtscts /dev/ttyS1 38400 \
>    asyncmap 20A0000 escape FF kdebug 1 $LOCAL_IP:$REMOTE_IP \
>    noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT

>ppp-on-dialer
>-------------
>#!/bin/sh
>#
># This is part 2 of the ppp-on script. It will perform the connection
># protocol for the desired connection.
>#
>exec chat -v                                                \
>    TIMEOUT         3                               \
>    ABORT           '\nBUSY\r'                      \
>    ABORT           '\nNO ANSWER\r'                 \
>    ABORT           '\nRINGING\r\n\r\nRINGING\r'    \
>    ''              \rAT                            \
>    'OK-+++\c-OK'   ATH0                            \
>    TIMEOUT         30                              \
>    OK              ATDT$TELEPHONE                  \
>    CONNECT         ''                              \
>    Username:       $ACCOUNT                        \
>    Password:       $PASSWORD                       \
>        ppp             ppp

>33.6K ppp log
>-------------
>May 18 15:38:56 ccz253 PAM_pwdB[254]: ROOT LOGIN ON tty2
>May 18 15:42:24 ccz253 kernel: registered device ppp0
>May 18 15:42:24 ccz253 pppd[296]: pppd 2.2.0 started by root, uid 0
>May 18 15:42:26 ccz253 chat[297]: timeout set to 3 seconds
>May 18 15:42:26 ccz253 chat[297]: abort on (\nBUSY\r)
>May 18 15:42:26 ccz253 chat[297]: abort on (\nNO ANSWER\r)
>May 18 15:42:26 ccz253 chat[297]: abort on (\nRINGING\r\n\r\nRINGING\r)
>May 18 15:42:26 ccz253 chat[297]: send (rAT^M)
>May 18 15:42:26 ccz253 chat[297]: expect (OK)
>May 18 15:42:26 ccz253 chat[297]: AT^M^M
>May 18 15:42:26 ccz253 chat[297]: OK -- got it
>May 18 15:42:26 ccz253 chat[297]: send (ATH0^M)
>May 18 15:42:26 ccz253 chat[297]: timeout set to 30 seconds
>May 18 15:42:26 ccz253 chat[297]: expect (OK)
>May 18 15:42:26 ccz253 chat[297]: ^M
>May 18 15:42:26 ccz253 chat[297]: ATH0^M^M
>May 18 15:42:26 ccz253 chat[297]: OK -- got it
>May 18 15:42:26 ccz253 chat[297]: send (ATDT99999999^M)
>May 18 15:42:26 ccz253 chat[297]: expect (CONNECT)
>May 18 15:42:26 ccz253 chat[297]: ^M
>May 18 15:42:44 ccz253 chat[297]: ATDT99999999^M^M
>May 18 15:42:44 ccz253 chat[297]: CONNECT -- got it
>May 18 15:42:44 ccz253 chat[297]: send (^M)
>May 18 15:42:44 ccz253 chat[297]: expect (Username:)
>May 18 15:42:44 ccz253 chat[297]:  28800 LAPM COMPRESSED^M
>May 18 15:42:45 ccz253 chat[297]: ^M
>May 18 15:42:45 ccz253 chat[297]: ^M
>May 18 15:42:45 ccz253 chat[297]: Annex Command Line Interpreter   *   Copyright (C) 1988, 1995 Xylogics, Inc.^M
>May 18 15:42:45 ccz253 chat[297]: ^M
>May 18 15:42:45 ccz253 chat[297]: Checking authorization, Please wait...^M
>May 18 15:42:45 ccz253 chat[297]: Enter your CCST a/c Username: -- got it
>May 18 15:42:45 ccz253 chat[297]: send (xxxxxx^M)
>May 18 15:42:45 ccz253 chat[297]: expect (Password:)
>May 18 15:42:45 ccz253 chat[297]:  xxxxxx^M
>May 18 15:42:45 ccz253 chat[297]:                     Password: -- got it
>May 18 15:42:45 ccz253 chat[297]: send (xxxxxxxx^M)
>May 18 15:42:46 ccz253 chat[297]: expect (ppp)
>May 18 15:42:46 ccz253 chat[297]:  ^M
>May 18 15:42:46 ccz253 chat[297]: ^M
>May 18 15:42:46 ccz253 chat[297]: Permission granted^M
>May 18 15:42:46 ccz253 chat[297]: o Please note that there is a 2 hr connection time limit when the pool is full. ^M
>May 18 15:42:46 ccz253 chat[297]: o If you encountered any problem with this setup, please send a problem report^M
>May 18 15:42:47 ccz253 chat[297]:   to CCHELP. Please quote the prompt (eg. "dialin-anx6k1-4"), the precise date ^M
>May 18 15:42:47 ccz253 chat[297]:   and time of the problem and a problem description. ^M
>May 18 15:42:47 ccz253 chat[297]: ^M
>May 18 15:42:47 ccz253 chat[297]:                      Command Summary^M
>May 18 15:42:47 ccz253 chat[297]: Name     Syntax                         Description^M
>May 18 15:42:47 ccz253 chat[297]: ===============================================================================^M
>May 18 15:42:47 ccz253 chat[297]: ?        ? [<command>]                  :Display help on Annex commands^M
>May 18 15:42:47 ccz253 chat[297]: bg       bg [-dq] [%][%,+,-,<n>,<host>] :Put a job in the background^M
>May 18 15:42:47 ccz253 chat[297]: fg       fg [-q] [%][%,+,-,<n>,<host>]  :Return to an established job^M
>May 18 15:42:47 ccz253 chat[297]: hangup   hangup [-q]                    :Hangup and reset an Annex port^M
>May 18 15:42:47 ccz253 chat[297]: help     help [<command>]               :Display help on Annex commands^M
>May 18 15:42:47 ccz253 chat[297]: jobs     jobs                           :Display current jobs (sessions)^M
>May 18 15:42:47 ccz253 chat[297]: kill     kill [%][%,+,-,<n>,<host>]...  :Terminate a job^M
>May 18 15:42:47 ccz253 chat[297]: stty     stty [parameter [value]]...    :Show/Set Annex port parameters^M
>May 18 15:42:47 ccz253 chat[297]: rlogin   rlogin <host> [-l <user>]      :Connect to host using RLOGIN protocol^M
>May 18 15:42:47 ccz253 chat[297]: telnet   telnet [-rsst] [<host> [port]] :Connect to host using TELNET protocol^M
>May 18 15:42:47 ccz253 chat[297]: ppp -- got it
>May 18 15:42:47 ccz253 chat[297]: send (ppp^M)
>May 18 15:42:47 ccz253 pppd[296]: Serial connection established.
>May 18 15:42:48 ccz253 kernel: ppp_tty_ioctl: set flags to 70000
>May 18 15:42:48 ccz253 kernel: ppp_tty_ioctl: set flags to 70000
>May 18 15:42:48 ccz253 pppd[296]: Using interface ppp0
>May 18 15:42:48 ccz253 pppd[296]: Connect: ppp0 <--> /dev/ttyS1
>May 18 15:42:48 ccz253 kernel: ppp_tty_ioctl: set xasyncmap
>May 18 15:42:48 ccz253 kernel: ppp_tty_ioctl: set xmit asyncmap ffffffff
>May 18 15:42:48 ccz253 kernel: ppp_tty_ioctl: set flags to 70000
>May 18 15:42:48 ccz253 kernel: ppp_tty_ioctl: set mru to 5dc
>May 18 15:42:48 ccz253 kernel: ppp_tty_ioctl: set rcv asyncmap 0
>May 18 15:42:48 ccz253 kernel: ppp_tty_ioctl: set flags to 70010
>May 18 15:42:48 ccz253 kernel: ppp: successfully queued 26 bytes, flags = f070010
>May 18 15:42:50 ccz253 kernel: ppp: successfully queued 22 bytes, flags = f070010
>May 18 15:42:50 ccz253 kernel: ppp_tty_ioctl: set xmit asyncmap 0
>May 18 15:42:50 ccz253 kernel: ppp_tty_ioctl: set flags to f070013
>May 18 15:42:50 ccz253 kernel: ppp_tty_ioctl: set mru to 5dc
>May 18 15:42:50 ccz253 kernel: ppp_tty_ioctl: set rcv asyncmap 20a0000
>May 18 15:42:50 ccz253 kernel: ppp_tty_ioctl: set flags to f070003
>May 18 15:42:50 ccz253 kernel: ppp_tty_ioctl: set flags to f070043
>May 18 15:42:51 ccz253 kernel: ppp: successfully queued 18 bytes, flags = f070043
>May 18 15:42:53 ccz253 kernel: ppp: successfully queued 12 bytes, flags = f070043
>May 18 15:42:54 ccz253 kernel: ppp: successfully queued 12 bytes, flags = f070043
>May 18 15:42:54 ccz253 kernel: ppp: successfully queued 18 bytes, flags = f070043
>May 18 15:42:54 ccz253 pppd[296]: local  IP address 143.89.231.154
>May 18 15:42:54 ccz253 pppd[296]: remote IP address 143.89.231.2
>May 18 15:42:54 ccz253 kernel: ppp_tty_ioctl: set flags to f07004b
>May 18 15:42:54 ccz253 kernel: ppp: channel ppp0 going up for IP packets!
>May 18 15:42:54 ccz253 pppd[296]: proc file system not mounted

>56kflex ppp log
>---------------
>May 18 15:53:55 ccz253 pppd[414]: pppd 2.2.0 started by root, uid 0
>May 18 15:53:56 ccz253 chat[415]: timeout set to 3 seconds
>May 18 15:53:56 ccz253 chat[415]: abort on (\nBUSY\r)
>May 18 15:53:56 ccz253 chat[415]: abort on (\nNO ANSWER\r)
>May 18 15:53:56 ccz253 chat[415]: abort on (\nRINGING\r\n\r\nRINGING\r)
>May 18 15:53:56 ccz253 chat[415]: send (rAT^M)
>May 18 15:53:56 ccz253 chat[415]: expect (OK)
>May 18 15:53:56 ccz253 chat[415]: AT^M^M
>May 18 15:53:56 ccz253 chat[415]: OK -- got it
>May 18 15:53:56 ccz253 chat[415]: send (ATH0^M)
>May 18 15:53:56 ccz253 chat[415]: timeout set to 30 seconds
>May 18 15:53:56 ccz253 chat[415]: expect (OK)
>May 18 15:53:56 ccz253 chat[415]: ^M
>May 18 15:53:57 ccz253 chat[415]: ATH0^M^M
>May 18 15:53:57 ccz253 chat[415]: OK -- got it
>May 18 15:53:57 ccz253 chat[415]: send

...

read more »

 
 
 

ppp does not work with my 56kflex modem

Post by Paul Bur » Thu, 21 May 1998 04:00:00


I had this identical problem on the weekend when I tried to connect
my Zoom Dual v.90 modem to two different ISPs.  It turns out that
some ISP modem servers do respond with a remote IP address of 0.0.0.0
when doing dynamic IP address assignment.

The fix was to specify a dummy non-zero remote address to pppd.  I used
a non-routable address of 192.168.100.100.  After this addition, everything
worked flawlessly.

ie. add 0.0.0.0:192.168.100.100 to the pppd command line or argument file.

..Paul

BTW, try ezppp from sunsite.unc.edu

On Tue, 19 May 1998 20:20:07 GMT, Dietrich Timm <ti...@ozemail.com.au> wrote:
>ccp...@uxmail.ust.hk (Chan Yung Wan) wrote:

>>        My organisation has two modem pools. Modem Pool A is 33.6k. Modem Pool
>>B is 56Kflex. Both modem pool servers used same configuration.

>> Dial-in (PPP) Status in our modem pool        
>>--------------------------------------------
>>|Modem / OS  | Modem Pool A | Modem Pool B |
>>--------------------------------------------
>>|Windows 95  |      ok      |   ok         |
>>--------------------------------------------
>>|Linux       |              |              |
>>|(RedHat 5.0)|      ok      |   fail       |
>>--------------------------------------------

>>    My linux  Kernel version is 2.0.33 and pppd is 2.2.0.f. This is
>>dial in script for both  modem pool.Linux does not work in Modem Pool
>>B with PPP.

>>ppp-on script
>>-------------
>>#!/bin/sh
>>#
>># Script to initiate a ppp connection. This is the first part of the
>># pair of scripts. This is not a secure pair of scripts as the codes
>># are visible with the 'ps' command.  However, it is simple.
>>#
>># These are the parameters. Change as needed.
>>TELEPHONE=99999999      # The telephone number for the connection
>>ACCOUNT=xxxxxx          # The account name for logon (as in 'George Burns')
>>PASSWORD=xxxxxxxx       # The password for this account (and 'Gracie Allen')
>>LOCAL_IP=0.0.0.0        # Local IP address if known. Dynamic = 0.0.0.0
>>REMOTE_IP=0.0.0.0       # Remote IP address if desired. Normally 0.0.0.0
>>NETMASK=255.255.252.0   # The proper netmask if needed
>>#
>># Export them so that they will be available at 'ppp-on-dialer' time.
>>export TELEPHONE ACCOUNT PASSWORD
>>#
>># This is the location of the script which dials the phone and logs
>># in.  Please use the absolute file name as the $PATH variable is not
>># used on the connect option.  (To do so on a 'root' account would be
>># a security hole so don't ask.)
>>#
>>DIALER_SCRIPT=/test/ppp-on-dialer
>>#
>># Initiate the connection
>>#
>># I put most of the common options on this command. Please, don't
>># forget the 'lock' option or some programs such as mgetty will not
>># work. The asyncmap and escape will permit the PPP link to work with
>># a telnet or rlogin connection. You are welcome to make any changes
>># as desired. Don't use the 'defaultroute' option if you currently
>># have a default route to an ethernet gateway.
>>#
>>exec /usr/sbin/pppd debug lock modem crtscts /dev/ttyS1 38400 \
>>        asyncmap 20A0000 escape FF kdebug 1 $LOCAL_IP:$REMOTE_IP \
>>        noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT

>>ppp-on-dialer
>>-------------
>>#!/bin/sh
>>#
>># This is part 2 of the ppp-on script. It will perform the connection
>># protocol for the desired connection.
>>#
>>exec chat -v                                            \
>>        TIMEOUT         3                               \
>>        ABORT           '\nBUSY\r'                      \
>>        ABORT           '\nNO ANSWER\r'                 \
>>        ABORT           '\nRINGING\r\n\r\nRINGING\r'    \
>>        ''              \rAT                            \
>>        'OK-+++\c-OK'   ATH0                            \
>>        TIMEOUT         30                              \
>>        OK              ATDT$TELEPHONE                  \
>>        CONNECT         ''                              \
>>        Username:       $ACCOUNT                        \
>>        Password:       $PASSWORD                       \
>>        ppp             ppp

>>33.6K ppp log
>>-------------
>>May 18 15:38:56 ccz253 PAM_pwdB[254]: ROOT LOGIN ON tty2
>>May 18 15:42:24 ccz253 kernel: registered device ppp0
>>May 18 15:42:24 ccz253 pppd[296]: pppd 2.2.0 started by root, uid 0
>>May 18 15:42:26 ccz253 chat[297]: timeout set to 3 seconds
>>May 18 15:42:26 ccz253 chat[297]: abort on (\nBUSY\r)
>>May 18 15:42:26 ccz253 chat[297]: abort on (\nNO ANSWER\r)
>>May 18 15:42:26 ccz253 chat[297]: abort on (\nRINGING\r\n\r\nRINGING\r)
>>May 18 15:42:26 ccz253 chat[297]: send (rAT^M)
>>May 18 15:42:26 ccz253 chat[297]: expect (OK)
>>May 18 15:42:26 ccz253 chat[297]: AT^M^M
>>May 18 15:42:26 ccz253 chat[297]: OK -- got it
>>May 18 15:42:26 ccz253 chat[297]: send (ATH0^M)
>>May 18 15:42:26 ccz253 chat[297]: timeout set to 30 seconds
>>May 18 15:42:26 ccz253 chat[297]: expect (OK)
>>May 18 15:42:26 ccz253 chat[297]: ^M
>>May 18 15:42:26 ccz253 chat[297]: ATH0^M^M
>>May 18 15:42:26 ccz253 chat[297]: OK -- got it
>>May 18 15:42:26 ccz253 chat[297]: send (ATDT99999999^M)
>>May 18 15:42:26 ccz253 chat[297]: expect (CONNECT)
>>May 18 15:42:26 ccz253 chat[297]: ^M
>>May 18 15:42:44 ccz253 chat[297]: ATDT99999999^M^M
>>May 18 15:42:44 ccz253 chat[297]: CONNECT -- got it
>>May 18 15:42:44 ccz253 chat[297]: send (^M)
>>May 18 15:42:44 ccz253 chat[297]: expect (Username:)
>>May 18 15:42:44 ccz253 chat[297]:  28800 LAPM COMPRESSED^M
>>May 18 15:42:45 ccz253 chat[297]: ^M
>>May 18 15:42:45 ccz253 chat[297]: ^M
>>May 18 15:42:45 ccz253 chat[297]: Annex Command Line Interpreter   *   Copyright (C) 1988, 1995 Xylogics, Inc.^M
>>May 18 15:42:45 ccz253 chat[297]: ^M
>>May 18 15:42:45 ccz253 chat[297]: Checking authorization, Please wait...^M
>>May 18 15:42:45 ccz253 chat[297]: Enter your CCST a/c Username: -- got it
>>May 18 15:42:45 ccz253 chat[297]: send (xxxxxx^M)
>>May 18 15:42:45 ccz253 chat[297]: expect (Password:)
>>May 18 15:42:45 ccz253 chat[297]:  xxxxxx^M
>>May 18 15:42:45 ccz253 chat[297]:                     Password: -- got it
>>May 18 15:42:45 ccz253 chat[297]: send (xxxxxxxx^M)
>>May 18 15:42:46 ccz253 chat[297]: expect (ppp)
>>May 18 15:42:46 ccz253 chat[297]:  ^M
>>May 18 15:42:46 ccz253 chat[297]: ^M
>>May 18 15:42:46 ccz253 chat[297]: Permission granted^M
>>May 18 15:42:46 ccz253 chat[297]: o Please note that there is a 2 hr connection time limit when the pool is full. ^M
>>May 18 15:42:46 ccz253 chat[297]: o If you encountered any problem with this setup, please send a problem report^M
>>May 18 15:42:47 ccz253 chat[297]:   to CCHELP. Please quote the prompt (eg. "dialin-anx6k1-4"), the precise date ^M
>>May 18 15:42:47 ccz253 chat[297]:   and time of the problem and a problem description. ^M
>>May 18 15:42:47 ccz253 chat[297]: ^M
>>May 18 15:42:47 ccz253 chat[297]:                      Command Summary^M
>>May 18 15:42:47 ccz253 chat[297]: Name     Syntax                         Description^M
>>May 18 15:42:47 ccz253 chat[297]: ===============================================================================^M
>>May 18 15:42:47 ccz253 chat[297]: ?        ? [<command>]                  :Display help on Annex commands^M
>>May 18 15:42:47 ccz253 chat[297]: bg       bg [-dq] [%][%,+,-,<n>,<host>] :Put a job in the background^M
>>May 18 15:42:47 ccz253 chat[297]: fg       fg [-q] [%][%,+,-,<n>,<host>]  :Return to an established job^M
>>May 18 15:42:47 ccz253 chat[297]: hangup   hangup [-q]                    :Hangup and reset an Annex port^M
>>May 18 15:42:47 ccz253 chat[297]: help     help [<command>]               :Display help on Annex commands^M
>>May 18 15:42:47 ccz253 chat[297]: jobs     jobs                           :Display current jobs (sessions)^M
>>May 18 15:42:47 ccz253 chat[297]: kill     kill [%][%,+,-,<n>,<host>]...  :Terminate a job^M
>>May 18 15:42:47 ccz253 chat[297]: stty     stty [parameter [value]]...    :Show/Set Annex port parameters^M
>>May 18 15:42:47 ccz253 chat[297]: rlogin   rlogin <host> [-l <user>]      :Connect to host using RLOGIN protocol^M
>>May 18 15:42:47 ccz253 chat[297]: telnet   telnet [-rsst] [<host> [port]] :Connect to host using TELNET protocol^M
>>May 18 15:42:47 ccz253 chat[297]: ppp -- got it
>>May 18 15:42:47 ccz253 chat[297]: send (ppp^M)
>>May 18 15:42:47 ccz253 pppd[296]: Serial connection established.
>>May 18 15:42:48 ccz253 kernel: ppp_tty_ioctl: set flags to 70000
>>May 18 15:42:48 ccz253 kernel: ppp_tty_ioctl: set flags to 70000
>>May 18 15:42:48 ccz253 pppd[296]: Using interface ppp0
>>May 18 15:42:48 ccz253 pppd[296]: Connect: ppp0 <--> /dev/ttyS1
>>May 18 15:42:48 ccz253 kernel: ppp_tty_ioctl: set xasyncmap
>>May 18 15:42:48 ccz253 kernel: ppp_tty_ioctl: set xmit asyncmap ffffffff
>>May 18 15:42:48 ccz253 kernel: ppp_tty_ioctl: set flags to 70000
>>May 18 15:42:48 ccz253 kernel: ppp_tty_ioctl: set mru to 5dc
>>May 18 15:42:48 ccz253 kernel: ppp_tty_ioctl: set rcv asyncmap 0
>>May 18 15:42:48 ccz253 kernel: ppp_tty_ioctl: set flags to 70010
>>May 18 15:42:48 ccz253 kernel: ppp: successfully queued 26 bytes, flags = f070010
>>May 18 15:42:50 ccz253 kernel: ppp: successfully queued 22 bytes, flags = f070010
>>May 18 15:42:50 ccz253 kernel: ppp_tty_ioctl: set xmit asyncmap 0
>>May 18 15:42:50 ccz253 kernel: ppp_tty_ioctl: set flags to f070013
>>May 18 15:42:50 ccz253 kernel: ppp_tty_ioctl: set mru to 5dc
>>May 18 15:42:50 ccz253 kernel: ppp_tty_ioctl: set rcv asyncmap 20a0000
>>May 18 15:42:50 ccz253 kernel: ppp_tty_ioctl: set flags to f070003
>>May 18 15:42:50 ccz253 kernel: ppp_tty_ioctl: set flags to f070043
>>May 18 15:42:51 ccz253 kernel: ppp: successfully queued 18 bytes, flags = f070043
>>May 18 15:42:53 ccz253 kernel: ppp: successfully queued 12 bytes, flags = f070043
>>May 18 15:42:54 ccz253 kernel: ppp: successfully queued 12 bytes, flags = f070043
>>May 18 15:42:54 ccz253 kernel: ppp: successfully queued 18 bytes, flags = f070043
>>May 18 15:42:54 ccz253 pppd[296]: local  IP address 143.89.231.154
>>May 18 15:42:54 ccz253 pppd[296]: remote IP address 143.89.231.2
>>May 18 15:42:54 ccz253 kernel: ppp_tty_ioctl: set flags to f07004b
>>May 18 15:42:54 ccz253 kernel: ppp: channel ppp0 going up for IP packets!
>>May 18 15:42:54 ccz253 pppd[296]: proc file system not mounted

>>56kflex ppp log
>>---------------
>>May 18 15:53:55 ccz253 pppd[414]: pppd 2.2.0 started by root,

...

read more »

 
 
 

1. PPP working, /etc/ppp/ip-up not working, HELP Please

The title explains it all. . .

Current status:  I walked through the entire ppp document again, and was
able to create a chat script to autologin using information inside the
/etc/ppp/options file, ppp-on, ppp-on-dialer, and ppp-off.

But I can't get ip-up to run.  I was careful to follow the exact
tutorial that the PPP HOWTO gave, and it wouldn't run.

In /var/log/messages I can see 'cannot execute /etc/ppp/ip-down, Exec
format error'

It indeed was not the correct format.  I have added a #!/bin/sh to the
first line, and have changed this to #!/bin/bash, and have messed with
all kinds of permissions.  Inside each corresponding file I just edited
down each file until they say:

echo IPUP is RUNNING > ipup.log

or

echo IPDOWN is RUNNING > ipdown.log

And I can run these files by hand and they work, but damned if it will
run with a ppp network layer comes up.  ip-down looked like it has tried
to run as mentioned above, but I can't recreate it.  ip-up has never
tried, according to the /var/log/messages.  I bring the ppp connection
down using ppp-off.  I also have added recommendations accordingn to
documentation and they don't run with exact syntax lifted from these
documents.

I am completely stumped.  Can anyone help?   I cannot find anything
anywhere that gives me a clue about what I might be missing.

I can manually alter the client routing on dialup, and I have an idea on
how to get the server side to alter the routing based on a mickey mouse
script I can write, but it is not the way it should work. If ip-up and
ip-down worked, it would be a piece of cake.  But I can't figure out
this last piece. . .

Help anyone??  Thanks, I would be very grateful.  Have installed and run
several other items under Linux and it all makes sense.  Have used dip
sacripts as well as chat scripts, and they all work fine.  But
/etc/ppp/ip-up and ip-down just flat aren't executing and I can't figure
out why.

Am running PPPD 2.2 under RedHat Linux 4.0.  Everything else works like
a champ.

tx, david

-------------------------------------------------

-------------------------------------------------

2. checking the speed and mode of an ethernet card

3. help ppp dos not work

4. WRITER NEEDED!!!

5. PPP working, /etc/ppp/ip-up not working, HELP Please

6. your favorite inkjet printer

7. hda: dma_intr: error=0x40

8. Modem @38400 works w/dos, not linux

9. switched modem ppp not working

10. MODEM WORKS FINE WITH MINICOM BUT NOT PPP

11. modem works in minicom but not ppp

12. WaveSP56 External Modem not working under PPP