Problems with wlan0 configuration | Unix Linux Forums | Debian

  Go Back    


Debian Debian GNU/Linux is a free distribution of the GNU/Linux operating system.

Problems with wlan0 configuration

Debian


Tags
dhcp, etc network interfaces, resolv.conf, wlan

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 07-09-2013
adiegorpc adiegorpc is offline
Registered User
 
Join Date: Oct 2010
Last Activity: 9 July 2013, 8:02 PM EDT
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Problems with wlan0 configuration

Hi I'm getting some troubles trying to create a Debian wheeze 7 from a vm using VMware from a laptop which I get lan and internet connection by a wireless router.
The first problem is that I'm a bit lost trying to configure the wlan to get lan and internet connection.
I've read about that I gotta install wpasupplicant but when I've tried to do as root user apt-get install wpasupplicant and I've got a message like this:

"Package wpasupplicant is not available, but is referred to another package. This may mean that the package is missing, has been obsoleted or is only available in from another source
E: Package 'wpasupplicant' has no installation candidate"

On the other hand, could someone tell me how to configure /etc/network/interfaces and etc/resolv.conf (if this is necessary) after the last step?. I have a router with WPA2-PSK password and I'm using DHCP

Well sorry try to understand that I'm a guy learning on my own at home and a beginner!

Thank you so much for reading and answer!
Sponsored Links
    #2  
Old 07-09-2013
Just Ice's Avatar
Just Ice Just Ice is offline Forum Advisor  
Lights on, brain off.
 
Join Date: Mar 2005
Last Activity: 20 September 2013, 10:59 AM EDT
Location: Philadelphia metro
Posts: 958
Thanks: 3
Thanked 66 Times in 59 Posts
is your network device on your vmware set to bridged or something else? i have multiple linux and solaris installs on my windows laptop's vmware player environment and they have no issues connecting to the network through the host's current connection whether wired or wireless ...

btw, i just use the default eth0 or e1000g0 or non-loopback interface ...
Sponsored Links
    #3  
Old 07-26-2013
Azrael's Avatar
Azrael Azrael is offline
Registered User
 
Join Date: Sep 2011
Last Activity: 26 April 2014, 9:30 PM EDT
Posts: 91
Thanks: 30
Thanked 3 Times in 3 Posts
It sounds like what you have read may be a little dated. The wpasupplicant should already be found in the following locations by default on Debian:

/etc/network/if-pre-up/etc/networkd/wpasupplicant
/etc/network/if-down/etc/networkd/wpasupplicant
/etc/network/if-post-down/etc/networkd/wpasupplicant
/etc/network/if-up/etc/networkd/wpasupplicant

If you're a beginner this may be easier to set up with a GUI like network-manager-gnome or network-manage-kde, depending on your desktop.

You may want to ensure this connection works without encryption turned on first. If this fails you would want to ensure vmware is detecting the card and determine if this is a vmware problem or a Linux problem.

If you are getting a connection with another interface like eth0 you may want to turn it off first, then bring up wlan0 or whatever interface it comes up on and run dhclient like so:


Code:
# ifconfig eth0 down
# ifconfig wlan0 up
# dhclient

Hopefully that will get you started.

Last edited by Azrael; 07-27-2013 at 07:30 AM..
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Time limit on ifconfig wlan0 down? cokedude UNIX for Advanced & Expert Users 0 06-17-2012 03:38 AM
Solaris 10: WU-FTPD Configuration Problems CowsUdders UNIX for Dummies Questions & Answers 2 12-19-2005 04:27 AM
problems with the configuration... nobody BSD 1 10-30-2003 09:35 AM
problems with the freebsd configuration... nobody BSD 0 10-27-2003 03:07 PM
Sendmail configuration problems Jody UNIX for Dummies Questions & Answers 5 12-26-2002 02:43 PM



All times are GMT -4. The time now is 03:29 AM.