Giter VIP home page Giter VIP logo

glinet's Introduction

What is this?

This repo is an official ipks for GL.iNet's router, which includes the UI and background ipks. You can integrate into imagebuilder.

How can I use it?

I assume that you already have a working on imagebuilder, and then add the following line into "repositories.conf" which you can be found under the top directory of your imagebuilder workspace. It has been integrated if using GL.iNet's imagebuilder.

src glinet file:glinet/ar71xx

Note that ar71xx is the board type you use. ar71xx/ramips are supported.

Finally, downloading this repo to your imagebuilder top directory.

$ git clone https://github.com/gl-inet/glinet glinet

Now you can build an image which is integrated with GL.iNet's UI and background ipks via PACKAGES variable likes PACKAGES=ipk-name....

Sunshine!

https://www.gl-inet.com

glinet's People

Contributors

gl-zhangyu avatar goodsupper avatar kysonlok avatar lancersky avatar luochongjun avatar ougang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

glinet's Issues

Native PPoA support

Is there any way to get native PPoA support on the routers in 'cable mode'?

Incorrect check in Firewall configuration in firmware 3.026

When attempting to add a port forwarding with a port range, the field "Internal ports" does not accept a port range, and the message "Invalid internal IP" is incorrectly displayed.

image

Using a single port in the "Internal ports" field succeeds in adding the rule.

DNS Over TLS not working on start up

Also posted on forum

Current Version 3.027
Compile Time 2019-09-19 16:32:41
Last Update 3.027
GL-AR750

DNS Rebinding Attack Protection: Yes
Override DNS Settings for All Clients: Yes
DNS over TLS from Cloudflare: Yes

If I reboot the GL-AR750, then SSH into it and run

root@GL-AR750:/etc/init.d# nslookup google.com
Server:		213.120.234.42
Address:	213.120.234.42#53

Name:      google.com
Address 1: 216.58.210.206
Address 2: 2a00:1450:4009:809::200e

It is using the DNS resolvers of my ISP!!!
If I then toggle DNS over TLS from Cloudflare:
And re-run I get:

root@GL-AR750:/etc/init.d# nslookup google.com
^[[A
Server:		127.0.0.1
Address:	127.0.0.1#53

Name:      google.com
Address 1: 172.217.169.14
Address 2: 2a00:1450:4009:809::200e

Presumably it is now using DNSmasq, which is forwarding them on
If I toggle it again to 'on' again I get:

root@GL-AR750:/etc/init.d# nslookup google.com
Server:		127.0.0.1
Address:	127.0.0.1#53

Name:      google.com
Address 1: 216.58.204.78
Address 2: 2a00:1450:4009:81b::200e

Hopefully it is now sending the request to DNSmasq, which forwards to stubby on 127.0.0.1#5353 and on to cloudflare.

My syslog logs

2019-11-20	11:40:47	Information	GL-AR750	kern	kernel	[ 70.275287] device wlan1 entered promiscuous mode
2019-11-20	11:40:47	Information	GL-AR750	kern	kernel	[ 70.269364] br-lan: port 3(wlan1) entered disabled state
2019-11-20	11:40:47	Information	GL-AR750	kern	kernel	[ 70.263805] br-lan: port 3(wlan1) entered blocking state
2019-11-20	11:40:47	Notice	GL-AR750	daemon	hostapd	wlan0: interface state UNINITIALIZED->HT_SCAN
2019-11-20	11:40:47	Notice	GL-AR750	user	ucitrack	Setting up /etc/config/system reload dependency on /etc/config/dhcp


2019-11-20	11:40:47	Notice	GL-AR750	daemon	pppd	secondary DNS address 213.120.234.38
2019-11-20	11:40:47	Notice	GL-AR750	daemon	pppd	primary DNS address 213.120.234.42
2019-11-20	11:40:47	Notice	GL-AR750	daemon	pppd	remote IP address xxx.16.10.xxx
2019-11-20	11:40:47	Notice	GL-AR750	daemon	pppd	local IP address xxx.198.233.xxx



2019-11-20	11:40:47	Notice	GL-AR750	daemon	pppd	peer from calling number A4:7B: authorized
2019-11-20	11:40:47	Notice	GL-AR750	daemon	pppd	CHAP authentication succeeded
2019-11-20	11:40:47	Information	GL-AR750	daemon	pppd	CHAP authentication succeeded: CHAP authentication success
2019-11-20	11:40:47	Information	GL-AR750	daemon	dnsmasq-dhcp	read /etc/ethers - 0 addresses
2019-11-20	11:40:47	Information	GL-AR750	daemon	dnsmasq	read /tmp/hosts/dhcp.cfg01411c - 11 addresses
2019-11-20	11:40:47	Information	GL-AR750	kern	kernel	[ 70.045029] device wlan0 entered promiscuous mode
2019-11-20	11:40:47	Information	GL-AR750	kern	kernel	[ 70.039133] br-lan: port 2(wlan0) entered disabled state
2019-11-20	11:40:47	Information	GL-AR750	kern	kernel	[ 70.033564] br-lan: port 2(wlan0) entered blocking state
2019-11-20	11:40:47	Information	GL-AR750	daemon	dnsmasq	read /etc/hosts - 4 addresses
2019-11-20	11:40:47	Information	GL-AR750	daemon	dnsmasq	using local addresses only for domain local
2019-11-20	11:40:47	Information	GL-AR750	daemon	dnsmasq	using nameserver 127.0.0.1#53535
2019-11-20	11:40:47	Information	GL-AR750	daemon	dnsmasq	using local addresses only for domain bind
2019-11-20	11:40:47	Information	GL-AR750	daemon	dnsmasq	using local addresses only for domain invalid
2019-11-20	11:40:47	Information	GL-AR750	daemon	dnsmasq	using local addresses only for domain local
2019-11-20	11:40:47	Information	GL-AR750	daemon	dnsmasq	using local addresses only for domain localhost
2019-11-20	11:40:47	Information	GL-AR750	daemon	dnsmasq	using local addresses only for domain onion
2019-11-20	11:40:47	Information	GL-AR750	daemon	dnsmasq	using local addresses only for domain test
2019-11-20	11:40:47	Information	GL-AR750	daemon	dnsmasq-dhcp	DHCP, IP range 192.16 -- 192.168, lease time 12h
2019-11-20	11:40:47	Information	GL-AR750	daemon	dnsmasq	compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC no-ID loop-detect inotify dumpfile
2019-11-20	11:40:47	Information	GL-AR750	daemon	dnsmasq	started, version 2.80test2 cachesize 150
2019-11-20	11:40:47	Notice	GL-AR750	daemon	pppd	Connect: pppoe-wan <--> eth0
2019-11-20	11:40:47	Information	GL-AR750	daemon	pppd	Using interface pppoe-wan
2019-11-20	11:40:47	Information	GL-AR750	kern	kernel	[ 69.968494] pppoe-wan: renamed from ppp0
2019-11-20	11:40:47	Information	GL-AR750	kern	kernel	[ 69.960567] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
2019-11-20	11:40:47	Information	GL-AR750	kern	kernel	[ 69.936684] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
2019-11-20	11:40:47	Notice	GL-AR750	user	ucitrack	Setting up /etc/config/system reload dependency on /etc/config/luci_statistics
2019-11-20	11:40:47	Notice	GL-AR750	user	ucitrack	Setting up /etc/config/system reload trigger for non-procd /etc/init.d/led
2019-11-20	11:40:46	Notice	GL-AR750	user	ucitrack	Setting up /etc/config/dhcp reload dependency on /etc/config/odhcpd
2019-11-20	11:40:46	Notice	GL-AR750	user	ucitrack	Setting up /etc/config/firewall reload dependency on /etc/config/sqm
2019-11-20	11:40:46	Notice	GL-AR750	user	ucitrack	Setting up /etc/config/firewall reload dependency on /etc/config/miniupnpd
2019-11-20	11:40:46	Notice	GL-AR750	user	ucitrack	Setting up /etc/config/firewall reload dependency on /etc/config/qos
2019-11-20	11:40:46	Notice	GL-AR750	user	ucitrack	Setting up /etc/config/firewall reload dependency on /etc/config/luci-splash
2019-11-20	11:40:45	Information	GL-AR750	daemon	dnsmasq	exiting on receipt of SIGTERM
2019-11-20	11:40:45	Notice	GL-AR750	user	ucitrack	Setting up /etc/config/wireless reload dependency on /etc/config/network
2019-11-20	11:40:45	Notice	GL-AR750	user	ucitrack	Setting up /etc/config/network reload dependency on /etc/config/radvd
2019-11-20	11:40:45	Notice	GL-AR750	user	ucitrack	Setting up /etc/config/network reload dependency on /etc/config/dhcp
2019-11-20	11:40:45	Error	GL-AR750	daemon	stubby	Could not schedule query: None of the configured upstreams could be used to send queries on the specified transports
2019-11-20	11:40:45	Error	GL-AR750	daemon	stubby	Could not schedule query: None of the configured upstreams could be used to send queries on the specified transports
2019-11-20	11:40:45	Error	GL-AR750	daemon	stubby	Could not schedule query: None of the configured upstreams could be used to send queries on the specified transports
2019-11-20	11:40:45	Error	GL-AR750	daemon	stubby	Could not schedule query: None of the configured upstreams could be used to send queries on the specified transports
2019-11-20	11:40:44	Error	GL-AR750	daemon	stubby	Could not schedule query: None of the configured upstreams could be used to send queries on the specified transports
2019-11-20	11:40:44	Error	GL-AR750	daemon	stubby	Could not schedule query: None of the configured upstreams could be used to send queries on the specified transports
2019-11-20	11:40:44	Error	GL-AR750	daemon	stubby	Could not schedule query: None of the configured upstreams could be used to send queries on the specified transports
2019-11-20	11:40:44	Error	GL-AR750	daemon	stubby	Could not schedule query: None of the configured upstreams could be used to send queries on the specified transports
2019-11-20	11:40:44	Warning	GL-AR750	daemon	pppd	Connected to a4:7b:2c:56:8f:61 via interface eth0
2019-11-20	11:40:44	Error	GL-AR750	daemon	stubby	Could not schedule query: None of the configured upstreams could be used to send queries on the specified transports
2019-11-20	11:40:44	Error	GL-AR750	daemon	stubby	Could not schedule query: None of the configured upstreams could be used to send queries on the specified transports
2019-11-20	11:40:44	Information	GL-AR750	daemon	pppd	PPP session is 468
2019-11-20	11:40:44	Notice	GL-AR750	daemon	pppd	pppd 2.4.7 started by root, uid 0
2019-11-20	11:40:44	Information	GL-AR750	daemon	pppd	RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
2019-11-20	11:40:44	Information	GL-AR750	daemon	pppd	Plugin rp-pppoe.so loaded.
2019-11-20	11:40:44	Error	GL-AR750	daemon	hostapd	Configuration file: /var/run/hostapd-phy1.conf
2019-11-20	11:40:42	Error	GL-AR750	daemon	stubby	[11:40:42.793866] STUBBY: Starting DAEMON....
2019-11-20	11:40:42	Error	GL-AR750	daemon	stubby	[11:40:42.792644] STUBBY: (NOTE a Strict Profile only applies when TLS is the ONLY transport!!)
2019-11-20	11:40:42	Error	GL-AR750	daemon	stubby	[11:40:42.791403] STUBBY: Privacy Usage Profile is Strict (Authentication required)
2019-11-20	11:40:42	Error	GL-AR750	daemon	stubby	[11:40:42.783889] STUBBY: - TLS
2019-11-20	11:40:42	Error	GL-AR750	daemon	stubby	[11:40:42.782698] STUBBY: Transport list is:
2019-11-20	11:40:42	Error	GL-AR750	daemon	stubby	[11:40:42.781447] STUBBY: DNSSEC Validation is OFF
2019-11-20	11:40:42	Error	GL-AR750	daemon	stubby	[11:40:42.713636] STUBBY: Read config from file /etc/stubby/stubby.yml
2019-11-20	11:40:42	Error	GL-AR750	daemon	hostapd	Configuration file: /var/run/hostapd-phy0.conf
2019-11-20	11:40:42	Warning	GL-AR750	kern	kernel	[ 64.643534] Version:3.0.5 Date:201801210
2019-11-20	11:40:41	Warning	GL-AR750	kern	kernel	[ 64.322260] ip12:192.168.9.1 lan_ip[1].IP=c0a80901
2019-11-20	11:40:41	Warning	GL-AR750	kern	kernel	[ 64.317208] ip11:192.168.1.1 lan_ip[0].IP=c0a80101
2019-11-20	11:40:41	Error	GL-AR750	daemon	rmmod	module is not loaded
2019-11-20	11:40:41	Error	GL-AR750	daemon	odhcp6c	Failed to send DHCPV6 message to ff02::1:2 (Address not available)
2019-11-20	11:40:41	Error	GL-AR750	daemon	odhcp6c	Failed to send RS (Address not available)
2019-11-20	11:40:40	Error	GL-AR750	daemon	insmod	module is already loaded - pppoe
2019-11-20	11:40:40	Error	GL-AR750	daemon	insmod	module is already loaded - pppox
2019-11-20	11:40:40	Error	GL-AR750	daemon	insmod	module is already loaded - ppp_generic
2019-11-20	11:40:40	Error	GL-AR750	daemon	insmod	module is already loaded - slhc
2019-11-20	11:40:39	Notice	GL-AR750	daemon	netifd	Interface 'wan6' is setting up now
2019-11-20	11:40:39	Notice	GL-AR750	daemon	netifd	Interface 'wan6' has link connectivity
2019-11-20	11:40:39	Notice	GL-AR750	daemon	netifd	Interface 'wan' is setting up now
2019-11-20	11:40:39	Notice	GL-AR750	daemon	netifd	Interface 'wan' has link connectivity
2019-11-20	11:40:39	Notice	GL-AR750	daemon	netifd	Network device 'eth0' link is up
2019-11-20	11:40:39	Information	GL-AR750	kern	kernel	[ 62.283146] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
2019-11-20	11:40:39	Information	GL-AR750	kern	kernel	[ 62.278424] eth0: link up (100Mbps/Full duplex)
2019-11-20	11:40:39	Information	GL-AR750	kern	kernel	[ 61.924694] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
2019-11-20	11:40:39	Notice	GL-AR750	daemon	netifd	Interface 'lan' has link connectivity
2019-11-20	11:40:39	Notice	GL-AR750	daemon	netifd	bridge 'br-lan' link is up
2019-11-20	11:40:39	Notice	GL-AR750	daemon	netifd	VLAN 'eth1.1' link is up
2019-11-20	11:40:39	Information	GL-AR750	kern	kernel	[ 61.809022] br-lan: port 1(eth1.1) entered forwarding state
2019-11-20	11:40:39	Information	GL-AR750	kern	kernel	[ 61.803383] br-lan: port 1(eth1.1) entered blocking state
2019-11-20	11:40:39	Notice	GL-AR750	daemon	netifd	Network device 'eth1' link is up
2019-11-20	11:40:39	Information	GL-AR750	kern	kernel	[ 61.681291] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
2019-11-20	11:40:39	Information	GL-AR750	kern	kernel	[ 61.676485] eth1: link up (1000Mbps/Full duplex)
2019-11-20	11:40:38	Information	GL-AR750	daemon	logread	Logread connected to 192.16

So it looks as if DNSmasq starts properly. Not so sure about stubby, but looks as if it is using the DHCP DNS not the loopback address.

MT300N-v2-3.105 stunnel package broken

I am currently using MT300N-v2-3.102, which firm uses openssl 1.0.1o, stunnel works properly
After upgrading to MT300N-v2-3..105, stunnel report error, libssl.1.0.0 and libcryp*1.0.0 not found
After investigating, found openssl 1.0.1 has been upgraded to 1.1.1, meanwhile, libssl.1.0.0 upgraded to libssl.1.1
BUT
stunnel still compiled with openssl.1.0.1, libssl.1.0.0 not found
TRY
I have tried to link libssl.1.1 -> libssl.1.0.0, seems work properly
but libcryptal link failed
So, fully recompile for stunnel is required.

BTW. any package using dynamic openssl might face the same problem.
Before all ppl upgraded to openssl 1.1.1, two repo might be necessary as two openssl dependent might conflict , one for version<105, one for >=105 might be necessary

Better SSID selection / filters / more scan results

When you travel a lot and you're often in areas with lots of WiFi networks it's kind of annoying to select the SSID from the drop down menu. The scroll bar becomes very long an this is especially bad on a mobile phone.

image

image

A list with a button to join the network would provide a much better usability. In addition I would really love to see an interface that allows to filter networks (e.g. by signal strength and open/closed networks). Here is an example from a WiFi scanner app I use on my phone:

image

In addition the scan often misses a lot of networks and the scan needs to be performed multiple times. You could probably perform multiple scans in the background and have a button that could be clicked to add networks, found by additional scans, to the list.

[Feature] Switch 3G/4G modem on/off by hardware button

On the GL-E750, turning the mobile Internet modem on-off is complicated, because I don't want to log in to the admin panel from my phone, I don't consider it safe enough. This means that I can't turn the modem off when I don't have access to my laptop. This is not only a problem because of bandwidth overuse, but also because the device has an overheat problem, indeed it's possible that I already cooked some of the antenna, because 5Ghz is not working as it used to do. Although this might be a software problem as well.

Regardless, being able to turn off the modem would be really helpful, even if it wouldn't solve the entire overheat problem, but at least it would be possible to use only wi-fi as Internet source which produces less heat. And from the perspective of using up all the monthly 3G/4G allowance, it would be an absolute win.

BLETOOL MEMORY LEAK

When building new FW using:
"profile": "glinet_gl-x750-nor", "version": "3.201", "imagebuilder": "3.5/openwrt-imagebuilder-ath79-nand_3.5",

The included version of bletool has a memory management issue.

More information can be found at: gl-inet/bletool#4

glinet web ui port forwarding failure

Not sure if this is the right place to post this, but here's what I saw:

I am using a gl-ar750s and attempted to add a port forwarding rule using the "beta" admin UI. Everything looked okay, but I could not connect to the device. I went into the advanced system configuration UI (through LuCI) and added the port forwarding rule there. Voila. Everything worked as I expected.

I am sure that I am doing something stupid, but couldn't see it. I searched the support forums for a related issue but couldn't find anything. I am happy to provide specifics if necessary.

Thanks for a great product. Seriously. This is a great device!

GL-SF1200 Version 3.216 wifi devices list issue

I noticed in my GL-SF1200 that the list of devices connected to wifi only shows some devices and not others. I'm sure there are other device connected to wifi but not showed.
In the gl.inet web gui the devices are incorectly morked as offline device.
In the luci gui tey are simply not showed.

Another issue ar the TX rate showed in wireless page of luci,
the rate showed for device in some case are slower then real.

[Feature] Manage clients in the Admin Panel

This is a feature request.

I think it is easier to manage/check clients if we could group them in folders, e.g. IoT folder, Phone folder and so on.

Screenshot 2020-12-31 at 21 01 05

GLINET is a fantastic brand. Best Regards!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.