Hello,
I followed every steps in adafruit setting wifi page 
<https://learn.adafruit.com/setting-up-wifi-with-beaglebone-black/overview> 
to obtain stable wireless on BBB (rev C, kernel version 3.8.13-bone71). 
 And read from google group 
<https://learn.adafruit.com/setting-up-wifi-with-beaglebone-black/overview> 
that most got stable wiereless by disabling HDMI. Since I need hdmi for now 
I followed second solution by running script at boot time. So I created a 
systemd service that will run script, basically it gets network interface 
number from the command iwconfig and replaces previous wlanNO in interface 
file and ifup --force wlanCurrent. Service that I wrote is as follows 
[Unit]
Description=Ifup wlan automatically
after=wpa_supplicant.service
Requires=wpa_supplicant.service

[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=/usr/testifup/ifupscript.sh

[Install]
WantedBy=multi-user.target



Enabled this service. Rebooted bbb. But no use. Sometimes it successes but 
sometimes it fails. I observed service status. It nevoler exits with fail 
error but wpa_supplicant service sometimes messages giving network problem 
and does not set static IP I assigned in the interface file. So it gives 
random IP. I guess if my created service runs before some unkown service it 
fails to ifup wlanNo if other way around it success and assigns static IP. 
 How can I arrange this? Which service is causing this issue? Could you 
please help me?
Regards,
Upol

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to