Missing apcli0 interface with openwrt 23.05



  • Hello.
    I have a weird issue using wireless network on onion omega2p.
    With an old openwrt 18 image works all fine. With a 23.05 image the apcli0 interface is missing:

    # ip a
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
        inet 127.0.0.1/8 scope host lo
           valid_lft forever preferred_lft forever
        inet6 ::1/128 scope host 
           valid_lft forever preferred_lft forever
    2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP qlen 1000
        link/ether 88:1e:59:00:3f:69 brd ff:ff:ff:ff:ff:ff
        inet 192.168.2.129/24 brd 192.168.2.255 scope global eth0
           valid_lft forever preferred_lft forever
        inet6 fe80::8a1e:59ff:fe00:3f69/64 scope link 
           valid_lft forever preferred_lft forever
    8: ra0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
        link/ether 88:1e:59:00:3f:68 brd ff:ff:ff:ff:ff:ff
        inet 192.168.3.1/24 brd 192.168.3.255 scope global ra0
           valid_lft forever preferred_lft forever
        inet6 fda2:fb96:9cf5:10::1/60 scope global noprefixroute 
           valid_lft forever preferred_lft forever
        inet6 fe80::8a1e:59ff:fe00:3f68/64 scope link 
           valid_lft forever preferred_lft forever
    

    and if I try to enable it I get an error:

    # ifconfig apcli0 up
    ifconfig: SIOCGIFFLAGS: No such device
    

    And obviously with ifup command:

    # ifup wwan
    # ifstatus wwan
    {
    	"up": false,
    	"pending": false,
    	"available": true,
    	"autostart": true,
    	"dynamic": false,
    	"proto": "dhcp",
    	"device": "apcli0",
    	"data": {
    		
    	},
    	"errors": [
    		{
    			"subsystem": "interface",
    			"code": "DEVICE_CLAIM_FAILED"
    		}
    	]
    }
    
    

    This is the configuration of the wireless client:

    # uci show wireless.client
    wireless.client=wifi-iface
    wireless.client.device='radio0'
    wireless.client.network='wwan'
    wireless.client.mode='sta'
    wireless.client.ssid='MySSID'
    wireless.client.key='MyKey'
    wireless.client.encryption='psk2'
    wireless.client.ifname='apcli0'
    wireless.client.disabled='0'
    

    The AP mode works fine, I can connect to.
    No clues from dmesg.
    Disabling ra0 changes nothing. In any case, in my application I need both.

    Any suggest? What I'm doing wrong?

    Regards

    Alberto



  • @Alberto-Brosich can you post the output of the command uci show network



Looks like your connection to Community was lost, please wait while we try to reconnect.