Gargoyle-ispy 2014-April-28.7z

Want to share your OpenWrt / Gargoyle knowledge? Implemented a new feature? Let us know here.

Moderator: Moderators

pmerrill
Posts: 280
Joined: Wed Feb 15, 2012 8:23 pm

Re: Gargoyle-ispy 2014-April-28.7z

Postby pmerrill » Tue Jun 03, 2014 8:14 am

Just thought I would clear up the misunderstanding with ani.

First, ssh or telnet into the router, then from the prompt run the following:

Code: Select all

# ls /sys/kernel/debug/ieee80211/phy0/ath9k


you will see a list of devices one of which is ani and NOT disable_ani as has been mentioned. If you now do the following:

Code: Select all

# cat /sys/kernel/debug/ieee80211/phy0/ath9k/ani


You will see infomation about the ani settings. If you then execute the command:

Code: Select all

# echo 0 >/sys/kernel/debug/ieee80211/phy0/ath9k/ani


This will now disable ani. You can execute the cat again and it will say ani disabled.

I have done this on my TP-Link 4300 and it now seems to behaving itself. I did have a Zopo mobile that would not connect to the router before disabling ani that now seems to connect ok.

Just remember, if you have a TP-Link 4300 you may also have to do the same thing for phy1, which is the 5 GHz radio.
Paul
Gargoyle 1.11.x on TP-Link Archer C7 V2 H/W

nieroster
Posts: 27
Joined: Sun Apr 14, 2013 10:56 am

Re: Gargoyle-ispy 2014-April-28.7z

Postby nieroster » Tue Jun 03, 2014 2:54 pm

pmerrill,

thanks a lot for your explanations, it finally works!

I have put two lines to /etc/rc.local (before the exit 0 line)

Code: Select all

echo 0 >/sys/kernel/debug/ieee80211/phy0/ath9k/ani
echo 0 >/sys/kernel/debug/ieee80211/phy1/ath9k/ani

This disables ANI for the 2.4 and the 5 GHz Wifi on my Netgear WNDR3700 after every restart automatically.

Let's see if this stops my mobile from beeing dropped constantly.

Regards,
nieroster

pomah
Posts: 7
Joined: Wed Oct 30, 2013 5:36 am

Re: Gargoyle-ispy 2014-April-28.7z

Postby pomah » Tue Jun 03, 2014 3:15 pm

How can I make this change permanent? If I reboot the router ANI is back on.

nieroster
Posts: 27
Joined: Sun Apr 14, 2013 10:56 am

Re: Gargoyle-ispy 2014-April-28.7z

Postby nieroster » Tue Jun 03, 2014 3:29 pm

pomah,

just read my post above yours.

Regards,
nieroster

pomah
Posts: 7
Joined: Wed Oct 30, 2013 5:36 am

Re: Gargoyle-ispy 2014-April-28.7z

Postby pomah » Tue Jun 03, 2014 4:36 pm

Worked like a charm, thank you both!

dieselz
Posts: 40
Joined: Fri Jun 07, 2013 3:39 am
Contact:

Re: Gargoyle-ispy 2014-April-28.7z

Postby dieselz » Wed Jun 04, 2014 2:54 pm

pmerrill wrote:Just thought I would clear up the misunderstanding with ani.

First, ssh or telnet into the router, then from the prompt run the following:

Code: Select all

# ls /sys/kernel/debug/ieee80211/phy0/ath9k


you will see a list of devices one of which is ani and NOT disable_ani as has been mentioned. If you now do the following:

Code: Select all

# cat /sys/kernel/debug/ieee80211/phy0/ath9k/ani


You will see infomation about the ani settings. If you then execute the command:

Code: Select all

# echo 0 >/sys/kernel/debug/ieee80211/phy0/ath9k/ani


This will now disable ani. You can execute the cat again and it will say ani disabled.

I have done this on my TP-Link 4300 and it now seems to behaving itself. I did have a Zopo mobile that would not connect to the router before disabling ani that now seems to connect ok.

Just remember, if you have a TP-Link 4300 you may also have to do the same thing for phy1, which is the 5 GHz radio.



thank you for that guide it worked!
what i need is to make sure it starts automatically in start up, i tried to google how to add those lines in /etc/local and all i could figure out is the command sed but i always get this error sed: unsupported command e
can you tell me if this is even the right command or how do i put them lines in there.
thank you.
TP-Link WDR4300 H/W Rev.1.6 Gargoyle-iSpy 1.9.x / Netgear WNDR4300 Gargoyle-iSpy 1.9.x

nieroster
Posts: 27
Joined: Sun Apr 14, 2013 10:56 am

Re: Gargoyle-ispy 2014-April-28.7z

Postby nieroster » Wed Jun 04, 2014 4:17 pm

dieselz,

You can use WinSCP to edit /etc/rc.local

Regards,
nieroster

dieselz
Posts: 40
Joined: Fri Jun 07, 2013 3:39 am
Contact:

Re: Gargoyle-ispy 2014-April-28.7z

Postby dieselz » Wed Jun 04, 2014 5:31 pm

THANK YOU!!
finally i feel like i am on wireless N <3
TP-Link WDR4300 H/W Rev.1.6 Gargoyle-iSpy 1.9.x / Netgear WNDR4300 Gargoyle-iSpy 1.9.x

pmerrill
Posts: 280
Joined: Wed Feb 15, 2012 8:23 pm

Re: Gargoyle-ispy 2014-April-28.7z

Postby pmerrill » Wed Jun 04, 2014 8:46 pm

nieroster wrote:dieselz,

You can use WinSCP to edit /etc/rc.local

Regards,
nieroster


One can also login to the router with ssh or telnet and use vi as it's been installed on the router. If you're not old enough to know what vi is, then WinSCP is a fine solution.

:D
Paul
Gargoyle 1.11.x on TP-Link Archer C7 V2 H/W

calculoso
Posts: 32
Joined: Wed Mar 12, 2014 8:30 am

Re: Gargoyle-ispy 2014-April-28.7z

Postby calculoso » Wed Jun 04, 2014 10:00 pm

WinSCP won't always work. On my router (WNDR3700v2), it says:

Using username "root".
ash: /usr/libexec/sftp-server: not found

Authentication failed.


So I use this link for 'vi' commands
http://www.cs.colostate.edu/helpdocs/vi.html


Return to “Show / Tell / Contribute”

Who is online

Users browsing this forum: No registered users and 4 guests