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 12:35:13 GMT (18 weeks, 2 days, 20 hours and 51 minutes ago)


> > Hello Pavel,
> >
> > Sorry that I mistakenly wrote as WDS bridge. Actually I want to create
> > a WDS link as said in the
> > user docs http://madwifi.org/wiki/UserDocs/WDSBridge under alternate
> > options.
> >
> > Here is what I am doing exactly.
> >
> > root <at> OpenWrt:/# wlanconfig ath0 create wlandev wifi0 wlanmode ap
> > ath0
>
> Why do you need to do it? Are you using "autocreate=none"? Did you
> delete the interface in managed mode?

By default OpenWrt on bootup loads the madwifi modules and no managed mode
is created.
 
As modprobe is not enabled in Openwrt, I am using wlanconfig to bring up the
WDS link setup.
 
Also, tried changing OpenWRT wireless configuration /etc/config/wireless as follows
but it creates ath0 as managed mode but not as  repeater mode.
 
root <at> OpenWrt:~# cat /etc/config/wireless
config wifi-device  wifi0
        option type     atheros
        option channel  auto
        # REMOVE THIS LINE TO ENABLE WIFI:
        #option disabled 1
config wifi-iface
        option device   wifi0
        option network  lan
        option mode     wds
        option ssid     OpenWrt
        option encryption none
 
root <at> OpenWrt:~# wifi up
 
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

 

> > 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
 
root <at> OpenWrt:~# iwconfig
lo        no wireless extensions.
eth0      no wireless extensions.
eth1      no wireless extensions.
wifi0     no wireless extensions.
root <at> OpenWrt:~#
 
and then creating AP and WDS throws error.

> > root <at> OpenWrt:/#
> >
> > Does OpenWRT kamikaze has any impact over WDS bridging ?
>
> I have no idea.
>
> > > I believe WDS and station interfaces cannot coexist. Use
> > > "autocreate=ap" parameter to create an AP interface. Then you should be
> > > able to add WDS interfaces.
>
> Please don't top post. You may be missing parts of my original message
> if you quote it like that.
>
> --
> Regards,
> Pavel Roskin


Get the latest buzz on outsourcing. Up to date information on mergers, acquisitions and deals on BPO Watch. 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