public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] conf.d/net config syntax
@ 2006-01-16 19:06 Jean Magnan de Bornier
  2006-01-16 20:03 ` Willie Wong
  2006-01-16 20:17 ` Ryan Viljoen
  0 siblings, 2 replies; 4+ messages in thread
From: Jean Magnan de Bornier @ 2006-01-16 19:06 UTC (permalink / raw
  To: gentoo-user

Hi all,
I have a very simple conf.d/net file:

.................................
iface_eth0="dhcp"
ifconfig_eth0=( "dhcp" )
#ipaddr-eth0=( "dhcp" )
dhcpcd_eth0="-t 30"
fallback_eth0=( "194.199.136.151 netmask 255.255.255.0 " )
fallback_route_eth0=( "default via 194.199.136.250" )

modules=( "wpa_supplicant" )
# Users of madwifi add this:
#wpa_supplicant_eth1="-Dmadwifi"
# Users of Intel ipw2100/2200 (Centrino) chips with older kernels add this:
wpa_supplicant_eth1="-Dipw"
#wpa_timeout_ath0=60
# As of kernel 2.6.15 (and probably earlier), centrino users have to use
#wpa_supplicant_eth1="-Dwext"
wpa_timeout_eth1=60
..................................


Today I modified somehow the first six lines, to obtain a good behaviour
of the fallback, and I got it (everything but wireless works well); but
since these modifications, I get this message:

You are using a depreciated configuration syntax for eth0
You are advised to read /etc/conf.d/net.example and upgrade it accordingly

Well I've read it, and I don't really see my fault; so out of curiosity
where is the problem (again, it works well); I also tried commenting out
the first line, it has no effect!
  
tia,
-- 
  Jean Magnan de Bornier             |        Cours Victor Hugo
  e-mots: jean at bornier.net        |        13980 Alleins   France
  T 08 70 39 34 03                   |        P 06 09 17 35 87


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] conf.d/net config syntax
  2006-01-16 19:06 [gentoo-user] conf.d/net config syntax Jean Magnan de Bornier
@ 2006-01-16 20:03 ` Willie Wong
  2006-01-16 21:31   ` Jean Magnan de Bornier
  2006-01-16 20:17 ` Ryan Viljoen
  1 sibling, 1 reply; 4+ messages in thread
From: Willie Wong @ 2006-01-16 20:03 UTC (permalink / raw
  To: gentoo-user

On Mon, Jan 16, 2006 at 08:06:14PM +0100, Penguin Lover Jean Magnan de Bornier squawked:
> Hi all,
> I have a very simple conf.d/net file:
> 
> .................................
> iface_eth0="dhcp"
> ifconfig_eth0=( "dhcp" )
> #ipaddr-eth0=( "dhcp" )
> dhcpcd_eth0="-t 30"
> fallback_eth0=( "194.199.136.151 netmask 255.255.255.0 " )
> fallback_route_eth0=( "default via 194.199.136.250" )
<snip>
> You are using a depreciated configuration syntax for eth0
> You are advised to read /etc/conf.d/net.example and upgrade it accordingly

instead of iface_eth0="dhcp" or ifconfig_eth0=("dhcp"), you want
to write config_eth0=( "dhcp" )

W
> 
-- 
3.1415926535897932384626433832795028841971693993751058209749445923078164062862
089986280348253421170679821480865132823066470938446095505822317253594081284811
Sortir en Pantoufles: up 65 days, 12:21
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] conf.d/net config syntax
  2006-01-16 19:06 [gentoo-user] conf.d/net config syntax Jean Magnan de Bornier
  2006-01-16 20:03 ` Willie Wong
@ 2006-01-16 20:17 ` Ryan Viljoen
  1 sibling, 0 replies; 4+ messages in thread
From: Ryan Viljoen @ 2006-01-16 20:17 UTC (permalink / raw
  To: gentoo-user

> Today I modified somehow the first six lines, to obtain a good behaviour
> of the fallback, and I got it (everything but wireless works well); but
> since these modifications, I get this message:
>
> You are using a depreciated configuration syntax for eth0
> You are advised to read /etc/conf.d/net.example and upgrade it accordingly
>
> Well I've read it, and I don't really see my fault; so out of curiosity
> where is the problem (again, it works well); I also tried commenting out
> the first line, it has no effect!

Just checking here:
1. Have you done a etc-update since your last emerge sync && emerge world?
2. Is your net.eth0 linked to your net.lo?
3. Similarly with you net.eth1?

--
Ryan Viljoen Bsc(Eng) (Electrical)

"Facts are stubborn things, but statistics are more pliable."
  - Mark Twain

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] conf.d/net config syntax
  2006-01-16 20:03 ` Willie Wong
@ 2006-01-16 21:31   ` Jean Magnan de Bornier
  0 siblings, 0 replies; 4+ messages in thread
From: Jean Magnan de Bornier @ 2006-01-16 21:31 UTC (permalink / raw
  To: gentoo-user

Le 16 janvier à 21:03:09 Willie Wong <wwong@Princeton.EDU> écrit notamment:

| On Mon, Jan 16, 2006 at 08:06:14PM +0100, Penguin Lover Jean Magnan de Bornier squawked:
| > Hi all,
| > I have a very simple conf.d/net file:
| > 
| > .................................
| > iface_eth0="dhcp"
| > ifconfig_eth0=( "dhcp" )
| > #ipaddr-eth0=( "dhcp" )
| > dhcpcd_eth0="-t 30"
| > fallback_eth0=( "194.199.136.151 netmask 255.255.255.0 " )
| > fallback_route_eth0=( "default via 194.199.136.250" )
| <snip>
| > You are using a depreciated configuration syntax for eth0
| > You are advised to read /etc/conf.d/net.example and upgrade it accordingly
>
| instead of iface_eth0="dhcp" or ifconfig_eth0=("dhcp"), you want
| to write config_eth0=( "dhcp" )

Yes! No more complaint!


| Sortir en Pantoufles: up 65 days, 12:21
Moi aussi j'aime mes pantoufles :-)

Thanks
-- 
  Jean Magnan de Bornier             |        Cours Victor Hugo
  e-mots: jean at bornier.net        |        13980 Alleins   France
  T 08 70 39 34 03                   |        P 06 09 17 35 87

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-01-16 20:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-16 19:06 [gentoo-user] conf.d/net config syntax Jean Magnan de Bornier
2006-01-16 20:03 ` Willie Wong
2006-01-16 21:31   ` Jean Magnan de Bornier
2006-01-16 20:17 ` Ryan Viljoen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox