wombat.ch

your Partner for Network Design and CMS

Raspberry (Debian) Scripts


 problem with WLAN connection

#  vi /usr/local/bin/checkwifi.sh

# c

1 ping -c4 10.18.23.1 > /dev/null
2
3 if [ $? != 0 ]
4 then
5 echo "No network connection, restarting wlan0"
6 /sbin/ifdown 'wlan0'
7 sleep 5
8 /sbin/ifup --force 'wlan0'
9 fi
 --> Link

 For the ersten boot

 

 
Code: /etc/wpa_supplicant/wpa_supplicant.conf
  1. ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
  2. update_config=1
  3. country=DE
  4. network={
  5. ssid="SSID"
  6. scan_ssid=1
  7. psk="PASSWORT!!!"
  8. key_mgmt=WPA-PSK
  9. }
 

RSS Feed


Warning: Invalid argument supplied for foreach() in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 39

neusten Links


Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2/web2/web/j/modules/mod_quicklistweblinks/helper.php on line 78
many More Links »

part of ...

Linux Counter

Disqus

 

Learning Network

Seti@home & Boinc

myBonic

statistik

 


Who is Online

We have 584 guests and no members online

We have 624 guests, no bots and no members online