-
-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to make a basic mac filter ? #203
Comments
It should be in https://github.com/Salamek/huawei-lte-api/blob/1a28bbf96eec2480b04e03b46584f67ffeb9dc11/huawei_lte_api/api/Security.py#L15 But i see only adding url filter implemented right now... |
i used this huawei-lte-api/huawei_lte_api/api/WLan.py Lines 103 to 113 in 32226a9
this is my code from huawei_lte_api.Client import Client
from huawei_lte_api.Connection import Connection
from huawei_lte_api.api.WLan import WLan
with Connection('http://admin:THE_Lime1@192.168.1.1/') as connection:
client = Client(connection)
wlan = client.wlan
clients = [{'wifihostname': 'B612-233',
'WifiMacFilterMac': '66:77:88:99:AA:BB'}]
response = wlan.set_multi_macfilter_settings(clients) and it give me
|
and using this from huawei_lte_api.Client import Client
from huawei_lte_api.Connection import Connection
from huawei_lte_api.api.WLan import WLan
with Connection('http://admin:THE_Lime1@192.168.1.1/') as connection:
client = Client(connection)
wlan = client.wlan
wlan.set_mac_filter('myhostname', '66:77:88:99:AA:BB') give
|
i see a pattern with this erorr code |
You have used wrong function, your router is using |
|
Is that correct payload? Check what is your router sending in browser debug tools "Payload" card... |
Closed by #204 |
Released in 1.8.1 |
For exmple i want to filter
3A:7B:56:2C:9D:E7
The text was updated successfully, but these errors were encountered: