Modify Ath9k Driver

I'm having some problems changing the EEPROM regulatory domain for my wireless card (ar9580 locked to US 0x0). I can't operate on the frequencies that I'm allowed to use. I've tried changing db.txt with no luck. It adds a couple of extra channels, but not the full channel list that im allowed to use.

I want to try to modify my ath9k driver so that it overrides the EEPROM, but im not really sure how to. I've found some patches to help modify the driver (Openwrt) but I dont know how to add them.
So my question is:
- Do I have to recompile my kernel (3.18.0-kali1-amd64) to add the patches from openwrt), or do I have to download the openwrt image to be able to use the patches? Or have i got it totally wrong and there's another way to do this?


Any help is very much appreciated.
Regards Mak - Makservice@icloud.com


Similar Content



Modify Ath9k

I'm having some problems changing the EEPROM regulatory domain for my wireless card (ar9580 locked to US 0x0). I can't operate on the frequencies that I'm allowed to use. I've tried changing db.txt with no luck. It adds a couple of extra channels, but not the full channel list that im allowed to use.

I want to try to modify my ath9k driver so that it overrides the EEPROM, but im not really sure how to. I've found some patches to help modify the driver (Openwrt) but I dont know how to add them.
So my question is:
- Do I have to recompile my kernel (3.18.0-kali1-amd64) to add the patches from openwrt), or do I have to download the openwrt image to be able to use the patches? Or have i got it totally wrong and there's another way to do this?


Any help is very much appreciated.
Regards Mak - Makservice@icloud.com

Change EEPROM Regdomain

My atheros wireless cards (ar9580) regdomain is 0x0 (us) which doesn't match my current location, so I can't see the frequencies that I'm actually allowed to see. I've tried changing the eeprom regdomain with no luck (http://blog.asiantuntijakaveri.fi/20...cie-cards.html). Is there another way that I can change it? Or should I modify the ath9k driver?

Any help is very much appreciated.

Hi All, I Am New In Linux

HI, this is melvin, new in linux, and keep learning in here.

we just have a project need to disable the 5GHz channel in the AR9462 due to the Approval issue.
We use "iw" to do the checking and found out the current EEPROM setting is 0x6c which enabled the 5GHz channel in passive and beacon scanning mode and caused the problem in the test lab for project~.
By the way, Is there anyone could help to advise how we could disable the 5GHz channel in the ath9k? we only need 2.4GHz only but chosen this dual band card for the project, so can't be changing.
Please help.
Thanks
Melvin

OpenWRT Linux Command Question

Hello everyone from stackexchange,

I am a total Linux newbie, and for a short school task I have to perform the following action in Linux OpenWRT running in my virtualbox. I have tried multiple commands and googled a lot but I can't get it working. If someone could help me out on what to do, that would be awesome. I have looked through the manuals too but it doesnt seem to work.

Task: http://i.imgur.com/MeLcGJh.png

My OpenWRT screen: http://imgur.com/98OLB9Y

Many thanks.

How To Determine If A Driver Is Installed In The Kernel Aka Nonfunctional USB Gigabit

I just built a linux build (Yocto 1.6 aka 3.10.17 kernel) and in the menuconfig I included the USB_RTL5182 for my USB Ethernet card. How do I determine if it's part of the system?

If I lsusb I get:
Bus 001 Device 002: ID 0bda:8153 Realtek Semiconductor Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@ventana:/lib/modules/3.10.17-1.0.0_ga+yocto+ge86e8d6#

However if I lsmod

arc4 1687 2
ath9k 123482 0
ath9k_common 26430 1 ath9k
ath9k_hw 473599 2 ath9k_common,ath9k
ath 22661 3 ath9k_common,ath9k,ath9k_hw
mac80211 381472 1 ath9k
cfg80211 231852 4 ath,ath9k_common,ath9k,mac80211
sky2 54014 0
compat 13931 5 cfg80211,ath9k_common,ath9k,mac80211,ath9k_hw


There is no RL8152 module running. Do I need to somehow bind it? How do I even tell if it's actually installed and my menuconfig didn't screw up somewhere. I'm a total linux noob so figuring out why I have no eth0 is a mystery to me.

Thanks!
Gavin

Nfsd Not Starting At Boot

Hello,
I can't get nfsd start at boot on openwrt linux.

I followed this guide:
http://wiki.openwrt.org/doc/howto/nfs.server

but when I turn the computer on:

Code:
root@OpenWrt:~# showmount -e localhost
clnt_create: RPC: Program not registered

Code:
root@OpenWrt:~# dmesg | tail
[   22.252000] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   24.228000] eth1: link UP - 100/full - flow control off
[   24.244000] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   30.124000] svc: failed to register nfsdv3 RPC service (errno 5).
[   31.588000] device eth1 entered promiscuous mode
[   31.596000] br-lan: port 1(eth1) entered forwarding state
[   31.600000] br-lan: port 1(eth1) entered forwarding state
[   31.652000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   31.684000] eth1: link UP - 100/full - flow control off
[   33.604000] br-lan: port 1(eth1) entered forwarding state

but if I do
Code:
root@OpenWrt:~# /etc/init.d/nfsd start
root@OpenWrt:~# showmount -e localhost
Export list for localhost:
/mnt/3tb *

so it works well, but I look at dmesg
Code:
root@OpenWrt:~# dmesg | tail
[   24.228000] eth1: link UP - 100/full - flow control off
[   24.244000] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   30.124000] svc: failed to register nfsdv3 RPC service (errno 5).
[   31.588000] device eth1 entered promiscuous mode
[   31.596000] br-lan: port 1(eth1) entered forwarding state
[   31.600000] br-lan: port 1(eth1) entered forwarding state
[   31.652000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   31.684000] eth1: link UP - 100/full - flow control off
[   33.604000] br-lan: port 1(eth1) entered forwarding state
[16642.280000] svc: failed to register lockdv1 RPC service (errno 124).

I tried several times
Code:
root@OpenWrt:~# /etc/init.d/portmap enable
root@OpenWrt:~# /etc/init.d/nfsd  enable

and reboot but, again, I have to start nfsd manually after every reboot.

What am I doing wrong? On Attitude Adjustment I never had any issue.

Please help!

Patches Update

Kindly tel me the steps to follow before and after applying patches in LINUX

Wireless Card

Hi I've been trying to get my atheros wireless card (Mini pcie) to work but with no luck. I'm currently using Kali linux. Do I need to install a driver or is there any other way for the chipset to work?

Any help is appreciated.
Thanks

Need To Install The N53 PCI Network Card From Asus Without Installing Anything Before

Hi

I am new to kali linux and have got a fresh install with all the current updates (without any new repositories). I am really interested in aircrack and wifi exploitation. But before i can do any of that i need to install my second network adapter, the asus n53 pcie. I am able to type this because my motherboard came with its own intergrated wifi adapter, the aetheros (something). That was working out of the box as soon as kali linux was installed, however i need a proper network adapter (the n53) to make use of my 3rd party long range antenna (it can pick up networks over 600m away ).

I am attempting to install my asus n53 pcie network adapter but have had no success at all, most likely because i have no idea what to do once i have extracted the driver. Currently it is sitting in my home folder. It has a few folders and files in it, with these being the folders

(chips, common, include, os, rate_ctrl, sta and tools)

and these being the files

(iwpriv_usage.txt, makefile, readme_sta_pci, rt2860STA.dat, rt2860staCarddat, sta_ate_iwpriv_usage.txt.)

In the readme file it says this in the instructions:

1> $tar -xvzf DPB_RT2860_Linux_STA_x.x.x.x.tgz
go to "./DPB_RT2860_Linux_STA_x.x.x.x" directory.

2> In Makefile
set the "MODE = STA" in Makefile and chose the TARGET to Linux by set "TARGET = LINUX"
define the linux kernel source include file path LINUX_SRC
modify to meet your need.

3> In os/linux/config.mk
define the GCC and LD of the target machine
define the compiler flags CFLAGS
modify to meet your need.
** Build for being controlled by NetworkManager or wpa_supplicant wext functions
Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'.
=> #>cd wpa_supplicant-x.x
=> #>./wpa_supplicant -Dwext -ira0 -c wpa_supplicant.conf -d
** Build for being controlled by WpaSupplicant with Ralink Driver
Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n'.
=> #>cd wpa_supplicant-0.5.7
=> #>./wpa_supplicant -Dralink -ira0 -c wpa_supplicant.conf -d

4> $make
# compile driver source code
# To fix "error: too few arguments to function ”„iwe_stream_add_event"
=> $patch -i os/linux/sta_ioctl.c.patch os/linux/sta_ioctl.c

5> $cp RT2860STA.dat /etc/Wireless/RT2860STA/RT2860STA.dat

6> load driver
#[kernel 2.4]
# $/sbin/insmod rt2860sta.o
# $/sbin/ifconfig ra0 inet YOUR_IP up

#[kernel 2.6]
# $/sbin/insmod rt2860sta.ko
# $/sbin/ifconfig ra0 inet YOUR_IP up

7> unload driver
$/sbin/ifconfig ra0 down
$/sbin/rmmod rt2860sta

And this to me looks like another language. I would GREATLY APPRECIATE IT if someone could give me step by step instructions on how to install this, without skipping on anything. I will even pay 10000 dogecoin if someone helps me! I have been searching youtube tutorials for 3 hours (lol) for it and havent found anything. Please help me!

Thanks

Dell C840 Now Recognizes Intel Pro Wireless 2200BG:Driver Install Question

O/s: Xandros 3.0.3 Business
Laptop: Dellc840
Given: Wireless card recognized by laptop and executable driver file sitting waiting for installation.

Question:When I click on the .exe file (driver file) it opens and installs somewhere that I can't find, even with the Tools - Find Files/Folders option using the *.inf file format as a search handle.
How do I control where this file opens to? If I could control where it opens to, I could then find it to install it for use.