Dear friends,

I'm connecting to Internet using a CDMA phone, i use gnome-ppp+wvdial
tools to connect.i want to configure this connection on
/etc/conf.d/net as config_ppp0.

1) how to configure this on /etc/conf.d/net? i want to connect it on boot time.

bellow show my configurations. but its not connecting properly.
--------------------------
config_ppp0=( "ppp" )

link_ppp0="/dev/ttyUSB0"

plugins_ppp0=(
        "dhcpc"
)

username_ppp0='username'
password_ppp0='password'

pppd_ppp0=(
       "updetach"      # WARNING: If you don't specify this then we will
#                       # not wait for the actual PPP link to go up
       "debug"         # Enables syslog debugging
       "noauth"        # Do not require the peer to authenticate itself
       "defaultroute"  # Make this PPP interface the default route
#       "usepeerdns"    # Use the DNS settings provided by PPP
#
# On demand options
       "demand"                # Enable dial on demand
       "idle 0"               # Link goes down after 30 seconds of inactivity
#       "10.112.112.112:10.112.112.113" # Phony IP addresses
#       "ipcp-accept-remote"    # Accept the peers idea of remote address
#       "ipcp-accept-local"     # Accept the peers idea of local address
#       "holdoff 3"     # Wait 3 seconds after link dies before re-starting
#
# Dead peer detection
       "lcp-echo-interval 15"  # Send a LCP echo every 15 seconds
       "lcp-echo-failure 3"    # Make peer dead after 3 consective
#                               # echo-requests
#
# Compression options - use these to completely disable compression
#       noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp
#
# Dial-up settings
       "lock"                          # Lock serial port
       "115200"                        # Set the serial port baud rate
#       "230400"                        # Set the serial port baud rate
       "modem crtscts"                 # Enable hardware flow control
#       "192.168.0.1:192.168.0.2"       # Local and remote IP addresses

)
phone_number_ppp0=( "#777" ) # Maximum 2 phone numbers are supported
chat_ppp0=(
#       'ABORT' 'BUSY'
#       'ABORT' 'ERROR'
#       'ABORT' 'NO ANSWER'
#       'ABORT' 'NO CARRIER'
#       'ABORT' 'NO DIALTONE'
#       'ABORT' 'Invalid Login'
#       'ABORT' 'Login incorrect'
#       'TIMEOUT' '5'
       '' 'ATZ'
       'OK' 'AT' # Put your modem initialization string here
       'OK' 'ATDT\T'
#       'TIMEOUT' '60'
#        'CONNECT' ''
#       'TIMEOUT' '5'
#       '~--' ''
)

-----------------------------
when i start /etc/init.d/net.ppp0 start ... this gave me a error(error
showing bellow)
------
host1 ~ # /etc/init.d/net.ppp0 start
  * Caching service dependencies ...                                  
               [ ok ]
 * Starting ppp0
 *   Bringing up ppp0
  *     ppp
  *       Running pppd ...                                            
               [ !! ]


--
...
"The future lies ahead."
 _______________________
< Have you mooed today? >
 ----------------------------------------
        \    ^__^
         \   (oo) \_______
             (__) \             )\/\
                    | |-----w   |
                    | |        | |

2.6.15-gentoo-r1-sinhalese
(((o)))~--~--~--~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Proud to be a Sinhalese.
SINHALESE ARE GENIUSES OF IRRIGATION
http://easyweb.easynet.co.uk/~sydney/sinhales.htm

-- 
gentoo-user@gentoo.org mailing list

Reply via email to