Configure Wifi Without Network Manager
From PardusWiki
(Difference between revisions)
| Line 1: | Line 1: | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
{{out-of-date}} | {{out-of-date}} | ||
= How to configure a Wifi without Network Manager = | = How to configure a Wifi without Network Manager = | ||
| Line 13: | Line 5: | ||
* Make sure your drivers are properly installed and your network card is recognised | * Make sure your drivers are properly installed and your network card is recognised | ||
| − | * Close Network-Manager (right clic in task bar = | + | * Close Network-Manager (right clic in task bar => Quit) |
* Open a terminal | * Open a terminal | ||
* Login as a root (su) | * Login as a root (su) | ||
| Line 36: | Line 28: | ||
eth1 Scan completed : | eth1 Scan completed : | ||
Cell 01 - Address: 00:11:92:EE:1E:50 | Cell 01 - Address: 00:11:92:EE:1E:50 | ||
| − | ESSID: | + | ESSID:"OWL-VISITOR" |
Protocol:IEEE 802.11bg | Protocol:IEEE 802.11bg | ||
Mode:Master | Mode:Master | ||
| Line 47: | Line 39: | ||
Extra: Last beacon: 244ms ago | Extra: Last beacon: 244ms ago | ||
Cell 02 - Address: 00:11:92:EE:1E:51 | Cell 02 - Address: 00:11:92:EE:1E:51 | ||
| − | ESSID: | + | ESSID:"OWL-VPN" |
Protocol:IEEE 802.11bg | Protocol:IEEE 802.11bg | ||
Mode:Master | Mode:Master | ||
| Line 59: | Line 51: | ||
... | ... | ||
Cell 09 - Address: 00:1B:2A:F7:77:53 | Cell 09 - Address: 00:1B:2A:F7:77:53 | ||
| − | ESSID: | + | ESSID:"Physics_M" |
Protocol:IEEE 802.11bg | Protocol:IEEE 802.11bg | ||
Mode:Master | Mode:Master | ||
| Line 74: | Line 66: | ||
== Setting up your wifi network == | == Setting up your wifi network == | ||
| − | * use iwconfig this way : iwconfig eth1 essid | + | * use iwconfig this way : iwconfig eth1 essid "nameofthenetwork" mode Auto channel n°ofthechannel |
For example, for the Physics_M network previously spotted : | For example, for the Physics_M network previously spotted : | ||
| Line 80: | Line 72: | ||
pardus ouardane # iwconfig eth1 essid Physics_M mode Auto channel 4 | pardus ouardane # iwconfig eth1 essid Physics_M mode Auto channel 4 | ||
| − | * if your network is protected by a key, use iwconfig key. You have to know if your network is protected in an | + | * if your network is protected by a key, use iwconfig key. You have to know if your network is protected in an "open" way or a "restricted" way (meaning that some connection is possible or not without the key). If you don't know, just try the two. If your key is and HEX key (numbers and letters A,B,C,D,E or F) juste copy your key after, if it is not, it is an ASCII key, and you have to write ''s:'' before your key |
For an open HEX key | For an open HEX key | ||
Latest revision as of 13:54, 30 November 2010
Contents |
How to configure a Wifi without Network Manager
First step
- Make sure your drivers are properly installed and your network card is recognised
- Close Network-Manager (right clic in task bar => Quit)
- Open a terminal
- Login as a root (su)
username@pardus ~ $ su Password : xxxxxxxxxx pardus username #
- Set down all of your network interfaces :
pardus username # ifconfig eth0 down pardus username # ifconfig eth1 down
Finding informations you need
- use the iwlist command to find out the information you need about your network. You need only two : the ESSID and the channel
pardus username # iwlist scanning
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
eth1 Scan completed :
Cell 01 - Address: 00:11:92:EE:1E:50
ESSID:"OWL-VISITOR"
Protocol:IEEE 802.11bg
Mode:Master
Channel:1
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Quality=41/100 Signal level=-76 dBm
Extra: Last beacon: 244ms ago
Cell 02 - Address: 00:11:92:EE:1E:51
ESSID:"OWL-VPN"
Protocol:IEEE 802.11bg
Mode:Master
Channel:1
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Quality=35/100 Signal level=-79 dBm
Extra: Last beacon: 241ms ago
...
Cell 09 - Address: 00:1B:2A:F7:77:53
ESSID:"Physics_M"
Protocol:IEEE 802.11bg
Mode:Master
Channel:4
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Quality=37/100 Signal level=-78 dBm
Extra: Last beacon: 185ms ago
- Find out the right network, and remember the lines essid and channel.
Setting up your wifi network
- use iwconfig this way : iwconfig eth1 essid "nameofthenetwork" mode Auto channel n°ofthechannel
For example, for the Physics_M network previously spotted :
pardus ouardane # iwconfig eth1 essid Physics_M mode Auto channel 4
- if your network is protected by a key, use iwconfig key. You have to know if your network is protected in an "open" way or a "restricted" way (meaning that some connection is possible or not without the key). If you don't know, just try the two. If your key is and HEX key (numbers and letters A,B,C,D,E or F) juste copy your key after, if it is not, it is an ASCII key, and you have to write s: before your key
For an open HEX key
pardus ouardane # iwconfig eth1 key open XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
For a restricted HEX key
pardus ouardane # iwconfig eth1 key restricted XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
For an open ASCII key
pardus ouardane # iwconfig eth1 key open s:XXXXXXXXXXXXXXXXXX
For an restricted ASCII key
pardus ouardane # iwconfig eth1 key restricted s:XXXXXXXXXXXXXXXXXX
Connect to internet !
- Set up your interface using ifconfig :
pardus username # ifconfig eth1 up
- Connect to internet :
pardus username # dhcpcd eth1 pardus username #
If the terminal wait for your instruction without returning an error, you are connected!