特殊:Badtitle/NS100:WifiDocs/WPAHowTo/Kubuntu:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/WifiDocs/WPAHowTo/Kubuntu}} | {{From|https://help.ubuntu.com/community/WifiDocs/WPAHowTo/Kubuntu}} | ||
{{Languages|UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu}} | {{Languages|UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu}} | ||
<<Include(Tag/Unsupported)>> | |||
== How to Enable WPA on Kubuntu == | == How to Enable WPA on Kubuntu == | ||
The purpose of this wiki is to clarify the procedure of getting WPA to work on Kubuntu. The general wiki is hard to read (at least for the time being), and it is hard to know which parts pertain to KDE. This page contains excerpts from the more general parent wiki [[UbuntuHelp:WifiDocs/WPAHowTo|WifiDocs/WPAHowTo]], and some particulars pertaining to KDE and Kubuntu. | The purpose of this wiki is to clarify the procedure of getting WPA to work on Kubuntu. The general wiki is hard to read (at least for the time being), and it is hard to know which parts pertain to KDE. This page contains excerpts from the more general parent wiki [[UbuntuHelp:WifiDocs/WPAHowTo|WifiDocs/WPAHowTo]], and some particulars pertaining to KDE and Kubuntu. | ||
第125行: | 第126行: | ||
---- | ---- | ||
[[category:CategoryNetworking]] | |||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2009年11月17日 (二) 21:16的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/WifiDocs/WPAHowTo/Kubuntu }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/af | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|Afrikaans| [[::WifiDocs/WPAHowTo/Kubuntu/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/ar | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|العربية| [[::WifiDocs/WPAHowTo/Kubuntu/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/az | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|azərbaycanca| [[::WifiDocs/WPAHowTo/Kubuntu/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/bcc | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|جهلسری بلوچی| [[::WifiDocs/WPAHowTo/Kubuntu/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/bg | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|български| [[::WifiDocs/WPAHowTo/Kubuntu/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/br | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|brezhoneg| [[::WifiDocs/WPAHowTo/Kubuntu/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/ca | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|català| [[::WifiDocs/WPAHowTo/Kubuntu/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/cs | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|čeština| [[::WifiDocs/WPAHowTo/Kubuntu/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/de | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|Deutsch| [[::WifiDocs/WPAHowTo/Kubuntu/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/el | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|Ελληνικά| [[::WifiDocs/WPAHowTo/Kubuntu/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/es | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|español| [[::WifiDocs/WPAHowTo/Kubuntu/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/fa | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|فارسی| [[::WifiDocs/WPAHowTo/Kubuntu/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/fi | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|suomi| [[::WifiDocs/WPAHowTo/Kubuntu/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/fr | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|français| [[::WifiDocs/WPAHowTo/Kubuntu/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/gu | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|ગુજરાતી| [[::WifiDocs/WPAHowTo/Kubuntu/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/he | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|עברית| [[::WifiDocs/WPAHowTo/Kubuntu/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/hu | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|magyar| [[::WifiDocs/WPAHowTo/Kubuntu/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/id | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|Bahasa Indonesia| [[::WifiDocs/WPAHowTo/Kubuntu/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/it | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|italiano| [[::WifiDocs/WPAHowTo/Kubuntu/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/ja | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|日本語| [[::WifiDocs/WPAHowTo/Kubuntu/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/ko | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|한국어| [[::WifiDocs/WPAHowTo/Kubuntu/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/ksh | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|Ripoarisch| [[::WifiDocs/WPAHowTo/Kubuntu/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/mr | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|मराठी| [[::WifiDocs/WPAHowTo/Kubuntu/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/ms | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|Bahasa Melayu| [[::WifiDocs/WPAHowTo/Kubuntu/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/nl | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|Nederlands| [[::WifiDocs/WPAHowTo/Kubuntu/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/no | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|norsk| [[::WifiDocs/WPAHowTo/Kubuntu/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/oc | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|occitan| [[::WifiDocs/WPAHowTo/Kubuntu/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/pl | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|polski| [[::WifiDocs/WPAHowTo/Kubuntu/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/pt | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|português| [[::WifiDocs/WPAHowTo/Kubuntu/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/ro | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|română| [[::WifiDocs/WPAHowTo/Kubuntu/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/ru | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|русский| [[::WifiDocs/WPAHowTo/Kubuntu/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/si | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|සිංහල| [[::WifiDocs/WPAHowTo/Kubuntu/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/sq | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|shqip| [[::WifiDocs/WPAHowTo/Kubuntu/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/sr | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|српски / srpski| [[::WifiDocs/WPAHowTo/Kubuntu/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/sv | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|svenska| [[::WifiDocs/WPAHowTo/Kubuntu/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/th | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|ไทย| [[::WifiDocs/WPAHowTo/Kubuntu/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/tr | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|Türkçe| [[::WifiDocs/WPAHowTo/Kubuntu/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/vi | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|Tiếng Việt| [[::WifiDocs/WPAHowTo/Kubuntu/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/yue | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|粵語| [[::WifiDocs/WPAHowTo/Kubuntu/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/zh | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|中文| [[::WifiDocs/WPAHowTo/Kubuntu/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/zh-hans | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|中文(简体)| [[::WifiDocs/WPAHowTo/Kubuntu/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu | {{#if: | :}}WifiDocs/WPAHowTo/Kubuntu}}/zh-hant | • {{#if: UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|中文(繁體)| [[::WifiDocs/WPAHowTo/Kubuntu/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:WifiDocs/WPAHowTo/Kubuntu|:WifiDocs/WPAHowTo/Kubuntu|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :WifiDocs/WPAHowTo/Kubuntu/zh | | {{#ifexist: WifiDocs/WPAHowTo/Kubuntu/zh | | {{#ifeq: {{#titleparts:WifiDocs/WPAHowTo/Kubuntu|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:WifiDocs/WPAHowTo/Kubuntu|1|-1|}} | zh | | }}
<<Include(Tag/Unsupported)>>
How to Enable WPA on Kubuntu
The purpose of this wiki is to clarify the procedure of getting WPA to work on Kubuntu. The general wiki is hard to read (at least for the time being), and it is hard to know which parts pertain to KDE. This page contains excerpts from the more general parent wiki WifiDocs/WPAHowTo, and some particulars pertaining to KDE and Kubuntu.
Before You Start
- You need to configure WPA on your wireless router/accsess point. Please note that though it is possible to set up the network in WEP-mode or unencrypted, and then switching to WPA when trying to connect to the router, this has serious security implementations, and also is very cumbersome and unreliable.
- It is assumed throughout this wiki that you have Kubuntu 6.10 (Edgy Eft) installed.
- Have a look at WifiDocs/WiFiHowTo to get your card up and running. Remember that some of the tools mentioned there, like network-admin are specific to Gnome, and not particularly well suited for use with KDE.
- Check to see if your card is supported by wpa_supplicant. If your card is not supported, I guess you are out of luck for now.
Remember also that <<Verbatim(WirelessAssistant)>> isn't going to get you anywhere if you are planning to use WPA encryption.
Note for the Impatient
Go directly to the [[UbuntuHelp:[EasySteps|Easy steps]]] section.
Other Wikis of Interest
- WifiDocs/NetworkManager, dealing with <<Verbatim(NetworkManager)>> in general.
- The WifiDocs/WPAHowTo wiki that most of this stuff comes from.
- The WifiDocs/WiFiHowTo wiki to get you started on wireless networking.
- Special considerations for the RT2500 chipset at WifiDocs/Driver/RalinkRT2500 (I do not have one, so I did not test this).
- The parent wiki, WifiDocs, for a listing of more wikis of interest.
External References
To further understand what is going on, these links might be useful.
- WPA explained on Wikipedia.
- wpa_supplicant website.
- NetworkManager site on <<Verbatim(Gnome.org)>>.
- The <<Verbatim(KNetworkManager)>> docs on OpenSuse webpages (thanks <<Verbatim(Novell)>>).
Basic Information for Users New to Kubuntu and Linux
Some basic information for inexperienced Linux users is included here. Please be patient, or skip directly to the [[UbuntuHelp:[EasySteps|Easy steps]]] section below. <<Anchor(NIC)>>
You Need a Working Internet Connection to Install Packages
To be able to install packages you will need a working Internet connection. Most laptops (mine at least) does not have problem with the wired LAN card, and this will be your best option for installing the required packages. Please also note that <<Verbatim(KNetworkManager)>> only enables one interface at a time. I do not quite understand why this should be so. Maybe future versions will support multiple interfaces and routing. {i} Now, it is possible to download packages with a different OS and install them off-line. This is a cumbersome process, though, and is not recommended. {i} It is Not a Good Option to use the wireless to access the Internet and then switching to WPA when you think you have done things right.
Explanations of the Instructions
When I write
$ chmod u+x somefile
this means that chmod is a command to be entered on a command prompt. Such a prompt is readily supplied by terminal emulators, i.e. Konsole. The action of the command issued can be investigated by issuing
$ man chmod
and reading the manual for the command. To become adept in using the man tool, issue
$ man man
The sudo command typpically prompts for your password. Supply your regular login password, and you should be fine. <<Anchor(EasySteps)>>
Easy Steps to get WPA to Work on Kubuntu
These are the steps needed to get WPA up and running on Kubuntu.
- Check to see if your card is supported by wpa_supplicant. If your card is not supported, I guess you are out of luck for now.
- Download the packages needed; knetworkmanager, network-manager and wpasupplicant. Personally I prefer aptitude, but please use the package manager of your choice (e.g. Adept).
If you use aptitude, enter this command, supplying your own password at the password prompt:
$ sudo aptitude install knetworkmanager network-manager wpasupplicant
{i} Technically knetworkmanager should drag in wpasupplicant and network-manager, but no harm done to specify them explicitly, other than that they will me marked as manually installed. Read the documentation for aptitude to learn about the implications. {i} You'll need a working network connection to install packages. Please see [[UbuntuHelp:[NIC|Network connection]]] for a brief explanation. 1.#3 Reboot the computer. {i} Might work without rebooting, but better safe than sorry. 1.#4 Log in to KDE and start <<Verbatim(KNetworkManager)>> from the Internet menu.
- There should now be a tray icon for <<Verbatim(KNetworkManager)>> in the system tray. Click on it and select the appropriate network, or specify a network with the Connect to Other Wireless Network ...
- Specify the passphrase and other details for your network.
That's all there is to it. It should be possible to select <<Verbatim(WPA)>> as encryption method in the last step. If not, something has gone wrong. One possibility is that your card is not supported by vpasupplicant. If it is on the list of supported cards try reinstalling the software with
sudo aptitude reinstall knetworkmanager wpasupplicant network-manager
Reboot and try again. If the problem persists, read the other wikis referenced in this wiki and see what you can learn from them.
Tip
Knetworkmanager will not manage any interfaces defined in /etc/network/interfaces file. Please comment out lines for any interface listed in the interfaces file except for the lo interface.
Final Remarks
Here are some remarks for tuning the system.
Remembering Passphrases
If <<Verbatim(KWalletManager)>> is configured, <<Verbatim(KNetworkManager)>> should use this to remember passphrases. Check this link for further information.
Suspend Suport
Have a look at the NetworkManager wiki for more information.
Workaround for Automatic Startup
I could not get the manager to work after system reboot. This seems to be because I tried to start knetworkmanager as root (with kdesu or such) the first time round. Don't know, though it seems to be the case after a bit of testing. Other user accounts on my system works just fine. My manager does not show any NICs when started by the session manager. Anyhow, there is no need to run knetworkmanager as root, as it is only a frontend to a daemon doing the actual network setup. Since I got myself into this mess, I'll include a bit of info on how I got around it too. On the Dell|Inspirion 510m laptop I am doing the testing this hack is suffiscient to get the manager to work across reboots.
- Start System Settings from the K menu.
- Click Advanced in the upper left corner of the window.
- Click Session manager.
- Add knetworkmanager to the comma-separated list of applications to exclude from the session management (in the bottom of the window), and click Apply.
- Create a file in the ~/.kde/Autostart folder named knetworkmanager.
- Enter this into the file:
#!/bin/bash # Adding a short wait cycle prior to starting KNetworkManager # Legger til en lilten pause før jeg starter KNetworkManager sleep 10 # Start manager # Starte manager knetworkmanager
{i} The two preceding steps can be combined into one by starting <<Verbatim(Konsole Terminal Emulator)>> from the K -> System menu, issuing the command nano ~/.kde/Autostart/knetworkmanager, cutting and pasting the above text into the editor window and pressing the key sequence [Ctrl] + x, and then pressing the [ENTER] key. 1.#7 Make the file executable:
$ chmod u+x ~/.kde/Autostart/knetworkmanager
This should do the trick. {i} After a bit of fiddling I found that <<Verbatim(KNetworkManager)>> worked properly even with the sleep 10 removed. This might be different for your system, so I'll leave it in there. {i} Also note that any tools dependent on the network to be up, like adept_notify and klamav (KDE frontend to clamav) will not work properly until after the wireless network has settled. I could not get this to work. Possibly <<Verbatim(KNetworkManager)>> needs to be integrated in the network services of KDE for this to work properly ...
Additional workaround for Automatic Startup
- Start Konqueror from the K menu.
- Make sure hidden files can be viewed (click the View menu in the upper left and select Show Hidden Files).
- Left-click (or double left-click) the .kde folder to open it.
- Left-click (or double left-click) the share folder to open it.
- Left-click (or double left-click) the config folder to open it.
- Open the knetworkmanagerrc file in Kate or your favorite text editor.
- Look for a section similar to this:
[General] Autostart=yes Version=0.2.2 WirelessEnabled=true
- If the value for Autostart is no, change it to yes.
- Save the file and close the editor.