Bananian

Bananapi m64 and Access Point

1 85
Edited by domoticity at Oct 02, 2017 04:45

Hy, I am newby in bananapi and for a project i need to use Access point. So i have followed the instructions of : https://www.awasu.com/weblog/bpi-gateway/wifi-access-point/

And more precisely :




  1. First, install the packages needed to compile:

  2. sudo apt-get install gcc git make
  3. sudo apt-get install libnl-3-dev libnl-genl-3-dev openssl libssl-dev pkg-config
  4. Then, get the source for hostapd:

  5. cd /tmp
  6. git clone git://w1.fi/srv/git/hostap.git
  7. Then, configure it:

  8. cd hostap/hostapd
  9. cp defconfig .config
  10. Edit .config and make sure that CONFIG_DRIVER_NL80211=y and CONFIG_LIBNL32=y are active i.e. not commented out.

  11. Then, compile and install it:

  12. make
  13. sudo cp hostapd /usr/sbin/
Copy the Code
And after i have maked /etc/hostapd/hostapd.conf :


  1. interface=wlan0
  2. ssid=testPiAP
  3. hw_mode=g
  4. channel=11
  5. macaddr_acl=0
  6. auth_algs=1
  7. ignore_broadcast_ssid=0
  8. wpa=2
  9. wpa_passphrase=badpassword
  10. wpa_key_mgmt=WPA-PSK
  11. wpa_pairwise=TKIP
  12. rsn_pairwise=CCMP
Copy the Code
When i launch ostapd with tis command :

  1. sudo hostapd /etc/hostaps/hostapd.conf
Copy the Code
I have :
  1. pi@bpi-iot-ros-ai:~$ sudo hostapd -B /etc/hostapd/hostapd.conf
  2. Configuration file: /etc/hostapd/hostapd.conf
  3. Using interface wlan0 with hwaddr 44:2c:05:ee:81:21 and ssid "testPiAP"
  4. wlan0: interface state UNINITIALIZED->ENABLED
  5. wlan0: AP-ENABLED
Copy the Code
but i don't see my network wifi with my Laptop,smartphone,Tablet with nothing. Help me please

Here my ifconfig, i think shows that's my Wifi connection works :
  1. pi@bpi-iot-ros-ai:~$ sudo ifconfig
  2. [sudo] password for pi:
  3. eth0      Link encap:Ethernet  HWaddr aa:c2:4f:16:ee:b8
  4.           inet addr:192.168.1.48  Bcast:192.168.1.255  Mask:255.255.255.0
  5.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  6.           RX packets:272 errors:0 dropped:0 overruns:0 frame:0
  7.           TX packets:99 errors:0 dropped:0 overruns:0 carrier:0
  8.           collisions:0 txqueuelen:1000
  9.           RX bytes:23758 (23.2 KiB)  TX bytes:13132 (12.8 KiB)
  10.           Interrupt:114

  11. lo        Link encap:Local Loopback
  12.           inet addr:127.0.0.1  Mask:255.0.0.0
  13.           inet6 addr: ::1/128 Scope:Host
  14.           UP LOOPBACK RUNNING  MTU:65536  Metric:1
  15.           RX packets:25 errors:0 dropped:0 overruns:0 frame:0
  16.           TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
  17.           collisions:0 txqueuelen:0
  18.           RX bytes:2728 (2.6 KiB)  TX bytes:2728 (2.6 KiB)

  19. wlan0     Link encap:Ethernet  HWaddr 44:2c:05:ee:81:21
  20.           inet addr:10.0.0.1  Bcast:10.0.0.255  Mask:255.255.255.0
  21.           inet6 addr: fe80::462c:5ff:feee:8121/64 Scope:Link
  22.           UP BROADCAST MULTICAST  MTU:1500  Metric:1
  23.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  24.           TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
  25.           collisions:0 txqueuelen:1000
  26.           RX bytes:0 (0.0 B)  TX bytes:2232 (2.1 KiB)
Copy the Code
HElp me please

I turn around since 2 weeks


wty123  
coach factory, nfl bills jerseys, coach factory outlet, mcm bags, dansko shoes outlet, coach factory outlet, new orleans pelicans jerseys, nike shoes, hollister co, vans shoes, true religion jeans outlet, nike air, nike mercurial, nfl saints jerseys, nike air max, adidas online shop, north face, marc jacobs handbags, flat iron, oakley pas cher, michael kors handbags, northface, christian louboutin, minnesota timberwolves jerseys, washington wizards jerseys, michael kors outlet online, hilfiger outlet, oakley sunglasses, puma online shop, coach bags friday, nike roshe run, burberry outlet online, hermes birkin, iphone 5s cases, tommy hilfiger canada, oakley holbrook, purses and handbags, nike roshe run, burberry handbags, ray-ban sunglasses, juicy couture handbags, christian louboutin, pandora bracelet, nfl falcons jerseys, burberry handbags, michael kors outlet, michael kors handbags, spurs jerseys, nfl titans jerseys, hermes tracksuits, chrome hearts clothings, mcm backpack, true religion jeans outlet, red bottom shoes, michael kors outlet online, shoes outlet, versace, ralph lauren outlet online, louboutin shoes, true religion, ray ban prezzi, nuggets jersey, nfl jets jerseys, skechers shoes outlet, supra shoes, tommy hilfiger outlet, coach shop factory, ralph lauren, uhren shop, ralph lauren, coach factory outlet, cheap ray ban, kate spade handbags, michael kors outlet online, air max, bcbg max azria, ray ban pas cher, ralph lauren factory store, oakley, air jordan retro, nike free, asics gel, ralph lauren outlet, iphone 4s cases, babyliss flat iron, rolex watch, nike store, ralph lauren, celine outlet, cheap jordans, polo ralph, nike outlet, air max, nba jersey, coach outlet, michael kors purses, nfl ravens jerseys, nfl steelers jerseys, jordans, polo ralph, huarache, nfl packers jerseys, nfl vikings jerseys, juicy couture clothings, true religion jeans women, polo ralph lauren outlet, asics, nike roshe run, thomas sabo, nike roche, birkenstock taschen deutschland, new balance, oakley sunglasses cheap, air max 95, longchamp, tommy hilfiger online, new balance shoes,

You have to log in before you can reply Login | Sign Up

Points Rules