|
General software and network General OS-independent software and network questions, X11, MTA, routing, etc. |
|
Thread Tools | Display Modes |
|
|||
Not a problem - Just curious re WiFi
My ISP is Verizon FiOS. My downstairs neighbor's ISP is Spectrum. My /etc/hostname.iwn0
consists of 2 lines - first my connection, second her connection (she allowed me to connect to her network for a short time several months ago when I was having problems). My router sits on my desk less than 18 inches from my laptop. Her router is downstairs on top of a dresser in a back room. Question - why, when given a choice does wifi always connect to her network instead of mine? Both are 5G, my dBm= -27 her dBm= -73. Thanks |
|
|||
Code:
/etc/hostname.iwn0: join FiOS-5G wpakey fios-password join Spectrum-5G wpakey spectrum-password dhcp up powersave |
|
|||
Reversing the order as you suggested works. Logically, it makes no sense. I may know next to nothing about networking but if I have 2 available networks, logic would dictate I join the one closest, no? The order in which they are listed should make no difference and if it does make a difference (as it apparently does) then one would expect the network listed first to be the one joined, not the one listed second.
Oh well... As always thanks for taking the time to assist. |
|
||||
The common use case is a traveling laptop. The different networks (examples: home, workplace, coffee shop, airport, ...) are usually separated by distance. Some of these networks (workplace, airport) may have multiple access points with the same network name, so that your mobile device is within range of an access point throughout the time you move within a large facility.
Your use-case is different from the typical. You have two separate networks, a primary and a backup, which are colocated. I suggested reversing the order to see if the join list entries are simply tested in the order they are link-listed by ifconfig(8), looking for the first match. They are, using LIFO (last in first out) ordering. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem connecting to public wifi | stanl | OpenBSD General | 8 | 19th June 2021 08:49 PM |
Curious about /etc/installurl | hitest | OpenBSD Installation and Upgrading | 6 | 22nd October 2018 01:39 PM |
curious ? | frcc | OpenBSD General | 6 | 5th November 2014 04:05 AM |
wifi performance (rum) | mickywicky | OpenBSD General | 11 | 25th October 2013 03:08 PM |
DesktopBSD & usb wifi | radtek | FreeBSD General | 1 | 10th September 2008 09:13 PM |