Hi,
I've got a Linksys E1700 running LEDE 17.01.4 with the hope of using it as a wireless bridge. From the guides I read I need to perform a wireless scan to set the wireless network I wish it to connect to and bridge.
Unfortunately whenever I perform a scan nothing happens, no networks are displayed. It appears capable of broadcasting wireless as I've tried with the wireless interface enabled and disabled and I can see the LEDE network on my phone.
Any suggestions would be much appreciated.
Thanks.
Just specify the SSID by configuring it manually, no need to do a scan then.
So perhaps there is a larger problem.
Running the wireless as an AP works fine, I can connect my phone to it and DHCP works which would suggest the wireless drivers are fine.
Manually configuring as a client as you suggested just results in. (Yes, that's the name of the host wireless network, I got really annoyed with BT)
0% SSID: | Mode: Client
Wireless is disabled or not associated
Just in case it helps
root@LEDE:~# cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option hwmode '11g'
option path 'platform/10180000.wmac'
option htmode 'HT20'
option country '00'
option channel 'auto'
config wifi-iface 'default_radio0'
option device 'radio0'
option key 'SNIP'
option network 'lan'
option ssid '💩💩💩'
option mode 'sta'
option encryption 'psk2'
root@LEDE:~# wifi status
{
"radio0": {
"up": true,
"pending": false,
"autostart": true,
"disabled": false,
"retry_setup_failed": false,
"config": {
"hwmode": "11g",
"path": "platform\/10180000.wmac",
"htmode": "HT20",
"country": "00",
"channel": "auto",
"log_level": 1
},
"interfaces": [
{
"section": "default_radio0",
"config": {
"key": "SNIP",
"ssid": "💩💩💩",
"mode": "sta",
"encryption": "psk2",
"network": [
"lan"
],
"mode": "sta"
}
}
]
}
}
But I think this is the important bit. Am I reading it right that it doesn't support connecting as a client or is that not what that means?
Fri Dec 29 22:34:10 2017 daemon.notice netifd: radio0 (3014): command failed: Not supported (-122)
Fri Dec 29 22:34:14 2017 daemon.notice netifd: radio0 (3099): command failed: Not supported (-122)
Fri Dec 29 22:34:15 2017 daemon.notice netifd: radio0 (3099): Interface 0 setup failed: BRIDGE_NOT_ALLOWED
Fri Dec 29 22:34:15 2017 kern.info kernel: [ 473.603830] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
OHHHHH!!!
You cannot "wireless bridge," but you can make a WirelessWAN as if it were a wired WAN port.
If you want to "bridge," make all ports LAN, delete WAN, and keep the SSID on the LAN Interface.
From: https://wiki.openwrt.org/doc/uci/wireless
Most wireless drivers do not support bridging in client mode (see Bridged Client Mode Issues and relayclient, as well as notes on specific devices
I believe I've done as you suggested but it's still just saying "Wireless is disabled or not associated"
root@LEDE:~# cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option channel '11'
option hwmode '11g'
option path 'platform/10180000.wmac'
option htmode 'HT20'
option country 'GB'
config wifi-iface 'default_radio0'
option device 'radio0'
option ssid '💩💩💩'
option mode 'sta'
option wds '1'
option network 'lan'
option key 'SNIP'
option encryption 'psk2+ccmp'
root@LEDE:~# wifi status
{
"radio0": {
"up": true,
"pending": false,
"autostart": true,
"disabled": false,
"retry_setup_failed": false,
"config": {
"channel": "11",
"hwmode": "11g",
"path": "platform\/10180000.wmac",
"htmode": "HT20",
"country": "00"
},
"interfaces": [
{
"section": "default_radio0",
"ifname": "wlan0",
"config": {
"ssid": "💩💩💩",
"mode": "sta",
"wds": true,
"key": "SNIP",
"encryption": "psk2+ccmp",
"mode": "sta",
"network": [
"lan"
]
}
}
]
}
}
root@LEDE:~# cat /etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd61:c40a:1dd7::/48'
config interface 'lan'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option _orig_ifname 'eth0.1 radio0.network1'
option _orig_bridge 'true'
option ifname 'eth0.1'
option ipaddr '192.168.1.253'
option gateway '192.168.1.254'
config device 'wan_dev'
option name 'eth0.2'
option macaddr '58:ef:68:8b:a7:af'
config switch
option name 'switch1'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch1'
option vlan '1'
option ports '0 1 2 3 6t'
config switch_vlan
option device 'switch1'
option vlan '2'
option ports '4 6t'
Beliskner:
option wds '1'
Why do you have this option set?
Mistakenly. I'd tried with and without WDS, it made no difference.