Gmane
Favicon
From: saravanan chanemouganandam <saravanan_sprt <at> hotmail.com>
Subject: Re: WDS bridge setup failed
Newsgroups: gmane.linux.drivers.madwifi.user
Date: 2008-09-02 13:11:55 GMT (11 weeks, 2 days, 19 hours and 26 minutes ago)



> > root <at> OpenWrt:~# iwconfig
> > lo no wireless extensions.
> > eth0 no wireless extensions.
> > eth1 no wireless extensions.
> > wifi0 no wireless extensions.
> > ath0 IEEE 802.11a ESSID:"OpenWrt" Nickname:""
> > Mode:Managed Frequency:5.825 GHz Access Point:
> > Not-Associated
> > Bit Rate:0 kb/s Tx-Power:17 dBm Sensitivity=1/1
> > Retry:off RTS thr:off Fragment thr:off
> > Encryption key:off
> > Power Management:off
> > Link Quality=0/70 Signal level=-85 dBm Noise level=-85 dBm
> > Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
> > Tx excessive retries:0 Invalid misc:0 Missed beacon:0
>
> So, there is an interface in managed more and you didn't mention that
> you removed it.
 
No. No. After openwrt bootup and login, iwconfig shows
 
root <at> OpenWrt:~# iwconfig
lo        no wireless extensions.
eth0      no wireless extensions.
eth1      no wireless extensions.
wifi0     no wireless extensions.
root <at> OpenWrt:~#
 
So no more managed mode is created. Now when I try to create WDS link
 
root <at> OpenWrt:~# wlanconfig ath create wlandev wifi0 wlanmode wds
wlanconfig: ioctl: Input/output error
root <at> OpenWrt:~#
 
On the otherhand, if I try to create AP and then WDS then also it throws same error
 
root <at> OpenWrt:~# wlanconfig ath create wlandev wifi0 wlanmode ap
ath0
root <at> OpenWrt:~# wlanconfig ath create wlandev wifi0 wlanmode wds
wlanconfig: ioctl: Input/output error
root <at> OpenWrt:~#
root <at> OpenWrt:~#
 

> > > > root <at> OpenWrt:/# brctl addbr br0
> > > > br0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
> > > > root <at> OpenWrt:/# iwpriv ath0 mode 3
> > > > root <at> OpenWrt:/# iwconfig ath0 essid "SaraAP" channel 6
> > > > root <at> OpenWrt:/# iwpriv ath0 wds 1
> > > > root <at> OpenWrt:/# ifconfig ath0 up
> > > > root <at> OpenWrt:/# brctl addif br0 ath0
> > > > device ath0 entered promiscuous mode
> > > > root <at> OpenWrt:/# ifconfig br0 10.10.1.1 up
> > > > br0: port 1(ath0) entering learning state
> > > > root <at> OpenWrt:/#
> > > > root <at> OpenWrt:/#
> > > > root <at> OpenWrt:/# wlanconfig ath1 create wlandev wifi0 wlanmode wds
> > > > wlanconfig: ioctl: Input/output error
> > >
> > > I cannot reproduce this error if I use "autocreate=ap". Please make
> > > sure you don't have any interface in managed mode. Use iwconfig to
> > find
> > > out.
> >
> > iwconfig after bootup shows
>
> What matters is the iwconfig output before you are trying to create the
> WDS interface. If there is a VAP in managed mode, the WDS interface
> won't be created. I'm quite sure now that it's what happens to you.

In the absence of managed mode, WDS interface is not created and throws error.

> --
> Regards,
> Pavel Roskin


MSN Technology brings you the latest on gadgets, gizmos and the new hits in the gaming market. Try it now!
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Madwifi-users mailing list
Madwifi-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/madwifi-users