特殊:Badtitle/NS100:WifiDocs/WirelessNetworkOfUniversityOfMaastricht:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/WifiDocs/WirelessNetworkOfUniversityOfMaastricht}} | {{From|https://help.ubuntu.com/community/WifiDocs/WirelessNetworkOfUniversityOfMaastricht}} | ||
{{Languages|UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht}} | {{Languages|UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht}} | ||
== | == Introduction == | ||
This guide is about how to connect to the wireless network of the University of Maastricht (MAASnet) | This guide is about how to connect to the wireless network of the University of Maastricht (MAASnet) | ||
I have only tried this guide for Edgy,Feisty,Gutsy and Hardy but it will work for Dapper as well with high probability. | I have only tried this guide for Edgy,Feisty,Gutsy and Hardy but it will work for Dapper as well with high probability. | ||
第31行: | 第31行: | ||
* it works! | * it works! | ||
== How to connect to the wireless network of the University of Maastricht (MAASnet) == | == How to connect to the wireless network of the University of Maastricht (MAASnet) == | ||
=== | === Step 0 : while you are still connected to internet === | ||
* make sure your system is fully updated | * make sure your system is fully updated | ||
* type the following in the terminal to install a few packages : | * type the following in the terminal to install a few packages : | ||
第37行: | 第37行: | ||
* download your windows wireless driver from your manufacturer | * download your windows wireless driver from your manufacturer | ||
* read this entire guide | * read this entire guide | ||
=== | === Step 1 : disable networkmanager for your next sessions === | ||
Go to System->Preferences->Sessions and disable networkmanager | Go to System->Preferences->Sessions and disable networkmanager | ||
=== | === Step 2 : make sure wpasupplicant is installed === | ||
Check whether wpasupplicant is installed : | Check whether wpasupplicant is installed : | ||
<pre><nowiki> | <pre><nowiki> | ||
第53行: | 第53行: | ||
* Or download it (so you can put it on cd or usb stick) for Gutsy from http://packages.ubuntu.com/gutsy/net/wpasupplicant | * Or download it (so you can put it on cd or usb stick) for Gutsy from http://packages.ubuntu.com/gutsy/net/wpasupplicant | ||
* Or download it (so you can put it on cd or usb stick) for Hardy from http://packages.ubuntu.com/hardy/net/wpasupplicant | * Or download it (so you can put it on cd or usb stick) for Hardy from http://packages.ubuntu.com/hardy/net/wpasupplicant | ||
=== | === Step 3 editting /etc/wpa_supplicant/wpa_supplicant.conf === | ||
In this guide you have to edit 2 files : /etc/network/interfaces and /etc/wpa_supplicant/wpa_supplicant.conf | In this guide you have to edit 2 files : /etc/network/interfaces and /etc/wpa_supplicant/wpa_supplicant.conf | ||
<pre><nowiki> | <pre><nowiki> | ||
第83行: | 第83行: | ||
* Replace ''"i******"'' by your student ID number | * Replace ''"i******"'' by your student ID number | ||
* Replace ''"*******"'' by your student password (which is the same as for email) | * Replace ''"*******"'' by your student password (which is the same as for email) | ||
=== | === Step 4 : connect for testing (and debugging if needed) === | ||
This show you all your network interfaces : | This show you all your network interfaces : | ||
<pre><nowiki> | <pre><nowiki> | ||
第120行: | 第120行: | ||
test test driver | test test driver | ||
</nowiki></pre> | </nowiki></pre> | ||
If something goes wrong try to change the wpa-driver or dive into wpasupplicant's debugging mode (use -dd for more debugging output) : | If something goes wrong try to change the wpa-driver or dive into wpasupplicant's debugging mode [http://custom-essay-writing-service.org/faq.php write my essay] (use -dd for more debugging output) : | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i eth1 -D wext -d | sudo wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i eth1 -D wext -d | ||
第129行: | 第129行: | ||
</nowiki></pre> | </nowiki></pre> | ||
Once you get something like "successful" remember the wpa-driver you used and press ctrl+c. | Once you get something like "successful" remember the wpa-driver you used and press ctrl+c. | ||
=== | === Step 5 : editting your /etc/network/interfaces === | ||
Now edit your /etc/network/interfaces by : | Now edit your /etc/network/interfaces by : | ||
<pre><nowiki> | <pre><nowiki> | ||
第151行: | 第151行: | ||
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf | wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf | ||
</nowiki></pre> | </nowiki></pre> | ||
Don't remove the lo lines. You can choose to comment all other lines. Add these four relevant lines for your wireless interface. | Don't remove the lo lines. You can choose to comment all other lines. Add these four relevant lines [http://cvresumewriters.com/onlineresume.php certified resume writers] for your wireless interface. | ||
Replace eth1 by your wireless interface. | Replace eth1 by your wireless interface. | ||
Replace wext by the wpa-driver that works best with your wireless card. | Replace wext by the wpa-driver that works best with your wireless card. | ||
第169行: | 第169行: | ||
</nowiki></pre> | </nowiki></pre> | ||
Replace ''eth0'' and ''eth1'' and ''wlan0'' and ''wlan1'' for your network interfaces that are up (except ''lo''). Often your wireless interface will be called eth1 or wlan0 (check with iwconfig). Your wired ethernet interface is often called eth0 (check with ifconfig when you have an ip on your wired interface to see which one it is). | Replace ''eth0'' and ''eth1'' and ''wlan0'' and ''wlan1'' for your network interfaces that are up (except ''lo''). Often your wireless interface will be called eth1 or wlan0 (check with iwconfig). Your wired ethernet interface is often called eth0 (check with ifconfig when you have an ip on your wired interface to see which one it is). | ||
=== | === Step 6 : let's hope it works === | ||
Now let's hope it works (replace ''eth1'' for your wireless interface : | Now let's hope it works (replace ''eth1'' for your wireless interface : | ||
<pre><nowiki> | <pre><nowiki> | ||
第178行: | 第178行: | ||
sudo ifdown eth1 ; sudo ifup eth1 | sudo ifdown eth1 ; sudo ifup eth1 | ||
</nowiki></pre> | </nowiki></pre> | ||
=== | === Step 7 : protect your network settings and unimaas passpord == | ||
Now protect your network settings and unimaas password : | Now protect your network settings and unimaas password : | ||
<pre><nowiki> | <pre><nowiki> |
2010年5月20日 (四) 00:58的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/WifiDocs/WirelessNetworkOfUniversityOfMaastricht }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/af | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|Afrikaans| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/ar | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|العربية| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/az | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|azərbaycanca| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/bcc | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|جهلسری بلوچی| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/bg | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|български| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/br | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|brezhoneg| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/ca | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|català| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/cs | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|čeština| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/de | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|Deutsch| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/el | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|Ελληνικά| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/es | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|español| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/fa | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|فارسی| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/fi | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|suomi| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/fr | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|français| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/gu | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|ગુજરાતી| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/he | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|עברית| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/hu | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|magyar| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/id | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|Bahasa Indonesia| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/it | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|italiano| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/ja | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|日本語| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/ko | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|한국어| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/ksh | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|Ripoarisch| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/mr | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|मराठी| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/ms | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|Bahasa Melayu| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/nl | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|Nederlands| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/no | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|norsk| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/oc | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|occitan| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/pl | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|polski| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/pt | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|português| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/ro | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|română| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/ru | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|русский| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/si | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|සිංහල| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/sq | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|shqip| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/sr | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|српски / srpski| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/sv | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|svenska| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/th | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|ไทย| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/tr | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|Türkçe| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/vi | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|Tiếng Việt| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/yue | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|粵語| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/zh | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|中文| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/zh-hans | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|中文(简体)| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht | {{#if: | :}}WifiDocs/WirelessNetworkOfUniversityOfMaastricht}}/zh-hant | • {{#if: UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|中文(繁體)| [[::WifiDocs/WirelessNetworkOfUniversityOfMaastricht/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :WifiDocs/WirelessNetworkOfUniversityOfMaastricht/zh | | {{#ifexist: WifiDocs/WirelessNetworkOfUniversityOfMaastricht/zh | | {{#ifeq: {{#titleparts:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:WifiDocs/WirelessNetworkOfUniversityOfMaastricht|1|-1|}} | zh | | }}
Introduction
This guide is about how to connect to the wireless network of the University of Maastricht (MAASnet) I have only tried this guide for Edgy,Feisty,Gutsy and Hardy but it will work for Dapper as well with high probability. If you run Ubuntu Linux / Debian and want to connect to the wireless network of the University of Maastricht (MAASnet) and you have any questions / problems you can contact me : Email: <<MailTo(ubuntu-demon AT SPAMFREE ubuntu DOT com)>> Be sure to create and attach the following text files :
lsb_release -a > release.txt lspci -nn > lspci-nn.txt sudo lshw -C network > lshw-network.txt
network-manager (WifiDocs/NetworkManager) is able to connect to most normal wireless networks. It's very user friendly. Sadly network-manager isn't able to connect to the MAASnet network yet (as far as I know). This means we have to configure the network by hand.
Hardy intel 3945/4965 wireless
This doesn't work with intel iwl3945/iwl4965 in Hardy due to the transition from ipw (Gutsy and before) to iwl. It's easy to connect to the MAASnet using the intel 3945 windows driver wrapped with ndiswrapper. That is if you have no ethical problems with running the non-free windows driver while the iwl3945 driver is free software. This is just a temporary ugly solution. Follow "Hardy with ndiswrapper" below to make this work. The bug reports :
- https://bugs.launchpad.net/linux/+bug/220640
- http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1658
Hardy with ndiswrapper
- For some wireless chipsets you need to use your windows driver to be able to connect to MAASnet
- ndisgtk depends on ndiswrapper-common and ndiswrapper-utils-1.19 so you can install all three packages from usb if you don't have internet
(download them to a usb stick from packages.ubuntu.com)
- issue the following commands :
sudo aptitude install ndisgtk sudo ndisgtk
- download your windows wireless driver from your manufacturer
- point to the right .inf file of your windows driver (try the XP driver first)
- rebooot
- follow this guide from the start (you probably need "wext" for wpasupplicant but some people might need "ndis")
- it works!
How to connect to the wireless network of the University of Maastricht (MAASnet)
Step 0 : while you are still connected to internet
- make sure your system is fully updated
- type the following in the terminal to install a few packages :
sudo aptitude install linux-generic wpasupplicant ndisgtk
- download your windows wireless driver from your manufacturer
- read this entire guide
Step 1 : disable networkmanager for your next sessions
Go to System->Preferences->Sessions and disable networkmanager
Step 2 : make sure wpasupplicant is installed
Check whether wpasupplicant is installed :
dpkg -l | grep wpasupplicant
If needed install wpasupplicant by (you need internet for this) :
sudo aptitude install wpasupplicant
- Or download it (so you can put it on cd or usb stick) for Dapper from http://packages.ubuntu.com/dapper/net/wpasupplicant
- Or download it (so you can put it on cd or usb stick) for Edgy from http://packages.ubuntu.com/edgy/net/wpasupplicant
- Or download it (so you can put it on cd or usb stick) for Feisty from http://packages.ubuntu.com/feisty/net/wpasupplicant
- Or download it (so you can put it on cd or usb stick) for Gutsy from http://packages.ubuntu.com/gutsy/net/wpasupplicant
- Or download it (so you can put it on cd or usb stick) for Hardy from http://packages.ubuntu.com/hardy/net/wpasupplicant
Step 3 editting /etc/wpa_supplicant/wpa_supplicant.conf
In this guide you have to edit 2 files : /etc/network/interfaces and /etc/wpa_supplicant/wpa_supplicant.conf
gksudo gedit /etc/wpa_supplicant/wpa_supplicant.conf
And make it look like this /etc/wpa_supplicant/wpa_supplicant.conf :
network={ ssid="MAASnet" key_mgmt=IEEE8021X wep_key0=12345678901234567890123456 phase2="auth=MSCHAPV2" identity="i******" password="*******" }
- Replace 12345678901234567890123456 by any string of random 26 numbers for security. You can generate this using this python script if you want (save it to a genkey.py and type : python genkey.py)
#!/usr/bin/python __doc__ = """generate a random wepkeys which work with maasnet (26 random numbers)""" import random for i in range(10): b = "" for a in range(26): b = b + str(random.randint(0,9)) print "wep_key0=" + b
- Replace "i******" by your student ID number
- Replace "*******" by your student password (which is the same as for email)
Step 4 : connect for testing (and debugging if needed)
This show you all your network interfaces :
ifconfig iwconfig
Now make sure all your networkinterfaces are down :
sudo ifdown eth0 sudo ifdown eth1 ..... .....
Replace eth0 and eth1 for your network interfaces that are up (except lo). Your wireless interface is often called eth1 or wlan0 but you can check with iwconfig. If you don't see a wireless interface try using ndiswrapper to use your windows driver. Your wired ethernet interface is often called eth0. Now to actually try to connect to the network :
sudo wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i eth1 -D wext
Replace eth1 with your wireless interface. $iwconfig will show you your wireless interface(s). Most people need wext. Replace wext with your the wpa-driver you need. Try wext if you don't know which one to use. To use your windows driver choose ndiswrapper and read the part in this guide about ndiswrapper. Here's a bit more information from /usr/share/doc/README.modes :
Table of supported drivers ========================== A summary of supported drivers follows: Driver Description ====== =========== hostap Host AP driver (Intersil Prism2/2.5/3) madwifi MADWIFI 802.11 support (Atheros, etc.) atmel ATMEL AT76C5XXx (USB, PCMCIA) wext Linux wireless extensions (generic) ndiswrapper Linux ndiswrapper ipw Intel ipw2100/2200 driver wired wired Ethernet driver test test driver
If something goes wrong try to change the wpa-driver or dive into wpasupplicant's debugging mode write my essay (use -dd for more debugging output) :
sudo wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i eth1 -D wext -d
Even more debugging output :
sudo wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i eth1 -D wext -dd
Once you get something like "successful" remember the wpa-driver you used and press ctrl+c.
Step 5 : editting your /etc/network/interfaces
Now edit your /etc/network/interfaces by :
gksudo gedit /etc/network/interfaces
/etc/network/interfaces :
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp auto eth1 iface eth1 inet dhcp wpa-driver wext wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
Don't remove the lo lines. You can choose to comment all other lines. Add these four relevant lines certified resume writers for your wireless interface. Replace eth1 by your wireless interface. Replace wext by the wpa-driver that works best with your wireless card. This shows you all your network interfaces :
ifconfig iwconfig
Now make sure all your networkinterfaces are down :
sudo ifdown eth0 sudo ifdown eth1 sudo ifdown wlan0 sudo ifdown wlan1 ..... .....
Replace eth0 and eth1 and wlan0 and wlan1 for your network interfaces that are up (except lo). Often your wireless interface will be called eth1 or wlan0 (check with iwconfig). Your wired ethernet interface is often called eth0 (check with ifconfig when you have an ip on your wired interface to see which one it is).
Step 6 : let's hope it works
Now let's hope it works (replace eth1 for your wireless interface :
sudo ifup eth1
When you switch networks and don't want to reboot :
sudo ifdown eth1 ; sudo ifup eth1
= Step 7 : protect your network settings and unimaas passpord
Now protect your network settings and unimaas password :
sudo chown root:root /etc/wpa_supplicant/wpa_supplicant.conf sudo chmod 600 /etc/wpa_supplicant/wpa_supplicant.conf
You can still edit your /etc/wpa_supplicant/wpa_supplicant.conf by typing :
sudo gedit /etc/wpa_supplicant/wpa_supplicant.conf
More information and other networks
You can find wpasupplicant documentation in /usr/share/doc/wpasupplicant and /usr/share/doc/wpasupplicant/examples. Some documentation is compressed. To uncompress them :
gunzip /usr/share/doc/wpasupplicant/*.gz gunzip /usr/share/doc/wpasupplicant/examples/*.gz
Example wpa_supplicant.conf. Uncomment and adapt any networks you use :
# MAASnet network={ ssid="MAASnet" key_mgmt=IEEE8021X wep_key0=65190159381713902819208232 # random! phase2="auth=MSCHAPV2" identity="i****" # specify password="*****" # specify } # wpa2-personal network (very secure) # use these settings on your home wireless network combined with mac filtering #network={ #ssid="example" # specify ssid/name here #bssid=99:23..... # specify bssid here (mac adress of your router) #proto=WPA2 #key_mgmt=WPA-PSK #pairwise=CCMP #group=CCMP #psk=abc5df4.... # specify hex psk here # #secure example when choosing ssid and psk : #yourssid : pwgen -s -0 #generate passphrase : pwgen -s -y 63 #hex psk : wpa_passphrase yourssid #now type in your passhrase and you have your hex psk #(you don't have to remember anything just set it at your machines and router) #} #wpa2-personal network (secure if using long random psk) #network={ #ssid="example" #proto=WPA2 #key_mgmt=WPA-PSK #psk="************************" #plain text passphrase #} #wep network (very insecure : you should change keys very often) #network={ #ssid="example" #key_mgmt=NONE #wep_key0="*******************" #} #open network (very very insecure don't use this unless you tunnel it over ssh/vpn) #network={ #key_mgmt=NONE #}
if you need more help
More general wireless documentation : WifiDocs If you run Ubuntu Linux / Debian and want to connect to the wireless network of the University of Maastricht (MAASnet) and you have any questions / problems you can contact one of the following people :
- Email: <<MailTo(ubuntu-demon AT SPAMFREE ubuntu DOT com)>>
- your name ?
Be sure to create and attach the following text files :
lsb_release -a > release.txt lspci -nn > lspci-nn.txt sudo lshw -C network > lshw-network.txt