Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
essid_wlan0 ignored
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
blubberbaer
n00b
n00b


Joined: 15 Mar 2016
Posts: 43

PostPosted: Mon Jan 06, 2020 4:09 pm    Post subject: essid_wlan0 ignored Reply with quote

Dear Forum,

just wondering if u can help me with this. My /etc/conf.d/net looks like this.

Code:

modules_wlan0="wpa_supplicant"
wpa_supplicant_wlan0="-Dwext"

config_schlumpfhausen="192.168.2.213/24"
routes_schlumpfhausen="default via 192.168.2.1"
dns_servers_schlumpfhausen="192.168.2.1"
essid_wlan0="schlumpfhausen"

config_eth0="null"


Until now I believed, that I forced my wlan0 device to scan for my wlan with ESSID "schlumpfhausen". If it is not available it will simple do nothing. That would be fine with me.
Today I was playing around with my AP and changed the ESSID from "schlumpfhausen" to "hallo".
I've added the configuration of "hallo" to wpa_supplicant.conf. Starting my wlan0 device using /etc/init.d/net.wlan0 start, the wlan0 device started dhcpcd and connected to "hallo", although my conf.d/net looks like given above.

For me this a weired behaviour. If I ask net.wlan0 to connect to "schlumpfhausen" and if "schlumpfhausen" is not available, I would love to receive a message like "network not available" and that's it.

Any way to make the behaviour of netifrc/wpa_supplicant/... more predictable.

(no dhcpcd in conf.d/net means no dhcpcd, ESSID not available means no connection, ....)

Many thanks,

blubberbaer
Back to top
View user's profile Send private message
lefsha
Veteran
Veteran


Joined: 30 Aug 2004
Posts: 1088
Location: Burgas, Bulgaria

PostPosted: Tue Jan 07, 2020 11:20 pm    Post subject: Reply with quote

schlumpfhausen... heh... :D

Strictly SSID is not required at all. Nothing prevents you from connecting
to such a wifi spot. The thing which is not changed and always available is BSSID!

https://sourcedaddy.com/networking/bssid-ssid-and-essid.html

By changing SSID the BSSID remains the same.


You may be interested to try iwd

Check it out: https://wiki.gentoo.org/wiki/Iwd

It works quite well with dhcpcd.
Only the dhcpcd GUI is quite bad/ non working.

no things like net.wlan0 or similar are required.
_________________
Lefsha
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum