On Wednesday 04 Mar 2015 15:40:12 German wrote:
> On Wed, 4 Mar 2015 12:07:39 +0000
> 
> Neil Bothwick <[email protected]> wrote:
> > On Wed, 4 Mar 2015 06:57:48 -0500, German wrote:
> > > On Wed, 4 Mar 2015 08:09:12 +0000
> > > 
> > > Neil Bothwick <[email protected]> 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.

You also do not need to define dhcp for enp2s0, because it will be used by 
default.

> > > config_sit0="dhcp"

You only need this if you intend to set up and use IPv6 through an IPv4 
tunnel.  Most people won't need this.


> > > 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/PredictableNetworkIn
> > > > terfaceNames/

Now that you're connected, or should I say BEFORE you got connected, you 
should also consider configuring a firewall for your IPv4 (and/or IPv6) 
network.

-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to