Changeset 734


Ignore:
Timestamp:
06/15/06 14:54:11 (7 years ago)
Author:
mglb1
Message:

Fixes related to backhaul configuration via the Wizard

  • Create/Bring? up the backhaul interface on startup so we can scan
  • Fix javascript to only resubmit Step 4 if there is at least one upstream node to connect to
Location:
ccsd/private
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ccsd/private/modules/ccs_monitor_rurallink.py

    r732 r734  
    25682568        checkDHCPServer() 
    25692569        ap0_ifname = t 
     2570        # Make sure the backhaul interface is up so we can scan 
     2571        if log_command("/sbin/ip link set up dev %s 2>&1" % \ 
     2572                backhaul_ifname) != None: 
     2573            if backhaul_vbase is not None: 
     2574                log_command("/usr/bin/wlanconfig %s create nounit " \ 
     2575                        "wlandev %s wlanmode sta &>/dev/null"  % \ 
     2576                        (backhaul_ifname, backhaul_vbase)) 
     2577                log_command("/sbin/ip link set up dev %s 2>&1" % \ 
     2578                        backhaul_ifname) 
     2579 
    25702580    else: 
    25712581        # Reload interfaces to pick up any new configuration 
  • ccsd/private/resources/rurallink.js

    r733 r734  
    103103        canProgress = false; 
    104104    } else if (wizardStep == 4) { 
    105         obj = $("wizard_essid"); 
    106         if (obj) { 
    107             /* There are network objects */ 
    108             canProgress = false; 
    109             return; 
    110         } 
     105        canProgress = false; 
    111106        obj = $("wizard_ispusername"); 
    112107        if (obj) { 
    113108            id = obj.id; 
    114             canProgress = false; 
    115109        } 
    116          
    117110    } else if (wizardStep == 5) { 
    118111        pars= "wizard_complete=yes" 
     
    137130        wizardPasswordUpdated(null); 
    138131    } else if (wizardStep == 4) { 
    139         if ($("wizard_essid")) { 
     132        if (!$("wizard_isptype")) { 
    140133            // Client node 
    141             wizardESSIDUpdated(null); 
     134            if ($("wizard_essid")) 
     135                wizardESSIDUpdated(null); 
    142136        } else { 
    143137            // Master node 
Note: See TracChangeset for help on using the changeset viewer.