rt2x00.serialmonkey.com

Support forum for the rt2x00 project
It is currently Sat May 25, 2013 11:32 pm

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Thu Mar 06, 2008 7:42 pm 
Offline

Joined: Wed Jul 11, 2007 3:44 pm
Posts: 6
Hi,

Mattias mentioned today, how to create virtual interfaces. Since i didn't find information elsewhere, i will share his hints and my thoughts here.

1) You need some recent kernel, maybe the rt2x00.git tree.
2) You need a supported hardware... rt73usb works fine, rt61 should, too.

Installing the "iw" tool:
3a) You need libnl and libnl-dev. In Debian, a "apt-get install libnl-dev libnl" should be ok, on other systems, refer to their method of installation or download, compile and install the libnl from git://git.kernel.org/pub/scm/libs/netlink/libnl.git
3b) pull the "iw" tool from the git repository and compile it:
# cg clone http://git.sipsolutions.net/iw.git
# cd iw
# cp defconfig .config
# make

If you like to use the "iw" tool more often, you can install it to /sbin (as root):
# cp iw /sbin/iw

4) Your wireless card should be plugged in, there should already be a single interface, say "wlan0". Now you can create a new interface with the iw tool (replace "wlan1" with a name, you like):
# iw dev wmaster0 interface add wlan1 type managed

You should now be able to see the interface with "iwconfig". Configuration and association works just like with any other interface, but be aware, that the hardware currently does not support connection to different APs or mixed AP/Client mode. Multiple interfaces are thus only helpful for "monitor" interfaces and sniffing tools.

sumsum


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 06, 2008 8:01 pm 
Offline
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5905
Location: Haarlem, The Netherlands
Thanks.
I made this topic sticky, because other users will undoubtly be interested in this issue. :)

_________________
Regards,
Ivo van Doorn
Project Administrator
http://rt2x00.serialmonkey.com


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 24, 2008 8:08 pm 
Offline
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5905
Location: Haarlem, The Netherlands
Allowed interface combinations:
1 Managed + x Monitor
1 Adhoc + x Monitor
y Master + x Monitor

Where y depends on the hardware:
rt61pci/rt73usb support up to 4 virtual AP interfaces
rt2800pci/rt2800usb support up to 8 virtual AP interfaces

_________________
Regards,
Ivo van Doorn
Project Administrator
http://rt2x00.serialmonkey.com


Top
 Profile  
 
PostPosted: Thu May 28, 2009 6:35 pm 
Offline

Joined: Thu May 28, 2009 6:31 pm
Posts: 1
Hi,

Does the driver for rt2561 support connection to different APs or mixed AP/Client mode? Is it possible or planned?

I'm trying to run hostapd (thus wifi access point) and wpa-supplicant (thus wifi client) at the same time...

Thanks,
Dawid


Top
 Profile  
 
PostPosted: Thu May 28, 2009 7:16 pm 
Offline
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5905
Location: Haarlem, The Netherlands
That is not possible nor will it for any currently released hardware. That is a feature which heavily depends on the Hardware rather then the driver.

_________________
Regards,
Ivo van Doorn
Project Administrator
http://rt2x00.serialmonkey.com


Top
 Profile  
 
PostPosted: Wed Jun 17, 2009 9:36 am 
Offline

Joined: Wed Jun 17, 2009 9:21 am
Posts: 1
Hi IvD,
I want to configure multiple Virtual Interfaces/SSID on RT73USB. I searched a lot in on the web but could not find how to achieve the same. As you have mentioned that upto 4 virtual interfaces can be configured on RT73. Kindly let me know the procecure to configure multiple Virtual Interfaces.
Thanks,
Tuhin


Top
 Profile  
 
PostPosted: Wed Jun 17, 2009 10:32 am 
Offline
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5905
Location: Haarlem, The Netherlands
See the first post of this topic and read the 'iw' manpage.

_________________
Regards,
Ivo van Doorn
Project Administrator
http://rt2x00.serialmonkey.com


Top
 Profile  
 
PostPosted: Thu Mar 03, 2011 2:52 pm 
Offline

Joined: Thu Mar 03, 2011 10:22 am
Posts: 1
Can you tell me if the RT3050 supports different virtual interfaces at once?

I want to run a Ad-Hoc and a AP Network at the same time. Is this possible?

And if not, would it be possible to configure the hardware to pass through all traffic to the driver, so that the driver could implement this feature in software?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group