Revision da1dab20
Added by Scott Ullrich over 19 years ago
etc/inc/interfaces.inc | ||
---|---|---|
602 | 602 |
} |
603 | 603 |
|
604 | 604 |
/* start up everything */ |
605 |
|
|
606 |
mwexec("$ifconfig {$if}" . " down"); |
|
605 |
|
|
606 |
mwexec("$ifconfig $if" . " -mediaopt hostap, turbo"); // Fix bug with turbomode and reboot (hopefully) |
|
607 |
mwexec("$ifconfig $if" . " down"); |
|
607 | 608 |
mwexec("$ifconfig $if" . " " . $standard); |
608 | 609 |
mwexec("$ifconfig $if" . " " . $channel); |
609 | 610 |
mwexec("$ifconfig $if" . " " . $ssid); |
610 | 611 |
mwexec("$ifconfig $if" . " " . $stationname); |
611 |
mwexec("$ifconfig $if" . " " . $hostapmode); |
|
612 |
// mwexec("$ifconfig $if" . " " . $hostapmode);
|
|
612 | 613 |
mwexec("$ifconfig $if" . " " . $adhocmode); |
614 |
/* fix turbo mode and reboot */ |
|
615 |
mwexec("$ifconfig $if" . " up"); |
|
616 |
mwexec("$ifconfig $if" . " " . $hostapmode); |
|
617 |
mwexec("$ifconfig $if" . " " . $turbo); |
|
618 |
mwexec("$ifconfig $if" . " down"); |
|
619 |
/* fix turbo mode and reboot */ |
|
613 | 620 |
mwexec("$ifconfig $if" . " " . $hidessid); |
614 | 621 |
mwexec("$ifconfig $if" . " " . $pureg); |
615 | 622 |
mwexec("$ifconfig $if" . " " . $apbridge); |
616 |
mwexec("$ifconfig $if" . " " . $turbo); |
|
623 |
// mwexec("$ifconfig $if" . " " . $turbo);
|
|
617 | 624 |
mwexec("$ifconfig $if" . " " . $wme); |
618 | 625 |
mwexec("$ifconfig $if" . " " . $wepset); |
619 |
mwexec("$ifconfig $if" . " up"); |
|
626 |
mwexec("$ifconfig $if" . " up"); |
|
627 |
|
|
620 | 628 |
|
621 | 629 |
if (isset($wlcfg['wpa']['enable'])) { |
622 | 630 |
if ($wlcfg['mode'] == BSS) |
Also available in: Unified diff
MFC 7034
Fix bug with turbomode and reboot (hopefully)