summaryrefslogtreecommitdiffstats
path: root/doc/knetworkconf/index.docbook
blob: 802112f18b844601fd63380654b50d51dd057ded (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
<?xml version="1.0" ?>
<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
  <!ENTITY knetworkconf "<application>KNetworkConf</application>">
  <!ENTITY kappname "&knetworkconf;">
  <!ENTITY package "tdeadmin">
  <!ENTITY % addindex "IGNORE">
  <!ENTITY % English "INCLUDE" > <!-- change language only here -->
]>

<book lang="&language;">
<bookinfo>
<title>&kde; Network Configuration</title>

<authorgroup>
<author>
<firstname>Sean</firstname>
<surname>Wheller</surname>
<affiliation><orgname>
<ulink url="http://www.inwords.co.za">In Words Techdoc
Solutions</ulink>
</orgname> 
<address><email>sean@inwords.co.za</email></address>
</affiliation>
</author>
<author>
<firstname>Christoph</firstname>
<surname>Eckert</surname>
<affiliation>
<address><email>ce.at.christeck.de</email></address>
</affiliation>
</author>

<!-- TRANS:ROLES_OF_TRANSLATORS -->
</authorgroup>

<copyright>
<year>2005</year>
<holder>
<ulink url="http://www.inwords.co.za">In Words Techdoc
Solutions</ulink>
</holder>
<holder>Christoph Eckert</holder>
</copyright>
<legalnotice>&FDLNotice;</legalnotice>
<!-- FIXME: Revhistory is not used in KDE docs, we have revision control to -->
<!-- handle this retaining this for the first commit, to maintain history, -->
<!-- but it should be removed on the next edit -->
<!-- <revhistory>
<revision>
<revnumber>0.1</revnumber>
<date>March 18, 2005</date>
<revremark>Documented using 0.6.1-3ubuntu1 under Kubuntu. At
time of writing this version was not a release and was
therefore in &apos;Universe.&apos;</revremark>
</revision>
<revision>
<revnumber>0.2</revnumber>
<date>March 23, 2005</date>
<revremark>Merge upstream work by Christoph from r1.16 into
document.</revremark>
</revision>
</revhistory> -->

<date>2005-03-24</date>
<releaseinfo>1.0</releaseinfo>

<abstract>
<para>This manual explains how to install and use &knetworkconf;, a module for
&kcontrolcenter; that enables management of Network Interfaces, Routing and DNS
properties.</para>
</abstract>

<keywordset>
<keyword>KDE</keyword>
<keyword>tdeadmin</keyword>
<keyword>network</keyword>
<keyword>ethernet</keyword>
</keywordset>

</bookinfo>

<chapter id="introduction">
<title>Introduction</title>
<para>The &kcontrolcenter; provides users with a single
integrated interface from which to manage a wide variety of system and
desktop settings and preferences. &kcontrolcenter; can be started by selecting
<menuchoice><guimenu>K Menu</guimenu><guimenuitem>&kcontrolcenter;</guimenuitem></menuchoice>.</para>

<para>The &knetworkconf; package was developed to enable users to manage TCP/IP
networking settings in the same way they manage other system settings from
&kcontrolcenter;. Tasks enabled by &knetworkconf; provide users with a simple
interface from which to perform the following tasks:</para>

<itemizedlist>
<listitem>
<para>Apply IP addresses to interfaces </para>
</listitem>
<listitem>
<para>Apply netmasks to interfaces </para>
</listitem>
<listitem>
<para>Start and stop interface activities </para>
</listitem>
<listitem>
<para>Configure Routing </para>
</listitem>
<listitem>
<para>Configure Host- and Domain Name </para>
</listitem>
<listitem>
<para>Configure Resolving </para>
</listitem>
<listitem>
<para>Manage known hosts </para>
</listitem>
</itemizedlist>

<para>Once installed a new module called <guimenuitem>Network
Settings</guimenuitem> is displayed in the &kcontrolcenter;.
To start the <application>Network Settings</application> (&knetworkconf;) module select <menuchoice>
<guimenuitem>&kcontrolcenter;</guimenuitem> <guimenuitem>Internet &amp; Network</guimenuitem>
<guimenuitem>Network Settings</guimenuitem> </menuchoice> in the &kmenu;.</para>

<mediaobject>
<imageobject>
<imagedata fileref="11.png" format="PNG"/>
</imageobject>
<textobject>
<phrase>&knetworkconf; in user mode</phrase>
</textobject>
</mediaobject>

<para>It is important to understand that &knetworkconf; cannot install
networking hardware. As such physical devices and their drivers must be
properly installed and configured in order for &knetworkconf; to display the
device and enable management of networking properties.</para>

<para>In most cases drivers for networking hardware and other devices are
installed and configured while installing &Linux;. If you add networking
hardware after installation, you will have to define the drivers to be
loaded by editing one of the following files depending on your kernel
version:</para>

<variablelist>
<varlistentry>
<term>&Linux; Kernel 2.4 and lower</term>
<listitem>
<para>
<filename class="devicefile"
>/etc/modules.conf</filename>
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>&Linux; Kernel 2.6 and higher</term>
<listitem>
<para>
<filename class="devicefile"
>/etc/modprobe.conf</filename>
</para>
</listitem>
</varlistentry>
</variablelist>
</chapter>

<chapter id="using-the-module">
<title>Using the Network Settings Module</title>

<para>The <application>Network Settings</application> module is loaded when
the <guibutton>Network Settings</guibutton> option is selected in the
&kcontrolcenter; index. When started the <application>Network
Settings</application> module attempts to automatically detect the platform
running on the system.</para>

<screenshot>
<screeninfo>Detecting the platform</screeninfo>
<mediaobject>
<imageobject>
<imagedata fileref="02.png"
format="PNG"/>
</imageobject>
</mediaobject>
</screenshot>

<para>When the platform is not a recognized you will be prompted to manually
select the platform. Select a platform from the list that most closely
corresponds to your distro and its release.  Check the <guibutton>Don't ask
again</guibutton> option to make this choice permanent. Next time
<guibutton>Network Settings</guibutton> is started the system will
automatically default to the selected platform option.</para>

<!--FIXME: several screenshots that were linked in this doc are missing-->
<!--screenshot>
<screeninfo>Selecting a platform</screeninfo>
<mediaobject>
<imageobject>
<imagedata fileref="figures/knetwork-conf-select-platform.png"
format="PNG"/>
</imageobject>
<textobject>
<phrase>Selecting a platform</phrase>
</textobject>
</mediaobject>
</screenshot-->

<para>To manage the system network settings you must enter
<quote>administrator mode.</quote> Prior to this all options will be
<quote>grayed,</quote> meaning you can only navigate the interface and view
properties. Editing is disabled. To enter <quote>administrator mode</quote>
click the <guibutton>Administrator Mode</guibutton> button located bottom
left of the module. Enter your password when prompted.</para>

<screenshot>
<screeninfo>&knetworkconf; in administrator mode</screeninfo>
<mediaobject>
<imageobject>
<imagedata fileref="01.png"
format="PNG"/>
</imageobject>
<textobject>
<phrase>&knetworkconf; in administrator mode</phrase>
</textobject>
</mediaobject>
</screenshot>

<para>Once in <quote>administrator mode</quote> all the modules
functionality is enable. Functionality is organized into three tabs:</para>

<itemizedlist>
<listitem>
<para>
<xref linkend="network-interfaces"/>
</para>
</listitem>
<listitem>
<para>
<xref linkend="route"/>
</para>
</listitem>
<listitem>
<para>
<xref linkend="dns"/>
</para>
</listitem>
</itemizedlist>

<sect1 id="network-interfaces">
<title>Managing Network Interfaces</title>

<para>The <guibutton>Network Interfaces</guibutton> tab is used to manage
the network communications devices installed on the system. All available
networking devices are listed. From the <guibutton>Network
Interfaces</guibutton> tab the following tasks can be accomplished:</para>

<itemizedlist>
<listitem>
<para>
<xref linkend="configure-interface"/>
</para>
</listitem>
<listitem>
<para>
<xref linkend="enable-interface"/>
</para>
</listitem>
<listitem>
<para>
<xref linkend="disable-interface"/>
</para>
</listitem>
</itemizedlist>

<mediaobject>
<imageobject>
<imagedata
fileref="03.png"
format="PNG"/>
</imageobject>
<textobject>
<phrase>The &knetworkconf; interface</phrase>
</textobject>
</mediaobject>

<para>For each network device the following properties can be
viewed:</para>

<variablelist>
<varlistentry>
<!-- FIXME: Check punctuation of the GUI against the styleguide, and then -->
<!-- make sure the doc matches precisely, to aid translation -->
<term><guilabel>Interface</guilabel></term>
<listitem>
<para>Shows the name of the network interfaces. For example, eth0, eth1,
wlan0.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>IP Address</guilabel></term>
<listitem>
<para>Shows the currently assigned IP address.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Protocol</guilabel></term>
<listitem>
<para>Shows the boot protocol.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>State</guilabel></term>
<listitem>
<para>Shows the current state (up or down).</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Comment</guilabel></term>
<listitem>
<para>Shows the (freely assignable) comment.</para>
</listitem>
</varlistentry>
</variablelist>

<sect2 id="configure-interface">
<title>Configuring a Networking Device</title>

<para>The properties of listed network devices can be configured by
selecting the required device from the list then <action>clicking</action>
the <guibutton>Configure Interface...</guibutton> button to display the
<interface>Configure Device</interface> dialog.</para>

<screenshot>
<screeninfo>Configuring a networking device</screeninfo>
<mediaobject>
<imageobject>
<imagedata
fileref="04.png"
format="PNG"/>
</imageobject>
<textobject>
<phrase>Configuring a networking device</phrase>
</textobject>
</mediaobject>
</screenshot>

<para>By default only basic TCP/IP settings are available. Click
the <guibutton>Advanced Settings</guibutton> button to
expand the dialog to include advanced properties.</para>

<mediaobject>
<imageobject>
<imagedata fileref="05.png"
format="PNG"/>
</imageobject>
<textobject>
<phrase>Advanced device configuration</phrase>
</textobject>
</mediaobject>

<para>Complete the dialog values are as follows:</para>
<variablelist>
<varlistentry>
<term>
<emphasis role="bold">Automatic</emphasis>
</term>
<listitem>

<para>Select the <guibutton>Automatic</guibutton> radio button when the
TCP/IP settings are obtained from a DHCP server or BOOTP server node. In
automatic mode the TCP/IP settings for the system are configured when the
system services are started. The DHCP or BOOTP server sends all the required
TCP/IP information each time the system is started, there is no need to
configure any other settings. Use the drop-list to select
<option>DHCP</option> or <option>BOOTP</option> according to your
system.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Manual</guilabel></term>
<listitem>
<para>Select the <guibutton>Manual</guibutton> radio button when you do not
use DHCP or BOOTP for TCP/IP configuration. In the <guibutton>IP
address</guibutton> field enter the TCP/IP address of the host. In the
<guibutton>Netmask</guibutton> field enter the subnetwork address.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Activate when the computer starts</guilabel></term>
<listitem>
<para>When checked this option will cause the system to initialize this
network interface while the system is booting. If you do not want the device
initialized leave this option unchecked.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<guilabel>Description</guilabel>
</term>
<listitem>
<para>Enter a descriptive name.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<guilabel>Broadcast</guilabel>
</term>
<listitem>
<para>Enter the <quote>broadcast address</quote> used to communicate with
all hosts on the subnetwork.</para>
</listitem>
</varlistentry>
</variablelist>

<para>The values entered in this dialog will be displayed as the properties
of the device in the device list.</para>

<caution>
<para>Make certain that the IP-address entered is not already in use on the
network. Entering an IP-address that is already on the network will result
in a TCP/IP conflict. Use <application>ping</application> from &konsole; to
check if the address you want to enter is in use or not. If you are not sure
how to complete this dialog, consult your network administrator.</para>
</caution>

</sect2>

<sect2 id="enable-interface">
<title>Enabling a Network Device</title>

<para>Network devices may be enabled or disabled depending on system
requirements. To enable a disabled network device select the device from the
list then click <guibutton>Enable Interface</guibutton>.</para>

</sect2>

<sect2 id="disable-interface">
<title>Disabling Network Devices</title>

<para>Network devices may be enabled or disabled depending on system
requirements. To disable an enabled network device select the device from
the list then click <guibutton>Disable Interface</guibutton>.</para>

</sect2>
</sect1>

<sect1 id="route">
<title>Managing System Routing</title>

<para>The <guibutton>Routes</guibutton> tab enables management of
the system routing configuration.</para>

<mediaobject>
<imageobject>
<imagedata fileref="06.png"
format="PNG"/>
</imageobject>
<textobject>
<phrase>Advanced device configuration</phrase>
</textobject>
</mediaobject>

<variablelist>
<varlistentry>
<term><guilabel>Default Gateway</guilabel></term>
<listitem>
<para>This specifies the IP address of the host on the local subnetwork that
provides the physical connection to remote networks, and is used by default
when TCP/IP needs to communicate with computers on other subnetworks.</para>
<para>Select a device from the drop list to edit the <guibutton>Default
Gateway</guibutton> value.</para>
</listitem>
</varlistentry>
</variablelist>

<note>
<para>If your computer offers more than one network interface, select the
interface connected to network on which the gateway computer resides.</para>
</note>

</sect1>

<sect1 id="dns">
<title>Managing DNS Settings</title>

<para>The <guibutton>Domain Name System</guibutton> tab enables management
of the system DNS configuration.</para>

<mediaobject>
<imageobject>
<imagedata fileref="07.png"
format="PNG"/>
</imageobject>
<textobject>
<phrase>Advanced device configuration</phrase>
</textobject>
</mediaobject>

<variablelist>
<varlistentry>
<term><guilabel>Host name</guilabel></term>
<listitem>
<para>The name by which the host will be known on the subnetwork.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Domain name</guilabel></term>
<listitem>
<para>The network domain in which the host resides.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Domain Name Servers</guilabel></term>
<listitem>
<para>A list of DNS servers in order of preference (see <xref
linkend="manage-dns"/>).</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Static Hosts</guilabel></term>
<listitem>
<para>A list of known hosts on the subnetwork system (see <xref
linkend="manage-hosts"/>).</para>
</listitem>
</varlistentry>
</variablelist>

<sect2 id="manage-dns">
<title>Managing DNS Servers</title>

<para>A computer running DNS matches up a fully qualified domain with a
proper IP address. This is necessary because computers only understand the
IP addresses. When a computer requests http://www.somedomain.com the DNS
resolves this name to an IP-address such as 123.45.678.90.</para>

<para>The <guilabel>Domain Name Servers</guilabel> part of the
<guibutton>Domain Name System</guibutton> tab enables easy management of the
list. Server properties can be added, removed and edited. DNS records can be
arranged in order of preference by selecting a record and promoting or
demoting the record in the list using the <guibutton>Move Up</guibutton> or
<guibutton>Move Down</guibutton> buttons as required.</para>

<procedure>
<!-- Buggy. cant add alias but alias is required -->
<title>Adding a DNS server</title>
<step>
<para>From the <guilabel>Domain Name Servers</guilabel> group click the
<guibutton>Add...</guibutton> button.  The <guilabel>Add New DNS Server</guilabel>
dialog is displayed.</para>
<!--mediaobject>
<imageobject>
<imagedata
fileref="knetwork-conf-kcontrol-add-dns.png"
format="PNG"/>
</imageobject>
<textobject><phrase>Adding a DNS server</phrase></textobject>
</mediaobject-->
</step>

<step>
<para>Enter the IP-address of the DNS server then click
<guibutton>Add</guibutton>. The record is added to the DNS list.</para>
</step>
</procedure>

<procedure>
<!-- Buggy. no alias cant edit but alias is required -->
<title>Editing a DNS server record</title>
<step>
<para>From the <guilabel>Domain Name Servers</guilabel> group select a DNS
record then click the <guibutton>Edit...</guibutton> button. The
<guilabel>Edit Server</guilabel> dialog is displayed.</para>
<mediaobject>
<imageobject>
<imagedata
fileref="09.png"
format="PNG"/>
</imageobject>
<textobject>
<phrase>Editing a DNS server record</phrase>
</textobject>
</mediaobject>
</step>
<step>
<para>Modify the IP-address then click <guibutton>OK</guibutton>. The record
is updated to the DNS list.</para>
</step>
</procedure>
</sect2>

<sect2 id="manage-hosts">
<title>Managing Static (Known) Hosts</title>

<para>The <guilabel>Static Hosts</guilabel> list describes a number of
hostname-to-address mappings for the TCP/IP subsystem. It is mostly used at
boot time, when no name servers are running. On small, closed network
systems, it can be used instead of Domain Name Servers.</para>

<para>By default, the <guilabel>Static Hosts</guilabel> list contains some
records describing the &apos;localhost&apos; and a handful of special
records for hosts that support IPv6. This still-experimental version of IP
is destined to replace version 4.</para>

<procedure>
<title>Adding Static Hosts</title>
<step>
<para>Click the <guibutton>Add...</guibutton> button. The <guilabel>Add New 
Static Host</guilabel> dialog is displayed.</para>
<!--mediaobject>
<imageobject>
<imagedata
fileref="figures/knetwork-conf-kcontrol-statichost.png"
format="PNG"/>
</imageobject>
<textobject><phrase>Adding static hosts</phrase></textobject>
</mediaobject-->
</step>
<step>
<para>Enter the IP-address of the known host then click
<guibutton>Add...</guibutton>. The <guilabel>Add New Alias</guilabel> dialog is
displayed.</para>
<!--mediaobject>
<imageobject>
<imagedata
fileref="knetwork-conf-kcontrol-statichost-add.png"
format="PNG"/>
</imageobject>
<textobject>
<phrase>Adding a static host</phrase>
</textobject>
</mediaobject-->
</step>
<step>
<para>Enter the name of the known host then click the
<guibutton>Add</guibutton> button. If the known host has multiple aliases
click the <guibutton>Add</guibutton> button again and enter another
alias.</para>
</step>
<step>
<para>When finished click <guibutton>OK</guibutton> to update the Static
Hosts list.</para>
</step>
</procedure>

<procedure>
<title>Editing Static Hosts</title>
<step>
<para>Select a static host record from the list, then click the
<guibutton>Edit...</guibutton> button. The <guilabel>Edit Static
Host</guilabel> dialog is displayed.</para>
<!--mediaobject>
<imageobject>
<imagedata
fileref="figures/knetwork-conf-kcontrol-statichost-record-edit.png"
format="PNG"/>
</imageobject>
<textobject>
<phrase>Editing static hosts</phrase>
</textobject>
</mediaobject-->
</step>
<step>
<para>Perform any of the following tasks, then click
<guibutton>OK</guibutton> to update the Static Hosts list.</para>
<itemizedlist>
<listitem>
<para>To change the IP-address, enter a new IP-address, then click
<guibutton>OK</guibutton>.</para>
</listitem>
<listitem>
<para>To add a new alias, click the <guibutton>Add...</guibutton>
button.</para>
</listitem>
<listitem>
<para>To change an alias value, select the alias record, then click
<guibutton>Edit...</guibutton>.</para>
</listitem>
<listitem>
<para>To remove an alias, select an alias record then click
<guibutton>Remove</guibutton>.</para>
</listitem>
</itemizedlist>
</step>
</procedure>
</sect2>
</sect1>
</chapter>

<chapter id="applying-changes">
<title>Applying Changes</title>

<para>Changes made via the <application>Network Settings</application>
module are not automatically applied to the system environment. To apply the
changes made, start &konsole; and execute the
following command.</para>

<screen>
<userinput><command>/etc/init.d/networking</command> restart</userinput>
</screen>

</chapter>

<chapter id="installation">
<title>Installation</title>

<sect1 id="requirements">
<title>Requirements</title>

<para>You need &kde; 3.x and QT 3.x installed to use knetwork-conf. </para>
<para>knetwork-conf can be used with the following platforms: </para>

<itemizedlist>
<listitem>
<para>&kubuntu;</para>
</listitem>
<listitem>
<para>Conectiva</para>
</listitem>
<listitem>
<para>Debian</para>
</listitem>
<listitem>
<para>Fedora Core</para>
</listitem>
<listitem>
<para>FreeBSD</para>
</listitem>
<listitem>
<para>Gentoo</para>
</listitem>
<listitem>
<para>&Mandrake;</para>
</listitem>
<listitem>
<para>PLD</para>
</listitem>
<listitem>
<para>OpenNA</para>
</listitem>
<listitem>
<para>&RedHat;</para>
</listitem>
<listitem>
<para>&SuSE;</para>
</listitem>
</itemizedlist>
</sect1>

<sect1 id="how-to-obtain-knetwork-conf">
<title>How to obtain knetwork-conf</title>

<para>knetwork-conf's home page is at <ulink
url="http://knetworkconf.sourceforge.net"
>http://knetworkconf.sourceforge.net</ulink> where you at least can download
source packages. </para>
</sect1>

<sect1 id="installing-binaries">
<title>Installing binaries</title>

<para>When using the binary distributions (most often rpm packages), it is
enough to have the &kde; and QT binaries installed. </para> <para>Installing
binaries is recommended for less experienced users.  Simply download the rpm
packages. Install them from &konsole; using
<application>RPM</application> as follows:</para>

<para>
<command>rpm -i knetwork-conf-versionnumber.rpm</command>
</para>

<para>Alternatively, use a graphical front end like
                    <application>kpackage</application> or the installation
                    tool of your distribution. </para>
</sect1>

<sect1 id="compilation-and-installation">
<title>Compilation and Installation</title>

<para>In this case, it is not enough to have the binaries of QT and &kde;
installed; you also need the development packages which include libraries
and other stuff. </para>

<para>Recommended for advanced users only. Otherwise, compiling &knetworkconf;
is not difficult.  The following commands should do it.</para>

<screen>
./configure --prefix=$(kde-config --prefix)
make
make install
</screen>

<note>
<para>The command <command>make install</command> must be run as
root.</para>
</note>
<para>That should do it. Should you run into any problems, please
let us know.</para>
</sect1>
</chapter>

<chapter id="system-engineering">
<title>Technical Information</title> 

<para>In the first section of this chapter, you'll find some valuable
information about networking basics. In the second, all configuration files
on your disk which can be changed by &knetworkconf; will be discussed. </para>

<sect1 id="networking-overview">
<title>IPv4 Networking</title>

<para>This section cannot be a replacement for further lecture of
IP-Networking. In this appendix, you'll only find the basic informations to
get you started integrating your machine into a small (home)
network. </para>

<para>Currently, IP-networking is done using TCP/IP version 4 (IPv4). IPv5
has never been used much. IPv6 is expected to get spread in the near
future. So, this manual is based on the currently most spread IPv4. </para>

<para>One of the most important informations for setting up an interface is
the IP-address which you have to assign to the interface. In foreign
networks, &eg; your office, you have to ask the network administrator to
tell you a valid IP-address, or you can use DHCP if this is available. In
any case, you are not allowed to simply choose any IP-address! </para>

<para>If you want to set up a small (home) network of your own, you should
use IP-addresses from a range which has especially reserved for this purpose
to prevent IP-address-conflicts with the global (Internet) network. The
addresses from the table shown below are not routed in the Internet, so it
is save to use them as you like. </para>

<para>Of course these machines can later be configured for Internet access
by using a gateway machine. </para>

<para>You can freely use the following addresses: </para>

<table id="private-ip-addresses">
<title>IP-Addresses for private networks</title>
<tgroup cols="2" align="char">
<thead>
<row>
<entry>Class</entry>
<entry>Range</entry>
</row>
</thead>
<tbody>
<row>
<entry>A</entry>
<entry>10.0.0.0 to 10.255.255.255</entry>
</row>
<row>
<entry>B</entry>
<entry>172.16.0.0 to 172.31.0.0</entry>
</row>
<row>
<entry>C</entry>
<entry>192.168.0.0 to 192.168.255.0</entry>
</row>
</tbody>
</tgroup>
</table>

<para>For smaller networks, the most often used addresses are these in the
range of 192.168.1.1 to 192.168.1.254. This is enough for networks up to
over 250 computers. </para>

<para>Furthermore, the netmask is most often set to 255.255.255.0, so that
all of these machines are members of the same subnet. </para>

<para>Some addresses are reserved for special things, &eg; 0.0.0.0 and
127.0.0.1. The first one is the so called default route, the second the
loopback address. The default route is needed by IP routing. </para>

<para>The network 127.0.0.1 is reserved for the IP-traffic which works on
the local machine only. Usually, the address 127.0.0.1 is assigned to a
special device, the so called loopback interface, which works like a closed
circle. </para> 

<para>A default gateway is a computer which connects two different
networks. If you have configured a small network of your own, it is most
likely that you want all (or some) of your machines to grant Internet
access. But this is not possible directly, because these machines use local
private IP-addresses, which are not routed in the Internet. The solution is
a computer which translates between the two different networks. This
computer uses at least two interfaces. One of them, maybe an Ethernet card,
points to the local network, the other one, maybe an ISDN card, points to
the Internet. In this case, both interfaces use different IP-addresses. This
computer performs a so called network address translation (NAT, aka
IP-forwarding). To enable a local machine the Internet access, you have only
to tell them the default gateway, the local IP-address of the
gateway-computer. </para>

</sect1>

<sect1 id="list-of-configuration-files">
<title>Configuration files</title>

<para>In this section you'll find the configuration files which are touched
by &knetworkconf; and where they reside in the file system of the different
distributions. </para>

<sect2 id="resolv.conf">
<title>resolv.conf</title>
<para>In this file, the list of name servers is stored. </para>
<table id="resolv.conf-table">
<title>Where to find resolv.conf</title>
<tgroup cols="3">
<thead>
<row>
<entry>Platform</entry>
<entry>Release number</entry>
<entry>Location</entry>
</row>
</thead>
<tbody>
<row>
<entry>Conectiva</entry>
<entry>9.2</entry>
<entry>/etc/resolv.conf</entry>
</row>
<row>
<entry>Debian</entry>
<entry>3.0</entry>
<entry>/etc/resolv.conf</entry>
</row>
<row>
<entry>Fedora Core</entry>
<entry>1</entry>
<entry>/etc/resolv.conf</entry>
</row>
<row>
<entry>FreeBSD</entry>
<entry>5</entry>
<entry>/etc/resolv.conf</entry>
</row>
<row>
<entry>Gentoo</entry>
<entry>2005.0</entry>
<entry>/etc/resolv.conf</entry>
</row>
<row>
<entry>&Mandrake;</entry>
<entry>9.2</entry>
<entry>/etc/resolv.conf</entry>
</row>
<row>
<entry>PLD</entry>
<entry>2.0</entry>
<entry>/etc/resolv.conf</entry>
</row>
<row>
<entry>OpenNA</entry>
<entry>1.0</entry>
<entry>/etc/resolv.conf</entry>
</row>
<row>
<entry>&RedHat;</entry>
<entry>9.0</entry>
<entry>/etc/resolv.conf</entry>
</row>
<row>
<entry>&SuSE;</entry>
<entry>9.0</entry>
<entry>/etc/resolv.conf</entry>
</row>
</tbody>
</tgroup>
</table>

<para>This file is sometimes dynamically changed by DSL-connections, so do
not wonder if the file doesn't contain what you have put there when a DSL
connection is established. </para>
</sect2>

<sect2 id="hosts">
<title>hosts</title>
<para>In this file, the list of known hosts is stored. </para>

<table id="hosts-table">
<title>Where to find the file hosts</title>
<tgroup cols="3">
<thead>
<row>
<entry>Distribution</entry>
<entry>Releasenumber</entry>
<entry>Location</entry>
</row>
</thead>
<tbody>
<row>
<entry>Conectiva</entry>
<entry>9.0</entry>
<entry>/etc/hosts</entry>
</row>
<row>
<entry>Debian</entry>
<entry>3.0</entry>
<entry>/etc/hosts</entry>
</row>
<row>
<entry>Fedora Core</entry>
<entry>1</entry>
<entry>/etc/hosts</entry>
</row>
<row>
<entry>FreeBSD</entry>
<entry>5</entry>
<entry>/etc/hosts</entry>
</row>
<row>
<entry>Gentoo</entry>
<entry>&nbsp;</entry>
<entry>/etc/hosts</entry>
</row>
<row>
<entry>&Mandrake;</entry>
<entry>9.2</entry>
<entry>/etc/hosts</entry>
</row>
<row>
<entry>PLD</entry>
<entry>2.0</entry>
<entry>/etc/hosts</entry>
</row>
<row>
<entry>OpenNA</entry>
<entry>1</entry>
<entry>/etc/hosts</entry>
</row>
<row>
<entry>&RedHat;</entry>
<entry>9.0</entry>
<entry>/etc/hosts</entry>
</row>
<row>
<entry>&SuSE;</entry>
<entry>9.0</entry>
<entry>/etc/hosts</entry>
</row>
</tbody>
</tgroup>
</table>

<para>On &SuSE; it is known that this file gets occasionally resorted by the
script SuSEconfig. So do not wonder if you do not find in a state you have
expected. </para>
</sect2>
</sect1>
</chapter>

<chapter id="credits-licence">
<title>Credits and license</title>
<sect1 id="credits">
<title>Credits</title> 

<para>Thanks to all who have worked on &kappname;:</para>

<itemizedlist>
<title>Developers</title>
<listitem>
<para>Juan Luis Baptiste
<email>juan.baptiste@kdemail.net</email></para>
</listitem>
<listitem>
<para>David Sansome <email>me@davidsansome.com</email></para>
</listitem>
<listitem>
<para>Carlos Garnacho <email>garnacho@tuxerver.net</email></para>
</listitem>
<listitem>
<para>Simon Edwards <email>simon@simonzone.com</email></para>
</listitem>
<listitem><para>Pedro Jurado Maquedo
<email>pjmelenas@biwemail.com</email></para>
</listitem>
<listitem>
<para>Florian Fernandez <email>florian.fernandez2@wanadoo.fr</email></para>
</listitem>
<listitem>
<para>Unai Garro <email>Unai.Garro@ee.ed.ac.uk</email></para>
</listitem>
<listitem>
<para>Christoph Eckert <email>mchristoph.eckert@t-online.de</email></para>
</listitem>
<listitem>
<para>Jaime Torres <email>jtorres@telecorp.net</email></para>
</listitem>
<listitem>
<para>All the others which I have forgotten to list here - you know who
you are <email>you@foo.tld</email></para>
</listitem>
</itemizedlist>

<itemizedlist>
<title>Authors</title>
<listitem>
<para>Christoph Eckert:
<email>mchristoph.eckert@t-online.de</email></para>
</listitem>
<listitem>
<para>Sean Wheller: <email>sean@inwords.co.za</email></para>
</listitem>
</itemizedlist>
</sect1>

<sect1 id="licence">
<title>License</title>

<para>The Copyright on &kappname;, at least for the years 2003 and 2004, is
owned by Juan Luis Baptiste:
(<email>juan.baptiste@kdemail.net</email>). </para>

<!-- TRANS:CREDIT_FOR_TRANSLATORS -->

&underFDL;
&underGPL;
</sect1>
</chapter>
</book>