On Sat, 2008-07-05 at 14:19 +0200, Andreas Henriksson wrote:
> On lör, 2008-07-05 at 13:48 +0200, Johannes Berg wrote:
> > ip link set wlan0 down
> > iwconfig wlan0 mode repeater # set WDS mode but no peer address
> > ip link set wlan0 up
> 
> Unfortunately, this failed on both my atheros- and intel-based wlan that
> I have available... anyway, thanks for confirming.

Ah, yes, they don't support WDS maybe. Let me look if it's triggerable
differently. Here's what you can do: install the 'iw' tool (from
git.sipsolutions.net) and create a new interface:

# iw dev wmaster0 interface add wlan1 type station

then try to set it up:
# ifconfig wlan1 up
SIOCSIFFLAGS: Name not unique on network
# ip link set wlan1 up
#

> This command will uncover alot of places where error messages should
> likely be added:
> 
> 
> grep -R -A1 'if.*rtnl_' . | grep -B1 exit
> 
> 
> I'll have a look at it and send the patch upstream after my upcoming
> roadtrip, unless someone else has already beaten me to it by then.

Cool, thanks. I can talk to upstream, I know Stephen.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to