1 |
On Thursday 07 September 2006 22:26, Walter Dnes wrote: |
2 |
> I apologize for the ppp repost. In addition to my Gentoo problems, |
3 |
> an unco-ordinated MX change resulted in me not getting 36 hours worth of |
4 |
> mail, so I've probably missed any replies to that. |
5 |
|
6 |
No worries, I'll repeat what I said earlier. |
7 |
|
8 |
> OK, so I waited a while between kernel upgrades *AND* there was a |
9 |
> layout upgrade in the meantime. Let's just say that "make oldconfig" |
10 |
> did *NOT* work very well. I got kernel panic, and it wouldn't boot. I |
11 |
> hauled out the install CD, booted, chrooted, re-emerged kernel 2.6.16-r7 |
12 |
> (yeah. I know, still "behind the times"), and manually entered all the |
13 |
> stuff in "make menuconfig", and rebuilt the kernel. On bootup it |
14 |
> complained about /etc/conf.d/net and pointed me to a new example file. |
15 |
> I changed a couple of entries to... |
16 |
> |
17 |
> config_eth0="192.168.123.252 broadcast 192.168.123.255 netmask |
18 |
> 255.255.255.248 mtu 1454" routes_eth0=("default via 192.168.123.254") |
19 |
> |
20 |
> ...and rebooted. One less complaint. |
21 |
> |
22 |
> I still have 2 problems. During bootup, I get... |
23 |
> ==================================================== |
24 |
> * Loading iptables state and starting firewall ... |
25 |
> FATAL: Module ip_tables not found. |
26 |
> iptables-restore v1.3.5: iptables-restore: unable to initializetable 'raw' |
27 |
> |
28 |
> Error occurred at line: 2 |
29 |
> Try `iptables-restore -h' or 'iptables-restore --help' for more informat [ |
30 |
> !! ] ==================================================== |
31 |
> |
32 |
> There seem to be a lot more entries for iptables, netfilter, and |
33 |
> xtables (huh???) than I remember. I obviously missed something |
34 |
> somewhere. Any idea from the error message which "make menuconfig" item |
35 |
> it was? Even though I'm behind a NATting ADSL router-modem, I'm taking |
36 |
> down eth0, except when up/down loading email and news. |
37 |
|
38 |
I can't remember exactly which entries cause this, but try adding conntrack |
39 |
and Connection tracking flow accounting, as well as Full NAT and the |
40 |
submodules below it. Raw table support (required for NOTRACK/TRACE) will |
41 |
also help. |
42 |
|
43 |
> Secondly, whilst trying to emerge/update ppp, I get |
44 |
> ===================================================== |
45 |
> |
46 |
> >>> checking ppp-2.4.3-patches-20060707.tar.gz ;-) |
47 |
> |
48 |
> * Gentoo is moving toward common configuration file for all network |
49 |
> * interfaces. Thus starting from >=ppp-2.4.3-r10 the following files |
50 |
> * are obsoleted and should be removed to avoid future confusion: |
51 |
> * /etc/conf.d/net.ppp0 - conflict with baselayout |
52 |
> * /etc/init.d/net.ppp0 - conflict with baselayout |
53 |
> * /etc/ppp/chat-default - unused by this version |
54 |
> * /etc/ppp/options-pppoe - unused by this version |
55 |
> * /etc/ppp/options-pptp - unused by this version |
56 |
> |
57 |
> * If you use the old net.ppp0 script, you need to: |
58 |
> * - upgrade to >=sys-apps/baselayout-1.12.0_pre11 |
59 |
> * - set ppp0 parameters in /etc/conf.d/net (see example file) |
60 |
> * - remove conflicting files |
61 |
> * - upgrade net-dialup/ppp |
62 |
> |
63 |
> * If you never used net.ppp0 script, just run the following commands: |
64 |
> * rm //etc/conf.d/net.ppp0 //etc/init.d/net.ppp0 |
65 |
> //etc/ppp/chat-default //etc/ppp/options-pppoe //etc/ppp/options-pptp * |
66 |
> emerge --resume |
67 |
> |
68 |
> !!! ERROR: net-dialup/ppp-2.4.3-r16 failed. |
69 |
> Call stack: |
70 |
> ebuild.sh, line 1555: Called dyn_setup |
71 |
> ebuild.sh, line 668: Called pkg_setup |
72 |
> ppp-2.4.3-r16.ebuild, line 75: Called die |
73 |
> |
74 |
> !!! Conflicts with baselayout support detected |
75 |
> !!! If you need support, post the topmost build error, and the call stack |
76 |
> if relevant. ==================================================== |
77 |
> |
78 |
> I'm on baselayout-1.12.4-r7, and I invoke ppp for dialup with |
79 |
> pon/poff. I use pppconfig for setup. Is it safe for me to delete the |
80 |
> files? |
81 |
|
82 |
It is safer to mv them to a different name/place. Mine worked fine after I |
83 |
renamed them and completed the emerge. |
84 |
|
85 |
HTH |
86 |
-- |
87 |
Regards, |
88 |
Mick |