Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » Eclipse Kura on BBB - Wifi Not connecting (Eclipse Kura on BBB - Wifi Not connecting )
Eclipse Kura on BBB - Wifi Not connecting [message #1737739] Tue, 12 July 2016 11:02 Go to next message
Praful CJ is currently offline Praful CJFriend
Messages: 8
Registered: May 2016
Junior Member
Hi ,
I have a beabglebone installed with Eclipse Kura (with UI and Networking). I tried configuring Wifi using Kura UI. I was not able to connect to wifi. Could you please guide me in fixing this issue. Also if you could provide some reference material for configuring wifi will be very helpful.

Please find below step i performed and logs for the same.


1. downloaded debian image (https://debian.beagleboard.org/images/bone­debian­7.9­lxde­4gb­armhf­2015­11­12­4gb.img.xz) and flashed it to sd card on BBB.
2. Installed oracle java 7
3. nstalled kura with UI and Networking (https://s3.amazonaws.com/kura_downloads/debian/release/1.4.0/kura_1.4.0_beaglebone_debian_installer.deb)
4. rebooted the kura after installation
5. disabled webservices as mentiond in https://eclipse.github.io/kura/doc/beaglebone-quick-start.html
6. In web ui selected network -> wlan0
7 in wireless selected station
Wireless Mode: Station
Network Name : <wifi id >
Wireless Security : wpa2
Wireless password : <wifi password>

log file
-----------
2016-07-12 10:56:10,748 [WifiMonitor Thread] DEBUG o.e.k.n.a.v.l.u.KuranetConfig - Getting /opt/eclipse/kura/data/kuranet.conf
2016-07-12 10:56:10,750 [WifiMonitor Thread] DEBUG o.e.k.n.a.v.l.u.KuranetConfig - Getting /opt/eclipse/kura/data/kuranet.conf
2016-07-12 10:56:10,752 [WifiMonitor Thread] DEBUG o.e.k.n.a.v.l.FirewallAutoNatConfigReader - Getting NAT config for wlan0
2016-07-12 10:56:10,752 [WifiMonitor Thread] DEBUG o.e.k.n.a.v.l.FirewallAutoNatConfigReader - Getting NAT config from kuraProps
2016-07-12 10:56:10,753 [WifiMonitor Thread] DEBUG o.e.k.n.a.v.l.u.KuranetConfig - Getting /opt/eclipse/kura/data/kuranet.conf
2016-07-12 10:56:10,755 [WifiMonitor Thread] DEBUG o.e.k.n.a.v.l.FirewallAutoNatConfigReader - Getting NAT config for eth0
2016-07-12 10:56:10,756 [WifiMonitor Thread] DEBUG o.e.k.n.a.v.l.FirewallAutoNatConfigReader - Getting NAT config from kuraProps
2016-07-12 10:56:10,756 [WifiMonitor Thread] DEBUG o.e.k.n.a.NetworkAdminServiceImpl - Interface status is set to netIPv4StatusEnabledLAN
2016-07-12 10:56:10,757 [WifiMonitor Thread] DEBUG o.e.k.n.a.NetworkAdminServiceImpl - Configuring wlan0 for INFRA mode
2016-07-12 10:56:10,757 [WifiMonitor Thread] DEBUG o.e.k.n.a.NetworkAdminServiceImpl - Stopping hostapd and wpa_supplicant
2016-07-12 10:56:10,757 [WifiMonitor Thread] DEBUG o.e.k.l.n.w.HostapdManager - stopping hostapd
2016-07-12 10:56:10,758 [SafeProcessExecutor] DEBUG o.e.k.c.u.SafeProcess - Executing: [killall, hostapd]
2016-07-12 10:56:11,813 [WifiMonitor Thread] DEBUG o.e.k.l.n.w.WpaSupplicantManager - stopping wpa_supplicant
2016-07-12 10:56:11,814 [WifiMonitor Thread] INFO  o.e.k.c.l.u.LinuxProcessUtil - executing: killall wpa_supplicant
2016-07-12 10:56:11,819 [SafeProcessExecutor] DEBUG o.e.k.c.u.SafeProcess - Executing: [killall, wpa_supplicant]
2016-07-12 10:56:11,874 [WifiMonitor Thread] INFO  o.e.k.c.l.u.LinuxProcessUtil - killall wpa_supplicant returned with exit value:1
2016-07-12 10:56:11,876 [WifiMonitor Thread] DEBUG o.e.k.c.l.u.LinuxProcessUtil - stdout: 
2016-07-12 10:56:11,877 [WifiMonitor Thread] DEBUG o.e.k.c.l.u.LinuxProcessUtil - stderr: wpa_supplicant: no process found

2016-07-12 10:56:11,878 [SafeProcessExecutor] DEBUG o.e.k.c.u.SafeProcess - Executing: [ifconfig, wlan0]
2016-07-12 10:56:11,908 [SafeProcessExecutor] DEBUG o.e.k.c.u.SafeProcess - Executing: [ifconfig]
2016-07-12 10:56:11,954 [SafeProcessExecutor] DEBUG o.e.k.c.u.SafeProcess - Executing: [ifconfig, wlan0]
2016-07-12 10:56:12,985 [WifiMonitor Thread] DEBUG o.e.k.n.a.NetworkAdminServiceImpl - Starting wpa_supplicant
2016-07-12 10:56:12,985 [WifiMonitor Thread] DEBUG o.e.k.l.n.w.WpaSupplicantManager - enable WPA Supplicant
2016-07-12 10:56:12,986 [SafeProcessExecutor] DEBUG o.e.k.c.u.SafeProcess - Executing: [ps, -ax]
2016-07-12 10:56:13,098 [WifiMonitor Thread] DEBUG o.e.k.l.n.w.WpaSupplicantManager - starting wpa_supplicant -> wpa_supplicant -B -D wext -i wf
2016-07-12 10:56:13,099 [WifiMonitor Thread] INFO  o.e.k.c.l.u.LinuxProcessUtil - executing: wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supf
2016-07-12 10:56:13,100 [SafeProcessExecutor] DEBUG o.e.k.c.u.SafeProcess - Executing: [wpa_supplicant, -B, -D, wext, -i, wlan0, -c, /etc/wpa_s]
2016-07-12 10:56:13,491 [WifiMonitor Thread] INFO  o.e.k.c.l.u.LinuxProcessUtil - wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant.con5
2016-07-12 10:56:13,493 [WifiMonitor Thread] DEBUG o.e.k.c.l.u.LinuxProcessUtil - stdout: rfkill: Cannot open RFKILL control device
CTRL: Invalid group 'wheel'
Failed to initialize control interface '/var/run/wpa_supplicant'.
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
to manually remove this file before starting wpa_supplicant again.


2016-07-12 10:56:13,494 [WifiMonitor Thread] DEBUG o.e.k.c.l.u.LinuxProcessUtil - stderr: ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWAP]: Operation not permitted

2016-07-12 10:56:13,494 [WifiMonitor Thread] INFO  o.e.k.c.l.u.LinuxProcessUtil - executing: dhclient -r wlan0

2016-07-12 10:56:13,496 [SafeProcessExecutor] DEBUG o.e.k.c.u.SafeProcess - Executing: [dhclient, -r, wlan0]
2016-07-12 10:56:13,559 [WifiMonitor Thread] INFO  o.e.k.c.l.u.LinuxProcessUtil - dhclient -r wlan0
 returned with exit value:0
2016-07-12 10:56:13,560 [SafeProcessExecutor] DEBUG o.e.k.c.u.SafeProcess - Executing: [ps, -ax]
2016-07-12 10:56:13,600 [WifiMonitor Thread] INFO  o.e.k.l.n.d.DhcpClientManager - enable() :: disabling DHCP client for wlan0
2016-07-12 10:56:13,601 [SafeProcessExecutor] DEBUG o.e.k.c.u.SafeProcess - Executing: [ps, -ax]
2016-07-12 10:56:13,638 [WifiMonitor Thread] INFO  o.e.k.l.n.d.DhcpClientManager - disable() :: killing DHCP client for wlan0
2016-07-12 10:56:13,639 [WifiMonitor Thread] INFO  o.e.k.c.l.u.LinuxProcessUtil - attempting to kill -9 pid 2739
2016-07-12 10:56:13,639 [WifiMonitor Thread] INFO  o.e.k.c.l.u.LinuxProcessUtil - executing: kill -9 2739
2016-07-12 10:56:13,639 [SafeProcessExecutor] DEBUG o.e.k.c.u.SafeProcess - Executing: [kill, -9, 2739]
2016-07-12 10:56:13,652 [WifiMonitor Thread] INFO  o.e.k.c.l.u.LinuxProcessUtil - kill -9 2739 returned with exit value:0
2016-07-12 10:56:13,652 [WifiMonitor Thread] INFO  o.e.k.c.l.u.LinuxProcessUtil - successfully killed pid 2739
2016-07-12 10:56:13,653 [WifiMonitor Thread] INFO  o.e.k.l.n.d.DhcpClientManager - enable() :: Starting DHCP client for wlan0


Re: Eclipse Kura on BBB - Wifi Not connecting [message #1737988 is a reply to message #1737739] Thu, 14 July 2016 17:39 Go to previous message
Ilya Binshtok is currently offline Ilya BinshtokFriend
Messages: 14
Registered: September 2015
Junior Member
Hi Praful,

I think the problem is that you do not have a group 'weel' defined in the /etc/group file. Please try adding this line to the /etc/group:
wheel:x:10:root

Best regards,

Ilya
Previous Topic:Kura No Net package
Next Topic:Problem in connecting to sensor tag
Goto Forum:
  


Current Time: Sat Apr 27 02:23:56 GMT 2024

Powered by FUDForum. Page generated in 0.03451 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top