1 |
111128 Pandu Poluan wrote: |
2 |
> On Mon, Nov 28, 2011 at 17:17, Philip Webb <purslow@××××××××.net> wrote: |
3 |
>> Since updating to Openrc 0.9.4 , I'm getting some opaque messages : |
4 |
>> (1) When starting eth0 : "You are using a bash array for config_eth0. |
5 |
>> This feature will be removed in the future. Please see net.example |
6 |
>> for the correct format for config_eth0". |
7 |
> Open /etc/conf.d/net ; Compare it with /etc/conf.d/net.example |
8 |
> For example: The old way of writing multiple addresses for eth0 is: |
9 |
> config_eth0=("1.2.3.4" "6.7.8.9") |
10 |
> The new non-bash-array way: config_eth0="1.2.3.4 <newline> 6.7.8.9" |
11 |
> Make sure you rewrite your conf.d files according to the new way. |
12 |
|
13 |
Thanks: I've done that & my I/net connection doesn't seem affected. |
14 |
|
15 |
>> (2) When starting D-BUS system messages: "Use of the opts variable |
16 |
>> is deprecated & will be removed in the future. Please see extra_commands |
17 |
>> or extra_started_commands". |
18 |
> The relevant initscript in /etc/init.d is still using opts="..." line. |
19 |
> The newer way is to put the words in opts="..." |
20 |
> into extra_commands="..." or extra_started_commands="..." |
21 |
> both parameters described in 'man runscript' |
22 |
> You *can* edit the offending initscript, |
23 |
> but it should be the package's maintainers' responsibility |
24 |
> to revise the initscript and release a new revision. |
25 |
> Just wait say one or two months & update to the fixed new revision. |
26 |
|
27 |
So that one looks like an oversight by the maintainer. |
28 |
I've read & noted the subsequent msgs in the thread: thanks. |
29 |
|
30 |
A further question: since I had previously updated /etc/conf.d/net , |
31 |
I was given a router by my ISP & therefore started to use DHCP. |
32 |
The new net.example file suggests I might make further changes in 'net' |
33 |
& simplify my configuration files. What I have now in 'net' is : |
34 |
|
35 |
# For a static configuration use eg : |
36 |
# PP 111129 : drop Bash syntax to avoid start-up warning |
37 |
#config_eth0=( "192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255" ) |
38 |
config_eth0="192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255" |
39 |
# You need to create the PPP net script yourself: |
40 |
# do it via 'cd /etc/init.d ; ln -s net.lo net.ppp0' |
41 |
# We have to instruct ppp0 to actually use ppp |
42 |
config_ppp0=( "ppp" ) |
43 |
# Each PPP interface requires an interface to use as a "Link" |
44 |
link_ppp0="eth0" # PPPoE requires an ethernet interface |
45 |
# Specify what pppd plugins you want to use: available are: |
46 |
# pppoe, pppoa, capi, dhcpc, minconn, radius, radattr, radrealms, winbind |
47 |
plugins_ppp0=( "pppoe" ) |
48 |
# PPP requires at least a username. |
49 |
# It will use the password specified in /etc/ppp/*-secrets |
50 |
username_ppp0='****@***' |
51 |
#pppd_ppp0=( "debug" "updetach" "noauth" "defaultroute" "usepeerdns" "persist" ) |
52 |
pppd_ppp0=( "updetach" "defaultroute" ) |
53 |
|
54 |
Does anyone have further suggestions or comments ? |
55 |
|
56 |
-- |
57 |
========================,,============================================ |
58 |
SUPPORT ___________//___, Philip Webb |
59 |
ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto |
60 |
TRANSIT `-O----------O---' purslowatchassdotutorontodotca |