lundi 18 août 2014

Créer un Hotspot pour Androïd sur Ubuntu 14.04


sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install ap-hotspot

La version de hostapd de Ubuntu 14.04 est buggé, il faut lancé çà après l’installation :

64bit:
cd /tmp
wget http://archive.ubuntu.com/ubuntu/pool/universe/w/wpa/hostapd_1.0-3ubuntu2.1_amd64.deb
sudo dpkg -i hostapd*.deb
sudo apt-mark hold hostapd

32bit:
cd /tmp
wget http://archive.ubuntu.com/ubuntu/pool/universe/w/wpa/hostapd_1.0-3ubuntu2.1_i386.deb
sudo dpkg -i hostapd*.deb
sudo apt-mark hold hostapd

Pour démarrer le Hotspot
sudo ap-hotspot start

Pour le reconfigurer
sudo ap-hotspot configure

Pour l'arreter
sudo ap-hotspot stop

Pour le redémarrer
sudo ap-hotspot restart
Pour voir toute les commandes juste taper
ap-hotspot
 
Le SSID par défaut est "myhotspot" avec comme mot de passe "qwerty0987" 

Aucun commentaire:

Enregistrer un commentaire