1 |
Hi. I am having difficulty configuring ppp to use pppoe. A kernel
|
2 |
module pppoe and pppox are loaded, but I get the following error from
|
3 |
pppd:
|
4 |
/usr/sbin/pppd unknown option "eth2"
|
5 |
|
6 |
Now eth2 is what I have in the
|
7 |
link_ppp0 line in the /etc/conf.d/net
|
8 |
|
9 |
Any assistance would be appreciated.
|
10 |
|
11 |
Here is the /etc/conf.d/net
|
12 |
# This blank configuration will automatically use DHCP for any net.*
|
13 |
# scripts in /etc/init.d. To create a more complete configuration,
|
14 |
# please review /etc/conf.d/net.example and save your configuration
|
15 |
# in /etc/conf.d/net (this file :]!).
|
16 |
dns_domain_lo="covici.com"
|
17 |
dns_servers_lo=" 127.0.0.1 4.2.2.1 64.83.1.10"
|
18 |
postup() {
|
19 |
if [ ${IFACE} = lo ]; then
|
20 |
einfo setting host name again
|
21 |
domainname covici.com
|
22 |
hostname ccs.covici.com
|
23 |
fi
|
24 |
if [ ${IFACE} = eth1 ]; then
|
25 |
killall ddclient
|
26 |
ddclient -file /etc/ddclient.conf -ip 67.62.15.196
|
27 |
pid_length=`pidof asterisk|awk '{print length($0)}'`
|
28 |
if [ "$pid_length" == "0" -a "$pid_length" != "" ]; then
|
29 |
echo ADDING WCFXO
|
30 |
modprobe wcfxo
|
31 |
/sbin/modprobe wcfxs
|
32 |
echo STARTING ASTERISK
|
33 |
/usr/sbin/amportal start
|
34 |
else
|
35 |
asterisk -rx reload
|
36 |
fi
|
37 |
/etc/init.d/sendmail stop
|
38 |
/etc/init.d/apache2 stop
|
39 |
/usr/sbin/apache2 -k stop -f /etc/apache2-asterisk/apache2.conf
|
40 |
/etc/init.d/rc.firewall stop
|
41 |
echo starting firewall
|
42 |
ifconfig eth2 up
|
43 |
/etc/init.d/rc.firewall start
|
44 |
/etc/init.d/ntpd stop
|
45 |
/etc/init.d/ntpd start
|
46 |
/etc/init.d/sendmail start
|
47 |
/etc/init.d/apache2 start
|
48 |
/usr/sbin/apache2 -k start -f /etc/apache2-asterisk/apache2.conf
|
49 |
fi
|
50 |
}
|
51 |
|
52 |
config_eth0=("192.168.0.1 netmask 255.255.255.0 brd 192.168.0.255")
|
53 |
config_eth1=("67.62.15.196 netmask 255.255.255.0 ")
|
54 |
routes_eth1=("default gw 67.62.15.1")
|
55 |
config_ppp0=("ppp")
|
56 |
link_ppp0="eth2"
|
57 |
plugins_ppp0=("pppoe")
|
58 |
username_ppp0='vzeqmmst'
|
59 |
pppd_ppp0=(
|
60 |
"updetach"
|
61 |
"noauth"
|
62 |
"ipcp-accept-remote"
|
63 |
"ipcp-accept-local"
|
64 |
"holdoff 3"
|
65 |
"lcp-echo-interval 15"
|
66 |
"lcp-echo-failure 3"
|
67 |
)
|
68 |
|
69 |
Here is emerge --info
|
70 |
>>> [1m[37mcfg-update-1.8.0-r6[0m[0m: Building checksum index...canceled! |
71 |
>>> 1 config file update found, please run "cfg-update -u" |
72 |
Portage 2.1.2.2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686)
|
73 |
=================================================================
|
74 |
System uname: 2.6.19-gentoo-r5 i686 AMD Athlon(tm) 64 Processor 4000+
|
75 |
Gentoo Base System release 1.12.9
|
76 |
Timestamp of tree: Thu, 17 May 2007 01:30:01 +0000
|
77 |
dev-java/java-config: 1.3.7, 2.0.31
|
78 |
dev-lang/python: 2.4.3-r4
|
79 |
dev-python/pycrypto: 2.0.1-r5
|
80 |
sys-apps/sandbox: 1.2.17
|
81 |
sys-devel/autoconf: 2.13, 2.61
|
82 |
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
|
83 |
sys-devel/binutils: 2.16.1-r3
|
84 |
sys-devel/gcc-config: 1.3.14
|
85 |
sys-devel/libtool: 1.5.22
|
86 |
virtual/os-headers: 2.6.17-r2
|
87 |
ACCEPT_KEYWORDS="x86"
|
88 |
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
|
89 |
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol"
|
90 |
ANT_HOME="/usr/share/ant-core"
|
91 |
ARCH="x86"
|
92 |
AUTOCLEAN="yes"
|
93 |
BASH_ENV="/root/.bashrc"
|
94 |
CBUILD="i686-pc-linux-gnu"
|
95 |
CFLAGS="-O2 -mtune=athlon-xp -pipe"
|
96 |
CHOST="i686-pc-linux-gnu"
|
97 |
CLASSPATH="."
|
98 |
CLEAN_DELAY="5"
|
99 |
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind"
|
100 |
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php4/ext-active/ /etc/php/apache2-php4/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cli-php4/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
|
101 |
CVS_RSH="ssh"
|
102 |
CXXFLAGS="-O2 -mtune=athlon-xp -pipe"
|
103 |
DISTDIR="/usr/portage/distfiles"
|
104 |
EDITOR="/usr/bin/emacs"
|
105 |
ELIBC="glibc"
|
106 |
EMERGE_DEFAULT_OPTS="--ask --color=n --verbose"
|
107 |
EMERGE_WARNING_DELAY="10"
|
108 |
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
|
109 |
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -P ${DISTDIR} ${URI}"
|
110 |
GCC_SPECS=""
|
111 |
GDK_USE_XFT="1"
|
112 |
GENERATION="2"
|
113 |
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo http://distfiles.gentoo.org"
|
114 |
G_BROKEN_FILENAMES="1"
|
115 |
G_FILENAME_ENCODING="UTF-8"
|
116 |
HOME="/root"
|
117 |
HUSHLOGIN="FALSE"
|
118 |
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info:/usr/share/info/emacs-21"
|
119 |
INPUT_DEVICES="keyboard mouse evdev"
|
120 |
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
|
121 |
JAVA_HOME="/etc/java-config-2/current-system-vm"
|
122 |
JDK_HOME="/etc/java-config-2/current-system-vm"
|
123 |
KERNEL="linux"
|
124 |
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
|
125 |
LESS="-R -M --shift 5"
|
126 |
LESSOPEN="|lesspipe.sh %s"
|
127 |
LOGNAME="root"
|
128 |
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:"
|
129 |
MAIL="/var/mail/root"
|
130 |
MAKEOPTS="-j2"
|
131 |
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man:/opt/sun-jdk-1.4.2.13/man:/etc/java-config/system-vm/man/:/usr/lib/php4/man/:/usr/qt/3/doc/man"
|
132 |
NOCOLOR="true"
|
133 |
OPENGL_PROFILE="nvidia"
|
134 |
PAGER="/usr/bin/less"
|
135 |
PATH="/usr/local/sbin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/opt/sun-jdk-1.4.2.13/bin:/opt/sun-jdk-1.4.2.13/jre/bin:/opt/sun-jdk-1.4.2.13/jre/javaws:/usr/qt/3/bin:/root/bin"
|
136 |
PKGDIR="/usr/portage/packages"
|
137 |
PKG_CONFIG_PATH="/usr/qt/3/lib/pkgconfig"
|
138 |
PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha ppc-macos hppa sparc-fbsd"
|
139 |
PORTAGE_BINHOST_CHUNKSIZE="3000"
|
140 |
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
|
141 |
PORTAGE_CONFIGROOT="/"
|
142 |
PORTAGE_DEBUG="0"
|
143 |
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
|
144 |
PORTAGE_ELOG_CLASSES="log warn error"
|
145 |
PORTAGE_ELOG_MAILFROM="portage"
|
146 |
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
|
147 |
PORTAGE_ELOG_MAILURI="covici /usr/sbin/sendmail"
|
148 |
PORTAGE_ELOG_SYSTEM="save mail_summary"
|
149 |
PORTAGE_GID="250"
|
150 |
PORTAGE_INST_GID="0"
|
151 |
PORTAGE_INST_UID="0"
|
152 |
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
|
153 |
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
|
154 |
PORTAGE_RSYNC_RETRIES="3"
|
155 |
PORTAGE_TMPDIR="/var/tmp"
|
156 |
PORTAGE_WORKDIR_MODE="0700"
|
157 |
PORTDIR="/usr/portage"
|
158 |
PORT_LOGDIR="/var/log/portage"
|
159 |
PRELINK_PATH_MASK="/usr/lib/gstreamer-0.10"
|
160 |
PS1="\h:\w\$ "
|
161 |
PWD="/usr/src"
|
162 |
PYTHONDOCS="/usr/share/doc/python-docs-2.4.3/html"
|
163 |
PYTHONPATH="/usr/lib/portage/pym"
|
164 |
QMAKESPEC="linux-g++"
|
165 |
QTDIR="/usr/qt/3"
|
166 |
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -P ${DISTDIR} ${URI}"
|
167 |
ROOT="/"
|
168 |
ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/opt/sun-jdk-1.4.2.13/bin:/opt/sun-jdk-1.4.2.13/jre/bin:/opt/sun-jdk-1.4.2.13/jre/javaws:/usr/qt/3/bin"
|
169 |
RPMDIR="/usr/portage/rpm"
|
170 |
SHELL="/bin/bash"
|
171 |
SHLVL="2"
|
172 |
STAGE1_USE="nptl nptlonly unicode"
|
173 |
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
|
174 |
TERM="linux"
|
175 |
USE="X accessibility alsa arts berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus doc dri dvd dvdr eds emboss encode esd fam firefox fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog jpeg kde ldap libg++ mad midi mikmod mp3 mpeg ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pcre perl png ppds pppd python quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
|
176 |
USER="root"
|
177 |
USERLAND="GNU"
|
178 |
USERNAME="root"
|
179 |
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS"
|
180 |
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
|
181 |
USE_ORDER="env:pkg:conf:defaults:pkginternal"
|
182 |
UUCPLOCK="/var/lock/LCK.."
|
183 |
VIDEO_CARDS="nvidia"
|
184 |
VMHANDLE="sun-jdk-1.4"
|
185 |
XARGS="xargs -r"
|
186 |
_="/usr/bin/emerge"
|
187 |
|
188 |
|
189 |
--
|
190 |
Your life is like a penny. You're going to lose it. The question is:
|
191 |
How do
|
192 |
you spend it?
|
193 |
|
194 |
John Covici
|
195 |
covici@××××××××××.com |