Wifi and ethernet

This commit is contained in:
Frank Villaro-Dixon 2013-12-07 15:42:02 +01:00
parent 58e0bfe30f
commit afda5a76ab
3 changed files with 10 additions and 6 deletions

View file

@ -107,6 +107,7 @@ case $1 in
$0 monitor extern
fi
sudo killall dhcpcd
$0 init-wifi &
$0 init-ethernet &
$0 init-mouse
@ -119,13 +120,14 @@ case $1 in
"init-wifi")
sudo killall wpa_supplicant
sudo ifconfig wlan0 up &
sudo dhcpcd wlan0 &
sudo wpa_supplicant -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
sudo wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf &
sleep 1
sudo ifconfig wlan0 up
sudo dhcpcd wlan0 -b -m 1000 -p -t 0 &
;;
"init-ethernet")
sudo ifconfig eth0 up &
sudo dhcpcd eth0 &
sudo dhcpcd eth0 -b -m 10 -p -t 0 &
;;

View file

@ -22,3 +22,6 @@ quux
mutex
batchs
csv
Battelle
superlinéaires
superlinéaire

View file

@ -30,8 +30,7 @@ setxkbmap -model pc104 -layout ch -variant fr -option compose:lwin
# xmodmap ~/.Xmodmap
#fi
$OCTOPUS init-all 1>&2 /dev/shm/Octopus_logs &
$OCTOPUS init-wifi 1>&2 /dev/shm/Octopus_logs &
$OCTOPUS init-all 1>> /dev/shm/Octopus_logs 2>> /dev/shm/Octopus_logs &
ftpfct.sh >/dev/null &
ps aux | grep mpd | grep -v grep