If you are using any of the WiFi boards from Beagleboard.org, use 
https://beagleboard.org/discuss?place=msg%2Fbeagleboard%2FhoK8GCAOwl0%2FCUk5yDpJAgAJ.
 
It is what I found to be helpful. I got this info. from their people that 
provide help on their #beagle channel on Freenode IRC.

Seth

P.S. If this is not what you are discussing, please reply. I will try again.

On Wednesday, April 12, 2017 at 5:34:08 AM UTC-5, William wrote:
>
> Hello, 
> I want to use my beaglebone as access point, and I want to connect with my 
> PC.
> I'm in a point where I see the network on my PC, but I can't connect.
>
> Next are some details about the config I done after a google research:
>
> Configured network interface */etc/network/interfaces*
> auto wlx5cf3702f2d4b
> iface wlx5cf3702f2d4b inet static
>        address 192.168.4.1
>        network 192.168.4.0
>        netmask 255.255.255.0
>        broadcast 192.168.4.255
>
> *ifconfig*
> wlx5cf3702f2d4b Link encap:Ethernet  HWaddr 5c:f3:70:2f:2d:4b
>           inet addr:192.168.4.1  Bcast:192.168.4.255  Mask:255.255.255.0
>           inet6 addr: fe80::5ef3:70ff:fe2f:2d4b/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:13 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:0 (0.0 B)  TX bytes:1422 (1.3 KiB)
>
> Set access point parameters */etc/hostapd/hostapd.conf*
> interface=wlx5cf3702f2d4b
> driver=rtl871xdrv
> country_code=RO
> ssid=beaglebone
> channel=7
> hw_mode=g
> wpa=2
> wpa_passphrase=qwerty1234
> wpa_key_mgmt=WPA-PSK
> wpa_pairwise=TKIP
> ## Shared Key Authentication ##
> auth_algs=1
> ## Accept all MAC address ###
> macaddr_acl=0
> #enables/disables broadcasting the ssid
> ignore_broadcast_ssid=0
> # Needed for Windows clients
> eapol_key_index_workaround=0
>
> Edit */etc/default/hostapd* file to point to hostapd.conf
> DAEMON_CONF="/etc/hostapd/hostapd.conf"
>
> In */etc/dhcp/dhcpd.conf* I have done this modifications:
> # If this DHCP server is the official DHCP server for the local
> authoritative;
> subnet 192.168.4.0 netmask 255.255.255.0 {
>         option broadcast-address 192.168.4.255;
>         option routers 192.168.4.1;
>         default-lease-time 600;
>         max-lease-time 720;
>         option domain-name-servers 192.168.4.1;
>     range 192.168.4.5 192.168.4.10;
> }
>
> Installed isc-dhcp-server
> */etc/default/isc-dhcp-server*
> # Path to dhcpd's config file (default: /etc/dhcp/dhcpd.conf).
> DHCPD_CONF=/etc/dhcp/dhcpd.conf
> INTERFACES="wlx5cf3702f2d4b"
>
> When I try to restart isc-dhcp-server:
> # /etc/init.d/isc-dhcp-server restart
> [FAIL] Stopping ISC DHCP server: dhcpd failed!
> [FAIL] Starting ISC DHCP server: dhcpd[....] check syslog for diagnostics. 
> ... failed!
>  failed!
>
> Tried to check the logs* /var/log/syslog*
> Jan  1 03:41:39 beaglebone dhcpd: Internet Systems Consortium DHCP Server 
> 4.2.2
> Jan  1 03:41:39 beaglebone dhcpd: Copyright 2004-2011 Internet Systems 
> Consortium.
> Jan  1 03:41:39 beaglebone dhcpd: All rights reserved.
> Jan  1 03:41:39 beaglebone dhcpd: For info, please visit 
> https://www.isc.org/software/dhcp/
> Jan  1 03:41:42 beaglebone dhcpd: Internet Systems Consortium DHCP Server 
> 4.2.2
> Jan  1 03:41:42 beaglebone dhcpd: Copyright 2004-2011 Internet Systems 
> Consortium.
> Jan  1 03:41:42 beaglebone dhcpd: All rights reserved.
> Jan  1 03:41:42 beaglebone dhcpd: For info, please visit 
> https://www.isc.org/software/dhcp/
> Jan  1 03:41:42 beaglebone dhcpd: Internet Systems Consortium DHCP Server 
> 4.2.2
> Jan  1 03:41:42 beaglebone dhcpd: Copyright 2004-2011 Internet Systems 
> Consortium.
> Jan  1 03:41:42 beaglebone dhcpd: All rights reserved.
> Jan  1 03:41:42 beaglebone dhcpd: For info, please visit 
> https://www.isc.org/software/dhcp/
> Jan  1 03:41:42 beaglebone dhcpd: Wrote 0 leases to leases file.
> Jan  1 03:41:42 beaglebone dhcpd:
> Jan  1 03:41:42 beaglebone dhcpd: No subnet declaration for usb0 
> (192.168.7.2).
> Jan  1 03:41:42 beaglebone dhcpd: ** Ignoring requests on usb0.  If this 
> is not what
> Jan  1 03:41:42 beaglebone dhcpd:    you want, please write a subnet 
> declaration
> Jan  1 03:41:42 beaglebone dhcpd:    in your dhcpd.conf file for the 
> network segment
> Jan  1 03:41:42 beaglebone dhcpd:    to which interface usb0 is attached. 
> **
> Jan  1 03:41:42 beaglebone dhcpd:
> Jan  1 03:41:42 beaglebone dhcpd: Bind socket to interface: No such device
>
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/b5da6371-7b3e-4ae2-8e19-141c30b7e05f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to