Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

wifi ap

5

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
5

wifi ap

Posted at 8/7/2015 16:22:36      View:4386 | Replies:2        Print      Only Author   [Copy Link] 1#
Hello! I want to configure ubunu rk3288-firefly as wifi ap (self connected via rj-45) to share internet to mobile devices.

My /etc/hostapd/hostapd.conf for hidden "cuiq" ssid:
  1. interface=wlan0
  2. driver=nl80211
  3. ssid=cuiq
  4. country_code=RU
  5. hw_mode=g
  6. channel=11
  7. macaddr_acl=0
  8. ignore_broadcast_ssid=0
  9. auth_algs=1
  10. wpa=3
  11. wpa_key_mgmt=WPA-PSK
  12. wpa_passphrase=abcd1234
  13. wpa_pairwise=TKIP
  14. rsn_pairwise=CCMP
Copy the code


My /etc/default/isc-dhcp-server:
  1. INTERFACES="wlan0"
Copy the code


My /etc/dhcp/dhcpd.conf:
  1. ddns-update-style none;
  2. log-facility local7;
  3. subnet 10.10.0.0 netmask 255.255.255.0 {
  4.         range 10.10.0.2 10.10.0.16;
  5.         option domain-name-servers 195.64.192.35, 195.64.222.2;
  6.         option routers 10.10.0.1;
  7. }
Copy the code


My /etc/network/interfaces:
source-directory /etc/network/interfaces.d
  1. allow-hotplug wlan0
  2. iface wlan0 inet static
  3.         address 10.10.0.1
  4.         netmask 255.255.255.0
  5.         wpa-driver nl80211
  6.         wpa-ssid cuiq
  7.         wpa-psk sdfsoo043040kgkk9kd25bc3c15b293063291216a5a0d55ef4e0d1541bd37964

  8. allow-hotplug eth0
  9. iface eth0 inet static
  10.         address 172.23.218.6
  11.         netmask 255.255.255.0
  12.         gateway 172.23.218.1
  13.         hwaddress 9c:eb:e8:0c:d8:04
  14.         dns-nameservers 195.64.192.35 195.64.222.2
Copy the code


And nothing is working. FireFly doesn't share internet. What am I doing wrong? Please help me
Reply

Use props Report

2442

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
2442
Posted at 8/10/2015 14:30:25        Only Author  2#
you can refer to this page: http://developer.t-firefly.com/thread-1684-1-1.html

It is chinese, you can translate it via google.
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list