public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: FredL <raptor@drakonix.fr>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Fresh install and problem with net.* init.d script
Date: Mon, 22 Jul 2013 21:42:53 +0100	[thread overview]
Message-ID: <c414ff75bc8b8764d75014dfdc43ce1a@drakonix.fr> (raw)

Hello,

I've just build a new gentoo system from my running one (no cd install 
at all) and everything seems to be fine except that I can't start any 
net.* script from default runlevel.

I use the new udev naming scheme, it detect my 2 interface as enp2s0 and 
enp5s1 so I have created the symlinks like this:

ln -s /etc/init.d/net.lo /etc/init.d/net.enp2s0

then I have added the script to default runlevel:

rc-update add net.enp2s0 default

These iface are configured with static ip in /etc/conf.d/net like this:

config_enp2s0="192.168.0.5 netmask 255.255.255.0 brd 192.168.0.255"
routes_enp2s0="default via 192.168.0.1"

config_enp5s1="10.10.10.100/24"

when I boot the system, none of my two interface are started, instead 
dhcpcd start and assign ip from dhcp server

After booting if I manually start the scripts it assign my static config 
to an alias of my interfaces...

I really can't figure out what I am doing wrong, If someone have any 
idea it would be nice.

Thanks for reading and sorry for my poor english speaking

Fred Leon



             reply	other threads:[~2013-07-22 20:43 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-22 20:42 FredL [this message]
2013-07-22 20:54 ` [gentoo-user] Fresh install and problem with net.* init.d script Paul Hartman
2013-07-22 21:13   ` FredL
2013-07-22 21:35     ` FredL
2013-07-22 21:44       ` Alan McKinnon
2013-07-22 22:02         ` FredL
2013-07-22 22:08           ` Alan McKinnon
2013-07-22 22:45             ` FredL
2013-07-23  0:13               ` Neil Bothwick
2013-07-23  7:43                 ` FredL
2013-07-23 11:06             ` Tanstaafl
2013-07-23 12:02               ` Bruce Hill
2013-07-23 12:20               ` Yohan Pereira
2013-07-23 14:22                 ` FredL
2013-07-24  2:17         ` [gentoo-user] " Steven J. Long
2013-07-24  9:02           ` Neil Bothwick
2013-07-24  9:39             ` Alan McKinnon
2013-07-24 17:51               ` [gentoo-user] " Steven J. Long
2013-07-24 19:37                 ` Alan McKinnon
2013-07-24 20:18                   ` [gentoo-user] " Steven J. Long
2013-07-24 21:04                     ` Alan McKinnon
2013-07-27 18:28                       ` [gentoo-user] Reinventing the wheel Steven J. Long
2013-07-24 17:32             ` [gentoo-user] Re: Re: Fresh install and problem with net.* init.d script Steven J. Long
2013-07-26 19:59       ` [gentoo-user] " Markus Kaindl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c414ff75bc8b8764d75014dfdc43ce1a@drakonix.fr \
    --to=raptor@drakonix.fr \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox