luckfox pico ultra w 使用ubuntu系统连接wifi

  • Potato wrote: 2024-06-26 7:22
    WiFi 连接
    使用 vi 或 nano 编辑器修改 WiFi的配置文件

    Code: Select all

    vi /etc/wpa_supplicant.conf 
    
    ctrl_interface=/var/run/wpa_supplicant
    ap_scan=1
    update_config=1
    
    network={
            ssid="luckfox"
            psk="12345678"
            key_mgmt=WPA-PSK
    }
    
    ssid:无线网络名称
    psk:无线网络的密码
    根据自己实际无线网络名称和密码修改,其它地方不用修改。
    重启开发板。
    根据这些步骤,连不上wifi。
    您好,该步骤是基于buildroot系统的操作,Wiki中的教程也是以buildroot系统为基础,ubuntu的wifi适配会在后续跟进。
  • Crocodile wrote: 2024-06-26 7:34
    Potato wrote: 2024-06-26 7:22
    WiFi 连接
    使用 vi 或 nano 编辑器修改 WiFi的配置文件

    Code: Select all

    vi /etc/wpa_supplicant.conf 
    
    ctrl_interface=/var/run/wpa_supplicant
    ap_scan=1
    update_config=1
    
    network={
            ssid="luckfox"
            psk="12345678"
            key_mgmt=WPA-PSK
    }
    
    ssid:无线网络名称
    psk:无线网络的密码
    根据自己实际无线网络名称和密码修改,其它地方不用修改。
    重启开发板。
    根据这些步骤,连不上wifi。
    您好,该步骤是基于buildroot系统的操作,Wiki中的教程也是以buildroot系统为基础,ubuntu的wifi适配会在后续跟进。
    那我要怎么连接WiFi
  • Potato wrote: 2024-06-26 8:05
    Crocodile wrote: 2024-06-26 7:34
    Potato wrote: 2024-06-26 7:22
    根据这些步骤,连不上wifi。
    您好,该步骤是基于buildroot系统的操作,Wiki中的教程也是以buildroot系统为基础,ubuntu的wifi适配会在后续跟进。
    那我要怎么连接WiFi
    使用buildroot系统按照教程 https://wiki.luckfox.com/Luckfox-Pico/L ... tra-W-WIFI 操作即可。
  • Crocodile wrote: 2024-06-26 8:18
    Potato wrote: 2024-06-26 8:05
    Crocodile wrote: 2024-06-26 7:34

    您好,该步骤是基于buildroot系统的操作,Wiki中的教程也是以buildroot系统为基础,ubuntu的wifi适配会在后续跟进。
    那我要怎么连接WiFi
    使用buildroot系统按照教程 https://wiki.luckfox.com/Luckfox-Pico/L ... tra-W-WIFI 操作即可。

    Code: Select all

    pico@luckfox:~$ wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
    Successfully initialized wpa_supplicant
    nl80211: 'nl80211' generic netlink not found
    Failed to initialize driver 'nl80211'
    rfkill: Cannot get wiphy information
    Could not read interface wlan0 flags: No such device
    WEXT: Could not set interface 'wlan0' UP
    wlan0: Failed to initialize driver interface
    wlan0: CTRL-EVENT-DSCP-POLICY clear_all
    pico@luckfox:~$
    
    提示这个怎么解决。
  • Potato wrote: 2024-06-26 8:50
    Crocodile wrote: 2024-06-26 8:18
    Potato wrote: 2024-06-26 8:05
    那我要怎么连接WiFi
    使用buildroot系统按照教程 https://wiki.luckfox.com/Luckfox-Pico/L ... tra-W-WIFI 操作即可。

    Code: Select all

    pico@luckfox:~$ wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
    Successfully initialized wpa_supplicant
    nl80211: 'nl80211' generic netlink not found
    Failed to initialize driver 'nl80211'
    rfkill: Cannot get wiphy information
    Could not read interface wlan0 flags: No such device
    WEXT: Could not set interface 'wlan0' UP
    wlan0: Failed to initialize driver interface
    wlan0: CTRL-EVENT-DSCP-POLICY clear_all
    pico@luckfox:~$
    
    提示这个怎么解决。
    您好,根据您的信息您目前使用的是ubuntu系统,请烧录buildroot系统测试
  • Crocodile wrote: 2024-06-26 11:03
    Potato wrote: 2024-06-26 8:50
    Crocodile wrote: 2024-06-26 8:18
    使用buildroot系统按照教程 https://wiki.luckfox.com/Luckfox-Pico/L ... tra-W-WIFI 操作即可。

    Code: Select all

    pico@luckfox:~$ wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
    Successfully initialized wpa_supplicant
    nl80211: 'nl80211' generic netlink not found
    Failed to initialize driver 'nl80211'
    rfkill: Cannot get wiphy information
    Could not read interface wlan0 flags: No such device
    WEXT: Could not set interface 'wlan0' UP
    wlan0: Failed to initialize driver interface
    wlan0: CTRL-EVENT-DSCP-POLICY clear_all
    pico@luckfox:~$
    
    提示这个怎么解决。
    您好,根据您的信息您目前使用的是ubuntu系统,请烧录buildroot系统测试
    I use adb it's not working for me to.

    Code: Select all

    # wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
    Successfully initialized wpa_supplicant
    nl80211: 'nl80211' generic netlink not found
    Failed to initialize driver 'nl80211'
    rfkill: Cannot get wiphy information
    Could not read interface wlan0 flags: No such device
    WEXT: Could not set interface 'wlan0' UP
    wlan0: Failed to initialize driver interface
    wlan0: CTRL-EVENT-DSCP-POLICY clear_all
    # udhcpc -i wlan0
    /bin/sh: 18: udhcpc: not found
    #
  • semidaft@gmail.com wrote: 2024-06-30 8:35
    Crocodile wrote: 2024-06-26 11:03
    Potato wrote: 2024-06-26 8:50

    Code: Select all

    pico@luckfox:~$ wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
    Successfully initialized wpa_supplicant
    nl80211: 'nl80211' generic netlink not found
    Failed to initialize driver 'nl80211'
    rfkill: Cannot get wiphy information
    Could not read interface wlan0 flags: No such device
    WEXT: Could not set interface 'wlan0' UP
    wlan0: Failed to initialize driver interface
    wlan0: CTRL-EVENT-DSCP-POLICY clear_all
    pico@luckfox:~$
    
    提示这个怎么解决。
    您好,根据您的信息您目前使用的是ubuntu系统,请烧录buildroot系统测试
    I use adb it's not working for me to.

    Code: Select all

    # wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
    Successfully initialized wpa_supplicant
    nl80211: 'nl80211' generic netlink not found
    Failed to initialize driver 'nl80211'
    rfkill: Cannot get wiphy information
    Could not read interface wlan0 flags: No such device
    WEXT: Could not set interface 'wlan0' UP
    wlan0: Failed to initialize driver interface
    wlan0: CTRL-EVENT-DSCP-POLICY clear_all
    # udhcpc -i wlan0
    /bin/sh: 18: udhcpc: not found
    #
    Hello,According to the log you provided, it seems that the root filesystem used by your luckfox-pico is an older version of the system (the older version of the system cannot fully adapt to ultra) or it is an Ubuntu system. Please use the buildroot root filesystem of the new SDK for operation.