From a tutorial found on internet i write a code that set my esp32 to access point and all works fine and now i want to set captive portal so when there is a connection dns redirect client to my home page.
I'm trying to do all with rust lang but didn't find any information on internet to make this ...
Search found 3 matches
- Wed May 29, 2024 5:37 am
- Forum: General Discussion
- Topic: Rust captive portal
- Replies: 0
- Views: 1313
- Fri Apr 26, 2024 11:43 am
- Forum: Rust
- Topic: how to config my own ip address during accesspoint mode
- Replies: 2
- Views: 29702
Re: how to config my own ip address during accesspoint mode
thanks mikemoy , your code put me on right way, i adapt your code on rist with unsafe and everything works well, a problem that i face was a loop when wifi connected, connect , leave, connect,leave and so on. I fix this with erase nvs partition.
- Wed Apr 24, 2024 5:56 pm
- Forum: Rust
- Topic: how to config my own ip address during accesspoint mode
- Replies: 2
- Views: 29702
how to config my own ip address during accesspoint mode
wifi_driver.set_configuration(&wifiConfiguration::AccessPoint(AccessPointConfiguration{
ssid: nome_wifi,//"mySSID".into(),
password: pass_wifi,//"myPASSWORD".into(),
auth_method: AuthMethod::WPA,
..Default::default()
})).unwrap();
my code works well but the ip address to access the wifi esp32 ...
ssid: nome_wifi,//"mySSID".into(),
password: pass_wifi,//"myPASSWORD".into(),
auth_method: AuthMethod::WPA,
..Default::default()
})).unwrap();
my code works well but the ip address to access the wifi esp32 ...