# HG changeset patch # User Aleksej Bobylev # Date 1427236173 -7200 # Node ID f3e7c1cc6aef318f4888479b228586825e2365db # Parent 7acd64a8f53818866a73c77046e3d93ffd5bc997 network.sh: kinda we can now start and stop connections, as well to re-connect wlan <-> eth without stopping, as well to connect hidden network not knowing it's bssid. diff -r 7acd64a8f538 -r f3e7c1cc6aef etc/init.d/network.sh --- a/etc/init.d/network.sh Mon Mar 23 18:18:15 2015 +0000 +++ b/etc/init.d/network.sh Wed Mar 25 00:29:33 2015 +0200 @@ -12,7 +12,6 @@ WPA_CONF='/etc/wpa/wpa.conf' - # Migrate existing settings to a new format file . /usr/share/slitaz/network.conf_migration @@ -39,7 +38,7 @@ # Use ethernet eth() { - [ "$WIFI" != 'yes' ] && ifconfig $INTERFACE up + [ "$WIFI" != 'yes' ] && ifconfig $INTERFACE up & sleep 5 } @@ -126,9 +125,12 @@ ssid="$WIFI_ESSID" EOT - # For networks with hidden SSID: write its BSSID and allow probe requests + # For networks with hidden SSID: write its BSSID [ -n "$WIFI_BSSID" ] && cat >> $WPA_CONF <> $WPA_CONF <