I wrote a little patch to /etc/init.d/net.ppp0 script in order to make automatic creation of configuration files a bit better. Here is a detailed list of modifications: line 158: removed -v from /etc/ppp/peers/${PEER} creation instruction, as I think that chat verbose messages are a bit annoying; line 171: additional ${INITSTRING} parameters are now inserted after initial ATZ command (it was not working for me before, as it was waiting for OK after ABORT NO DIALTONE); line 200: using mv -f to overwrite the existing /etc/resolv.conf file instead of appending /etc/ppp/resolv.conf to it, I think this is safer if PEERDNS="yes" in configuration file; line 203: changed permissions of /etc/resolv.conf to 644 (didn't work before if you try to resolve without root permissions) line 208: same as line 203 Hope they are useful, since this is the first time for me to patch a distribution configuration file ;-) Reproducible: Always Steps to Reproduce: Portage 2.0.49-r13-2 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r7) ================================================================= System uname: 2.4.20-gentoo-r7 i686 Intel(R) Pentium(R) III Mobile CPU 1000MHz Gentoo Base System version 1.4.3.10p1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acpi avi berkdb crypt cups fbcon foomaticdb gdbm gif gpm gtk gtk2 imlib ipv6 java jpeg mbox mmx motif mpeg ncurses oggvorbis pam pcmcia pdflib png quicktime readline spell sse ssl svga tcpd tiff truetype usb X xml2 xmms xv zlib x86"
Created attachment 19404 [details, diff] My patch
line158: fixed in 2.4.2_beta3-r1 line171: fixed in 2.4.2_beta3-r1 line200: don't fixed this because you may have local nameservers in resolv.conf that you want to use line203: fixed in 2.4.2_beta3-r1 line208: fixed in 2.4.2_beta3-r1 mfg, heinrich :)