Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure device as Hotspot (client + wireless AP) #7

Open
SrMouraSilva opened this issue Mar 27, 2017 · 2 comments
Open

Configure device as Hotspot (client + wireless AP) #7

SrMouraSilva opened this issue Mar 27, 2017 · 2 comments

Comments

@SrMouraSilva
Copy link
Member

SrMouraSilva commented Mar 27, 2017

Strategy: Wait ZynthianOS
See PedalPi/Application#61 (comment)

User cards

WiFi

  • Usuário *compra Pedal Pi (Compra)
  • Usuário liga o equipamento
    • Pedal Pi inicia com uma rede wifi Pedal Pi sem senha
  • Usuário conecta (usa a rede wifi) um dispositivo móvel com o Pedal Pi
  • Usuário acessa o aplicativo controlador
    • Aplicativo acha o pedal pi e conecta-o

Ethernet

  • Usuário *compra Pedal Pi (Compra)
  • Usuário liga o equipamento
  • Usuário conecta cabo ethernet
    • Aplicativo acha o pedal pi e conecta-o

Change password connections

  • Usuário acessa aplicativo controlador > Configurações > Conexões
  • Usuário pode mudar:
    • Nome da rede wifi
    • Senha da rede wifi
  • Usuário também pode mudar:
    • Rede wifi que o Pedal Pi pode se conectar

Material

Pi 3 as wiireless client and wireless AP?: https://www.raspberrypi.org/forums/viewtopic.php?p=938306&sid=b950f5108774f76e0f3876c87c195961#p938306



[CREATE ISSUE] Custom localhost name: https://www.howtogeek.com/167195/how-to-change-your-raspberry-pi-or-other-linux-devices-hostname/

1. edit local host via sudo nano /etc/hosts
2. edit hostname via sudo nano /etc/hostname
3. update the hostname initialization via sudo /etc/init.d/hostname.sh
4. sudo /etc/init.d/hostname.sh start
@SrMouraSilva SrMouraSilva added this to the Alpha 2 milestone Apr 14, 2017
@SrMouraSilva SrMouraSilva modified the milestones: Alpha 1, Alpha 2 Apr 23, 2017
@SrMouraSilva
Copy link
Member Author

SrMouraSilva commented Apr 30, 2017

Increase entropy

sudo apt-get install rng-tools

Configure network

/usr/local/lib/python2.7/dist-packages/hotspotd/run.conf
interface=wlan0
#driver=rtl871xdrv
ssid=Pedal Pi
hw_mode=g
channel=6
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=pedal-pi
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP

ieee80211n=1              # 802.11n support
wmm_enabled=1         # QoS support
ht_capab=[HT40][SHORT-GI-20][DSSS_CCK-40]

Start

sudo ifdown wlan0
sudo hotspotd stop
sudo hotspotd start
#sudo ifup wlan0

@SrMouraSilva
Copy link
Member Author

SrMouraSilva commented Aug 13, 2017

Script that peoples working:

rpi-roam-webapp

This package wirelessly connects a Raspberry Pi to available WiFi networks and bridges the connection to an access point.

rpi-roam-webapp

You will need a Raspberry Pi 3 and an extra WiFi adapter.

@SrMouraSilva SrMouraSilva changed the title Configure device as Hotspot Configure device as Hotspot (client + wireless AP) Aug 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant