Gentoo Archives: gentoo-user

From: El Nino <adaptit@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] config_ppp0 configuration
Date: Sun, 05 Feb 2006 14:20:38
Message-Id: f696b57e0602050611i1a23304w39f0b64f58a68efb@mail.gmail.com
1 Dear friends,
2
3 I'm connecting to Internet using a CDMA phone, i use gnome-ppp+wvdial
4 tools to connect.i want to configure this connection on
5 /etc/conf.d/net as config_ppp0.
6
7 1) how to configure this on /etc/conf.d/net? i want to connect it on boot time.
8
9 bellow show my configurations. but its not connecting properly.
10 --------------------------
11 config_ppp0=( "ppp" )
12
13 link_ppp0="/dev/ttyUSB0"
14
15 plugins_ppp0=(
16 "dhcpc"
17 )
18
19 username_ppp0='username'
20 password_ppp0='password'
21
22 pppd_ppp0=(
23 "updetach" # WARNING: If you don't specify this then we will
24 # # not wait for the actual PPP link to go up
25 "debug" # Enables syslog debugging
26 "noauth" # Do not require the peer to authenticate itself
27 "defaultroute" # Make this PPP interface the default route
28 # "usepeerdns" # Use the DNS settings provided by PPP
29 #
30 # On demand options
31 "demand" # Enable dial on demand
32 "idle 0" # Link goes down after 30 seconds of inactivity
33 # "10.112.112.112:10.112.112.113" # Phony IP addresses
34 # "ipcp-accept-remote" # Accept the peers idea of remote address
35 # "ipcp-accept-local" # Accept the peers idea of local address
36 # "holdoff 3" # Wait 3 seconds after link dies before re-starting
37 #
38 # Dead peer detection
39 "lcp-echo-interval 15" # Send a LCP echo every 15 seconds
40 "lcp-echo-failure 3" # Make peer dead after 3 consective
41 # # echo-requests
42 #
43 # Compression options - use these to completely disable compression
44 # noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp
45 #
46 # Dial-up settings
47 "lock" # Lock serial port
48 "115200" # Set the serial port baud rate
49 # "230400" # Set the serial port baud rate
50 "modem crtscts" # Enable hardware flow control
51 # "192.168.0.1:192.168.0.2" # Local and remote IP addresses
52
53 )
54 phone_number_ppp0=( "#777" ) # Maximum 2 phone numbers are supported
55 chat_ppp0=(
56 # 'ABORT' 'BUSY'
57 # 'ABORT' 'ERROR'
58 # 'ABORT' 'NO ANSWER'
59 # 'ABORT' 'NO CARRIER'
60 # 'ABORT' 'NO DIALTONE'
61 # 'ABORT' 'Invalid Login'
62 # 'ABORT' 'Login incorrect'
63 # 'TIMEOUT' '5'
64 '' 'ATZ'
65 'OK' 'AT' # Put your modem initialization string here
66 'OK' 'ATDT\T'
67 # 'TIMEOUT' '60'
68 # 'CONNECT' ''
69 # 'TIMEOUT' '5'
70 # '~--' ''
71 )
72
73 -----------------------------
74 when i start /etc/init.d/net.ppp0 start ... this gave me a error(error
75 showing bellow)
76 ------
77 host1 ~ # /etc/init.d/net.ppp0 start
78 * Caching service dependencies ...
79 [ ok ]
80 * Starting ppp0
81 * Bringing up ppp0
82 * ppp
83 * Running pppd ...
84 [ !! ]
85
86
87 --
88 ...
89 "The future lies ahead."
90 _______________________
91 < Have you mooed today? >
92 ----------------------------------------
93 \ ^__^
94 \ (oo) \_______
95 (__) \ )\/\
96 | |-----w |
97 | | | |
98
99 2.6.15-gentoo-r1-sinhalese
100 (((o)))~--~--~--~~~~~~~~~~~~~~~~~~~~~~~~~~~~
101 Proud to be a Sinhalese.
102 SINHALESE ARE GENIUSES OF IRRIGATION
103 http://easyweb.easynet.co.uk/~sydney/sinhales.htm
104
105 --
106 gentoo-user@g.o mailing list