~ubuntu-branches/ubuntu/wily/xubuntu-docs/wily-proposed

« back to all changes in this revision

Viewing changes to desktop-guide/internet/C/networking.xml

  • Committer: Package Import Robot
  • Author(s): Matthew East, Matthew East, Jeremy Bicha
  • Date: 2012-09-19 20:38:04 UTC
  • Revision ID: package-import@ubuntu.com-20120919203804-1t50gcb1xi8xbyzo
Tags: 12.10.1
[ Matthew East ]
* Complete rewrite of desktop-guide by Pasi Lallinaho
* Change to folder structure of desktop-guide to allow translations

[ Jeremy Bicha ]
* debian/control:
  - Bump Standards-Version to 3.9.3 and debhelper to 8
  - Don't build-depend on ubuntu-docs
* debian/preinst: Dropped, not needed after 12.04 LTS

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8"?>
2
 
        <!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" 
3
 
                "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4
 
        <!ENTITY % globalent SYSTEM "../../libs/global.ent">
5
 
        %globalent;
6
 
    <!ENTITY % xubuntu-ent SYSTEM "../../libs/xubuntu.ent">
7
 
    %xubuntu-ent;
8
 
        <!ENTITY % xinclude SYSTEM "../../libs/xinclude.mod">
9
 
        %xinclude;
10
 
        <!ENTITY language "en">
11
 
        <!ENTITY ubuntu '<phrase>Xubuntu</phrase>'>
12
 
        ]>
13
 
<section id="networking" status="review">
14
 
        <title>Home Networks</title>
15
 
        <para>This section provides instructions on how to communicate with other 
16
 
        computers using a Local Area Network (<acronym>LAN</acronym>).</para>
17
 
        <section id="networking-browsenetcomps" status="review">
18
 
                <title>View other computers on the network</title>
19
 
                <para>To view computers on the network, open &network-servers;.</para>
20
 
                <para>You may need to enter a username, password, and domain. 
21
 
                You should obtain these from your network administrator where 
22
 
                necessary. The username and password will normally be the username 
23
 
                and password for a user of the computer on which you are trying 
24
 
                to connect.</para>
25
 
                <para>The domain can often be left blank.</para>
26
 
                <para>See <ulink url='http://goodies.xfce.org/projects/applications/gigolo'>the 
27
 
                Gigolo website</ulink> for more information.</para>
28
 
    </section>
29
 
<!-- REMOVED UNTIL SOMEONE MAKES A DECISION ON GNOME-NETWORK-TOOLS INCLUSION
30
 
    <section id="networking-changecompname" status="review">
31
 
                <title>Change computer name</title>
32
 
        <para>When connected to a network, your computer can be referred to by its <emphasis>host name</emphasis>. It is possible to change the host name of your computer.</para>
33
 
<important><para>You must be a member of the <emphasis>admin</emphasis> group in order to change the computer host name.</para></important>
34
 
        <procedure>
35
 
                <step>
36
 
                <para>Open &networking;.</para>
37
 
                </step>
38
 
                <step>
39
 
                        <para>Press <guibutton>Unlock</guibutton> and enter your password in the                                <guilabel>Password for (username): </guilabel> field.</para>
40
 
                </step> 
41
 
                <step>
42
 
                        <para>Press the <guibutton>Authenticate</guibutton> button.</para>
43
 
                </step>
44
 
                <step>
45
 
                <para>Click the <guilabel>General</guilabel> tab. Enter the name of the computer in the <guilabel>Host name</guilabel> field.</para>
46
 
            </step>
47
 
        </procedure>
48
 
        <para>Restart the computer for the change to take effect.</para>
49
 
        </section>
50
 
-->        
51
 
        <section id="networking-shares" status="review">
52
 
                <title>Share Files and Folders With Other Computers</title>
53
 
                <para>You can share files and folders with other people on your 
54
 
                network through <application>Shared Folders</application>.</para>
55
 
                <section id="networking-shares-sharesadmin" status="review">
56
 
                        <title>Sharing Folders Via the Shared Folders Application</title>
57
 
                        <para>To share folders using the <application>Shared 
58
 
                        Folders</application> application:</para>
59
 
                        <procedure>
60
 
                                <step>
61
 
                                        <para>Press &terminal; to open a 
62
 
                                        <application>Terminal</application>.</para>
63
 
                                </step>
64
 
                                <step>
65
 
                                        <para>Type <command>shares-admin</command> 
66
 
                                        and press <keycap>Enter</keycap> to open 
67
 
                                        <application>Shared Folders</application>.</para>
68
 
                                </step>
69
 
                                <step>
70
 
                                        <para>Press the <guibutton>padlock</guibutton> 
71
 
                                        button labeled <guilabel>Click to make 
72
 
                                        changes</guilabel> and type your password.</para>
73
 
                                </step> 
74
 
                                <step>
75
 
                                        <para>Press <keycap>Enter</keycap> or 
76
 
                                        the <guibutton>Authenticate</guibutton> 
77
 
                                        button.</para>
78
 
                                </step>
79
 
                                <step>
80
 
                                        <para>You may receive a message that says 
81
 
                                        <guilabel>Sharing services are not installed</guilabel>. 
82
 
                                        If this happens, ensure that the two 
83
 
                                        checkboxes in the message box are checked 
84
 
                                        and press <guibutton>Install services</guibutton>. 
85
 
                                        Sharing service support will then be 
86
 
                                        downloaded and installed; this may take 
87
 
                                        a while.</para>
88
 
                                </step>
89
 
                                <step>
90
 
                                        <para>Select the <guilabel>Shared Folders</guilabel> 
91
 
                                        tab and press <guibutton>Add</guibutton>.</para>
92
 
                                </step>
93
 
                                <step>
94
 
                                        <para>Select the location of the folder 
95
 
                                        you wish to share by changing the 
96
 
                                        <guilabel>Path</guilabel> option.</para>
97
 
                                </step>
98
 
                                <step>
99
 
                                        <para>In the <guilabel>Share through</guilabel> 
100
 
                                        option, choose <guilabel>Windows networks 
101
 
                                        (SMB)</guilabel> if you want to share 
102
 
                                        your folders with other computers running 
103
 
                                        Windows operating systems. Choose 
104
 
                                        <guilabel>Unix networks (NFS)</guilabel> 
105
 
                                        if you want to share your folders with 
106
 
                                        other Unix based computers.</para>
107
 
                                </step>
108
 
                                <step>
109
 
                                        <para>Press the <guibutton>Add</guibutton> button.</para>
110
 
                                </step>
111
 
                                <step>
112
 
                                        <para>In the<guilabel>Add allowed hosts
113
 
                                        </guilabel> box, you can specify which 
114
 
                                        hosts (other computers) will have access 
115
 
                                        to your shared folders by entering the 
116
 
                                        <guilabel>IP address</guilabel>, 
117
 
                                        <guilabel>Host name</guilabel> or 
118
 
                                        <guilabel>Domain</guilabel> of the other 
119
 
                                        computers.</para>
120
 
                                </step>
121
 
                                <step>
122
 
                                        <para>If you would like people accessing 
123
 
                                        the shared folder(s) to be able to add, 
124
 
                                        change and remove files in the folder, 
125
 
                                        uncheck <guilabel>Read only</guilabel>. 
126
 
                                        If you leave <guilabel>Read only</guilabel> 
127
 
                                        checked, people will only be able to view 
128
 
                                        files in the folder.</para>
129
 
                                </step>
130
 
                                <step>
131
 
                                        <para>Press <guibutton>OK</guibutton> to 
132
 
                                        make the shared folder(s) available. Other 
133
 
                                        computers on the same (<acronym>LAN</acronym>) 
134
 
                                        as you should now be able to access the 
135
 
                                        folder(s).</para>
136
 
                                </step>
137
 
                        </procedure>                    
138
 
        <note><para>You may receive a message that says <guilabel>You do not 
139
 
        have permission to create a usershare</guilabel>. If this happens, contact 
140
 
        your system administrator or configure the <application>Folder sharing 
141
 
        service (samba)</application>.</para></note>
142
 
                <para>See the <ulink url='http://library.gnome.org/users/shares-admin/stable/tool-introduction.html'>Shared 
143
 
                Folders Administration Tool manual</ulink> for more information 
144
 
                on managing network shares.</para>
145
 
                </section> 
146
 
                <section id="networking-shares-windows" status="review">
147
 
                        <title>Accessing shared folders via Windows</title>
148
 
                        <para>If you would like to access a shared folder hosted 
149
 
                        on an Xubuntu computer by using computers running Windows, 
150
 
                        you may have to perform some additional steps:</para>
151
 
                        <procedure>
152
 
                                <step>
153
 
                                        <para>Press &terminal; to open a Terminal.</para>
154
 
                                </step>
155
 
                                <step>
156
 
                                        <para>Type <command>sudo smbpasswd -a username</command>, 
157
 
                                        replacing <quote>username</quote> with 
158
 
                                        your own username. Press <keycap>Enter</keycap> 
159
 
                                        to run the command.</para>
160
 
                                        <note>
161
 
                                                <para>You can find out what your 
162
 
                                                username is by typing <command>whoami
163
 
                                                </command> into the Terminal and 
164
 
                                                then pressing <keycap>Enter</keycap>.</para>
165
 
                                        </note>
166
 
                                </step>
167
 
                                <step>
168
 
                                        <para>Enter your password when prompted 
169
 
                                        with <quote>[sudo] password for username:
170
 
                                        </quote> and press <keycap>Enter</keycap> 
171
 
                                        again.</para>
172
 
                                </step>
173
 
                                <step>
174
 
                                        <para>When prompted with <quote>New SMB 
175
 
                                        password:</quote>, enter the password 
176
 
                                        that you would like to use to access the 
177
 
                                        shared folder and then press <keycap>Enter</keycap>. 
178
 
                                        You can leave the password blank, which 
179
 
                                        will allow anyone to access the shared folder.</para>
180
 
                                </step>
181
 
                                <step>
182
 
                                        <para>When prompted with <quote>Retype 
183
 
                                        new SMB password:</quote>, enter the 
184
 
                                        password that you just entered and then 
185
 
                                        press <keycap>Enter</keycap>.</para>
186
 
                                </step>
187
 
                                <step>
188
 
                                        <para>You should now be able to connect 
189
 
                                        to the shared folders on the Xubuntu 
190
 
                                        computer.</para>
191
 
                                </step>
192
 
                        </procedure>
193
 
                </section>
194
 
                
195
 
                <section id="networking-shares-troubleshooting" status="review">
196
 
                        <title>Problems connecting to shared folders in Windows</title>
197
 
                                <para>If you are unable to connect to a shared 
198
 
                                folder using Windows, try using the <emphasis>IP 
199
 
                                address</emphasis> of the Xubuntu computer rather 
200
 
                                than its <emphasis>host name</emphasis> to access 
201
 
                                the share:</para>
202
 
                                <para></para>
203
 
                                <procedure>
204
 
                                        <step>
205
 
                                                <para>Click &network-tools; and select the <guilabel>Devices</guilabel> tab.</para>
206
 
                                        </step>
207
 
                                        <step>
208
 
                                                <para>Select the name of your network connection from the <guilabel>Network device</guilabel> option list (for example, <quote>eth0</quote>). If you have several network connections, you may have to try this several times.</para>
209
 
                                        </step>
210
 
                                        <step>
211
 
                                                <para>Make a note of the number in the <guilabel>IP address</guilabel> column. It should consist of four numbers separated by dots (for example, <quote>192.168.2.10</quote>)</para>
212
 
                                        </step>
213
 
                                        <step>
214
 
                                                <para>On the Windows computer, select <menuchoice><guimenuitem>Start</guimenuitem><guimenuitem>Run</guimenuitem></menuchoice> and type <userinput>\\ipaddress</userinput> in the text box, replacing <quote>ipaddress</quote> with the IP address of the Xubuntu computer</para>
215
 
                                        </step>
216
 
                                        <step>
217
 
                                                <para>Press <guibutton>OK</guibutton> to connect to the shared folder.</para>
218
 
                                        </step>
219
 
                                </procedure>
220
 
                                
221
 
                                <para>If you are still unable to access the shared folder, check that the folder sharing service is running on the Xubuntu computer:</para>
222
 
                                <procedure>
223
 
                                        <step>
224
 
                                                <para>Press &services;</para>
225
 
                                        </step>
226
 
                                        <step>
227
 
                                                <para>Find the <guilabel>Folder sharing service (samba)</guilabel> and ensure that the checkbox next to it is checked. If it is not checked, press <guibutton>Unlock</guibutton> and enter your administrative password. Press <guibutton>Authenticate</guibutton>, then enable the Folder sharing service.</para>
228
 
                                        </step>
229
 
                                        <step>
230
 
                                                <para>Press <guibutton>Close</guibutton></para>
231
 
                                        </step>
232
 
                                </procedure>
233
 
                                <para>More information can be found on the Ubuntu <ulink url='https://help.ubuntu.com/community/SettingUpSamba'>community help pages</ulink>.</para>
234
 
                        </section>
235
 
        </section>
236
 
<!-- SECTION REMOVED TO CONSOLIDATE WITH A SINGLE TROUBLESHOOTING SECTION AND TO REMOVE REFERENCE TO FLAMING NETWORK    
237
 
        <section id="network-troubleshooting" status="review">
238
 
                <title>Tools to help with network connection problems</title>
239
 
                <para>If you have a network connection which is not working properly, you can use a few tools to help diagnose the problem.</para>
240
 
                <para>Most of the tools in this section require use of the Terminal, which you can open by pressing &terminal;.</para>
241
 
                
242
 
                <section id="network-troubleshooting-ifconfig" status="review">
243
 
                        <title>Get information about the current connection</title>
244
 
                        <para><application>ifconfig</application> is intended to allow you to change the settings of your network connections.  It can also be used to list information about the current connection.</para>
245
 
                        <orderedlist>
246
 
                                <listitem><para>Press &terminal; to open a Terminal.</para></listitem>
247
 
                                <listitem>
248
 
                                        <para>Type <command>ifconfig eth1</command> in the Terminal and press <keycap>Enter</keycap>.  Replace <emphasis>eth1</emphasis> with the name of your network interface if it is different.</para>
249
 
                                        <itemizedlist>
250
 
                                                <listitem><para><emphasis>inet addr</emphasis> shows the current <emphasis>IP address</emphasis> of the connection.</para></listitem>
251
 
                                                <listitem><para><emphasis>HWaddr</emphasis> shows the <emphasis>MAC address</emphasis> of your network device.</para></listitem>
252
 
                                        </itemizedlist>
253
 
                                </listitem>
254
 
                        </orderedlist>
255
 
                </section>              
256
 
 
257
 
                <section id="network-troubleshooting-ping" status="review">
258
 
                        <title>Check if a connection is working correctly</title>
259
 
                        <para>A good way of checking if a connection is working correctly is to <emphasis>ping</emphasis> another computer on the network or the Internet.</para>
260
 
                        <para>To check if you are connected to the Internet:</para>
261
 
                        <orderedlist>
262
 
                                <listitem><para>Press &network-tools; to open the networking tools suite.</para></listitem>
263
 
                                <listitem><para>Select the <guilabel>Ping</guilabel> tab.</para></listitem>
264
 
                                <listitem><para>Type <userinput>ubuntu.com</userinput> into the <guilabel>Network address</guilabel> box and then press <guibutton>Ping</guibutton>.</para></listitem>
265
 
                                <listitem>
266
 
                                        <para>After a while, a graph should appear. Look at the number for <guilabel>Successful packets</guilabel> under <guilabel>Transmission Statistics</guilabel></para>
267
 
                                        <itemizedlist>
268
 
                                                <listitem><para><emphasis>100% successful packets</emphasis> - Your computer has a good connection to the Internet.</para></listitem>
269
 
                                                <listitem><para><emphasis>Less than 100% successful</emphasis> - Your computer probably has a poor connection to the Internet or a poor wireless signal.</para></listitem>
270
 
                                                <listitem><para><emphasis>0% successful packets</emphasis> - Your computer has a very bad connection, or is connected to an access point or router which is not connected to the Internet</para></listitem>
271
 
                                        </itemizedlist>
272
 
                                </listitem>
273
 
                        </orderedlist>
274
 
                        <para>If you get an error message which says <emphasis>The address &apos;ubuntu.com&apos; cannot be found</emphasis>, then you cannot reach a <emphasis>DNS server</emphasis>.</para>
275
 
                </section>
276
 
                
277
 
                <section id="network-troubleshooting-dns" status="review">
278
 
                        <title>Check the DNS</title>
279
 
                        <para>A good way of checking if a connection is working correctly is to <emphasis>ping</emphasis> another computer on the network or the Internet.</para>
280
 
                        <para>To check if you are connected to the Internet:</para>
281
 
                        <orderedlist>
282
 
                                <listitem><para>Press &network-tools; to open the networking tools suite.</para></listitem>
283
 
                                <listitem><para>Select the <guilabel>Ping</guilabel> tab.</para></listitem>
284
 
                                <listitem><para>Type <userinput>91.189.94.249</userinput> into the <guilabel>Network address</guilabel> box and then press <guibutton>Ping</guibutton>.</para></listitem>
285
 
                                <listitem>
286
 
                                        <para>After a while, a graph should appear. Look at the number for <guilabel>Successful packets</guilabel> under <guilabel>Transmission Statistics</guilabel>.</para>
287
 
                                        <itemizedlist>
288
 
                                                <listitem><para><emphasis>100% successful packets</emphasis> - Your computer has a good connection to the Internet.</para></listitem>
289
 
                                                <listitem><para><emphasis>Less than 100% successful</emphasis> - Your computer probably has a poor connection to the Internet or a poor wireless signal.</para></listitem>
290
 
                                                <listitem><para><emphasis>0% successful packets</emphasis> - Your computer has a very bad connection, or is connected to an access point or router which is not connected to the Internet.</para></listitem>
291
 
                                        </itemizedlist>
292
 
                                </listitem>
293
 
                        </orderedlist>
294
 
                        <para>If you get an error message which says <emphasis>The address &apos;91.189.94.249&apos; cannot be found</emphasis>, then there is no connection.</para>
295
 
                        <para>If the address is found then try the next stage.</para>
296
 
                </section>
297
 
        </section>        
298
 
-->
299
 
</section>