OpenWrt Forum Archive

Topic: ifup wifi error on RC4

The content of this topic has been archived on 24 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

This is interesting:

root@OpenWrt:/etc/init.d# ifup wifi
### ifup : ignored _proto="wifi" (not supported)

ifconfig doesn't show eth1 up.  iwconfig shows eth1 as being set to the correct channel and ESSID.

I can manually bring up eth1 with ifconfig, and then everything works.

Any other info needed to help pinpoint the problem?

Did you set the wifi_... nvram variables?

- DL

Please provide the result of the following commands:

nvram show | grep "^wifi" | sort
root@OpenWrt:~# nvram show |grep "^wifi" |sort
size: 10740 bytes (22028 left)
wifi_ifname=eth1
root@OpenWrt:~#

Hm, I'm a bit confused about when to set the wifi_ variables, and when to leave them unset.  Should wifi_ifname be unset for the default bridging configuration, or should it be set as I have it?

wifi_* variables are not needed in a default ap configuration with lan & wifi bridged

Very good.  Unset the variable, "ifup wifi" now works properly.  Thanks!

The discussion might have continued from here.