Open minax007 opened 3 years ago
Hi, I want to question something for you, do you have problems with 5Ghz Wifi?
Dear @CessXP I have no problems with it, because I am not using it. It is deactivated. I have activated it to see if that was the reason for the missing information - but it hasn't changed. Please let me know why you are asking. Thanks!
By the way. The screenshot shown above is from the MI 3C router, which does not have 5 GHz. On the R2100 (which has 5 GHz) the information shown in the red box in the screenshot do not get displayed.
Dear @CessXP I have no problems with it, because I am not using it. It is deactivated. I have activated it to see if that was the reason for the missing information - but it hasn't changed. Please let me know why you are asking. Thanks!
Oh, I'm using 5ghz WiFi and if I move some meters from the router, I have a lot of packages lost until gets stabilize but if I move again the problem back.
Seems to be a driver issue. Also OpenWRT does not perform as good as the stock firmware in the 5 GHz band. I prefer 2,4 GHz, because I do not need high bandwidth. And Padavan from hanwckf works perfectly fine in the 2,4 GHz band.
By the way, do you know how I can get the following information displayed for the R2100: - Traffic During The Session - Current Data Rate
Yes, actually in network traffic menu, there are graphics from every port and WiFi, even shows actual traffic and some other info, maybe works for you.
Seems to be a driver issue. Also OpenWRT does not perform as good as the stock firmware in the 5 GHz band. I prefer 2,4 GHz, because I do not need high bandwidth. And Padavan from hanwckf works perfectly fine in the 2,4 GHz band.
By the way, do you know how I can get the following information displayed for the R2100: - Traffic During The Session - Current Data Rate
I hope the driver get fixed, actually Im in Openwrt with the yesterday snapshot and its ok, no the best but ok
Dear @CessXP thanks for the information. But that was not what I was looking for. The "Network Traffic" overview works fine on the firmware. I am looking for the information shown on the picture above in the "Network Map" "Internet Status" overview.
Dear @CessXP thanks for the information. But that was not what I was looking for. The "Network Traffic" overview works fine on the firmware. I am looking for the information shown on the picture above in the "Network Map" "Internet Status" overview.
Damn maybe it is disabled in the firmware, you can compare the config files of both and check what it could be
Dear @CessXP I have compared config files already, but couldn't figure out what it is. The entries are being created in the following ASP-file: http://my.router/device-map/internet.asp But I did not find out what triggers this ASP-file to display those entries.
Actually I do not see this information with your 3C firmware, weird.
Dear @zouyonghao Thanks for having a look on the issue I had posted! I am using the 3C router in "Repeater-Mode" (AP-Bridge & Client). Maybe that is the reason. Nevertheless I like to see with figures (not only graphs as shown under "Network Traffic").
Dear @zouyonghao Thanks for having a look on the issue I had posted! I am using the 3C router in "Repeater-Mode" (AP-Bridge & Client). Maybe that is the reason. Nevertheless I like to see with figures (not only graphs as shown under "Network Traffic").
I think the logic here is in web_ex.c
The variable wan_bytes_rx
and wan_bytes_tx
contain this information, and they are displayed if these two are greater than 0.
Dear @zouyonghao Thanks for caring and looking into the details! I had figured out those variables and I see that those need to be greater than 0. But with the same code those lines to get displayed for the Mi-3C and not for R2100. This is what I couldn't figure out yet. Both routers are running with the same configuration "WAN (Wireless-ISP)" in repeater mode.
I noticed R2100 dont show the info in Ap mode or repeater mode
Dear @CessXP exactly, this is also what I have found out. But I couldn't figure out why ... I guess this problem also occurs with the RM2100 (white AC2100 with six antennas), because it is very similar.
Dear @CessXP exactly, this is also what I have found out. But I couldn't figure out why ... I guess this problem also occurs with the RM2100 (white AC2100 with six antennas), because it is very similar.
Actually yes, the same thing happens
Dear @yuos-bit today I have tested your Padavan firmware for the Mi-3C and see that on the "Internet Status" page the following information is also not displayed (picture is in the first post of this thread):
I know that you had forked the repository from hiboyhiboy, which is an older fork from the hanwckf repository.
Afterwards I have tested the Mi-3C with latest repository from hanwckf and see that the information mentioned before is being displayed.
Do you have a clue what the reason could be why it is not displayed in your firmware ... or what is necessary to have it displayed?
The reason why I am asking is that I have another router (R2100) where this information does not get displayed even with the hanwckf firmware ... and I can't figure out why :-)
Dear friends, you can go to my GitHub RT-N56U project to download my MI-3C firmware and try it out, but before that, you need to restore the factory Settings to the public version under Breed.
---Original--- From: "minax007"<notifications@github.com> Date: Sun, Jan 10, 2021 20:35 PM To: "hanwckf/rt-n56u"<rt-n56u@noreply.github.com>; Cc: "yuos-bit"<864529498@qq.com>;"Mention"<mention@noreply.github.com>; Subject: Re: [hanwckf/rt-n56u] Xiaomi AC2100 missing internet status information (#530)
Dear @yuos-bit today I have tested your Padavan firmware for the Mi-3C and see that on the "Internet Status" page the following information is also not displayed (picture is in the first post of this thread):
Traffic During The Session
Current Data Rate
I know that you had forked the repository from hiboyhiboy, which is an older fork from the hanwckf repository.
Afterwards I have tested the Mi-3C with latest repository from hanwckf and see that the information mentioned before is being displayed.
Do you have a clue what the reason could be why it is not displayed in your firmware ... or what is necessary to have it displayed?
The reason why I am asking is that I have another router (R2100) where this information does not get displayed even with the hanwckf firmware ... and I can't figure out why :-)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Dear @yuos-bit this is what I did yesterday. And I see that the information does not get displayed on my Mi-3C. Before installing the firmware I had made a reset in BREED.
As you know, you can go to my GitHub and then download my compiled image from his post.
---Original--- From: "minax007"<notifications@github.com> Date: Mon, Jan 11, 2021 19:52 PM To: "hanwckf/rt-n56u"<rt-n56u@noreply.github.com>; Cc: "yuos-bit"<864529498@qq.com>;"Mention"<mention@noreply.github.com>; Subject: Re: [hanwckf/rt-n56u] Xiaomi AC2100 missing internet status information (#530)
Dear @yuos-bit this is what I did yesterday. And I see that the information does not get displayed on my Mi-3C. Before installing the firmware I had made a reset in BREED.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Dear @yuos-bit I know my dear friend. Do you get the information displayed on your Mi-3C with your firmware?
Yes, my friend. At least in my display
---Original--- From: "minax007"<notifications@github.com> Date: Tue, Jan 12, 2021 01:01 AM To: "hanwckf/rt-n56u"<rt-n56u@noreply.github.com>; Cc: "yuos-bit"<864529498@qq.com>;"Mention"<mention@noreply.github.com>; Subject: Re: [hanwckf/rt-n56u] Xiaomi AC2100 missing internet status information (#530)
Dear @yuos-bit I know my dear friend. Do you get the information displayed on your Mi-3C with your firmware?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Dear @yuos-bit did you recently do changes with regards to displaying this information? I see that with the firmware of yours from September 16th, and also former versions of yours, those information do not get displayed for the Mi-3C.
please look here,this is my github releases.
https://github.com/yuos-bit/rt-n56u/releases/tag/v3.4.3-099
---Original--- From: "minax007"<notifications@github.com> Date: Tue, Jan 12, 2021 15:06 PM To: "hanwckf/rt-n56u"<rt-n56u@noreply.github.com>; Cc: "yuos-bit"<864529498@qq.com>;"Mention"<mention@noreply.github.com>; Subject: Re: [hanwckf/rt-n56u] Xiaomi AC2100 missing internet status information (#530)
Dear @yuos-bit did you recently do changes with regards to displaying this information? I see that with the firmware of yours from September 16th, and also former versions of yours, those information do not get displayed for the Mi-3C.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
I get this information after reading the code carefully.
Try login in to your router via ssh
and use nvram set hw_nat_mode=2
, then this info shows.
Dear @zouyonghao
thanks for your response!
I have started ssh and have entered nvram show
to check the actual state.
The result shows already hw_nat_mode=2
.
Dear @zouyonghao
the settings in http://my.router/Advanced_WAN_Content.asp already provide the option to set the hw_nat_mode
.
If the option shown in the picture is set to "Disable (Slow)" then you the hw_nat_mode
is set to 2
.
This is the code for this parameter:
<select name="hw_nat_mode" class="input">
<option value="0" <% nvram_match_x("", "hw_nat_mode", "0", "selected"); %>>Offload TCP for LAN</option>
<option value="1" <% nvram_match_x("", "hw_nat_mode", "1", "selected"); %>>Offload TCP for LAN/WLAN</option>
<option value="3" <% nvram_match_x("", "hw_nat_mode", "3", "selected"); %>>Offload TCP/UDP for LAN</option>
<option value="4" <% nvram_match_x("", "hw_nat_mode", "4", "selected"); %>>Offload TCP/UDP for LAN/WLAN</option>
<option value="2" <% nvram_match_x("", "hw_nat_mode", "2", "selected"); %>>Disable (Slow)</option>
</select>
Dear @zouyonghao the settings in http://my.router/Advanced_WAN_Content.asp already provide the option to set the
hw_nat_mode
.If the option shown in the picture is set to "Disable (Slow)" then you the
hw_nat_mode
is set to2
.
This is not shown on my router... But I got the traffic information after I set the nvram parameter.
If you review the code, it seems these variables are not calculated if it is ap_mode.
Dear @zouyonghao
which operation mode is your router set to?
My router is used in "AP-Client + AP" (Repeater) mode.
In my case it doesn't make a difference which hw_nat_mode
I set.
Dear @zouyonghao which operation mode is your router set to? My router is used in "AP-Client + AP" (Repeater) mode. In my case it doesn't make a difference which
hw_nat_mode
I set.
Wireless Router Mode (Default)
Does the information get displayed in the Wireless Router Mode when hw_nat_mode
is set to 2
?
And are you using the R2100 or another router? Thanks in advance!
Does the information get displayed in the Wireless Router Mode when
hw_nat_mode
is set to2
?
Yes for me. I'm using Mi-3C...
I agree with my Mi-3C the information also does get displayed. But with the R2100 (Mi AC2100) it does not. Even though I am using the same system settings. This is very strange :-)
And I try to set my RM2100 to Wireless Router Mode and set hw_nat_mode
to 2
, the information appeared.
Dear @zouyonghao , thanks for checking and finding a solution for the RM2100!
The RM2100 is from architectural point of view almost identical to the R2100. The parameterization is therefore identical. So I am wondering why it works on your device and not on mine.
Today I have tried with three differend Padavan builds (also builds, which I did not compile on my own) in different operation modes.
I have set nvram set hw_nat_mode=2
via user interface, and also via ssh.
But the information does not get displayed.
Dear @hanwckf, Dear all,
my Xiaomi Mi AC2100 (R2100) and my Xiaomi Mi 3C are running Padavan from hanwckf. I have noticed a difference in the "Internet Status" information. The Xiaomi Mi 3C shows in addition to the R2100 following information: - Traffic During The Session - Current Data Rate
See red marked entries:
I would really love to have this information also for the R2100.
Does anybody know if this is possible and how I can get this to be displayed?
Thanks in advance!