From owner-freebsd-questions@freebsd.org Wed May 6 08:23:27 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BE1B813ABA0 for ; Wed, 6 May 2020 08:23:27 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49H8k669MKz4Jjm for ; Wed, 6 May 2020 08:23:26 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.27.16]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPA (Nemesis) id 1Md66H-1iwuN83vRj-00aAD0; Wed, 06 May 2020 10:18:18 +0200 Date: Wed, 6 May 2020 10:18:17 +0200 From: Polytropon To: Brandon helsley Cc: Aryeh Friedman , Polytropon , "freebsd-questions@freebsd.org" Subject: Re: bsd install Message-Id: <20200506101817.5769bfea.freebsd@edvax.de> In-Reply-To: References: <20200505203456.8b85330a.freebsd@edvax.de> <20200505211848.b6d81e98.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:W7ohLFQbPxpLbsyfAf0jBLtk7ggeNrVc4RPkKWphl4AwwJoL5dl L+piI8+00HgbKEUxKnnINBSMEuyqEpHm43GPGqqLQ60Vvy0EM23w/DvoleplWyMLCJaQ5rX RxROu0Ukh56MAlUuGtXgklqc91yky4olwNI80K7hS9SP9cDQUMkUtdh99nNmPwMfpStZncO 8qvd8EDA39tSgPJjyNdSw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Tgns1G0xwzc=:qoIvzXNzfSA6npvkVAP2iw zIeaqq5WjVfiGPooSw3S2ZJygRKVtQyiwGs/TgbRgF8P8yFlXp/ODegyIMqesp+F5yN4OZ8WB vfxM9fn1DDHUHJ926+XgJQqngZjJHd9o0uEA89hqySJ56R3ORuLe40audxjMPoorolkR3HnAg AvhJXIj+xB+GftT+cnEh1QhGsrNgt5Twm5ppv0JfT+TNlcKay9va7PL6Xz5AcuFWoOYf3oznW kUcYy5mgBFHjQyQpxVhqn38jk1P4QzVNF37BjUnidv1M1GDqMFpXyZIiCyCJWF8FCCBSeOWY+ SqR+vJyd4bAj8IMMOTaDwfio8RDf67kvjqjnwi5f5/1N7s+VUtgrzs3o8RdiROdqwVPM/4nQ1 OmqMnTfjWBGNojxsureStvmIlZga8+KIEvSWlYvRqni1U2YPOnElJOOM6RcGiy5YGHV7fy2/Q f1EvvMhc3O/eIB33SFInWP58VWs8OcyXMhnxFKyUl7FfZE0FmL70YPYoAdntzaUwe8Me/nhCV kUg2W1Vzhn5I5DAdsognKgvjAkDZhcU2we6rejiyK2R8Uuqpe5VHiLCLtiR/mdZHJXoMbuy0A 5GoxhEgQteaDZaJUikR8KxC2LH4I9tFcOFB9E4BZIgs635dXejYc06ooJSOroCJQnNenFvGDU grXhpEedD4tMZrA+D7eBVUUhNzirTxfhJ6YAQHsPI5PWELJ9xmiXQAXg2BfAKvynw6s+tZ9+T WZBqXnHw+UqPGvegdxbkqvR3CuUbZCYE4LwVB8yN6Fmv174u5xMMzz+198d5yZu7p48hjVGzn ad/HkJ6LTovT1jX+LZSiFP8CtwgK62xnVjdBpyCqFg+Wu65Wbu4MA4gaLkxm0oOyBZ/7ujANf iYs10Fn7oLWHDWIjuVzA== X-Rspamd-Queue-Id: 49H8k669MKz4Jjm X-Spamd-Bar: ++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 217.72.192.73) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [6.32 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; IP_SCORE(0.42)[ip: (-0.18), ipnet: 217.72.192.0/20(0.28), asn: 8560(2.03), country: DE(-0.02)]; GREYLIST(0.00)[pass,body]; HAS_ORG_HEADER(0.00)[]; FREEMAIL_TO(0.00)[hotmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:217.72.192.0/20, country:DE]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[0.998,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[73.192.72.217.list.dnswl.org : 127.0.5.0]; MID_CONTAINS_FROM(1.00)[]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[73.192.72.217.rep.mailspike.net : 127.0.0.19]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2]; SUSPICIOUS_RECIPS(1.50)[] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2020 08:23:27 -0000 On Tue, 5 May 2020 23:56:35 +0000, Brandon helsley wrote: > I'm a complete noob, I don't understand any of this. First you need to know what you're dealing with. :-) First of all, _what_ is your system connected to? A router or something like that? One that goes to your ISP, or one that encloses you into a local network? Then find out if that device offers DHCP, i. e., if it will assign you a local IP if you ask for it. Then find out the name of your network interface you use to connect. Check the output of # ifconfig -a as it will be one of those entries. For every entry, you can use "man " to find out what it is. BEside a "lo0" interface you'll probably only have one or two others. One has an attribute like "media: Ethernet" and "status: connected". That's the one you need to configure. Depending on if you can have DHCP (automatic) or need to configure things manually - in this case, ask your installation about _what_ you have to set up -, go to work. DHCP ---- Let's say you network interface is bge0. Edit /etc/rc.conf and add the following: ifconfig_bge0="DHCP" Reboot. That's it. Manual ------ Get all information you need: my IP, my gateway, my resolver. Let's assume bge0 again, and your IP is 192.168.123.100, the gateway's address is 192.168.123.1, and it also acts as a name server (name resolution) with the same IP 192.168.123.1. Edit /etc/rc.conf and add: ifconfig_bge0="inet 192.168.123.100 netmask 0xffffff00" defaultrouter="192.168.123.1" Edit /etc/resolv.conf nameserver 192.168.123.1 Again, allow me to point you to the relevant section of the FreeBSD handbook where this topic is covered. https://www.freebsd.org/doc/handbook/config-network-setup.html Keep in mind: You don't have to deal with most things anyway if you can use DHCP, but it doesn't hurt to know the basics of networking. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...