Ubuntu Networking :: Compile Drivers Or Hostapd From Source + Ath9k = No 11n

Nov 19, 2010

I've been running hostapd for a while in 11g mode with great success. Having upgraded the router machine to maverick today, I had a poke at getting hostapd working in 11n mode without too much fuss. From cursory reading of old forum posts, this appears to now be built in functionality without needing to compile drivers or hostapd from source - this is borne out by a few 11n-related lines in the default configuration file.

When adding those two lines to my config file, though, I get the same error message I did a few years ago when trying this out for the first time:

[Code].....

View 2 Replies


ADVERTISEMENT

Fedora Networking :: 12 + Hostapd + Ath9k Hang - Did Not Acknowledge Authentication Response?

Dec 3, 2009

I have a small intel Atom based computer that acts as a 'combo' firewall / router / server / 802.11 Access Point that services my end user needs. I'm using hostapd 0.7.0 and Fedora 12 x86_64. The system works fine on Fedora 11. I decided to upgrade to Fedora 12 last night, and completely broke my wireless. Note that configurations are _identical_ between the Fedora 11 and Fedora 12 installation. Though, I did recompile the hostapd binary under Fedora 12 libs, etc.

Anyway, Client #1 associates fine. Client #2 associates, and hostapd hangs. Strace'ing the process shows nothing... just.. dead. SIGTERM works, but hostapd is unable to 'unallocate' the wlan0 interface, which appears to be in a hung state, so I can't simply re-start hostapd. So, I have to remove wlan0 from my bridge, them rmmod ath9k, modprobe ath9k, re-add wlan0 into the bridge, restart hostapd.. But the second association consistently hangs it every time. Next, I went and downloaded the latest compat-wireless drivers as of this posting. Selected the ath9k driver, built the modules, replaced them in my /lib/modules tree, depmod'd, reboot, etc..

BIG difference. Now hostapd does not hang, and there appears to be better logging/debug than ever before. This made me happy. Unfortunately, there appears to be a new problem. Clients can now associate, but only for a split second. They are immediately disconnected, and the following message appears via hostapd's stdout logging: hostapd: wlan0: STA 00:21:5c:39:a3:99 IEEE 802.11: did not acknowledge authentication response

For every client that attempts connection. Note that I'm using WPA2-EAP-PEAP w/ MSCHAPv2. I've also, for kicks, just tried regular WPA2-PSK with similar results. I'm using a mixture of clients, Windows XP, Windows 7, Linux Ubuntu, Fedora, and others.

[Code].....

View 1 Replies View Related

Networking :: Ath9k Driver Installation With Source From Kernels For 2.6.34 ?

Oct 22, 2010

I have had some trouble with understanding the wireless drivers. I am using backtrack 4 R1, and the reason was merely for the network and having many necessary networking dependencies already there. However I found that I am using a HAL for the ath9k and madwifi-ng drivers, thus I must patch the card and go through all of that.

The specific distribution I am using is Backtrack 4 R1 with KDE3 and ubuntu on the 2.6.34 kernel. I know I have through an update script found the wireless drivers and downloaded them, however all attempts to get it to fully work haven't helped. I checked the forums, and it doesn't seem like they consider it a backtrack specific question but a linux specific question. I performed hwinfo and it returns ath9k and the memory address, channels 1-14, wlan frequencies(2.412,2.417, 2.422, 2.427, 2.432, 2.437, 2.442, 2.447, 2.452, 2.457, 2.462, 2.467, 2.472, 2.484. I have all modes of encryption set.

I am using both ifconfig and iwconfig with a wicd frontend to access the network typically. Unfortunately I am only seeing a wlan0 and no ath0. Furthermore, I manually issue these commands I am doing so I set each aspect of the card up (i.e essid, channel, mtu, fragmentation, etc....).

Now I did shed some light upon this in the sense that I found out how to initialize the madwifi-ng hal abstraction layer via 'start airmon-ng wlan0' and then it returns.....

mon0 ath9k py0 etc. etc. etc.( this isn't exact I am unfortunately not at my computer. But the device is then able to work, however I am not sure as to why I am not able to have the ath0 device in my wireless devices if indeed everything else appears to be ath0.

View 5 Replies View Related

Ubuntu Networking :: 11.04 Slow Wireless Connection Using Ath9k Drivers?

May 1, 2011

Since upgrading to Ubuntu 11.04 my wireless connection has been extremely slow. The same happened with 10.10. Although that was quite different. Back then everything within my network moved slowly, but now it doesn't affect my web browser. It seems to have only slowed the application centre and update manager. I am still waiting for the flash plugin to download and install for testing ....., but I am torrenting Ubuntu 11.04 right now and have actually hit the limit of my bandwidth (1.1 MB/s) whereas the speed in the software centre and update manager was in the region of 45 kb/s.

I'm not sure if this is because I have installed extra drivers found here after I did some research.

Although my web surfing is fast and stable, I would like to get my updates and applications downloading properly. Does anyone know what I can do?

From my 2-hour googling spree I know you may want the results from the command "lspci"

Code:
root@Felicia:/home/silkworm# lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

[Code].....

View 9 Replies View Related

Software :: Where Is The Source Codes For The Open Source Drivers For Each Distros

Jan 2, 2009

We all know we can install a linux system such as Fedora 10 and use it. Being linux, one should in principle get the source codes for everything that has been precompiled (except the proprietary drivers such as nvidia) in the installation DVDs/CDs. Where are the source codes ? Is there a place I can download them ?
To avoid confusion, I am not referring to the kernel source that can be compiled to give a linux kernel, but that does not include the drivers, such as intel_drv.so.

To be more specific, the intel graphic i810 driver has been built into any linux system, but where is the exact source? One answer may be that primary source intellinuxgraphics.com. However, if anyone tries to download the every changing (i.e., keep updated almost every single day) driver source codes from freedesktop.org, it is almost certain that the source codes will not be the same as the one that is finalized in Fedora 10.

View 9 Replies View Related

Ubuntu Networking :: Natty Broke My Hostapd?

May 4, 2011

I use an Atheros AR922X wireless card in my router/access point and everything was working fine under maverick. Now when I try and start hostapd I get this:

Code:
root@puffin:~# hostapd -d /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
ctrl_inerface_group=0[code]....

View 9 Replies View Related

Ubuntu Networking :: 802.11n PCI Card With Hostapd And WPA2 Support?

Jan 24, 2011

I currently have an Atheros a5k 802.11g PCI card and I am looking to upgrade to 802.11n. Are there any cards that support the Atheros chipset (a9k) or something similar? I do have PCIe x16 available if I can go with that. Plus, I could go with an external USB 802.11n wireless adapter, but I'd rather prefer the internal card to save space. I don't mind any PCI/PCIe adapters taking up slots in my motherboard, although I might plan to upgrade to an ATX motherboard so I can have more slots available.

View 2 Replies View Related

Ubuntu Networking :: Run Hostapd Wireless Utility On Startup?

Mar 1, 2011

I run the following command on my terminal to start hostapd which sets up my router to behave like a wireless access point. $ ./hostapd -dd hostapd.conf The service starts successfully. But now i am trying to figure out a way to run this program automatically at start up so that my access point is permanently visible.

View 2 Replies View Related

Fedora Networking :: How To Set Ath9k In Master Mode In F11

Apr 9, 2010

Anybody have any idea that how to set the ath9k in master mode in fedora 11. I am unable to set the same.
I am using the D-Link DWA556 card using the kernel built in ath9k.Find below the output I got while setting up it in master mode sudo iwconfig wlan0 mode master.Error for wireless request "Set Mode" (8B06):SET failed on device wlan0 ; Invalid argument.Does that mean that master mode is not supported?Also Want the information if there is any separate community or development group for ath9k development and download the source of same except linuxwireless.com.

View 1 Replies View Related

Ubuntu Networking :: TL-WNL951N Ath9k Not Working At Wireless N Speeds

Jan 10, 2011

I've recently purchased a TP-WNL951N PCI Card for wireless N stuff. I have a Netgear WNDR3700 for use with my AP and I've confirmed that within windows XP I can connect at 300mb/s.

Within Ubuntu though, it only goes up to 54mb/s. Is there something special I need to do to enable wireless N speeds?

Here's some info that I should probably put in:

Code:
root@Linux:~# lspci -nn | grep Atheros
05:00.0 Network controller [0280]: Atheros Communications Inc. AR5008 Wireless Network Adapter [168c:0023] (rev 01)
root@Linux:~# ifconfig wlan0

[Code]....

View 9 Replies View Related

Ubuntu Networking :: Randomly Losing Connection To Internet [Ath9k]?

Jun 30, 2011

Since I installed Ubuntu I've had this problem that makes me loose connection to the Internet. The wireless-icon on the panel starts loading, and after like 5 minutes, it works again.I had this problem when I had Mint 11, but it happened more often.Anyone know how to fix? Edit:Network: Card-1 Atheros AR9285 Wireless Network Adapter (PCI-Express) driver ath9k Card-2 Marvell 88E8040 PCI-E Fast Ethernet Controller driver sky2

View 2 Replies View Related

Fedora Networking :: Weak Connection From Ath9k / Overcame This?

Jul 7, 2009

Today I finally installed Fedora 11 on my new laptop. To my surprise wireless was working already, this was something very new. however, i realized that the ath9k had a very bad connectivity. I cant even connect to my router from my bedroom which is less then 10 metres away. Is there some remedy for this unstable module? I have tried madwifi but it doesn't seem to work with my card which is a Atheros AR9285. Hopefully someone can shed some light on how he/she overcame this problem.

View 2 Replies View Related

Networking :: Master Mode On AR928X Using Ath9k Driver?

Sep 18, 2009

I am trying to get my wireless card working in master mode. I am running Jaunty server 2.6.28-11 x86_64. I have compiled hostapd with nl80211 enabled. The interface is using ath9k. I have tried to compile compat-wireless with this patch. However IEEE80211_IF_TYPE_AP was undefined along with IEEE80211_IF_TYPE_VLAN. In addition the latest version of compat-wireless needs to be patched for kernels < 2.6.31 with this. However when using this patch IRQ_WAKE_THREAD is still undefined.

I have got to this message:

Code:

$ sudo hostapd /home/jophish/.hostapd.conf
Configuration file: /home/jophish/.hostapd.conf
Failed to set interface wlan0 to master mode.

[code].....

View 1 Replies View Related

Ubuntu Networking :: Reloading Hostapd On AP Side Permits Wicd To Reconnect

Sep 21, 2010

I'm running WiFi AP (hostapd/nl80211) and STA (Wicd) in my home net. More or less all does work fine at last. The only problem I have - STA reconnection works few times only (1-4 times), ending with unsuccessful authentification (and multiple AP probing in hostapd debug output before STA failing).Two contradictive facts take place:

1. Reloading hostapd on the AP side permits Wicd to reconnect, while STA rebooting(!) doesn't help.
2. Another STA - my son's Nokia mobile phone (don't know a model) - reconnects with this AP without problems (we have tried 10 times).

So, you see, first fact says something wrong with AP, while the second one says something wrong with STA. Or you can treat these facts in strictly opposite way Indeed WiFi under Linux is very fragile area yet. I have found plenty of close-to-be-similar reports as well as different resolving ways (but it is rare case).OK, few words about setup. Up to date Kubuntu Maverick testing with backports enabled on both sides. ASUS USB-N11 adapters are in use on both sides. It means RT2870 chip.

View 1 Replies View Related

Ubuntu Networking :: Hostapd - Failed To Set Interface WLAN0 To Master Mode

May 15, 2011

I try to set-up an Access point using ubuntu 11.04. I am using the minimal configuration file from [URL] together with a TP-Link TL-WN422G (Atheros chipset). I've installed the linux-backports-net-natty-generic drivers. But when trying to start hostapd I always get this output:

Code:
# hostapd -dd -K test.conf
Configuration file: test.conf
Failed to set interface wlan0 to master mode.
nl80211 driver initialization failed.
wlan0: Unable to setup interface.
ELOOP: remaining socket: sock=5 eloop_data=0x9b9440 user_data=(nil) handler=0x43d980
I have also disabled the network-manager for this device by adding this to /etc/network/interfaces:

Code:
iface wlan0 inet manual
cat test.conf:

Code:
interface=wlan0
driver=nl80211
ssid=test
channel=1
lsusb says:

Code:
...
Bus 001 Device 005: ID 0cf3:1006 Atheros Communications, Inc. TP-Link TL-WN422G v2 802.11g [Atheros AR9271]
...
lsmo: .....

Code:
Linux magnet 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

View 1 Replies View Related

Fedora Networking :: Hostapd - Create A Bridge Between Wlan0 And Eth0

Feb 3, 2011

what i want to do is

client <--> wlan0 <--> computer <--> eth0 <--> internet

i have 2 network connections eth0 wired connected to internet wlan0 wireless (work fine) i have installed hostapd with madwifi and so on oki when i run hostapd the clients see the hot spot oki clients connect with wpa oki network manager run at demand not automatic (keep it for internet help) now i'm a bit lost what do i need is wlan0 give the client an ip (dhcp demand) create a bridge between wlan0 and eth0 steps to create a permanent bridge between wlan0 and eth0

View 2 Replies View Related

Fedora Networking :: Accesspoint With Hostapd And Bridge Can't Add Iface Wlan0

Feb 22, 2011

I have setup hostapd and a bridged setup with br0 bridging eth0 and wlan0. The setup works but unfortunately not on bootup. The reason is that the bridge can't add iface wlan0 because it is down for some reason at this time. When hostapd is running (after the network script) the interface is up and can be added to bridge via

[Code]....

View 2 Replies View Related

Fedora Networking :: 14 - Use Hostapd With Realtek RTL8191S USB WLAN Adapter

May 2, 2011

I've got Fedora 14 (2.6.35.12-90.fc14.i686.PAE) installed and i'm trying to use hostapd with my Realtek RTL8191S USB WLAN Adapter, but can't get it to work. The driver i'm using is : rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100 601.tar.gz

[Code]....

View 2 Replies View Related

Ubuntu :: Compile Apps From Source?

Dec 30, 2010

I'm wanting to setup a emulation PC running Ubuntu (or Lubuntu). I've installed 10.10 and am wanting to compile MAME from the most recent source.

I am compiling apps from source. What packages do I need to install to be able to compile?

View 7 Replies View Related

Ubuntu :: How To Compile Source Code

Jul 24, 2009

I downloaded wine from a windows laptop, but because you have to have a computer running Linux to download it as a .deb package, I had to download the source code as a tar. bz2.

Does anyone know how I compile it and make it executable?

View 6 Replies View Related

Ubuntu :: Can't Compile Source Packages Under KDE4

Jun 23, 2010

Wanted to switch to Kubuntu and decided a clean install was the way to go. Though the learning curve isn't too tough, I've hit a serious snag: When I try to compile a source package according to the similar instructions in each of the README files, I get the same error message;

Instructions:

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
make
su -c 'make install'

[Code].....

I'm liking this KDE 4.4 setup, but if I can't install the improvements from kde-look.org

View 6 Replies View Related

Ubuntu Multimedia :: How To Compile Minitube From Source

Aug 30, 2010

trying to install the latest version of Minitube on my 64 bit Ubuntu 10.04 installation. I thought adding a PPA would let me upgrade from version 0.9 to the latest version but it didn't seem to work. So now I'm trying to install from source (I've never done this before so I'm a complete noob when it comes to compiling). I checked the install instructions in the source which reads:

Code:

# Build instructions
## Prerequisites

To compile Minitube you need Qt >= 4.5 installed.On a Debian or Ubuntu system just type:

sudo apt-get install build-essential qt4-dev-tools libphonon-dev

Windows and Mac users can get the Qt libraries from:

[URL]

Compiling on Linux is fairly easy. Just run:

qmake
and then
make

Beware of the Qt3 version of qmake! If things go wrong try running qmake-qt4 instead.

## Running

Just type:

./build/target/minitube

I installed the prerequisite packages,but just to be safe I wanted to run the ./configure command, but when I try to I get the "bash: ./configure: No such file or directory" message. Any idea what I'm doing wrong? Also, based on what I've read, I should have to enter some kind of install command in order to install the compiled binary but the instructions make no mention of this.

View 2 Replies View Related

Ubuntu :: Compile A New Version Of Blender From Source?

Mar 28, 2011

1. I was trying to compile a new version of blender from source.

2. It wasn't working. Apparently it is using python 3.2 now.

3. So I grabbed the source of python 3.2, compiled and installed. I think.

4. Still wouldn't compile. Couldn't find python 3.2.

5. So I went in to usr/share/python and changed debian-defaults to use 3.2 as the default.

6. To do that I made myself the owner of the usr directory

7. Now my system is buggered.

8. How do I restore roots privileges (if thats the problem)?

View 6 Replies View Related

Debian :: How To Compile From Source

Jun 1, 2015

I can't compile using the instructions on the package... the package in question is this: [URL] ....

Just trying to play with old and good windowmaker. When running make it just says "make: nothing to be done for 'all'.

View 5 Replies View Related

Fedora :: Can't Compile From C Source

Jun 4, 2011

I often like to use packages that have to be compiled from source. However, even after downloading gcc, I can't compile anything, because the configure script gives me a message about being unable to execute C programs. I gather that this is because of a "noexec" option in /proc/self/mounts. Problem is that the file apparently cannot even be edited by root. Perhaps there is an alternate type of fedora distribution I could use?

View 2 Replies View Related

Slackware :: How To Compile Tar.gz Source

Oct 25, 2010

How do you compile a tar.gz source on slackware?I am asking because I am about to download and install Slackware(x64), and I have some drivers that it may not have (Ubuntu didn't have them) and TrueCrypt source.

View 9 Replies View Related

CentOS 5 :: Compile VLC 1.0.0-rcX From Source?

Jun 22, 2009

Has anyone successfully compiled VLC 1.0.0-rcX (rc1, rc2 or rc3) from source on CentOS 5? I have a binary installation of VLC 0.9 but I would like VLC 1.0 as it has a new codec that I'd like to use. I've tried lots of ideas which I can post - I keep getting build errors due to wrong package versions - but I thought I'd ask to see if anybody has a HOWTO first.

View 5 Replies View Related

Ubuntu :: Compile From The Source Code To Optimize Hardware

Feb 7, 2010

Recently I was trying to use Gentoo, and I was really impressed of how it is faster than Ubuntu in running applications, specially when I build wine and was able to run Oblivion at a reasonable speed. I would like to know if there is a way to compile Ubuntu from source code, to optimize it to my hardware.

View 2 Replies View Related

Ubuntu :: Get Error When Compile The Latest Version Of VLC From Source?

Aug 6, 2010

I'm attempting to compile the latest version of VLC from source. I'm able to run ./configure without any errors, however when I try to make I receive the following error. I don't want to install the program from the repositories because it's outdated and the tray icon doesn't blend in.

-rw-r--r-- smothpocket/smothpocket 181 2010-04-12 18:22 default/subX/playtreeglyphs.png
-rw-r--r-- smothpocket/smothpocket 39468 2010-04-12 18:22 default/subX/about.png
LUAC lua/extensions/allocine-fr.luac[code]....

View 5 Replies View Related

Ubuntu :: DR Rootkit - Unable To Compile The Source Code

Mar 30, 2011

I am trying to install a DR rootkit into ubuntu for an assignment, im using vm ware but can only get as far as extracting the rootkit and not being able to compile the source code.. when i use the ./configure command it says there is no such file or directory and when i use the make command it keeps getting errors.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved