Beide kanten vorige revisieVorige revisieVolgende revisie | Vorige revisieVolgende revisieBeide kanten volgende revisie |
nl:slackware:beginners_guide [2012/10/21 23:13 (UTC)] – Vertaling van meer secties. alienbob | nl:slackware:beginners_guide [2012/10/22 20:23 (UTC)] – [Traditional Network Configuration] Vertaald. alienbob |
---|
| |
| |
===== Configure your Network ===== | ===== Configureer je netwerk ===== |
| |
If you installed the network packages, then at the end of the Slackware installation, you will have been asked a couple of simple questions, like: | Als tijdens de Slackware installatie ook de netwerk pakketten meekwamen, dan moest je aan het eind van de Slackware installatie een aantal eenvoudige vragen beantwoorden, zoals: |
* do you use DHCP; | * gebruik je DHCP in je netwerk; |
* or else, what IP address do you want to use; | * of anders, welk IP addres wil je instellen voor je computer; |
* what is your computer's hostname; | * wat is de netwerknaam van de computer; |
* do you have a (DNS) nameserver in the network? | * heb je een (DNS) nameserver in je netwerk? |
All of these questions have resulted in the setup of a few network related configuration files. | De antwoorden op deze vragen worden gebruikt voor het instellen van een aantal netwerk-gerelateerde configuratie-bestanden. |
| |
* ''/etc/rc.d/rc.inet1.conf'' \\ This is where the details for your network interfaces go. Slackware's ''netconfig'' tool will only configure your ''eth0'' interface. If you have additional network interfaces, you can edit the file with a text editor such as ''nano'' or ''vi'' and add you configuration details. There is a man page for this: <code>man rc.inet1.conf</code> | * ''/etc/rc.d/rc.inet1.conf'' \\ Dit is waar de details over de netwerk interfaces van je computer worden weggeschreven. Slackware's ''netconfig'' programma (dat is het programma dat bovenstaande vragen stelde) zal enkel de ''eth0'' interface configureren. Indien de computer additonele netwerk interfaces bezit (denk aan draadloos netwerk), dan kun je eenvoudigweg dit bestand wijzigen door het te openen in een tekst editor als ''nano'' of ''vi'' en de verdere details van je netwerk configuratie toe te voegen. Slackware heeft een //man//-pagina hiervoor: <code>man rc.inet1.conf</code> |
* ''/etc/resolv.conf'' \\ This is where your nameserver and domain search list are added. If you use DHCP then the DHCP client will update the file. If you use static IP addresses, then you are supposed to edit the file yourself. There is a man page for this: <code>man resolv.conf</code> | * ''/etc/resolv.conf'' \\ In dit bestand worden het IP adres van de nameserver, en de zoeklijst voor domeinen toegevoegd. Indien de computer DHCP gebruikt voor een automatische netwerk configuratie, dan zal de DHCP client dit bestand actueel houden. Indien je een statisch IP adres gebruikt, dan is het de bedoeling dat jij dit bestand zelf van de juiste gegevens voorziet. Ook hiervoor is een man-pagina aanwezig: <code>man resolv.conf</code> |
* ''/etc/HOSTNAME'' \\ This is where your computer's hostname is defined. | * ''/etc/HOSTNAME'' \\ In dit bestand wordt de naam van de computer (de "hostname") ingesteld. |
* ''/etc/hosts'' \\ This is where you will find a definition for your loopback interface which connects that to your hostname. You can add further hostname-to-IP-address mappings in this file if you do not use a DNS server or if you need specific mappings which the DNS server does not provide. There is a man page for this: <code>man hosts</code> | * ''/etc/hosts'' \\ Hierin wordt door Slackware de definitie van de "loopback" interface gedaan, en ook wordt die interface aan de //hostname// van de computer gekoppeld. Je kunt zelf andere koppelingen van //hostname// met IP addressen toevoegen. Dit is een noodzaak wanneer je geen DNS server gebruikt of wanneer je specifieke koppelingen wilt maken die niet door je DNS server worden geleverd. En natuurlijk kun je ook hiervoor een man-pagina raadplegen: <code>man hosts</code> |
| |
If you want to read in more detail about how to configure your network, have a look at this online [[http://alien.slackbook.org/dokuwiki/doku.php?id=slackware:network|comprehensive guide to networking in Slackware]]. | Indien je alles tot in de kleinste details wilt weten over netwerk-instelligen in Slackware, dan moet je deze online [[http://alien.slackbook.org/dokuwiki/doku.php?id=slackware:network|gids voor netwerk configuratie in Slackware]] zeker lezen. |
| |
==== Traditional Network Configuration ==== | ==== Traditionele network configuratie ==== |
| |
=== Wired Network === | === Bedraad netwerk === |
| |
To configure your wired network interface ''eth0'', run (as root) <code> | Om het bedraad netwerk interface ''eth0'' te configureren, start je (als //root// gebruiker) <code> |
# netconfig | # netconfig |
</code> The same script which was run during the installation process. | </code> Dit is het zelfde script dat ook aan het eind van een Slackware installatie loopt. |
| |
<note important>''netconfig'' only deals with the wired connection for ''eth0''.</note> | <note important>''netconfig'' kan alleen een bedrade verbinding voor ''eth0'' opzetten.</note> |
| |
On the assumption that you configured your wired connection with ''netconfig'', your network should be connected automatically without the need for any post-installation configuration. | Aannemende dat je je bedrade netwerk kaart tijdens de installatie hebt ingesteld met ''netconfig'', zal je computer automatisch een verbinding maken met je netwerk, zonder verder ingrijpen. |
| |
If you didn’t enter your network configuration details during installation, just run ''netconfig'' as root; then run <code> | Indien je geen gegevens ingevuld hebt over je netwerk gedurende de installatie van Slackware, dan hoef je op dit moment enkel ''netconfig'' te starten als de //root// gebruiker; daarna moet je het volgend commando uitvoeren: <code> |
# /etc/rc.d/rc.inet1 eth0_start | # /etc/rc.d/rc.inet1 eth0_start |
</code> and you should have a working network connection instantaneously. | </code> wat onmiddellijk zal resulteren in een werkende netwerkverbinding. |
| |
=== Wireless === | === Draadloos netwerk === |
| |
Most common wireless hardware is supported by Linux these days. You can search online if your wireless hardware is supported by 3rd parties that have written Linux drivers. If you want to know if your computer recognizes your wireless card, simply run <code> | De meeste draadloze netwerk hardware wordt tegenwoordig wel door de Linux kernel ondersteund. Je kunt online opzoeken of je adapter wellicht software van derde partijen nodig heeft die niet in de kernel ingebakken zit. Als je wilt weten of de Linux kernel van je computer de netwerk adapter herkent, is het voldoende om het volgende commando als //root// uit te voeren: <code> |
# iwconfig | # iwconfig |
</code> as root. If that tool reports "//no wireless extensions//" for all your network interfaces then the kernel does not have a driver for your wireless card and you'll have to find one online. | </code> Wanneer dat programma "//no wireless extensions//" meldt voor alle netwerk interfaces, dan heeft de kernel geen stuurprogramma voor je draadloze adapter en zul je er een online moeten zoeken. |
| |
As with the wired network interfaces, your wireless card is traditionally configured in the file ''/etc/rc.d/rc.inet1.conf''. You can read a lot more about it in this [[http://alien.slackbook.org/dokuwiki/doku.php?id=slackware:network#wireless_networks|wireless configuration guide]]. There is also the man page: <code> | Net als met bedrade netwerk adapters, wordt je draadloze interface traditioneel geconfigureerd in het bestand ''/etc/rc.d/rc.inet1.conf''. Je kunt veel meer hierover lezen in deze [[http://alien.slackbook.org/dokuwiki/doku.php?id=slackware:network#wireless_networks|handleiding voor draadloze netwerk instellingen]]. Er is ook een man-pagina beschikbaar: <code> |
# man rc.inet1.conf | # man rc.inet1.conf |
</code> You will also need to take steps to include wireless security, whether WEP or WPA2. Unencrypted wireless connections are strongly discouraged. Note that WPA/WPA2 encryption is not configured just in ''/etc/rc.d/rc.inet1.conf'', you will also need to edit ''/etc/wpa_supplicant.conf'' and add an encryption key there. | </code> Om draadloze beveiligings protocollen als WEP or WPA2 te gebruiken moet je nog wat extra's doen. Het gebruik van niet-versleutelde draadloze netwerkverbindingen wordt sterk afgeraden. Let op dat WPA/WPA2 encryptie wordt niet alleen in ''/etc/rc.d/rc.inet1.conf'' ingesteld; je zult tevens het bestand ''/etc/wpa_supplicant.conf'' moeten openen in een tekst editor om je encryptie sleutel toe te voegen. |
| |
Wireless encryption issues, in particular for WPA, can be hard to troubleshoot. Some basic troubleshooting steps are detailed in the [[http://alien.slackbook.org/dokuwiki/doku.php?id=slackware:network#wpa_debugging|above networking guide]], just in case you do not get your computer associated to the Access Point. | Problemen met draadloze encryptie, in het bijzonder voor WPA en WPA2, zijn moeilijk aan te pakken. Een aantal eenvoudige technieken voor probleemoplossing wordt beschreven in de [[http://alien.slackbook.org/dokuwiki/doku.php?id=slackware:network#wpa_debugging|al eerder genoemde netwerk handleiding voor Slackware]]. Dat kan je op weg helpen wanneer je bjvoorbeeld geen associatie kunt opzetten met een draadloos toegangspunt (//Wireless Access Point// of WAP). |
| |
==== Graphical Network Configuration Services ==== | ==== Graphical Network Configuration Services ==== |