You are not logged in.

#1 2010-09-06 13:40:09

kaddy
Member
From: Perth, Western Australia
Registered: 2009-09-22
Posts: 192

D-Link DWA-510 Wireless Issues

Hi Archers
Got myself a wifi card today and i'm having trouble getting it to work... Been trying all day........ i've read the wiki etc..

Basically... I have a D-Link DWA-510 pci wifi card
It uses the Ralink chipset and from what I have read

http://wiki.archlinux.org/index.php/Wir … tup#rt2x00

The correct driver to use is the rt2x00 module which is included in the Kernel

heres my rc.conf



#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
#   in the hardware clock being left untouched (useful for virtualization)
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.UTF-8"
HARDWARECLOCK="UTC"
TIMEZONE="Australia/Perth"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(rt2x00pci lo!rt2400pci !rt2500pci !rt2500usb !rt61pci !rt73usb)

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="archbox"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#

#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
wlan0="dhcp"
#eth0="dhcp"

INTERFACES=(lo !eth0 wlan0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)

# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng @network hal fam alsa gdm !kdm netfs crond)


as you can see i have the    rt2x00pci module in rc.conf and I have blacklisted un needed modules from what I understand I need to do..............



iwconfig gives me this

lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11bg  Mode:Managed  Access Point: Not-Associated   
          Tx-Power=17 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off

When I boot into arch I do a

ifconfig wlan0 up
iwlist wlan0 scan
iwconfig wlan0 essid myessid   (with my correct info)
iwconfig wlan0 ap mybssid     (with my correct info)

and the connection always times out


Also... the wiki says that "linux-firmware" has the firmware i need for my chipset



hope thats enough info.........

any ideas?

Offline

#2 2010-09-06 13:48:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: D-Link DWA-510 Wireless Issues

Please, use [code ] tags for posting code snippets, configs etc.
Do it like this:

MODULES=(rt2x00pci lo!rt2400pci !rt2500pci !rt2500usb !rt61pci !rt73usb)

'lo!rt2400pci'?? What's that? :-) I think this one is not blacklisted (I don't know how important is that).

Last edited by karol (2010-09-06 13:51:22)

Offline

#3 2010-09-06 14:02:26

kaddy
Member
From: Perth, Western Australia
Registered: 2009-09-22
Posts: 192

Re: D-Link DWA-510 Wireless Issues

karol wrote:

Please, use [code ] tags for posting code snippets, configs etc.
Do it like this:

MODULES=(rt2x00pci lo!rt2400pci !rt2500pci !rt2500usb !rt61pci !rt73usb)

'lo!rt2400pci'?? What's that? :-) I think this one is not blacklisted (I don't know how important is that).


Yeah I realised I was missing a space after "lo"    I'm not sure what lo is exactly or if i need it... but I keep seeing it in other peoples examples with my setup..... i've tried getting rid of it also and it doesn't affect anything........
still got the same issues......


my bad on the long paste..... oops

Last edited by kaddy (2010-09-06 14:04:28)

Offline

#4 2010-09-06 14:17:57

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: D-Link DWA-510 Wireless Issues

kaddy wrote:

Yeah I realised I was missing a space after "lo"    I'm not sure what lo is exactly or if i need it... but I keep seeing it in other peoples examples with my setup..... i've tried getting rid of it also and it doesn't affect anything........

my bad on the long paste..... oops

That module does not exist so removing it cannot affect anything except getting rid of the warning/error message about it during boot.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#5 2010-09-06 15:09:40

kaddy
Member
From: Perth, Western Australia
Registered: 2009-09-22
Posts: 192

Re: D-Link DWA-510 Wireless Issues

R00KIE wrote:
kaddy wrote:

Yeah I realised I was missing a space after "lo"    I'm not sure what lo is exactly or if i need it... but I keep seeing it in other peoples examples with my setup..... i've tried getting rid of it also and it doesn't affect anything........

my bad on the long paste..... oops

That module does not exist so removing it cannot affect anything except getting rid of the warning/error message about it during boot.




yerp

Offline

#6 2010-09-06 15:46:19

munkyeetr
Member
From: Merritt, BC
Registered: 2008-08-07
Posts: 83

Re: D-Link DWA-510 Wireless Issues

When I boot into arch I do a

ifconfig wlan0 up
iwlist wlan0 scan
iwconfig wlan0 essid myessid   (with my correct info)
iwconfig wlan0 ap mybssid     (with my correct info)

and the connection always times out

A shot in the dark, but when you say "the connection always times out" I assume you are running:

dhcpcd wlan0

and trying to obtain an IP address.


If the advice you're given in this forum solves your issue, please mark the post as [SOLVED] in consideration to others.

"More than any time in history mankind faces a crossroads. One path leads to despair and utter hopelessness, the other to total extinction.
Let us pray that we have the wisdom to choose correctly." -- Woody Allen

Offline

#7 2010-09-06 15:48:11

kaddy
Member
From: Perth, Western Australia
Registered: 2009-09-22
Posts: 192

Re: D-Link DWA-510 Wireless Issues

yep
tried that

Offline

#8 2010-09-06 17:42:59

zandgreen
Member
Registered: 2010-08-12
Posts: 16

Re: D-Link DWA-510 Wireless Issues

Presumably there can be left some previous interface (for netcfg for example) autoloading on startup (maybe somewhere in rc.d). Me I had almost the same problem untill I removed interface from autoloading in rc.conf.

Offline

Board footer

Powered by FluxBB