特殊:Badtitle/NS100:NetworkAdmin:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/NetworkAdmin}} | {{From|https://help.ubuntu.com/community/NetworkAdmin}} | ||
{{Languages|UbuntuHelp:NetworkAdmin}} | {{Languages|UbuntuHelp:NetworkAdmin}} | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconNIC.png In Ubuntu, the graphical configuration tool to configure network interfaces is called <code><nowiki>network-admin</nowiki></code>. This is an alternative to using <code><nowiki>nm-applet</nowiki></code> (GNOME front end for [[UbuntuHelp:NetworkManager|NetworkManager]]). | |||
/!\ <code><nowiki>nm-applet</nowiki></code> does not use the standard | /!\ <code><nowiki>nm-applet</nowiki></code> does not use the standard NetworkAdmin file <code><nowiki>/etc/network/interfaces</nowiki></code> to store the Wireless Network settings, so you will not be able to use <code><nowiki>ifup</nowiki></code> and <code><nowiki>ifdown</nowiki></code> commands to start/stop network adapters. This can make it more difficult to diagnose connection problems. | ||
== Start == | == Start == | ||
There are two ways to start <code><nowiki>network-admin</nowiki></code>: | There are two ways to start <code><nowiki>network-admin</nowiki></code>: | ||
<ol><li> | <ol><li>https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconGNOMETerminal.png Type <code><nowiki>network-admin</nowiki></code> into a [[UbuntuHelp:UsingTheTerminal| terminal]] (Hardy Heron and newer).</li></ol> | ||
* in Gutsy and older, you need to run <code><nowiki>gksudo network-admin</nowiki></code> | * in Gutsy and older, you need to run <code><nowiki>gksudo network-admin</nowiki></code> | ||
<ol><li> | <ol><li>https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=navigate.png From your menu bar, go to System->Administration->Networking</li></ol> | ||
https://help.ubuntu.com/community/NetworkAdmin?action=AttachFile&do=get&target=unlock.png | |||
In Hardy Heron and newer you will need to click the Unlock button and enter your password to make changes (assuming you have admin/sudo privileges on your user account - see [[UbuntuHelp:RootSudo|RootSudo]]). | In Hardy Heron and newer you will need to click the Unlock button and enter your password to make changes (assuming you have admin/sudo privileges on your user account - see [[UbuntuHelp:RootSudo|RootSudo]]). | ||
https://help.ubuntu.com/community/NetworkAdmin?action=AttachFile&do=get&target=authenticate.png | |||
== Configuration == | == Configuration == | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconHammer2.png | |||
If you are using a dialup modem, see [[UbuntuHelp:DialupModemHowto/SetUpDialer#head-f5120acdc3ef62fe7d37bfd3f0c9157ebe9c8ef| here]]. | If you are using a dialup modem, see [[UbuntuHelp:DialupModemHowto/SetUpDialer#head-f5120acdc3ef62fe7d37bfd3f0c9157ebe9c8ef| here]]. | ||
Wired connections generally work out of the box, but if the connection fails, select your "Wired connection" and hit the Properties button. Now check the box for "Enable roaming mode". | Wired connections generally work out of the box, but if the connection fails, select your "Wired connection" and hit the Properties button. Now check the box for "Enable roaming mode". | ||
https://help.ubuntu.com/community/NetworkAdmin?action=AttachFile&do=get&target=roaming.png | |||
Wireless connections can prove a little more tricky, and are usually easily configured using <code><nowiki>nm-applet</nowiki></code> from the tray area. If you would rather use this method, select "Wireless connection" and hit the Properties button. Enter your wireless network's ESSID and WEP/WPA password (if applicable). Under '''Connection Settings''', you will most likely want to select "Automated Configuration (DHCP)" for the "Configuration" option. | Wireless connections can prove a little more tricky, and are usually easily configured using <code><nowiki>nm-applet</nowiki></code> from the tray area. If you would rather use this method, select "Wireless connection" and hit the Properties button. Enter your wireless network's ESSID and WEP/WPA password (if applicable). Under '''Connection Settings''', you will most likely want to select "Automated Configuration (DHCP)" for the "Configuration" option. | ||
* The preferred method is to "Enable roaming mode" - this often fixes problems when trying to connect to networks using <code><nowiki>nm-applet</nowiki></code>. | * The preferred method is to "Enable roaming mode" - this often fixes problems when trying to connect to networks using <code><nowiki>nm-applet</nowiki></code>. | ||
=== Advanced Configuration === | === Advanced Configuration === | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconControlCenter2.png | |||
Please consult your router's manual for help with accessing router configuration pages, which may be needed for using advanced networking options. Most of these are available in PDF format online, just Google your router's make/model. | Please consult your router's manual for help with accessing router configuration pages, which may be needed for using advanced networking options. Most of these are available in PDF format online, just Google your router's make/model. | ||
==== Static IP address ==== | ==== Static IP address ==== | ||
第29行: | 第29行: | ||
* '''Subnet mask:''' 255.255.255.0 | * '''Subnet mask:''' 255.255.255.0 | ||
* '''Gateway address:''' 192.168.1.1 - this is usually your router's internal IP address. | * '''Gateway address:''' 192.168.1.1 - this is usually your router's internal IP address. | ||
https://help.ubuntu.com/community/NetworkAdmin?action=AttachFile&do=get&target=static.png | |||
==== General tab ==== | ==== General tab ==== | ||
Here you can set your computer's ''Host name'' and ''Domain name''. These are needed when sharing files, folders, and printers between computers on a network. All computers should be on the same domain, and your host name is your computer's unique identifier. | Here you can set your computer's ''Host name'' and ''Domain name''. These are needed when sharing files, folders, and printers between computers on a network. All computers should be on the same domain, and your host name is your computer's unique identifier. | ||
https://help.ubuntu.com/community/NetworkAdmin?action=AttachFile&do=get&target=general.png | |||
==== DNS tab ==== | ==== DNS tab ==== | ||
Most people will not want to fiddle with this unless they are using their own DNS servers, or their computer is not auto-detecting them. Since this varies between ISPs and networks, we will not cover examples here. | Most people will not want to fiddle with this unless they are using their own DNS servers, or their computer is not auto-detecting them. Since this varies between ISPs and networks, we will not cover examples here. | ||
https://help.ubuntu.com/community/NetworkAdmin?action=AttachFile&do=get&target=dns.png | |||
==== Hosts tab ==== | ==== Hosts tab ==== | ||
This is data stored in the <code><nowiki>/etc/hosts</nowiki></code> file. Here is a generic example, most computers will have very similar values: | This is data stored in the <code><nowiki>/etc/hosts</nowiki></code> file. Here is a generic example, most computers will have very similar values: | ||
第48行: | 第48行: | ||
ff02::3 ip6-allhosts | ff02::3 ip6-allhosts | ||
</nowiki></pre> | </nowiki></pre> | ||
https://help.ubuntu.com/community/NetworkAdmin?action=AttachFile&do=get&target=hosts.png | |||
=== Storage of Profiles And Settings === | === Storage of Profiles And Settings === | ||
<code><nowiki>network-admin</nowiki></code> stores information about different Profiles in the following directory: | <code><nowiki>network-admin</nowiki></code> stores information about different Profiles in the following directory: | ||
第56行: | 第56行: | ||
During startup, the system will activate the network interfaces stored in the file <code><nowiki>/etc/network/interfaces</nowiki></code>. | During startup, the system will activate the network interfaces stored in the file <code><nowiki>/etc/network/interfaces</nowiki></code>. | ||
== Troubleshooting == | == Troubleshooting == | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconFAQ.png | |||
A very good place to begin is by restarting the networking service: | A very good place to begin is by restarting the networking service: | ||
<pre><nowiki> | <pre><nowiki> | ||
第74行: | 第74行: | ||
</nowiki></pre> | </nowiki></pre> | ||
=== Ask for Help === | === Ask for Help === | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=info.png The [[UbuntuHelp:UbuntuForums|UbuntuForums]] provide great community support, so check out the [http://ubuntuforums.org/forumdisplay.php?f=336 Networking & Wireless] area of the forums. | |||
== Other Resources == | == Other Resources == | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconBook-small.png | |||
* [http://www.debianadmin.com/ubuntu-networking-for-basic-and-advanced-users.html Ubuntu Networking Configuration Using Graphical Tool] | * [http://www.debianadmin.com/ubuntu-networking-for-basic-and-advanced-users.html Ubuntu Networking Configuration Using Graphical Tool] | ||
* Ubuntu:ZeroConfNetworking | * Ubuntu:ZeroConfNetworking | ||
* [[UbuntuHelp:WifiDocs/WiFiHowTo]] | * [[UbuntuHelp:WifiDocs/WiFiHowTo|WifiDocs/WiFiHowTo]] | ||
* Ubuntu:NetworkRoaming | * Ubuntu:NetworkRoaming | ||
* [[UbuntuHelp:DnsAndDhcp]] | * [[UbuntuHelp:DnsAndDhcp|DnsAndDhcp]] | ||
* Getting Support: [http://ubuntuforums.org/forumdisplay.php?f=336 Ubuntu Forums: Networking & Wireless] | * Getting Support: [http://ubuntuforums.org/forumdisplay.php?f=336 Ubuntu Forums: Networking & Wireless] | ||
---- | ---- |
2008年10月20日 (一) 00:09的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/NetworkAdmin }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/af | • {{#if: UbuntuHelp:NetworkAdmin|Afrikaans| [[::NetworkAdmin/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/ar | • {{#if: UbuntuHelp:NetworkAdmin|العربية| [[::NetworkAdmin/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/az | • {{#if: UbuntuHelp:NetworkAdmin|azərbaycanca| [[::NetworkAdmin/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/bcc | • {{#if: UbuntuHelp:NetworkAdmin|جهلسری بلوچی| [[::NetworkAdmin/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/bg | • {{#if: UbuntuHelp:NetworkAdmin|български| [[::NetworkAdmin/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/br | • {{#if: UbuntuHelp:NetworkAdmin|brezhoneg| [[::NetworkAdmin/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/ca | • {{#if: UbuntuHelp:NetworkAdmin|català| [[::NetworkAdmin/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/cs | • {{#if: UbuntuHelp:NetworkAdmin|čeština| [[::NetworkAdmin/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/de | • {{#if: UbuntuHelp:NetworkAdmin|Deutsch| [[::NetworkAdmin/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/el | • {{#if: UbuntuHelp:NetworkAdmin|Ελληνικά| [[::NetworkAdmin/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/es | • {{#if: UbuntuHelp:NetworkAdmin|español| [[::NetworkAdmin/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/fa | • {{#if: UbuntuHelp:NetworkAdmin|فارسی| [[::NetworkAdmin/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/fi | • {{#if: UbuntuHelp:NetworkAdmin|suomi| [[::NetworkAdmin/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/fr | • {{#if: UbuntuHelp:NetworkAdmin|français| [[::NetworkAdmin/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/gu | • {{#if: UbuntuHelp:NetworkAdmin|ગુજરાતી| [[::NetworkAdmin/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/he | • {{#if: UbuntuHelp:NetworkAdmin|עברית| [[::NetworkAdmin/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/hu | • {{#if: UbuntuHelp:NetworkAdmin|magyar| [[::NetworkAdmin/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/id | • {{#if: UbuntuHelp:NetworkAdmin|Bahasa Indonesia| [[::NetworkAdmin/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/it | • {{#if: UbuntuHelp:NetworkAdmin|italiano| [[::NetworkAdmin/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/ja | • {{#if: UbuntuHelp:NetworkAdmin|日本語| [[::NetworkAdmin/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/ko | • {{#if: UbuntuHelp:NetworkAdmin|한국어| [[::NetworkAdmin/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/ksh | • {{#if: UbuntuHelp:NetworkAdmin|Ripoarisch| [[::NetworkAdmin/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/mr | • {{#if: UbuntuHelp:NetworkAdmin|मराठी| [[::NetworkAdmin/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/ms | • {{#if: UbuntuHelp:NetworkAdmin|Bahasa Melayu| [[::NetworkAdmin/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/nl | • {{#if: UbuntuHelp:NetworkAdmin|Nederlands| [[::NetworkAdmin/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/no | • {{#if: UbuntuHelp:NetworkAdmin|norsk| [[::NetworkAdmin/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/oc | • {{#if: UbuntuHelp:NetworkAdmin|occitan| [[::NetworkAdmin/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/pl | • {{#if: UbuntuHelp:NetworkAdmin|polski| [[::NetworkAdmin/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/pt | • {{#if: UbuntuHelp:NetworkAdmin|português| [[::NetworkAdmin/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/ro | • {{#if: UbuntuHelp:NetworkAdmin|română| [[::NetworkAdmin/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/ru | • {{#if: UbuntuHelp:NetworkAdmin|русский| [[::NetworkAdmin/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/si | • {{#if: UbuntuHelp:NetworkAdmin|සිංහල| [[::NetworkAdmin/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/sq | • {{#if: UbuntuHelp:NetworkAdmin|shqip| [[::NetworkAdmin/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/sr | • {{#if: UbuntuHelp:NetworkAdmin|српски / srpski| [[::NetworkAdmin/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/sv | • {{#if: UbuntuHelp:NetworkAdmin|svenska| [[::NetworkAdmin/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/th | • {{#if: UbuntuHelp:NetworkAdmin|ไทย| [[::NetworkAdmin/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/tr | • {{#if: UbuntuHelp:NetworkAdmin|Türkçe| [[::NetworkAdmin/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/vi | • {{#if: UbuntuHelp:NetworkAdmin|Tiếng Việt| [[::NetworkAdmin/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/yue | • {{#if: UbuntuHelp:NetworkAdmin|粵語| [[::NetworkAdmin/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/zh | • {{#if: UbuntuHelp:NetworkAdmin|中文| [[::NetworkAdmin/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/zh-hans | • {{#if: UbuntuHelp:NetworkAdmin|中文(简体)| [[::NetworkAdmin/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:NetworkAdmin | UbuntuHelp:NetworkAdmin | {{#if: | :}}NetworkAdmin}}/zh-hant | • {{#if: UbuntuHelp:NetworkAdmin|中文(繁體)| [[::NetworkAdmin/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:NetworkAdmin|:NetworkAdmin|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :NetworkAdmin/zh | | {{#ifexist: NetworkAdmin/zh | | {{#ifeq: {{#titleparts:NetworkAdmin|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:NetworkAdmin|1|-1|}} | zh | | }}
In Ubuntu, the graphical configuration tool to configure network interfaces is called network-admin
. This is an alternative to using nm-applet
(GNOME front end for NetworkManager).
/!\ nm-applet
does not use the standard NetworkAdmin file /etc/network/interfaces
to store the Wireless Network settings, so you will not be able to use ifup
and ifdown
commands to start/stop network adapters. This can make it more difficult to diagnose connection problems.
Start
There are two ways to start network-admin
:
- Type
network-admin
into a terminal (Hardy Heron and newer).
- in Gutsy and older, you need to run
gksudo network-admin
- From your menu bar, go to System->Administration->Networking
In Hardy Heron and newer you will need to click the Unlock button and enter your password to make changes (assuming you have admin/sudo privileges on your user account - see RootSudo).
Configuration
If you are using a dialup modem, see here.
Wired connections generally work out of the box, but if the connection fails, select your "Wired connection" and hit the Properties button. Now check the box for "Enable roaming mode".
Wireless connections can prove a little more tricky, and are usually easily configured using nm-applet
from the tray area. If you would rather use this method, select "Wireless connection" and hit the Properties button. Enter your wireless network's ESSID and WEP/WPA password (if applicable). Under Connection Settings, you will most likely want to select "Automated Configuration (DHCP)" for the "Configuration" option.
- The preferred method is to "Enable roaming mode" - this often fixes problems when trying to connect to networks using
nm-applet
.
Advanced Configuration
Please consult your router's manual for help with accessing router configuration pages, which may be needed for using advanced networking options. Most of these are available in PDF format online, just Google your router's make/model.
Static IP address
This applies to both wired and wireless network settings. First, be sure that roaming mode is disabled. I have provided you with an example using a Linksys router, but every make and model router can be a little different:
- Configuration: Static IP Address
- IP address: 192.168.1.200 - the last octet of the IP address should usually be between 150 and 255, which is outside the DHCP range of a standard Linksys router.
- Subnet mask: 255.255.255.0
- Gateway address: 192.168.1.1 - this is usually your router's internal IP address.
General tab
Here you can set your computer's Host name and Domain name. These are needed when sharing files, folders, and printers between computers on a network. All computers should be on the same domain, and your host name is your computer's unique identifier.
DNS tab
Most people will not want to fiddle with this unless they are using their own DNS servers, or their computer is not auto-detecting them. Since this varies between ISPs and networks, we will not cover examples here.
Hosts tab
This is data stored in the /etc/hosts
file. Here is a generic example, most computers will have very similar values:
127.0.0.1 localhost 127.0.1.1 your_computer_name ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts
Storage of Profiles And Settings
network-admin
stores information about different Profiles in the following directory:
~/.gnome2/network-admin-locations
During startup, the system will activate the network interfaces stored in the file /etc/network/interfaces
.
Troubleshooting
A very good place to begin is by restarting the networking service:
sudo /etc/init.d/networking restart
Another good method is to stop/restart the network interface(s) from the terminal, one at a time, which shows some diagnostic messages. wlan0
is used as an example, but this applies to all interfaces:
sudo ifdown wlan0 sudo ifup wlan0
You may also diagnose the network adapter status with commands:
ifconfig iwconfig dmesg tail /var/log/messages
Ask for Help
The UbuntuForums provide great community support, so check out the Networking & Wireless area of the forums.
Other Resources
- Ubuntu Networking Configuration Using Graphical Tool
- Ubuntu:ZeroConfNetworking
- WifiDocs/WiFiHowTo
- Ubuntu:NetworkRoaming
- DnsAndDhcp
- Getting Support: Ubuntu Forums: Networking & Wireless