Browse Source

Wifi dialogs

Bob Mottram 9 years ago
parent
commit
2295f21762
2 changed files with 9 additions and 9 deletions
  1. 5
    5
      src/freedombone-config
  2. 4
    4
      src/freedombone-controlpanel

+ 5
- 5
src/freedombone-config View File

@@ -1329,13 +1329,13 @@ function interactive_configuration {
1329 1329
         data=$(tempfile 2>/dev/null)
1330 1330
         trap "rm -f $data" 0 1 2 5 15
1331 1331
         dialog --backtitle $"Freedombone Configuration" \
1332
-               --title $"Wifi setup" \
1333
-               --form $"\nIf you wish to use wifi rather than wired ethernet then enter the details below, otherwise just select Ok:" 16 55 6 \
1334
-               $"Interface:" 1 1 "$WIFI_INTERFACE" 1 16 16 15 \
1332
+               --title $"Wifi Settings" \
1333
+               --form $"\nIf you wish to use wifi and have a Free Software compatible adapter (eg. Atheros) rather than wired ethernet then enter the details below, otherwise just select Ok:" 17 55 6 \
1334
+               $"Interface:" 1 1 "$WIFI_INTERFACE" 1 16 6 6 \
1335 1335
                $"SSID:" 2 1 "$WIFI_SSID" 2 16 30 30 \
1336
-               $"Type:" 3 1 "$WIFI_TYPE" 3 16 16 15 \
1336
+               $"Type:" 3 1 "$WIFI_TYPE" 3 16 10 10 \
1337 1337
                $"Passphrase:" 4 1 "$WIFI_PASSPHRASE" 4 16 30 30 \
1338
-               $"Hotspot:" 5 1 "$WIFI_HOTSPOT" 5 16 16 15 \
1338
+               $"Hotspot:" 5 1 "$WIFI_HOTSPOT" 5 16 6 6 \
1339 1339
                2> $data
1340 1340
         sel=$?
1341 1341
         case $sel in

+ 4
- 4
src/freedombone-controlpanel View File

@@ -1686,12 +1686,12 @@ function wifi_settings {
1686 1686
     trap "rm -f $data" 0 1 2 5 15
1687 1687
     dialog --backtitle $"Freedombone Control Panel" \
1688 1688
            --title $"Wifi Settings" \
1689
-           --form $"\nIf you wish to use wifi rather than wired ethernet then enter the details below, otherwise just select Ok:" 16 55 6 \
1690
-           $"Interface:" 1 1 "$WIFI_INTERFACE" 1 16 16 15 \
1689
+           --form $"\nIf you wish to use wifi and have a Free Software compatible adapter (eg. Atheros) rather than wired ethernet then enter the details below, otherwise just select Ok:" 17 55 6 \
1690
+           $"Interface:" 1 1 "$WIFI_INTERFACE" 1 16 6 6 \
1691 1691
            $"SSID:" 2 1 "$WIFI_SSID" 2 16 30 30 \
1692
-           $"Type:" 3 1 "$WIFI_TYPE" 3 16 16 15 \
1692
+           $"Type:" 3 1 "$WIFI_TYPE" 3 16 10 10 \
1693 1693
            $"Passphrase:" 4 1 "$WIFI_PASSPHRASE" 4 16 30 30 \
1694
-           $"Hotspot:" 5 1 "$WIFI_HOTSPOT" 5 16 16 15 \
1694
+           $"Hotspot:" 5 1 "$WIFI_HOTSPOT" 5 16 6 6 \
1695 1695
            2> $data
1696 1696
     sel=$?
1697 1697
     case $sel in