Attempting to install git for rt61 for AP (master mode)

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=4900

tallmtt

18-07-2008 15:32:21

I just bought an rt61 pci card to serve as an AP in my home network. I was disappointed to realize master mode is an issue. I have just followed the directions to do the "git clone."

I am stuck now though. I understand I need hostapd as well (easy enough to git clone as well).

I have also downloaded a patch from http//johannes.sipsolutions.net/patche ... ll/LATEST/
(allow-ap-vlan-modes.patch)

I found a guide for a related wireless card here http//acx100.erley.org/nl80211_master_mode.html

So in the end my questions are
1) Should I just follow the directions mentioned in the guide I linked to above without the part of ACX driver and using rt2x00 git clone as my kernel source?
2) What order should I compile rt2x00, hostapd, and any other package in - in order to obtain master mode?
3) Are there any other instructions I need to do? (other patches, other packages, etc)

Thanks in advance, I have compiled many kernels but never messed with git yet!

(Current running kernel is 2.6.15-52-386 on Ubuntu Dapper server)

[Edit] - I just came across http//lists.openwall.net/netdev/2007/11/06/57 which states (emphasis added)

[quote3ezkr3c1]The following changes since commit 2655e2cee2d77459fcb7e10228259e4ee0328697
Alan Cox (1)
ata_piix Add additional PCI identifier for 40 wire short cable

are available in the git repository at

git//git.kernel.org/pub/scm/linux/kern ... ss-2.6.git fixes-jgarzik

Holger Schurig (1)
libertas fixes for slow hardware

Ivo van Doorn (1)
[b3ezkr3c1]rt2x00[/b3ezkr3c1] Block adhoc & [b3ezkr3c1]master mode[/b3ezkr3c1][/quote3ezkr3c1]

Question 4 Should I just compile the kernel mentioned there?

IvD

18-07-2008 16:17:28


I have also downloaded a patch from http//johannes.sipsolutions.net/patche ... ll/LATEST/
(allow-ap-vlan-modes.patch)
[/quote17qx7x55]

You don't need that patch.


1) Should I just follow the directions mentioned in the guide I linked to above without the part of ACX driver and using rt2x00 git clone as my kernel source?
[/quote17qx7x55]

You need the guide about rt2x00 git
http//rt2x00.serialmonkey.com/wiki/ind ... structions
acx is probably a driver for other hardware.


2) What order should I compile rt2x00, hostapd, and any other package in - in order to obtain master mode?
[/quote17qx7x55]

rt2x00
hostapd.git <-- note that I say the .git version!


3) Are there any other instructions I need to do? (other patches, other packages, etc)
[/quote17qx7x55]

There are some howtos on this forum, just search for master mode and hostapd.conf


[Edit] - I just came across http//lists.openwall.net/netdev/2007/11/06/57 which states (emphasis added)

[quote17qx7x55]The following changes since commit 2655e2cee2d77459fcb7e10228259e4ee0328697
Alan Cox (1)
ata_piix Add additional PCI identifier for 40 wire short cable

are available in the git repository at

git//git.kernel.org/pub/scm/linux/kern ... ss-2.6.git fixes-jgarzik

Holger Schurig (1)
libertas fixes for slow hardware

Ivo van Doorn (1)
[b17qx7x55]rt2x00[/b17qx7x55] Block adhoc & [b17qx7x55]master mode[/b17qx7x55][/quote17qx7x55]

Question 4 Should I just compile the kernel mentioned there?[/quote17qx7x55]

That is a very old mail you are quoting above, one that talks about 2.6.24. adhoc and master mode aren't blocked in 2.6.26

tallmtt

18-07-2008 16:27:29

Thanks for your prompt reply.

Here http//kernelnewbies.org/Linux_2_6_26 it mentions that
rt2x00 Add per-interface structure (commit), enable master and adhoc mode again (commit), enable LED class support for rt2500usb/rt73usb (commit)

This is the latest stable from kernel.org released 13 Jul 08.

and as GNUtoo says in viewtopic.php?f=5&t=4823 it works with hostapd 0.63 (hostapd.git)

Is there an advantage to using rt2x00.git over the stable kernel if the stable kernel will work in master mode? I am not planning on recompiling often once I get it working as I plan on using it for my accesspoint.

IvD

18-07-2008 16:35:16

Well if you want to use 2.6.26 then you do need Johannes' patch (allow-ap-vlan-modes.patch),
rt2x00.git contains many fixes which are not in 2.6.26 and also includes the the ap-vlan patch (which will not go into mainline for at least the next couple of kernel releases).

tallmtt

18-07-2008 22:04:24

Thanks again for your response, that was the information I was looking for. I will compile the rt2x00.git kernel and hostapd.git and post my success (or failure) later today.