Configure Wifi Without Network Manager

From PardusWiki
(Difference between revisions)
Jump to: navigation, search
(This article isn't really necessary)
(Undo revision 3083 by Itycajofa (Talk) Spam.)
 
(One intermediate revision by one user not shown)

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