|
|
73ef10f |
diff -up wifi-radar-2.0.s06/wifi-radar.orig wifi-radar-2.0.s06/wifi-radar
|
|
|
73ef10f |
--- wifi-radar-2.0.s06/wifi-radar.orig 2009-11-22 03:29:24.015422420 +0100
|
|
|
73ef10f |
+++ wifi-radar-2.0.s06/wifi-radar 2009-11-22 13:47:26.458418870 +0100
|
|
|
73ef10f |
@@ -2914,15 +2914,15 @@ config_defaults = { # The network interf
|
|
|
73ef10f |
'version': WIFI_RADAR_VERSION }
|
|
|
73ef10f |
|
|
|
73ef10f |
config_dhcp = { # DHCP client
|
|
|
73ef10f |
- 'command': '/sbin/dhcpcd',
|
|
|
73ef10f |
+ 'command': '/sbin/dhclient',
|
|
|
73ef10f |
# How long to wait for an IP addr from DHCP server
|
|
|
73ef10f |
'timeout': '30',
|
|
|
73ef10f |
# Arguments to use with DHCP client on connect
|
|
|
73ef10f |
- 'args': '-D -o -i dhcp_client -t %(timeout)s',
|
|
|
73ef10f |
+ 'args': '-timeout %(timeout)s %(interface)s',
|
|
|
73ef10f |
# Argument to use with DHCP client on disconnect
|
|
|
73ef10f |
- 'kill_args': '-k',
|
|
|
73ef10f |
+ 'kill_args': '-x',
|
|
|
73ef10f |
# The file where DHCP client PID is written
|
|
|
73ef10f |
- 'pidfile': '/etc/dhcpc/dhcpcd-%(interface)s.pid' }
|
|
|
73ef10f |
+ 'pidfile': '/var/run/dhclient.pid' }
|
|
|
73ef10f |
|
|
|
73ef10f |
config_wpa = { # WPA Supplicant
|
|
|
73ef10f |
'command': '/usr/sbin/wpa_supplicant',
|
|
|
73ef10f |
@@ -2931,7 +2931,7 @@ config_wpa = { # WPA Supplicant
|
|
|
73ef10f |
# Arguments to use with WPA Supplicant on disconnect
|
|
|
73ef10f |
'kill_command': '',
|
|
|
73ef10f |
# Where the WPA Supplicant config file can be found
|
|
|
73ef10f |
- 'configuration': '/etc/wpa_supplicant.conf',
|
|
|
73ef10f |
+ 'configuration': '/etc/wpa_supplicant/wpa_supplicant.conf',
|
|
|
73ef10f |
# Driver to use with WPA Supplicant
|
|
|
73ef10f |
'driver': 'wext',
|
|
|
73ef10f |
# The file where WPA Supplicant PID is written
|