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.

I am facing the wifi network connection problem, which was previously working absolutely fine. I have checked /etc/network/interfaces file

auto wlan0  
iface wlan0 inet dhcp  
wireless-mode managed
wireless-essid my_network_name

I have also tried the following command on terminal but were no use

sudo ifup wlan0
fail to bring up wlan0

sudo ifdown wlan0
ifdown: interface wlan0 not configured

output of

      $ sudo lspci |grep -i network

has produce the below results

       06:00.0 Ethernet controller: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)
share|improve this question
run rfkill list and add the output. If it says wlan0 is softlocked, run rfkill unblock all –  Serg Mar 17 at 23:03

1 Answer 1

If you aren't using something like NetworkManager or Wicd, then this is the way to do it: http://nixcraft.com/ubuntu-debian/13278-etc-network-interfaces-wireless-wifi-example.html#post19778

share|improve this answer
What hardware do you have? Does your wireless card need a specific driver loaded before it can be used? On MY system, $ sudo lspci |grep -i network produces 0c:00.0 Network controller: Broadcom Corporation BCM4311 802.11b/g WLAN (rev 01), and I know I must sudo modprobe b43 to make my wireless NIC visible. –  waltinator Jan 5 '12 at 22:30

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.