Unix/Linux Go Back    


UNIX for Dummies Questions & Answers This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers

Configure wifi throught console problem, GUI is OK

UNIX for Dummies Questions & Answers


 
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 11-08-2009
wakatana wakatana is offline
Registered User
 
Join Date: Jul 2009
Last Activity: 23 May 2013, 2:35 PM EDT
Posts: 116
Thanks: 1
Thanked 0 Times in 0 Posts
Configure wifi throught console problem, GUI is OK

Hi gurus,
I am trying to connect to wifi access point with terminal, I set up my own access point (no encryption or MAC filters)
I ran followings commands


Code:
$ sudo iwlist eth1 scanning 
eth1      Scan completed :
          Cell 01 - Address: 00:11:2F:A2:99:1C
                    ESSID:"esus"
                    Protocol:IEEE 802.11g
                    Mode:Master
                    Frequency:2.437 GHz (Channel 6)
                    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=97/100  Signal level=-23 dBm  
                    Extra: Last beacon: 48ms ago


Code:
$ sudo iwconfig eth1 mode managed essid esus channel 6


Code:
$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      unassociated  Mode:Managed  Frequency=2.437 GHz  
          Access Point: Not-Associated   Bit Rate:0 kb/s   Tx-Power=20 dBm   
          Sensitivity=8/0  
          Retry limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

vboxnet0  no wireless extensions.

But when I use graphic tool in ubuntu 9.10 and then check it with iwconfig everything is OK

Code:
$ iwconfig 
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      IEEE 802.11g  ESSID:"esus"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:11:2F:A2:99:1C   
          Bit Rate:54 Mb/s   Tx-Power=20 dBm   Sensitivity=8/0  
          Retry limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=99/100  Signal level=-23 dBm  Noise level=-87 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

vboxnet0  no wireless extensions.

my box and wifi card:


Code:
$ lspci | grep -i wireless
06:05.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)


Code:
$ uname -a
Linux cepi-laptop 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009 i686 GNU/Linux


Code:
dpkg -l | grep wireless-tools
ii  wireless-tools                       29-2ubuntu6                                Tools for manipulating Linux Wireless Extens


Also I have another question, lets say I am connected to an AP but DHCP is disabled, also there is running web interface on AP throught I can set up DHCP and obtain IP address. How do I know what is IP of the AP which I am connected, is there a solution or I have to reset AP ?

I had idea to scann whole network with

Code:
$ echo -ne {0..255}.{0..255}.{0..255}.{0..255}"\n" > addresses
$ sudo nmap -sS -iL addresses

I know this is terrible waste of system resources, and my box stops responding and start swaping after I issued echo command Linux, but I dont know anything else, problably set some kind of broadcast ping or something like that, is this possible ?

What I am doing wrong ? Thanks a lot.
Sponsored Links
    #2  
Old Unix and Linux 11-11-2009
wakatana wakatana is offline
Registered User
 
Join Date: Jul 2009
Last Activity: 23 May 2013, 2:35 PM EDT
Posts: 116
Thanks: 1
Thanked 0 Times in 0 Posts
nobody Linux
Sponsored Links
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
wifi in linux problem naner9 UNIX for Dummies Questions & Answers 4 01-15-2009 09:29 PM
Average of elements throught multiple files chillmaster Shell Programming and Scripting 10 08-08-2008 11:28 AM
WiFi Help through shell VRoemer IP Networking 0 05-31-2008 07:45 PM
grep throught Zip file. deepakwins UNIX for Dummies Questions & Answers 1 01-30-2008 05:34 PM
WiFi Hitori IP Networking 9 08-16-2006 03:43 PM



All times are GMT -4. The time now is 08:52 AM.