1. Store
  2. Apps
  3. Hardware
  4. Support
  5. Solutions

ClearFoundation

Forums
Welcome, Guest
Master mode stopped working on D-LINK DWL-G510
(1 viewing) 1 Guest
Go to bottomPage: 12
TOPIC: Master mode stopped working on D-LINK DWL-G510
#35861
Master mode stopped working on D-LINK DWL-G510 1 Year, 5 Months ago  
Hi
My wireless router with ClearOS 5.2 has stopped working in master mode. The driver on found in webconfig on wlan0 is Ralink corp. AirPlus G DWL-G510 Wireless Network Adapter (Rev.C).

# iwlist wlan0 scan
Finds networks.

iwconfig & ifconfig shows:

#iwconfig wlan0
Warning: Driver for device wlan0 has been compiled with version 22
of Wireless Extension, while this program supports up to version 20.
Some things may be broken...

wlan0 IEEE 802.11bg ESSID:"NetworkName"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=10 dBm
Retry limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off

ifconfig wlan0wlan0 Link encap:Ethernet HWaddr 00:15:E9:AF:08:58
inet addr:192.168.0.1 Bcast:192.168.0.63 Mask:255.255.255.192
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

I have tried to set master mode with (config wlan0 mode master) Resulting in.

Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Invalid argument.

I have tried alot of things for days now and the only thing i suspect now is what an kernel update have changed something. with my driver.

# uname -r
2.6.32.21-166.timb4.i686

I'm really thankful for any help i can get
Lord Metal
Senior Boarder
Posts: 43
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#35946
Re: Master mode stopped working on D-LINK DWL-G510 1 Year, 5 Months ago  
Hi, have you changed kernel? (or inadvertently booted into a different one). Which one where you using previously that worked?

How did you install your wireless driver? from RPM? from source? or it just worked out of the box?
Tim Burgess
Moderator
Posts: 5800
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#35960
Re:Master mode stopped working on D-LINK DWL-G510 1 Year, 5 Months ago  
Hi Tim

My former kernel was:
2.6.18-194.8.1.v5

2.6.32.21-166.timb4.i686 was installed as an rpm 4/10 2010

I have forgotten if the wireless driver worked from start or was installed by rpm.

I haven’t used wireless for some time now but found out what it had stopped working this week.
Lord Metal
Senior Boarder
Posts: 43
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#36404
Re:Master mode stopped working on D-LINK DWL-G510 1 Year, 4 Months ago  
My wireless network is working again!

Found this guide on an website linking to Clearfoundation by Tim Burgess
www.clearfoundation.com/component/option.../func,view/id,21824/

I recommend all who have a similar problem with RT61 like mine to follow all of this guide to verify that all is correct.

In my case 3 steps solved my problem.

1. Followed the link on this guide what allows me to download the file in this guide.
2. Installation (correct the spelling if you paste from the guide to enablerepo or paste mine (the text underneath):
yum --enablerepo=timb-testing --enablerepo=timb install hostapd
3. service hostapd start
If it already are started, stop it before you start
service hostapd stop

Nice guide Tim
Worked like a charm
Lord Metal
Senior Boarder
Posts: 43
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#36739
Re:Master mode stopped working on D-LINK DWL-G510 1 Year, 4 Months ago  
I bought a new wireless PCI card to manage n draft speed 300 Mbps.
Prepared for some hard work again.
The new card also an D-Link PCI:
D-Link DWA-547 802,11 b/g/n draft

Found in ClearOS as:
Atheros Communications Inc. AR922X Wireless Network Adapter PCI

All i had to do was (i'm chocked).
service hostapd start

Up and works in master mode (required to use the card as an router) -

I guess the drivers are quite similar to my old one,
The card runs faster than my old one (i haven't done speed tests yet).

If you want an n draft card for linux as router then is card is working.
If someone of u is curious of the reel speed ask and i will tell you here.
Lord Metal
Senior Boarder
Posts: 43
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#36790
Re:Master mode stopped working on D-LINK DWL-G510 1 Year, 4 Months ago  
Thanks for the feedback! glad its working well for you i'd be interested in some benchmarks
Tim Burgess
Moderator
Posts: 5800
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#36806
Re:Master mode stopped working on D-LINK DWL-G510 1 Year, 4 Months ago  
This is the result i got with iperf

Laptop Mandriva 2010.1, Kernel 2.6.36, Intel WiFi Link 100 Modell 112BNHMW (Distance 2m from ClearOS 5.2 router).
#iperf -c 192.168.0.1 -p 6500

Router ClearOS, DWA-547 3st 2db antenn on the card.
#iperf -s -p 65000

Server listening on TCP port 65000
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.0.1 port 65000 connected with 192.168.0.28 port 59757
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.0 sec 23.6 MBytes 19.7 Mbits/sec
[ 5] local 192.168.0.1 port 65000 connected with 192.168.0.28 port 59395
[ 5] 0.0-10.1 sec 23.6 MBytes 19.6 Mbits/sec

The reach & speed from the places im usually connect wireless to the router, is also better on this new card dispite i used 1st external antenna 5db on my old card.

I hope you feel satisfied with the data if you want too upgrade.
Lord Metal
Senior Boarder
Posts: 43
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#40371
Re:Master mode stopped working on D-LINK DWL-G510 1 Year ago  
Installed ClearOS 6.2 and can't start hostapd

It seems like it's not installed and i don't know how to install hostapd in 6.2?

If i've got it right, the new way is an automatic installation via respitory configured in webconfig.

Respitories enabled
ClearOS Community 6 - x86_64 - OS
ClearOS Community 6 - x86_64 - Addons
ClearOS Core 6 - x86_64 - OS
ClearOS Community 6 - x86_64 - Extras
ClearOS Community 6 - x86_64 - Updates
Lord Metal
Senior Boarder
Posts: 43
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#40531
Re:Master mode stopped working on D-LINK DWL-G510 1 Year ago  
I found the answer in the roadmap, hostapd will be available in 6.2.1.
Lord Metal
Senior Boarder
Posts: 43
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#40559
Re:Master mode stopped working on D-LINK DWL-G510 1 Year ago  
Hi, my hostapd build for 5.2 was a custom one, Hostapd will be making a formal appeaance in 6.2.1 as you note - in the mean time you are welcome to test the following which are rebuild from Fedora:-
ftp://timburgess.net/repo/clearos/6.2/i686/os/hostapd-0.7.3-2.el6.i686.rpm
ftp://timburgess.net/repo/clearos/6.2/x86_64/os/hostapd-0.7.3-2.el6.x86_64.rpm
Tim Burgess
Moderator
Posts: 5800
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12
  get the latest posts directly to your desktop