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