View previous topic :: View next topic |
Author |
Message |
Helena Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/921074267456e747f3f0b4.jpg)
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 |
|
![](templates/gentoo/images/spacer.gif) |
jkt Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
Helena Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/921074267456e747f3f0b4.jpg)
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... ![Confused :?](images/smiles/icon_confused.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
To Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/106869468452b5c7dd8e5d.png)
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 |
|
![](templates/gentoo/images/spacer.gif) |
Helena Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/921074267456e747f3f0b4.jpg)
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 |
|
![](templates/gentoo/images/spacer.gif) |
|