Gentoo Archives: gentoo-user

From: German <gentgerman@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] No network ( Solved, I am connected, thanks)
Date: Wed, 04 Mar 2015 15:40:31
Message-Id: 20150304104012.994ff35cc1dde1501c0a3036@gmail.com
In Reply to: Re: [gentoo-user] No network by Neil Bothwick
1 On Wed, 4 Mar 2015 12:07:39 +0000
2 Neil Bothwick <neil@××××××××××.uk> wrote:
3
4 > On Wed, 4 Mar 2015 06:57:48 -0500, German wrote:
5 >
6 > > On Wed, 4 Mar 2015 08:09:12 +0000
7 > > Neil Bothwick <neil@××××××××××.uk> wrote:
8 > >
9 > > > On Wed, 4 Mar 2015 02:01:20 -0500, German wrote:
10 > > >
11 > > > > So I rebuilt my kernel with r8169 for network NIC and rtl8723be for
12 > > > > Wi-fi NIC, however I can't connect to internet. I think the problem
13 > > > > here with interfaces, but could be something else, have no clue. I
14 > > > > remember when I installed openSuse, it listed my interfaces like
15 > > > > "SP0_something" instead of eth0. But I followed gentoo install doc
16 > > > > and configured it with eth0. Can it be that problem lays somewhere
17 > > > > here? And how to get the list of interfaces on my machine?
18 > > >
19 > > > ifconfig -a lists all interfaces present.
20 > >
21 > > Of course I don't have any eth0 interface. What I have are:
22 > >
23 > > enp2s0
24 > > lo
25 > > sit0
26 > > wlp1s0
27 >
28 > Did you read the links later in my post? They explain this.
29 >
30 > > What I am about to do:
31 > > Update my /etc/conf.d/net like so:
32 > >
33 > > config_enp2s0="dhcp"
34 > > config_lo="dhcp"
35 >
36 > you need nothing for lo.
37 >
38 > > config_sit0="dhcp"
39 > > config_wlp1s0="dhcp"
40 > >
41 > > cd /etc/init.d
42 > > ln -s net.enp2s0 net.sit0 net.wlp1s0
43 >
44 > Interfaces in init.d should each be symlinked to net.lo. But if you put
45 > all interfaces in init.d openrc will try to start all of them. Is that
46 > what you really want? If you have both wired and wireless interfaces, it
47 > is usual to use a network manager to control them.
48 >
49 >
50 > >
51 > > rm /etc/init.d/net.eth0
52 > >
53 > > rc-update del net.eth0 default
54 > >
55 > > rc-update add net.enp2s0 sit0 wlp1s0 default
56 > >
57 > > Please let me know if you find these steps correct. Thanks
58 > >
59 > > >
60 > > > Unless you added net.ifnames=0 to your kernel options, you will be
61 > > > using the new(ish) predictable network interface names, see
62 > > >
63 > > > http://wiki.gentoo.org/wiki/Udev/upgrade#udev_208_to_216
64 > > > and
65 > > > http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
66 > > >
67 > > >
68 > > > --
69 > > > Neil Bothwick
70 > > >
71 > > > Bug: (n.) any program feature not yet described to the marketing
72 > > > department.
73 > >
74 > >
75 >
76 >
77 >
78 >
79 > --
80 > Neil Bothwick
81 >
82 > Accordion: a bagpipe with pleats.
83
84
85 --
86 German <gentgerman@×××××.com>

Replies

Subject Author
Re: [gentoo-user] No network ( Solved, I am connected, thanks) Mick <michaelkintzios@×××××.com>