From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C311C138CA3 for ; Wed, 4 Mar 2015 18:25:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E1899E08E9; Wed, 4 Mar 2015 18:25:20 +0000 (UTC) Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 999FAE08D6 for ; Wed, 4 Mar 2015 18:25:19 +0000 (UTC) Received: by wghb13 with SMTP id b13so48489874wgh.0 for ; Wed, 04 Mar 2015 10:25:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=O1c3/TZOSCYlP1eDe8LdK+UcaFNoB0JauGLCNWFLIWg=; b=iBuF7gqsmc3MKu4wmCCEmtlQdPUJkp3wK1xfDSgE6ApzaR1wI1ToII3BEAX0ahh436 GR6Bo6vnP9jpZV8Pvx4AleTbuZ++B22vz2MeSszpAcxJ/1PrMYkVqd6Mjk2jEbYK9Jhh zTAcueOh7YKsO7xDCVOPOA5ce+M6WbQb2epU/lP/FjIWmVVCW3++0Lo8+qaNmZT4lfuK pSWXPAOhQ+FLvnzWsDqQ5ueVaSx2SCJx/9ckzJDsLrfpOLId/PhBdtoo5Xb4td6+hjA1 46Jk5iezsPVfcKvw6rLH8nMNVK5+B1uVW+W3YNZqCnxQp460sCrCZZO7RBIoGrtpJ13o DKmw== X-Received: by 10.180.188.41 with SMTP id fx9mr14937522wic.93.1425493518318; Wed, 04 Mar 2015 10:25:18 -0800 (PST) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa. [217.169.3.230]) by mx.google.com with ESMTPSA id lx10sm7057149wjb.17.2015.03.04.10.25.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 04 Mar 2015 10:25:17 -0800 (PST) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] No network ( Solved, I am connected, thanks) Date: Wed, 4 Mar 2015 18:25:07 +0000 User-Agent: KMail/1.13.7 (Linux/3.18.7-gentoo; KDE/4.14.3; x86_64; ; ) References: <20150304020120.f69873a3b95995fd9a352749@gmail.com> <20150304120739.37afdc1d@hactar.digimed.co.uk> <20150304104012.994ff35cc1dde1501c0a3036@gmail.com> In-Reply-To: <20150304104012.994ff35cc1dde1501c0a3036@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4019152.gXpqMM4MHM"; protocol="application/pgp-signature"; micalg=pgp-sha256 Content-Transfer-Encoding: 7bit Message-Id: <201503041825.17385.michaelkintzios@gmail.com> X-Archives-Salt: f1a251b4-debb-43c0-910b-ee4582c01407 X-Archives-Hash: e0ec0dff42b61f95b70e0048ca159f20 --nextPart4019152.gXpqMM4MHM Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Wednesday 04 Mar 2015 15:40:12 German wrote: > On Wed, 4 Mar 2015 12:07:39 +0000 >=20 > Neil Bothwick wrote: > > On Wed, 4 Mar 2015 06:57:48 -0500, German wrote: > > > On Wed, 4 Mar 2015 08:09:12 +0000 > > >=20 > > > Neil Bothwick wrote: > > > > On Wed, 4 Mar 2015 02:01:20 -0500, German wrote: > > > > > So I rebuilt my kernel with r8169 for network NIC and rtl8723be f= or > > > > > Wi-fi NIC, however I can't connect to internet. I think the probl= em > > > > > 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? > > > >=20 > > > > ifconfig -a lists all interfaces present. > > >=20 > > > Of course I don't have any eth0 interface. What I have are: > > >=20 > > > enp2s0 > > > lo > > > sit0 > > > wlp1s0 > >=20 > > Did you read the links later in my post? They explain this. > >=20 > > > What I am about to do: > > > Update my /etc/conf.d/net like so: > > >=20 > > > config_enp2s0=3D"dhcp" > > > config_lo=3D"dhcp" > >=20 > > you need nothing for lo. You also do not need to define dhcp for enp2s0, because it will be used by= =20 default. > > > config_sit0=3D"dhcp" You only need this if you intend to set up and use IPv6 through an IPv4=20 tunnel. Most people won't need this. > > > config_wlp1s0=3D"dhcp" > > >=20 > > > cd /etc/init.d > > > ln -s net.enp2s0 net.sit0 net.wlp1s0 > >=20 > > 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. > >=20 > > > rm /etc/init.d/net.eth0 > > >=20 > > > rc-update del net.eth0 default > > >=20 > > > rc-update add net.enp2s0 sit0 wlp1s0 default > > >=20 > > > Please let me know if you find these steps correct. Thanks > > >=20 > > > > Unless you added net.ifnames=3D0 to your kernel options, you will be > > > > using the new(ish) predictable network interface names, see > > > >=20 > > > > http://wiki.gentoo.org/wiki/Udev/upgrade#udev_208_to_216 > > > > and > > > > http://www.freedesktop.org/wiki/Software/systemd/PredictableNetwork= In > > > > terfaceNames/ Now that you're connected, or should I say BEFORE you got connected, you=20 should also consider configuring a firewall for your IPv4 (and/or IPv6)=20 network. =2D-=20 Regards, Mick --nextPart4019152.gXpqMM4MHM Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABCAAGBQJU904NAAoJELAdA+zwE4YexAMH/RqUuFnWQ7Hi/+ljbgCRkzzB qVDaUEufl3COg3GI8CoNujY4qcnRNsxQLTi00m9SJvnbCEDZsMuJM6cbbETnvLGf XPcY+Q/NPqyJFH+WAbnkM189LcNj3orK3EjZBEqEGGq4Ut+k+XoqqAG25XQdjc7b N/uOMTZSF8cZnAFLuQmVIuSgwDVjytjG6T2Ph67KcJERNTGxaHa7ym3I+p6xTa4s svS8c1ahcj3nz4bfKd2HbI3sOB6MZAAbEPUFPJK4qhvOhpvb7AcdyONyLoAYC0Je 8JRbrG+EEiLXs/mdSX+zbYEgDXoHJNB+RsUbdiHfD94y+CZy3AlVBH7e+FPssWI= =1GMh -----END PGP SIGNATURE----- --nextPart4019152.gXpqMM4MHM--