Ein schnuffiges 16x3 LCD für den Raspberry. Hat noch 4 aktive Ecken, die als Buttons bedienbar sind und kann ganz wunderbar toll farbig aufleuchten und so. Habs mir mal geklickt. Werde berichten. Gibts z.B. hier bei amazon.
Raspberry: Raspberries beim Booten entfernen
Wenn die Raspbeerchen nerven, einfach an die /boot/cmdline.txt
ein logo.nologo
anfügen.
Raspberry Wifi Honeypot (Jessie)
Kurzer Codedump, gegen das Vergessen.
Installation
Vorher apt-get update
und apt-get upgrade
nicht vergessen.
sudo apt-get install -y hostapd dnsmasq nginx
AP Konfigurieren
/etc hostapd/hostapd.conf
interface=wlan0
driver=nl80211
ssid=SuperCoolFreeWifi
channel=1
AP Konfig an hostapd übergeben
/etc/init.d/hostapd
DAEMON_CONF=/etc/hostapd/hostapd.conf
Umbiegen aller Anfragen auf 10.0.0.1
/etc/dnsmasq.conf
log-facility=/var/log/dnsmasq.log
address=/#/10.0.0.1
interface=wlan0
dhcp-range=10.0.0.10,10.0.0.250,12h
no-resolv
log-queries
Wlan mit statischer IP konfigurieren
/etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet dhcp
iface wlan0 inet static
address 10.0.0.1
netmask 255.255.255.0
broadcast 255.0.0.0
pre-up iptables-restore < /etc/iptables.rules
System abschließen und autoruns einrichten
sudo iptables -F
sudo iptables -i wlan0 -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
sudo iptables -i wlan0 -A INPUT -p tcp --dport 80 -j ACCEPT
sudo iptables -i wlan0 -A INPUT -p udp --dport 53 -j ACCEPT
sudo iptables -i wlan0 -A INPUT -p udp --dport 67:68 -j ACCEPT
sudo iptables -i wlan0 -A INPUT -j DROP
sudo sh -c "iptables-save > /etc/iptables.rules"
sudo update-rc.d nginx defaults
sudo update-rc.d hostapd defaults
sudo update-rc.d dnsmasq defaults