Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Update to openrc-0.9.4 warning
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
f4c3m3l70r
n00b
n00b


Joined: 19 Jul 2011
Posts: 47

PostPosted: Tue Nov 29, 2011 6:32 pm    Post subject: Update to openrc-0.9.4 warning Reply with quote

I updated my system today and get a warning at boot.
Im not using dhcp and set up network manually using the gentoo documentation this summer.
And there ist no example.net file in any /etc folder, dont know what to do at this point.
Anyway network is "still" working...

Quote:
You are using a bash array for config.eth0
This feature will be removed in the future.
Please see net.example for the correct format for config_eth0
192.168.178.23 ...

You are using a bash array for config.eth0
This feature will be removed in the future.
Please see net.example for the correct format for routes_eth0


Quote:
/etc/init.d/net
config_eth0=( "192.168.178.23 netmask 255.255.255.0 brd 192.168.178.255" )
routes_eth0=( "default via 192.168.178.5" )

_________________
i7-4820X | ROG RIVE | 16GB 2400MHz CL10 | SSD 850 Pro | Essence STX | GTX970
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Tue Nov 29, 2011 6:39 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-899060-highlight-.html
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Tue Nov 29, 2011 6:39 pm    Post subject: Reply with quote

Just remove the parentheses/brackets from the statements, you already have them in double quotes anyways, that's all you need, ie;
Code:
config_eth0="192.168.178.23 netmask 255.255.255.0 brd 192.168.178.255"
routes_eth0="default via 192.168.178.5"


For reference, the example.net file should be under /usr/share/doc/openrc-0.9.4.

Edit: gah, too slow... :(
_________________
"You have to invite me in"


Last edited by Sadako on Tue Nov 29, 2011 6:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
livinskull
n00b
n00b


Joined: 30 Jul 2011
Posts: 4

PostPosted: Tue Nov 29, 2011 6:39 pm    Post subject: Reply with quote

Just remove the parenthesis after config_eth0:

Quote:
config_eth0="192.168.178.23 netmask 255.255.255.0 brd 192.168.178.255"


The new example.net is btw bzipped in /usr/share/doc/openrc-0.9.4/

EDIT: gnarl, even slower :?
Back to top
View user's profile Send private message
f4c3m3l70r
n00b
n00b


Joined: 19 Jul 2011
Posts: 47

PostPosted: Tue Nov 29, 2011 6:51 pm    Post subject: Reply with quote

Thank you, that fixed it :)
_________________
i7-4820X | ROG RIVE | 16GB 2400MHz CL10 | SSD 850 Pro | Essence STX | GTX970
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Thu Dec 01, 2011 12:54 pm    Post subject: Reply with quote

Moved from Networking & Security to Duplicate Threads, please see You are using a bash array for config_eth0. how to?
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum