LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-22-2016, 09:37 AM   #1
Nick_S_
LQ Newbie
 
Registered: Oct 2006
Posts: 14

Rep: Reputation: 0
Wireless Setup (OpenMediaVault) - wpa_supplicant


I'm running OpenMediaVault (Debian variant) and I'm trying to setup wireless networking but not getting anywhere. I've used wpa_supplicant on Slackware in the past but I forget the config settings I used. The wpa_supplicant documentation I'm finding is not very helpful or I'm not reading them right.

ex) https://blog.nelhage.com/2008/08/usi...-debianubuntu/
https://www.debuntu.org/how-to-wifi-...pa-supplicant/

Here's my /etc/network/interfaces file
Code:
# The loopback network interface
auto lo
iface lo inet loopback

# eth0 network interface
auto eth0
allow-hotplug eth0
iface eth0 inet dhcp


# wlan0 network interface
auto wlan0
#allow-hotplug wlan1
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
My /etc/wpa_supplicant/wpa_supplicant.conf
Code:
# reading passphrase from stdin

ctrl_interface=/var/run/wpa_supplicant

network={
	ssid="SSID_Name"
	#psk="Hidding This"
	psk=SOME_CRAZY_STRING
}
Now when I try to run 'ifup wlan0, I get the following
Code:
root@debian:/etc/network# ifup wlan0
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

RTNETLINK answers: No such file or directory
Listening on LPF/wlan0/50:46:5d:4c:1c:a2
Sending on   LPF/wlan0/50:46:5d:4c:1c:a2
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
send_packet: Network is down
receive_packet failed on wlan0: Network is down
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
send_packet: Network is down
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
send_packet: Network is down
^C
I see wpa_supplicant daemon can't be started. I think I'm missing a lot here. Does anyone have a good reference to setting up WPA2 wireless on a debian machine?

Thanks,

Nick
 
Old 06-22-2016, 10:15 AM   #2
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
Nick S,

http://www.cyberciti.biz/faq/debian-...fi-networking/
 
Old 06-22-2016, 08:34 PM   #3
Nick_S_
LQ Newbie
 
Registered: Oct 2006
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by beachboy2 View Post
Thanks for the link but that didn't get me anywhere. I followed the instructions and when I try to bring up wlan0 I get this:

Code:
root@debian:~# ifup wlan0
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

RTNETLINK answers: No such file or directory
Listening on LPF/wlan0/50:46:5d:4c:1c:a2
Sending on   LPF/wlan0/50:46:5d:4c:1c:a2
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
send_packet: Network is down
receive_packet failed on wlan0: Network is down
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
send_packet: Network is down
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to setup a access point using wpa_supplicant surya007 Linux - Wireless Networking 2 10-12-2015 02:57 AM
WPA2, unable to setup wpa_supplicant with ndiswrapper Dman58 Linux - Networking 7 04-05-2012 01:23 PM
Wireless with WPA2 and without WPA_supplicant Walzing Linux - Wireless Networking 6 08-16-2011 08:14 AM
Wpa_supplicant setup(and failure) any ideas? J05HUA Slackware 2 05-27-2008 11:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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