LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-25-2012, 11:28 AM   #1
med linux
LQ Newbie
 
Registered: Jul 2012
Posts: 1

Rep: Reputation: Disabled
problems in connetion


hello

I wont to connect to my wifi modem through shell, I used debian and systemrescuecd and I had the same error messages

In this code you will see all command which I used in order to connect

Code:
root@debian:/home/user# ifconfig wlan0 up
root@debian:/home/user# iwlist wlan0 scan
wlan0     Scan completed :
          Cell 01 - Address: F4:EC:38:A1:37:4B
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=35/70  Signal level=-75 dBm 
                    Encryption key:on
                    ESSID:"TP-LINK_A1374B"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000004a89721bc
                    Extra: Last beacon: 456ms ago
                    IE: Unknown: 000E54502D4C494E4B5F413133373442
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030101
                    IE: Unknown: 2A0104
                    IE: Unknown: 32043048606C
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK

root@debian:/home/user# iwconfig wlan0 essid "TP-LINK_A1374B"
root@debian:/home/user# wpa_passphrase TP-LINK_A1374B > wifi.conf
nazo954@@@
root@debian:/home/user# wpa_supplicant -Dwext -iwlan0 -c wifi.conf
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
ioctl[SIOCSIWSCAN]: Device or resource busy
Failed to initiate AP scan.
Trying to associate with f4:ec:38:a1:37:4b (SSID='TP-LINK_A1374B' freq=2412 MHz)
Associated with f4:ec:38:a1:37:4b
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Trying to associate with f4:ec:38:a1:37:4b (SSID='TP-LINK_A1374B' freq=2412 MHz)
Associated with f4:ec:38:a1:37:4b
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Trying to associate with f4:ec:38:a1:37:4b (SSID='TP-LINK_A1374B' freq=2412 MHz)
Associated with f4:ec:38:a1:37:4b
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
^CCTRL-EVENT-TERMINATING - signal 2 received
what should I do ?
 
Old 07-26-2012, 08:32 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

the standard way to configure networking in Debian is to use the /etc/network/interfaces file.
Try adding the following lines (or similar)
Code:
iface wlan0 inet dhcp
 wpa-ssid TP-LINK_A1374B
 wpa-psk  mysecret
The run:
Code:
ifup wlan0
Alternatively you can configure your network from a terminal using something link wicd and wicd-curses.

Evo2.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] MySQL Connetion Error OtagoHarbour Linux - Software 3 06-04-2012 03:04 PM
Unable to connect my wireless eth1(Intel PRO/Wireless 2200 Network connetion) antonio fernandez Linux - Wireless Networking 7 01-05-2011 03:24 PM
No traces for sftp connetion in shell.log file !!!! sponarun Linux - Newbie 1 05-29-2009 03:51 PM
How do you do a dial up connetion barrythai Ubuntu 22 06-16-2007 06:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration