I followed the instructions in Gumstix Overo Wifi and Overo Wifi in /etc The correct parameters are set in /network/interfaces and /etc/wpa_supplicant.conf.
/etc/network/interfaces file:
# Wireless interfaces
auto wlan0
iface wlan0 inet dhcp
pre-up wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -B
down killall -q wpa_supplicant
< p>wpa_supplicant.conf:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
update_config=1
eapol_version=1
ap_scan=1
fast_reauth=1
network={
ssid="xxxxxx"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
scan_ssid=1
psk="xxxxx"
priority=10
}
Set up and run ifdown wlan0&& ifup wlan0 I often receive this message:
[1176.528778] cfg802 11: Call CRDA to update the world regulatory field
[2155.687255] cfg80211: Call CRDA to update the world regulatory field
[1175.293609] cfg80211: Call CRDA to update the world regulatory field
My iwconfig:
lo no wireless extensions.
wlan0 IEEE 802.11bg ESSID:off/any
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
My lsmod looks like this :
root @ overo:~#lsmod
Module Size Used by
libertas_sdio 16484 0
libertas 99993 1 libertas_sdio
firmware_class 6920 2 libertas_sdio,libertas
ipv6 252525 22
cfg80211 172644 1 libertas
rfkill 17524 3 cfg80211
lib80211 5138 1 libertas
mt9v032 7169 1
omap3_isp 132270 0
v4l2_common 8681 2 o map3_isp,mt9v032
ads7846 10528 0
videodev 98880 3 omap3_isp,mt9v032,v4l2_common
media 12853 3 omap3_isp,mt9v032,videodev
I am using from https://github .com/gumstix/Gumstix-YoctoProject-Repo cloned gumstix’s yocto project
If I can get any input in the wrong place, it would be very helpful.
Or another solution is that this is very successful:
After creating the SD card with the correct image, do not unmount the partition.
Install Custom systemd service
To call up the wireless interface at startup, you need to create and install a custom system service on the microSD card.
>In the rootfs partition, create a new Service script:
$sudoedit /media/rootfs/etc/systemd/system/[email protected]
>Copy and paste the following content into the file:
Description=Wireless Network Connection (%i)
Want=network.target
Before=network.target
BindsTo=SYS-Subsystem Net Device-%i.device
After=SYS- Subsystem Net Equipment-%i.device
[Service]
TYPE=Monosable
RemainAfterExit = YES
ExecStart = / sbin / ifconfig%i up
ExecStart = /usr/sbin / wpa_supplicant -B -i%i -c /etc/wpa_supplica nt.conf
ExecStart = / sbin / dhclient%i
RestartSec = 1 minute
Restart = connection failure
ExecStop = / sbin / ifconfig%i down
< p>[Install]
WantedBy = multi-user.target
Save this file.
>Because we edit these files on the development machine, the regular systemd of the service is enabled The method (systemctl) will not work. To enable our new service:
~ Switch to the multi-user.target.wants directory on the root file system:
$cd / media/rootfs/etc/systemd/system/multi-user.target.wants/
~Create a symbolic link to enable the service:
Overo series COM
< p>$sudo ln -s ../[email protected] [email protected]
Finally, edit the wpa_supplicant configuration file:
$sudoedit /media/rootfs/etc/wpa_supplicant.conf
Change it to the following:
network={
ssid ="Your Network's SSID"
psk="Your WPA2 Passkey"
}
Save the file.
Uninstall the partition on the microSD card.
SSH into your system
1) If you don’t know ip $ssh [email protected] 2) If you know the IP address $ssh [email protected]< /p>
I am using Gumstix overo, and I can’t use Wifi normally in the past many days.
I follow the instructions in Gumstix Overo Wifi and Overo Wifi In /etc/network/interfaces and /etc/wpa_sup The correct parameters are set in plicant.conf.
/etc/network/interfaces file:
# Wireless interfaces
auto wlan0
iface wlan0 inet dhcp
pre-up wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -B
down killall -q wpa_supplicant
wpa_supplicant.conf:< /p>
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
update_config=1
eapol_version=1
ap_scan=1< br /> fast_reauth=1
network={
ssid="xxxxxx"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
scan_ssid=1
psk="xxxxx"
priority=10
}
Set up and run ifdown wlan0&& ifup wlan0 I often receive this message:
[1176.528778] cfg80211: Call CRDA to update the world regulatory field
[2155.687255] cfg80211: Call CRDA to update the world regulatory field
[1175.293609] cfg80211: Call CRDA to update the world regulatory field
My iwconfig:
lo no wireless extensions.
wlan0 IEEE 802.11bg ESSID:off/any
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
My lsmod looks like this:
root @ overo: ~#lsmod p>
Module Size Used by
libertas_sdio 16484 0
libertas 99993 1 libertas_sdio
firmware_class 6920 2 libertas_sdio,libertas
ipv6 252525 22
cfg80211 172644 1 libertas
rfkill 17524 3 cfg80211
lib80211 5138 1 libertas
mt9v032 7169 1
omap3_isp 132270 0
v4l2_common 8681 2 omap3_isp,mt9v032
ads7846 10528 0
videodev 98880 3 omap3_isp,mt9v032,v4l2_common
media 12853 3 omap3_isp,m t9v032,videodev
I am using gumstix’s Yocto project cloned from https://github.com/gumstix/Gumstix-YoctoProject-Repo
If I can get it in the wrong place Any input, that would be very helpful.
The reason for wifi dropping is the network administrator. By disabling it, we can run ifconfig, iwconfig without Any interference from NetworkManager.
Or another solution is that this is very successful:
After creating the SD card with the correct image, do not unmount the partition.< /p>
Install custom systemd service
To call up the wireless interface at startup, you need to create and install a custom system service on the microSD card.
in In the rootfs partition, create a new service script:
$sudoedit /media/rootfs/etc/systemd/system/[email protected]
>Copy and paste the following content into the file :
Description=Wireless network connection (%i)
Want=network.target
Before=network.target
BindsTo=SYS-subsystem net device-%i.device
After = SYS-Subsystem Net Equipment-%i.device
[Service]
TYPE=Single stable
RemainAfterExit = YES
ExecStart = / sbin / ifconfig%i up
ExecStart = /usr/sbin / wpa_supplicant -B -i%i -c /etc/wpa_supplicant.conf
ExecStart = / sbin / dhclient%i
RestartSec = 1 minute
Restart = connection failure
ExecStop = / sbin / ifconfig%i down
[Install]
WantedBy = multi-user.target
Save This file.
>Because we edit these files on the development machine, the regular systemd method of enabling the service (systemctl) will not work Function. To enable our new service:
~ Switch to the multi-user.target.wants directory on the root file system:
$cd /media/rootfs/etc/systemd /system/multi-user.target.wants/
~Create a symbolic link to enable the service:
Overo series COM
$sudo ln -s ../[email protected] [email protected]
Finally, edit the wpa_supplicant configuration file:
$sudoedit /media/rootfs /etc/wpa_supplicant.conf
Change it to the following:
network={
ssid="Your Network's SSID"< br /> psk="Your WPA2 Passkey"
}
Save the file.
Unmount the partition on the microSD card.
SSH into your System
1) If you don’t know ip $ssh [email protected] 2) If you know the IP address $ssh [email protected]