This message is aimed towards devs mainly but if anyone has information then feel free to post!
Basically, i am connected to a wireless network and i want to change from dynamic ip to static but i cant seem to find an option? If you go into ethernet there is an option to change from DHCP to Static. Exactly what i want but for wireless. Thing is, i dont think this is a thing? Maybe im blind and cant locate it but i have looked around the code base!
Would love this feature as i can then switch it to static without having to delete the profile and re adding it but choose static.
Hope someone has info!
Cheers.
Will.
EDIT:
Looking at network_wlan.php i see code referrencing to buttons i dont see? Will look into this myself also and see why i cant see these options (Modify) is one i think can solve my issue.. If of course it displays correctly.
So far i found a section
- Code: Select all
<?php if($this->stored === 1): ?>
<!-- Connect -->
<button type="submit" class="btn btn-primary btn-lg" name="wifiprofile[action]" value="connect">Connect</button>
<input type="hidden" name="wifiprofile[ssid]" value="<?=urldecode($this->uri(4)) ?>">
<input type="hidden" name="wifiprofile[nic]" value="<?=$this->uri(3) ?>">
<?php elseif($this->stored === 1): ?>
<!-- Modify profile -->
<button type="submit" class="btn btn-primary btn-lg" name="nic[nic]" value="<?=$this->uri(3) ?>">Modify profile</button>
<input type="hidden" name="nic[currentssid]" value="<?=$this->nic->currentssid ?>">
<input type="hidden" name="nic[newssid]" value="<?=urldecode($this->uri(4)) ?>">
<?php else: ?>
This else if, im guessing should of been if... Il keep updating as i go along