Example #1
0
 def iwlist(self):
     if self.has_wlan:
         return Calls.call('IWLIST')
     else:
         return []
Example #2
0
 def lan_ipv4addr(self):
     return Calls.call('IPv4_ADDR_ETH')
Example #3
0
 def wlan_netmask(self):
     return Calls.call('NETMASK_ETH')
Example #4
0
 def wlan_gateway(self):
     return Calls.call('GATEWAY_ETH')
Example #5
0
 def wlan_ipv6addr(self):
     if self.has_wlan:
         return Calls.call('IPv6_ADDR_WLAN')
Example #6
0
 def wlan_macaddr(self):
     if self.has_wlan:
         return Calls.call('MAC_ADDR_WLAN')
Example #7
0
 def has_wlan(self):
     return Calls.call('HAS_WLAN')
Example #8
0
 def lan_macaddr(self):
     return Calls.call('MAC_ADDR_ETH')
Example #9
0
 def lan_ipv6addr(self):
     return Calls.call('IPv6_ADDR_ETH')