D-Link WDA 2320 connects to network but not the internet, using sidux.
Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
D-Link WDA 2320 connects to network but not the internet, using sidux.
I am using sidux fully updated. Using wicd to scan and connect to available networks. wired connection is eth1, wireless connection is ath0 using madwifi driver and kernel module. Am able to connect to network, but there is no activity in knemo thus no connection to internet. wpasupplicant is installed ,but no wpaspplicant.conf in /etc/wpasupplicant? I'm not a complete newb to linux, but don't have much experience setting up wireless in linux. Also when I switch from wired to wireless, and back to wired (bcause wireless not connecting) I have to reboot to get my voip adapter back up.I know I don't need wireless with a wired connection available, I want to be able to test my wireless network and have backup, and am going to buy a laptop soon and want to familiarize myself with how this is going to all work. Thanks in advance for any suggestions on how to get this going.
I do not know about wicd, but I have found that some linux GUI network tools do not work well authenticating with WPA. I think you will need to create a wpa_supplicant.conf and see if wicd can use wpa_supplicant (If not you can also start wpa_supplicant manually)
First, double-check that you do not have the conf file, it is very unusual for it not to be present because the default/example file has useful examples to help get it configured. (note that in your post you did not use the underscore in the name of the file, is this why you did not find it?)
Some distros use
/etc/wpa_supplicant.conf
and others use /
etc/wpa_supplicant/wpa_supplicant.conf
If you can't find the default/example file on your system, you might find it here at linuxquestions or with a google search.
If you have not done so, Look in the wpa_supplicant man page and through this forum for more info. It is not hard to get a working configuration.
A useful commandline tool to check wireless connectivity is iwconfig
# iwconfig ath0
There is also a chance that you have authenticated correctly but a valid address has not been assigned to the interface. Use ifconfig to check the IP address
# ifconfig ath0
Last edited by Greenfuse; 07-26-2008 at 08:34 PM.
Reason: typo
your right it is wpa_supplicant.conf and the only place I can find it is in /etc/dbus-1/system.d, which doesn't coinside with anything I've read.But, I did find it.
This is what I got from the man pages that I needed to enter for code. So does this mean I can't use wpa with with atheros in linux? Is there another driver I can use for this card?
This is what I get if I take the code out for the driver:
Failed to read or parse configuration '/etc/debus-1/wpa_supplicant'.
Last edited by solfly; 07-26-2008 at 10:00 PM.
Reason: forgot some info
What an interesting place for your distro to put the file
Your command line instruction is a good first try, see if it helps to modify a couple of details as below:
Try wext for the -D option. Atheros is a good interface and has decent support under linux so I dont know why wpa_supplicant has rejected the madwifi driver.
With the -c option you need to specify the exact path and name of the file. If you want to use tab completion as you type the command, leave a space between the -c and the /path/to/file, it will still work.
the -d option gives debugging output, might be useful. The more d's, the more output
at the time, the card was connected to the network (no internet) and then it kicked me off the network.
here is my wpa_supplicant.conf and interfaces:
/etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.