remove last Network



  • Hello

    If you remove the last configured Network from your /etc/config/wireless

    wifisetup remove -ssid 'yourssid'
    wifimanager
    ifconfig
    apcli0    Link encap:Ethernet  HWaddr XXXXXXXXXXXXXXX
              inet addr:192.168.1.15  Bcast:255.255.255.0  Mask:255.255.255.0
              inet6 addr: XXXXXXXXXXXXXXX Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:3 errors:0 dropped:0 overruns:0 frame:0
              TX packets:95 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    

    You won't be able to disconnect from that network,
    witout removing them in the wifi-face list and then reboot

    vi /etc/config/wireless
    config wifi-device 'ra0'
            option type 'ralink'
            option mode '9'
            option channel 'auto'
            option txpower '100'
            option ht '20'
            option country 'US'
            option disabled '0'
    
    config wifi-iface
            option device 'ra0'
            option network 'wlan'
            option mode 'ap'
            option encryption 'psk2'
            option key '12345678'
            option ApCliAuthMode 'removeThis'
            option ApCliEncrypType 'removeThis'
            option ssid 'Omega-XXXX'
            option ApCliSsid 'removeThis'
            option ApCliPassWord 'removeThis'
            option ApCliEnable '1'
    
    wifimanager
    
    
    ifconfig
    apcli0    Link encap:Ethernet  HWaddr XXXXXXXXXXXXXXX
              inet addr:192.168.1.15  Bcast:255.255.255.0  Mask:255.255.255.0
              inet6 addr: XXXXXXXXXXXXXXX Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:3 errors:0 dropped:0 overruns:0 frame:0
              TX packets:95 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    reboot
    
    ifconfig
    apcli0    Link encap:Ethernet  HWaddr XXXXXXXXXXXXXXX          
              inet6 addr: XXXXXXXXXXXXXXX Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    

    aslong as there's no configuration for an other Network the wifimanager won't change anything.
    Is there some command or something that can make that change without rebooting?



Looks like your connection to Community was lost, please wait while we try to reconnect.