Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68887 - home router guide needs to update net config for 1.11.x
Summary: home router guide needs to update net config for 1.11.x
Status: RESOLVED WORKSFORME
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Localisation Guide (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-25 13:33 UTC by Andre Hinrichs
Modified: 2005-02-19 10:44 UTC (History)
1 user (show)

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 Andre Hinrichs 2004-10-25 13:33:52 UTC
In order to make my system more secure I just found the "Home Router Guide" and
was happy about it, since I was doing some dirty tricks to bring my firewall
up. So I decided to go through the doc and to reconfigure my system.
When I came to the point "Hug the WAN", there was a little note:

"In order for the following net.eth1 settings to work, you must have baselayout-1.10.1 or later installed on your system."

I found that my system has sys-apps/baselayout-1.9.4-r6 installed.
Unfortunately, all newer packages were masked... damn it...

OK, I decided to go the 'unstable' way and to copy the baselayout and sysvinit
ebuilds to my PORTDIR_OVERLAY directory and to unmask them.
Hopefully, my network will come up again. I'll send this report before testing
it, because otherwise I would eventually not be able to send it...

Anyway, it's not a good idea to write documentation (and to release it) where
there are masked packages needed!

Feel free to either change the documentation or to release the needed
packages...


Reproducible: Always
Steps to Reproduce:




Portage 2.0.51-r2 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.5.3
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://gd.tuwien.ac.at/opsys/linux/gentoo/
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://mir.zyrianes.net/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X Xaw3d acl apache2 apm avi bitmap-fonts cdr crypt cups dbm divx4linux dvd
dvdr emacs encode f77 fbcon flac foomaticdb ftp gd gdbm ggi gif gnutls gpm gtk
gtk2 imagemagick imap imlib jpeg lcms ldap leim libg++ libwww mad mikmod milter
mime mng mozilla mpeg mysql mysqli ncurses nls odbc oggvorbis opengl oss pam
pdflib perl php png posix ppds python quicktime readline recode samba sasl sdl
shared sharedmem simplexml slang slp sndfile soap sockets socks5 spl ssl svga
tcpd tetex theora tiff truetype unicode usb x86 xml2 xmlrpc xmms xpm xprint xsl
xv xvid zlib"
Comment 1 Andre Hinrichs 2004-10-25 14:42:50 UTC
Unfortunately, it didn't work!
It took a while to be back online. Don't really know what was wrong.
Will do some more investigation... but not today.
I assume it's because of a misconfigured kernel (I used the configuration
from the documentation) because I had to use the old configuration to
be online again.

Here is one of the ADSL error messages:

# /etc/init.d/net.eth1 start
 * Bringing eth1 up...
 *   eth1 adsl
 *     Starting ADSL for eth1
adsl-start: Cannot read configuration file '/dev/fd/63'
/sbin/runscript.sh: line 1:  9402 Broken pipe             cat ${cfgfile}                                                                                                                      [ !! ]
Comment 2 SpanKY gentoo-dev 2004-10-25 15:46:15 UTC
i disagree ... if you dont want to use the versions suggested by the guides, dont follow the guide

and as for going the unstable way, you should review `man portage` and the files in /etc/portage/ instead of the old way of using the portage overlay

and as for the adsl bug, that's been fixed in baselayout 1.11.3+ ... guess i should update the docs ;)
Comment 3 Andre Hinrichs 2004-10-26 00:55:17 UTC
Just tried sys-apps/baselayout-1.11.4 and it throws the same error message!

And for the docs: Please state at the beginning of the doc that the needed
packages are not stable... Then a non-expert user has a chance to skip the
doc. Fortunately, I am an expert and was able to get back to a working
system, but some people may not...
Comment 4 SpanKY gentoo-dev 2004-11-07 21:26:57 UTC
ok, nothing needs to be updated, all the config files will work fine with 1.11.x

as for the adsl not quite working right, that's a different bug and completely unrelated to documentation
Comment 5 Pavel Mayer 2005-02-19 10:44:14 UTC
I ran into the same problem, fixed it by creating 

/etc/portage/package.keywords

containing

=sys-apps/baselayout-1.11.9-r1
=sys-libs/readline-5.0-r2
=sys-apps/sysvinit-2.86
=app-shells/bash-3.0-r8

and then running "emerge --update world".

Had to go through >40 files when running "etc-update"; later I discovered "dispatch-conf" would have made my life much easier.