View previous topic :: View next topic |
Author |
Message |
Helena Veteran
Joined: 02 Apr 2003 Posts: 1114 Location: Den Dolder, The Netherlands
|
Posted: Wed Dec 08, 2004 12:03 pm Post subject: TIP about /etc/conf.d/net syntax |
|
|
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 |
|
|
jkt Retired Dev
Joined: 06 Feb 2004 Posts: 1250 Location: Prague, Czech republic, EU
|
Posted: Wed Dec 08, 2004 3:57 pm Post subject: |
|
|
what about
Code: |
# without ()
config_eth0 = "dhcp"
|
|
|
Back to top |
|
|
Helena Veteran
Joined: 02 Apr 2003 Posts: 1114 Location: Den Dolder, The Netherlands
|
Posted: Thu Dec 09, 2004 8:55 am Post subject: |
|
|
jkt wrote: | what about
Code: |
# without ()
config_eth0 = "dhcp"
|
| No it doesn't work... |
|
Back to top |
|
|
To Veteran
Joined: 12 Apr 2003 Posts: 1145 Location: Coimbra, Portugal
|
Posted: Thu Dec 09, 2004 9:57 am Post subject: |
|
|
What about ifconfig_eth0=( "dhcp" ) ?
Tó _________________
------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------ |
|
Back to top |
|
|
Helena Veteran
Joined: 02 Apr 2003 Posts: 1114 Location: Den Dolder, The Netherlands
|
Posted: Fri Dec 10, 2004 5:57 pm Post subject: |
|
|
To wrote: | What about ifconfig_eth0=( "dhcp" ) ?
Tó | According to /etc/conf.d/net.example that syntax isn't supported at all, so I haven't even tried. |
|
Back to top |
|
|
|