Configure Wifi Without Network Manager

From PardusWiki
(Difference between revisions)
Jump to: navigation, search
(Undo revision 3083 by Itycajofa (Talk) Spam.)
 
Line 1: Line 1:
----
 
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 
----
 
=[http://ewefobyme.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=
 
----
 
=[http://ewefobyme.co.cc CLICK HERE]=
 
----
 
</div>
 
 
{{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 =&gt; Quit)
+
* 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:&quot;OWL-VISITOR&quot;
+
                     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:&quot;OWL-VPN&quot;
+
                     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:&quot;Physics_M&quot;
+
                     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 &quot;nameofthenetwork&quot; mode Auto channel n°ofthechannel
+
* 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 &quot;open&quot; way or a &quot;restricted&quot; 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
+
* 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

username@pardus ~ $ su
Password : xxxxxxxxxx
pardus username #
pardus username # ifconfig eth0 down
pardus username # ifconfig eth1 down

Finding informations you need

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

Setting up your wifi network

For example, for the Physics_M network previously spotted :

pardus ouardane # iwconfig eth1 essid Physics_M mode Auto channel 4

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 !

pardus username # ifconfig eth1 up
pardus username # dhcpcd eth1
pardus username #

If the terminal wait for your instruction without returning an error, you are connected!

Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox