Problème Piratebox sur rpi2

j’ai essayer d’installer la piratebox box avec la clé WIFI présentée dans le tuto.
je ne vois aucun réseaux wifi Piratebox … snif

voici ce que me dis mon Rpi2 au démarrage de piratebox :

pi@raspberrypi:~ $ sudo /etc/init.d/piratebox start
/etc/init.d/piratebox: 57: /etc/init.d/piratebox: [[: not found
Starting initialize PirateBox Part2…
ln: failed to create symbolic link ‘/opt/piratebox/www/board/board’: File exists
ln: failed to create symbolic link ‘/opt/piratebox/www/Shared/Shared’: File exis ts
[….] Starting script piratebox :
Generating hosts file ….
Generating dnsmasq.conf ……
Generating Environment-config for ligttpd ……
Empty tmp folder
rm: cannot remove ‘/opt/piratebox/tmp/’: Is a directory
Copy over design files
/opt/piratebox/bin/distribute_files.sh: 41: [: all: unexpected operator
Distribute all into /opt/piratebox/share/Shared
cp: cannot stat ‘all’: No such file or directory
[ ok ] Starting hostap… :.
[….] Setting up wlan:Bringing up wifi interface wlan0
Setting up wlan0
[ ok ] Starting dnsmasq… :.
[ ok ] Starting droopy…:.
Generated HTML-Shoutbox File.
chmod: cannot access ‘ug+rw’: No such file or directory
[….] Starting lighttpd…:2016-04-28 17:54:29: (network.c.409) can’t bind to port: 80 Address already in use
(warning).

Je suis vraiment bloqué.

Quelqu’un aurais t-il une piste ?

Merci d’avance

salut :slight_smile:

[….] Starting lighttpd…:2016-04-28 17:54:29: (network.c.409) can’t bind to port: 80 Address already in use
(warning).
ça indique que y a déjà un serveur web qui tourne
que retourne

sudo netstat -tanpu | grep *.*.*.*:80

mais y a quelques autres erreurs, n’utilisant pas ce script je ne saurais exactement si c’est bloquant ou pas

Salut !

la commande
sudo netstat -tanpu | grep ...:80 ne retourne rien !

Par contre sans le grep, sudo netstat -tanpu
retourne

Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 711/python tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 719/lighttpd tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 1396/dnsmasq tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 561/sshd tcp 0 0 192.168.1.10:22 192.168.1.16:49573 ESTABLISHED 993/sshd: pi [priv] tcp6 0 0 :::80 :::* LISTEN 719/lighttpd tcp6 0 0 :::53 :::* LISTEN 1396/dnsmasq tcp6 0 0 :::22 :::* LISTEN 561/sshd udp 0 0 0.0.0.0:53 0.0.0.0:* 1396/dnsmasq udp 0 0 0.0.0.0:67 0.0.0.0:* 1396/dnsmasq udp 0 0 0.0.0.0:68 0.0.0.0:* 395/dhcpcd udp 0 0 192.168.1.10:123 0.0.0.0:* 639/ntpd udp 0 0 192.168.77.1:123 0.0.0.0:* 639/ntpd udp 0 0 127.0.0.1:123 0.0.0.0:* 639/ntpd udp 0 0 0.0.0.0:123 0.0.0.0:* 639/ntpd udp 0 0 0.0.0.0:55529 0.0.0.0:* 384/avahi-daemon: r udp 0 0 0.0.0.0:5353 0.0.0.0:* 384/avahi-daemon: r udp6 0 0 :::53 :::* 1396/dnsmasq udp6 0 0 fe80::e41f:85fa:5fa:123 :::* 639/ntpd udp6 0 0 ::1:123 :::* 639/ntpd udp6 0 0 :::123 :::* 639/ntpd udp6 0 0 :::35975 :::* 384/avahi-daemon: r udp6 0 0 :::5353 :::* 384/avahi-daemon: r

ok ça c’est quand piratebox est lancé?

ouaip !

essaie la même quand il n’est pas lancé voir si le process lighttpd tourne toujours

tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 719/lighttpd