Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm starting to learn about wireless pentesting with BackTrack, and while learning how to find out the hidden SSID I wondered how could I connect to the wireless network after I discover the SSID. The book I'm studying does not cover that topic, only how to find the SSID.

I tried:

ifconfig wlan0 192.168.0.1 netmask 255.255.255.0 up
iwconfig wlan0 essid "XXXX" channel X

but that doesn't work. Result in screenshot: enter image description here

share|improve this question
    
Define "that doesn't work". (Are you sure this is an open access point with no WPA2 or WEP?) Also, in the future, please use copy&paste rather than a screenshot. –  Celada Nov 25 '12 at 8:06
    
@Celada when I try to use the browser it behaves in the same way as a browser with no connection. I'm sure there is no WPA2 or WEP, and I don't know if it is the same thing as closed access, but I'm using the closed network option to hide the SSID. I used the screenshot because I'm doing this on another computer. –  Ivan Lerner Nov 25 '12 at 8:25
3  
@IvanLerner you don't have any nameserver setup, default routes or anything else. You just connected at the physical layer but you don't have your IP settings configured correctly. –  Ulrich Dangel Nov 25 '12 at 10:55
    
@UlrichDangel can you give some references or tell me how to do that if it is not a big deal? But I'd like something that really explains it, and not just a walkthrough on how to set it up. –  Ivan Lerner Nov 25 '12 at 14:31
    
I don't understand why you closed the question. It is just a question on how to connect to a network without any encryption at all using a hidden SSID. How can that be too specific? –  Ivan Lerner Nov 26 '12 at 0:02
show 1 more comment

closed as too localized by Ulrich Dangel, Renan, jasonwryan, Mat, Caleb Nov 25 '12 at 23:01

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.