Problems with wlan0 configuration


 
Thread Tools Search this Thread
Operating Systems Linux Debian Problems with wlan0 configuration
# 1  
Old 07-09-2013
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!
# 2  
Old 07-09-2013
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 ...
# 3  
Old 07-26-2013
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 09:30 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Linux

Is possible to bridge wlan0 and eth0 using network manager?How to for wpa?

I have created a bridge with nmcli between eth0 and wlan0 I use this procedure sudo nmcli con add ifname br0 type bridge con-name br0 sudo nmcli con add type bridge-slave ifname eth0 master br0 sudo nmcli con add type bridge-slave ifname wlan0 master br0 sudo nmcli con modify br0... (1 Reply)
Discussion started by: Linusolaradm1
1 Replies

2. Debian

Wlan0 Failed to UP in Kali Linux

Dear Moderator, While working on airmon-ng when the situation has come to set wlan0 on monitor mode Identification Wlan0 root@kali:~# iwconfig lo no wireless extensions. wlan0 IEEE 802.11bgn ESSID:off/any Mode:Managed Access Point: Not-Associated ... (1 Reply)
Discussion started by: raghunsi
1 Replies

3. Red Hat

Wlan0: unknown interface: No such device

Hi All, Am using Toshiba Satellite C850-l5212 Laptop . I have installed RHEL6 server on it ( Linux 2.6.32-220.el6.x86_64 ) I Installed wireless driver ( linux_mac80211_0012.0207.2013.tar.bz2 ) and the installation went fine. But when i do ifconfig wlan0 up its giving the below error .... (0 Replies)
Discussion started by: senthilcaesar
0 Replies

4. UNIX for Advanced & Expert Users

Time limit on ifconfig wlan0 down?

Is there a time limit ifconfig wlan0 down? I used that command to take my wireless down. sudo ifconfig wlan0 downWhen I came back about 6 hours later it was working without me bringing my wireless back up. I am the only one that uses my computer or that knows the root password. (0 Replies)
Discussion started by: cokedude
0 Replies

5. AIX

AIX SAN configuration problems/oddity

Hi, I have a strange problem. we're trying to connect an IBM pseries, to a Brocade switch, for SAN acess, using a badged emulex card, (IBM FC6239) WE can configure the device to see the fabric. The only problem we have is that the Brocade sees the HBA as storage, and not as a HBA. We've zoned... (1 Reply)
Discussion started by: praxis22
1 Replies

6. UNIX for Dummies Questions & Answers

Solaris 10: WU-FTPD Configuration Problems

Hello. I'm currently usng Solaris 10 and have to configure the box so that it acts as an FTP server handling multiple virtual domains. This should be done using wu-ftpd. I have successfully configured the box to be able to handle multiple virtual FTP servers, and all works well when I log in as... (2 Replies)
Discussion started by: CowsUdders
2 Replies

7. BSD

problems with the configuration...

is me again guys, sorry for the mistake in the written, what the problem is, i can't connect to the internet because i did a bad configuration in the freebsd os, i use a yahoo dsl modem and i don't dial to my isp, but everytime i try to connect ask me for a phone number to connect to my isp, what... (1 Reply)
Discussion started by: nobody
1 Replies

8. BSD

problems with the freebsd configuration...

I had just instal freebsd in my computer, wich is very nice,am very happy about it, am new to the unix os and i know unmost nothing and my problem is that i din't do i good configuration because i can get internet when i open the webbrowser, a have a yahoo dsl connection, i can't even play a cd in... (0 Replies)
Discussion started by: nobody
0 Replies

9. UNIX for Dummies Questions & Answers

Sendmail configuration problems

First of all, Happy Holidays,Merry Xmas, Happy Hanakah, Happy Kwanzaa, Happy Mid Winter Festival, etc.(Forgive me if I left your holiday out) Anyway, here is my situation. I am setting up an email server at the job, and Sendmail is not cooperating. The error that I get on my RedHat 7.3 Dell... (5 Replies)
Discussion started by: Jody
5 Replies
Login or Register to Ask a Question