[beagleboard] wi-fi with beaglebone black

2016-01-18 Thread Chibueze Elisha
*root@beaglebone:~# iwconfig*
wlan0 IEEE 802.11bgn  ESSID:off/any
  Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm
  Retry short limit:7   RTS thr:off   Fragment thr:off
  Encryption key:off
  Power Management:off

lono wireless extensions.

eth0  no wireless extensions.

usb0  no wireless extensions.

can0  no wireless extensions.

can1  no wireless extensions.

I have modified* /etc/network/interfaces* with my network's *ssid *and 
*password*, it looks like this:

  GNU nano 2.2.6File: /etc/network/interfaces   

#hwaddress ether DE:AD:BE:EF:CA:FE

# The secondary network interface
#auto eth1
#iface eth1 inet dhcp

*# WiFi Example*
*auto wlan0*
*iface wlan0 inet dhcp*
*wpa-ssid "homeNet"*
*wpa-psk  "h0mes1stem5"*

# Ethernet/RNDIS gadget (g_ether)
# Used by: /opt/scripts/boot/autoconfigure_usb0.sh
iface usb0 inet static
address 192.168.7.2
netmask 255.255.255.252
network 192.168.7.0
gateway 192.168.7.1

 but after running *"ifup wlan0"*, I get this:

*root@beaglebone:~# ifup wlan0*
Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/00:0c:43:01:0a:7d
Sending on   LPF/wlan0/00:0c:43:01:0a:7d
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
No DHCPOFFERS received.
No working leases in persistent database - sleeping.


Any ideas on how to fix this?

-- 
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.


[beagleboard] pip not working

2016-01-20 Thread Chibueze Elisha
I ran this command:
*root@beaglebone:~/robot# pip*


and got this error msg:
Traceback (most recent call last):
  File "/usr/bin/pip", line 9, in 
load_entry_point('pip==1.5.6', 'console_scripts', 'pip')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 356, in 
load_entry_point
return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2476, in 
load_entry_point
return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2190, in 
load
['__name__'])
  File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 74, in 

from pip.vcs import git, mercurial, subversion, bazaar  # noqa
  File "/usr/lib/python2.7/dist-packages/pip/vcs/mercurial.py", line 9, in 

from pip.download import path_to_url
  File "/usr/lib/python2.7/dist-packages/pip/download.py", line 25, in 

from requests.compat import IncompleteRead
ImportError: cannot import name IncompleteRead

Please how can I fix this?

-- 
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.