* [gentoo-user] No network @ 2015-03-04 7:01 German 2015-03-04 8:09 ` Neil Bothwick 0 siblings, 1 reply; 10+ messages in thread From: German @ 2015-03-04 7:01 UTC (permalink / raw To: gentoo-user 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? Thanks -- German <gentgerman@gmail.com> ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] No network 2015-03-04 7:01 [gentoo-user] No network German @ 2015-03-04 8:09 ` Neil Bothwick 2015-03-04 11:57 ` German 0 siblings, 1 reply; 10+ messages in thread From: Neil Bothwick @ 2015-03-04 8:09 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 965 bytes --] 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. 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. [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 181 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] No network 2015-03-04 8:09 ` Neil Bothwick @ 2015-03-04 11:57 ` German 2015-03-04 12:07 ` Neil Bothwick 0 siblings, 1 reply; 10+ messages in thread From: German @ 2015-03-04 11:57 UTC (permalink / raw To: gentoo-user On Wed, 4 Mar 2015 08:09:12 +0000 Neil Bothwick <neil@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 What I am about to do: Update my /etc/conf.d/net like so: config_enp2s0="dhcp" config_lo="dhcp" config_sit0="dhcp" config_wlp1s0="dhcp" cd /etc/init.d ln -s net.enp2s0 net.sit0 net.wlp1s0 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. -- German <gentgerman@gmail.com> ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] No network 2015-03-04 11:57 ` German @ 2015-03-04 12:07 ` Neil Bothwick 2015-03-04 15:40 ` [gentoo-user] No network ( Solved, I am connected, thanks) German 0 siblings, 1 reply; 10+ messages in thread From: Neil Bothwick @ 2015-03-04 12:07 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 2165 bytes --] On Wed, 4 Mar 2015 06:57:48 -0500, German wrote: > On Wed, 4 Mar 2015 08:09:12 +0000 > Neil Bothwick <neil@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 #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 181 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] No network ( Solved, I am connected, thanks) 2015-03-04 12:07 ` Neil Bothwick @ 2015-03-04 15:40 ` German 2015-03-04 18:25 ` Mick 0 siblings, 1 reply; 10+ messages in thread From: German @ 2015-03-04 15:40 UTC (permalink / raw To: gentoo-user On Wed, 4 Mar 2015 12:07:39 +0000 Neil Bothwick <neil@digimed.co.uk> wrote: > On Wed, 4 Mar 2015 06:57:48 -0500, German wrote: > > > On Wed, 4 Mar 2015 08:09:12 +0000 > > Neil Bothwick <neil@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. -- German <gentgerman@gmail.com> ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] No network ( Solved, I am connected, thanks) 2015-03-04 15:40 ` [gentoo-user] No network ( Solved, I am connected, thanks) German @ 2015-03-04 18:25 ` Mick 2015-03-05 2:26 ` German 0 siblings, 1 reply; 10+ messages in thread From: Mick @ 2015-03-04 18:25 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: Text/Plain, Size: 2698 bytes --] On Wednesday 04 Mar 2015 15:40:12 German wrote: > On Wed, 4 Mar 2015 12:07:39 +0000 > > Neil Bothwick <neil@digimed.co.uk> wrote: > > On Wed, 4 Mar 2015 06:57:48 -0500, German wrote: > > > On Wed, 4 Mar 2015 08:09:12 +0000 > > > > > > Neil Bothwick <neil@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. 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 #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 473 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] No network ( Solved, I am connected, thanks) 2015-03-04 18:25 ` Mick @ 2015-03-05 2:26 ` German 2015-03-05 9:36 ` Peter Humphrey 0 siblings, 1 reply; 10+ messages in thread From: German @ 2015-03-05 2:26 UTC (permalink / raw To: gentoo-user On Wed, 4 Mar 2015 18:25:07 +0000 Mick <michaelkintzios@gmail.com> wrote: > On Wednesday 04 Mar 2015 15:40:12 German wrote: > > On Wed, 4 Mar 2015 12:07:39 +0000 > > > > Neil Bothwick <neil@digimed.co.uk> wrote: > > > On Wed, 4 Mar 2015 06:57:48 -0500, German wrote: > > > > On Wed, 4 Mar 2015 08:09:12 +0000 > > > > > > > > Neil Bothwick <neil@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. > > 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. What package I should use for this on a console? I want something simple but efficient. > > -- > Regards, > Mick -- German <gentgerman@gmail.com> ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] No network ( Solved, I am connected, thanks) 2015-03-05 2:26 ` German @ 2015-03-05 9:36 ` Peter Humphrey 2015-03-05 10:12 ` German 0 siblings, 1 reply; 10+ messages in thread From: Peter Humphrey @ 2015-03-05 9:36 UTC (permalink / raw To: gentoo-user On Wednesday 04 March 2015 21:26:53 German wrote: > On Wed, 4 Mar 2015 18:25:07 +0000 > Mick <michaelkintzios@gmail.com> wrote: > > 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. > > What package I should use for this on a console? I want something > simple but efficient. I use shorewall. It's not too hard to understand and I haven't seen any reports of problems with it. -- Rgds Peter. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] No network ( Solved, I am connected, thanks) 2015-03-05 9:36 ` Peter Humphrey @ 2015-03-05 10:12 ` German 2015-03-05 21:13 ` Mick 0 siblings, 1 reply; 10+ messages in thread From: German @ 2015-03-05 10:12 UTC (permalink / raw To: gentoo-user On Thu, 05 Mar 2015 09:36 +0000 Peter Humphrey <peter@prh.myzen.co.uk> wrote: > On Wednesday 04 March 2015 21:26:53 German wrote: > > On Wed, 4 Mar 2015 18:25:07 +0000 > > Mick <michaelkintzios@gmail.com> wrote: > > > 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. > > > > What package I should use for this on a console? I want something > > simple but efficient. > > I use shorewall. It's not too hard to understand and I haven't seen any > reports of problems with it. Thanks for recommendation > > -- > Rgds > Peter. > > -- German <gentgerman@gmail.com> ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] No network ( Solved, I am connected, thanks) 2015-03-05 10:12 ` German @ 2015-03-05 21:13 ` Mick 0 siblings, 0 replies; 10+ messages in thread From: Mick @ 2015-03-05 21:13 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: Text/Plain, Size: 903 bytes --] On Thursday 05 Mar 2015 10:12:33 German wrote: > On Thu, 05 Mar 2015 09:36 +0000 > > Peter Humphrey <peter@prh.myzen.co.uk> wrote: > > On Wednesday 04 March 2015 21:26:53 German wrote: > > > On Wed, 4 Mar 2015 18:25:07 +0000 > > > > > > Mick <michaelkintzios@gmail.com> wrote: > > > > 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. > > > > > > What package I should use for this on a console? I want something > > > simple but efficient. > > > > I use shorewall. It's not too hard to understand and I haven't seen any > > reports of problems with it. > > Thanks for recommendation Also have a look at: net-firewall/arno-iptables-firewall It's just a script for iptables, but with an easy to walk through configuration file. -- Regards, Mick [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 473 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2015-03-05 21:14 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-03-04 7:01 [gentoo-user] No network German 2015-03-04 8:09 ` Neil Bothwick 2015-03-04 11:57 ` German 2015-03-04 12:07 ` Neil Bothwick 2015-03-04 15:40 ` [gentoo-user] No network ( Solved, I am connected, thanks) German 2015-03-04 18:25 ` Mick 2015-03-05 2:26 ` German 2015-03-05 9:36 ` Peter Humphrey 2015-03-05 10:12 ` German 2015-03-05 21:13 ` Mick
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox