And what I want to do is to connect to a WPA2-Enterprise (WPA2 - 802.1X) using my username and password and repeat the signal through lan or wifi.
The problem is, when I go to Luci>Network>Wireless>Scan I can see that network but there is no WPA2-Enterprise option in dropdown menu.
Any idea what can I do?
I don't know exactly what WPA2 Enterprise 802.1x network you're connecting to, but it's very likely that it will block sharing of that connection.
802.1x is a AAA mechanism to ensure that access can be controlled and audited, meaning that the administrator knows who is accessing the network, where and when. Connecting an AP to that network without extending the 802.1x to its own network would bypass that. We see this often on the network I work on, with students in halls of residence trying to connect their own APs to our 802.1x network to connect devices that aren't .1x capable or that they don't want the hassle of configuring for .1x connections
If you really want to try this, though, you'll need to get a .1x supplicant running on the WLAN port of your router and configure it to connect to your enterprise network in client mode with the credentials or certificate you've been provided by your network administrator. It's very unlikely that you'll be able to configure your device as a repeater in this configuration (again, your network admin should be blocking it), you'll instead need to NAT connections from your other wired and wireless interfaces through the WLAN port connected to the .1x network.
This isn't a standard OpenWrt configuration and is going to require a lot of research on your part to get it working (it, indeed, it's possible with your enterprise network configuration).
now scan on "Qualcomm Atheros QCA9880 802.11nac" is not working
so I scanned on Generic "MAC80211 802.11bgn" found network > join network > Interface Configuration > Wireless Security > Encryption WPA2-EAP, Cipher Auto, EAP-Method PEAP, Authentication EAP-MSCHAPV2, Identity my username, Password my password
now the router is connected to internet, I can update/install packages
I just need a way to share this connection and I am ptretty shure there is one.
It is not visible here. Better log in with SSH and run these commands in one line, then post the output here. cat /etc/config/network; cat /etc/config/wireless; cat /etc/config/firewall; ip -4 addr; ip -4 ro; ip -4 ru;
root@OpenWrt:~# cat /etc/config/firewall
config defaults
option syn_flood '1'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'
config zone
option name 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
option network 'lan wwan'
config zone
option name 'wan'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
option network 'wan wan6'
config forwarding
option src 'lan'
option dest 'wan'
config rule
option name 'Allow-DHCP-Renew'
option src 'wan'
option proto 'udp'
option dest_port '68'
option target 'ACCEPT'
option family 'ipv4'
config rule
option name 'Allow-Ping'
option src 'wan'
option proto 'icmp'
option icmp_type 'echo-request'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-IGMP'
option src 'wan'
option proto 'igmp'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-DHCPv6'
option src 'wan'
option proto 'udp'
option src_ip 'fc00::/6'
option dest_ip 'fc00::/6'
option dest_port '546'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-MLD'
option src 'wan'
option proto 'icmp'
option src_ip 'fe80::/10'
list icmp_type '130/0'
list icmp_type '131/0'
list icmp_type '132/0'
list icmp_type '143/0'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Input'
option src 'wan'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
list icmp_type 'router-solicitation'
list icmp_type 'neighbour-solicitation'
list icmp_type 'router-advertisement'
list icmp_type 'neighbour-advertisement'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Forward'
option src 'wan'
option dest '*'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-IPSec-ESP'
option src 'wan'
option dest 'lan'
option proto 'esp'
option target 'ACCEPT'
config rule
option name 'Allow-ISAKMP'
option src 'wan'
option dest 'lan'
option dest_port '500'
option proto 'udp'
option target 'ACCEPT'
config include
option path '/etc/firewall.user'
root@OpenWrt:~# ip -4 addr; ip -4 ro; ip -4 ru;
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
5: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
inet 192.168.1.1/24 brd 192.168.1.255 scope global br-lan
valid_lft forever preferred_lft forever
9: wlan1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
inet XX.XX.XX.XX/26 brd XX.XX.XX.XX scope global wlan1
valid_lft forever preferred_lft forever
default via XX.XX.XX.XX dev wlan1 src XX.XX.XX.XX
XX.XX.XX.XX/26 dev wlan1 scope link src XX.XX.XX.XX
192.168.1.0/24 dev br-lan scope link src 192.168.1.1
0: from all lookup local
32766: from all lookup main
32767: from all lookup default
Since HH5 have 2,4ghz and 5ghz I think it should be simple to connect with one of them to Enterprise and share this connection to the other one. But I don't know how to do it
I removed eth0.2 an now is only radio1.network2 which is Wireless Network: Client "ENTERPRISE_NETWORK"
But still same prob. When I go to Wireless I get SSID: ENTERPRISE-NETWORK | Mode: Client Wireless is not associated
I need to open a small parenthesis here. Yesterday in your post the wwan was different:
config interface 'wwan'
option proto 'dhcp'
and since no one else advised you here to change that it should be the same.
Which brings us to the conclusion that you are experimenting yourself with the settings. And I am totally fine with that, as long as you let us know what you have done, or at least revert the changes since they didn't work.
I don't dare to think what else have you changed there while we are trying to find the mistake in different configuration files.
Therefore if you want us to continue helping you, you need to apply the changes suggested and only these. Is that fine with you?
I am sorry and to be honest I have no idea how I modified that option. I really appreciate your help, and if will be more easier I can reset entire router and start from scratch, or I will be more than happy to apply only your suggested settings.
Alright, the safest way is to start from scratch then. Factory default, install the wpad full, add the new WWAN client interface to the WAN firewall zone, verify everything works as expected and we'll see what else can be done to add the access point for your LAN.
By the end post these to be on the same page: cat /etc/config/network; cat /etc/config/wireless; cat /etc/config/firewall; ip -4 addr; ip -4 ro; ip -4 ru;