Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8849 - Undefined DEVICE environment variable in /etc/init.d/net.ppp0
Summary: Undefined DEVICE environment variable in /etc/init.d/net.ppp0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-07 08:54 UTC by Jeff Kowing
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Kowing 2002-10-07 08:54:38 UTC
This is a problem I had with the livecd-basic-1.4_rc1-r2.iso image.  

I was trying to connect to my ISP using dialup.  After setting the value in
/etc/conf.d/ppp0, I ran
# /etc/init.d/net.ppp0 start

But, this causes a pppd to report an error because pppd gets passed the wrong
arguments because ${DEVICE} is not defined in the call below made by
/etc/init.d/net.ppp0:

/usr/sbin/pppd ${CMD_LINE} ${MODEMPORT} ${LINESPEED} \
                        ipparam ${IFACE} linkname ${DEVICE} call ${PEER} \
                        noauth ${PPPOPTIONS}

I believe ${DEVICE} should actually be replaced in the script with ${IFACE}.
It worked for me.

Thanks, and thanks for wonderful Gentoo.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-10-12 13:28:21 UTC
Yep, sorry, that was fixed a week or two ago.  Will do a new baselayout soon
to get the fix in.