LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-15-2015, 07:45 AM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Rep: Reputation: 255Reputation: 255Reputation: 255
wlan0 not working at boot (need dhclient)


Hello,

the wifi is set on dhcp (wpa2).
I modified the /etc/network/interface and now it does NOT work unfortunately automatically at boot. I need always do after boot: dhclient -v wlan0

The interface file with problem is :

Code:
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet manual
wpa-roam /root/wificonfig.conf

would you please know how to fix the /etc/network/interface ?

thank you
 
Old 03-15-2015, 07:52 AM   #2
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
I use this in /etc/network/interfaces:
Code:
auto wlan0
iface wlan0 inet dhcp
        wpa-ssid <SSSID>
        wpa-psk <passphrase>
Replace <SSID> with the name of the wireless access point (use `iwlist scan` to list all access points) and <passphrase> with the, er, passphrase.
https://wiki.debian.org/WiFi/HowToUse#Command_Line

Last edited by Head_on_a_Stick; 03-15-2015 at 07:54 AM. Reason: added wiki link
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RTL8723AE dhclient wlan0 never obtanis ip ZGNULINUX Linux - Networking 3 05-14-2014 02:22 PM
'/sbin/dhclient wlan0' not working in CentOS 5.3 saivin Linux - Wireless Networking 6 08-08-2009 02:33 AM
dhclient doesn't detect wlan0 with ndiswrapper kryptonite0110 Linux - Wireless Networking 1 03-07-2006 12:16 PM
dhclient wont set wlan0 AM1SHFURN1TURE Linux - Wireless Networking 5 07-26-2005 03:08 PM
dhclient wlan0 - wlan0: not found nickleus Linux - Networking 1 05-10-2005 09:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:58 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