Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
TIP about /etc/conf.d/net syntax
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Helena
Veteran
Veteran


Joined: 02 Apr 2003
Posts: 1114
Location: Den Dolder, The Netherlands

PostPosted: Wed Dec 08, 2004 12:03 pm    Post subject: TIP about /etc/conf.d/net syntax Reply with quote

While playing around with /ect/conf.d/net as it is in the latest (testing) baselayout (>1.11.7 I believe) I discovered a small syntax peculiarity which may always have been there. Just for the record: don't leave any spaces around the '='-sign in e.g. the following statement:
Code:
config_eth0=( "dhcp" )
If you do, the statement will not be recognized, and DHCP will be assumed.
Back to top
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Wed Dec 08, 2004 3:57 pm    Post subject: Reply with quote

what about
Code:

# without ()
config_eth0 = "dhcp"
Back to top
View user's profile Send private message
Helena
Veteran
Veteran


Joined: 02 Apr 2003
Posts: 1114
Location: Den Dolder, The Netherlands

PostPosted: Thu Dec 09, 2004 8:55 am    Post subject: Reply with quote

jkt wrote:
what about
Code:

# without ()
config_eth0 = "dhcp"
No it doesn't work... :?
Back to top
View user's profile Send private message
To
Veteran
Veteran


Joined: 12 Apr 2003
Posts: 1145
Location: Coimbra, Portugal

PostPosted: Thu Dec 09, 2004 9:57 am    Post subject: Reply with quote

What about ifconfig_eth0=( "dhcp" ) ?


_________________

------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------
Back to top
View user's profile Send private message
Helena
Veteran
Veteran


Joined: 02 Apr 2003
Posts: 1114
Location: Den Dolder, The Netherlands

PostPosted: Fri Dec 10, 2004 5:57 pm    Post subject: Reply with quote

To wrote:
What about ifconfig_eth0=( "dhcp" ) ?

According to /etc/conf.d/net.example that syntax isn't supported at all, so I haven't even tried.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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