Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

So, thanks to a prior question I asked, I can now see my wireless card on iwconfig and ifconfig. Ubuntu server 12.04

I've set it up with

sudo iwconfig wlan0 essid SSID key KEY

with SSID and KEY properly entered into the command.

Then, I checked scan to make sure the (not broadcasting) network was being detected. It is.

Then, I disabled eth0 to make sure the network connection was going through the wireless. The server dropped off the network.

It was suggested I use dhclient to force an IP onto the device. Using it enables eth0 again, and the wlan0 still doesn't have an IP associated.

How do you figure out why a device isn't connecting to a network? Do I have to broadcast the SSID? I would really rather not for security reasons.

share|improve this question
    
Are you able to pull a gateway/router? Is this a home network or a managed network? –  Colyn1337 Oct 9 '13 at 17:27
    
Broadcasting the SSID provides very little in the form of security but makes it a hassle to T/S these types of issues. I can figure out your WAP's SSID in seconds if I want by force de-authing your clients and sniffing their re-associate requests. –  Freedom_Ben Oct 9 '13 at 20:55
    
This is a home network. Comcast via a belkin router. I can turn broadcasting on temporarily if that'll help troubleshoot, but the network does show up on iwlist scan. –  Rabek Oct 9 '13 at 23:40
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.