On Wed, 4 Mar 2015 06:57:48 -0500, German wrote:

> On Wed, 4 Mar 2015 08:09:12 +0000
> Neil Bothwick <n...@digimed.co.uk> wrote:
> 
> > On Wed, 4 Mar 2015 02:01:20 -0500, German wrote:
> > 
> > > So I rebuilt my kernel with r8169 for network NIC and rtl8723be for
> > > Wi-fi NIC, however I can't connect to internet. I think the problem
> > > here with interfaces, but could be something else, have no clue. I
> > > remember when I installed openSuse, it listed my interfaces like
> > > "SP0_something" instead of eth0. But I followed gentoo install doc
> > > and configured it with eth0. Can it be that problem lays somewhere
> > > here? And how to get the list of interfaces on my machine? 
> > 
> > ifconfig -a lists all interfaces present.
> 
> Of course I don't have any eth0 interface. What I have are:
> 
> enp2s0
> lo
> sit0
> wlp1s0

Did you read the links later in my post? They explain this.
 
> What I am about to do:
> Update my /etc/conf.d/net like so:
> 
> config_enp2s0="dhcp"
> config_lo="dhcp"

you need nothing for lo.

> config_sit0="dhcp"
> config_wlp1s0="dhcp"
> 
> cd /etc/init.d
> ln -s net.enp2s0 net.sit0 net.wlp1s0

Interfaces in init.d should each be symlinked to net.lo. But if you put
all interfaces in init.d openrc will try to start all of them. Is that
what you really want? If you have both wired and wireless interfaces, it
is usual to use a network manager to control them.


> 
> rm /etc/init.d/net.eth0
> 
> rc-update del net.eth0 default
> 
> rc-update add net.enp2s0 sit0 wlp1s0 default
> 
> Please let me know if you find these steps correct. Thanks
> 
> > 
> > Unless you added net.ifnames=0 to your kernel options, you will be
> > using the new(ish) predictable network interface names, see
> > 
> > http://wiki.gentoo.org/wiki/Udev/upgrade#udev_208_to_216
> > and
> > http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
> > 
> > 
> > -- 
> > Neil Bothwick
> > 
> > Bug: (n.) any program feature not yet described to the marketing
> > department.
> 
> 




-- 
Neil Bothwick

Accordion: a bagpipe with pleats.

Attachment: pgpYLp97f_nwN.pgp
Description: OpenPGP digital signature

Reply via email to