I've noticed that mac80211.sh is not producing the output config as it
was before for $dev_id which was adding "option macaddress ..." to the
generated wireless config file.

Currently the generated wireless config file gets option path
'$path' ....."

Is this a replacement to be in effect or something else is not working
as it should and:

dev_id=" option macaddr  $(cat /sys/class/ieee80211/${dev}/macaddress)"

is not working as it should ?

When checking the file path with dir 601a and 615*

 # cat /sys/class/ieee80211/${dev}/macaddress
cat: can't open '/sys/class/ieee80211//macaddress': No such file or
directory

But outputs the mac when ${dev} is replaced by 'phy0'

# cat /sys/class/ieee80211/phy0/macaddress

Is the script not being able to read the dev ?
I also seen this situation with the TL-WR841N/ND v8 with an older
revision of AA.

dev_id="        option macaddr  $(cat
/sys/class/ieee80211/${dev}/macaddress)"














-- 

Site: http://wirelesspt.net
Mesh: http://tinyurl.com/wirelesspt
Admin: http://wirelesspt.net/wiki/Cmsv
Twitter: http://twitter.com/wirelesspt
Youtube: https://youtube.com/wirelesspt
Suporte técnico via sms: 91 19 11 798
Donativos/Paypal: http://tinyurl.com/doar-verba
Chave publica PGP/SSH: http://wirelesspt.net/arquivos/pk
Licença deste conteúdo:
https://creativecommons.org/licenses/by-nc-sa/3.0/pt/
Email assinado digitalmente pelo emissor assegurando autenticidade
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to