I have installed OpenWRT on my TP-LINK TALON AD7200 router. I want to install bash on OpenWRT by the internet. Therefore, I need an internet connection.
So I think I did all the configurations in /etc/config/wireless and /etc/config/network files correctly. I also can ping the router that my router connects to access the internet. But when I run opkg update it gives me all errors of download fails.
I am using wlan0 in radio0 to be connected to EGR WiFi which does not have any encryption. The wlan0 LED keeps blinking when I boot up the router as well.
The result of iw wlan0 link shows:
I must remind you that this is very risky. In addition to the obviously security concerns of opening your network wide open for intruders, anyone can access internet from your connection and do illegal activities.
These are the errrors I get when I do opkg update:
root@T118fec:~# opkg update
Downloading http://downloads.lede-project.org/releases/17.01-SNAPSHOT/targets/ipq806x/generic/packages/Packages.gz
*** Failed to download the package list from http://downloads.lede-project.org/releases/17.01-SNAPSHOT/targets/ipq806x/generic/packages/Packages.gz
Downloading http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/arm_cortex-a15_neon-vfpv4/base/Packages.gz
*** Failed to download the package list from http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/arm_cortex-a15_neon-vfpv4/base/Packages.gz
Downloading http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/arm_cortex-a15_neon-vfpv4/luci/Packages.gz
*** Failed to download the package list from http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/arm_cortex-a15_neon-vfpv4/luci/Packages.gz
Downloading http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/arm_cortex-a15_neon-vfpv4/packages/Packages.gz
*** Failed to download the package list from http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/arm_cortex-a15_neon-vfpv4/packages/Packages.gz
Downloading http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/arm_cortex-a15_neon-vfpv4/routing/Packages.gz
*** Failed to download the package list from http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/arm_cortex-a15_neon-vfpv4/routing/Packages.gz
Downloading http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/arm_cortex-a15_neon-vfpv4/telephony/Packages.gz
*** Failed to download the package list from http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/arm_cortex-a15_neon-vfpv4/telephony/Packages.gz
Collected errors:
* opkg_download: Failed to download http://downloads.lede-project.org/releases/17.01-SNAPSHOT/targets/ipq806x/generic/packages/Packages.gz, wget returned 8.
* opkg_download: Failed to download http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/arm_cortex-a15_neon-vfpv4/base/Packages.gz, wget returned 8.
* opkg_download: Failed to download http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/arm_cortex-a15_neon-vfpv4/luci/Packages.gz, wget returned 8.
* opkg_download: Failed to download http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/arm_cortex-a15_neon-vfpv4/packages/Packages.gz, wget returned 8.
* opkg_download: Failed to download http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/arm_cortex-a15_neon-vfpv4/routing/Packages.gz, wget returned 8.
* opkg_download: Failed to download http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/arm_cortex-a15_neon-vfpv4/telephony/Packages.gz, wget returned 8.
Is this a public wifi network that requires logging in to a captive portal? In that case you need to connect some device with a web browser to the lan side of your router and log in. That will actually log in the router MAC, so then all devices in your network including the router itself will have access.
TX bit rate will always show 6 Mb on ath10k. The actual bit rate over the air will be correctly set almost always higher. The limitation is that the driver does not report the actual bit rate back to userspace.
Can you browse websites through your router, using a computer connected to the LAN side?
The registered MAC address needs to be the MAC of the wifi client interface in the router (not your PC). You can see your MACs using iw dev. You can use option macaddr to force the WAN to be a particular MAC.
That is not the IP of openwrt.org. The school's DNS server has sent you to one of their addresses instead. This is a strong indication that their network intends to deny you use of the Internet. I can't see what exists at that IP since it is not open to the public side of the Internet. Likely it is a captive portal of some type. So again I ask what happens when you try to browse the web using a computer on the LAN side of your router?
If you can ping the gateway the stuff on your end is basically working.
Clone MAC-address from your router to your laptop/desktop and make sure it can access the internet.
Verify that it doesn't require captive portal or proxy authentication and doesn't use proxy auto discovery.