James Peterson Posted May 16, 2022 Posted May 16, 2022 How do I get the Polisy to use the WiFi connection as the ISY address? I have tried unplugging the ethernet cable and restarting, but it does not seem to come online or show up in the ISY Finder? If I reboot with the ethernet cable. It pops right back up in the finder. It online via wifi: Checked. Is there are toggle that I missed? wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 14:2d:27:4d:64:81 inet 10.7.1.77 netmask 0xffffff00 broadcast 10.7.1.255 inet6 fe80::162d:27ff:fe4d:6481%wlan0 prefixlen 64 scopeid 0x7 inet6 fd03:781c:9111:0:162d:27ff:fe4d:6481 prefixlen 64 autoconf groups: wlan ssid DUG channel 149 (5745 MHz 11a ht/40+) bssid f8:1a:2b:1b:70:ac regdomain FCC country US indoor ecm authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit txpower 23 bmiss 7 mcastrate 6 mgmtrate 6 scanvalid 60 ampdulimit 64k ampdudensity 8 shortgi -uapsd wme burst roaming MANUAL parent interface: ath0 media: IEEE 802.11 Wireless Ethernet MCS mode 11na status: associated nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL> [admin@polisy ~]$
James Peterson Posted May 17, 2022 Author Posted May 17, 2022 14 hours ago, Techman said: Take a look at this thread I saw that. It didn't really explain much. Unless that means is doesn't work.
MrBill Posted May 17, 2022 Posted May 17, 2022 It works, I think it's @Bumbershoot that used it to take the ISY to the z-wave device for programming, instead of bring the z-wave device to the ISY... maybe he can add how to do it. The wiki doesn't mention much.
Bumbershoot Posted May 17, 2022 Posted May 17, 2022 15 hours ago, James Peterson said: I have tried unplugging the ethernet cable and restarting, but it does not seem to come online or show up in the ISY Finder? FWIW, my WiFi router handles DHCP reservations for both ethernet and WiFi. When I switched to using WiFi for the Polisy, I just looked up the Polisy in the DHCP table on my WiFi router (it advertised itself as POLISY in the table with a different MAC/IP address than what is used for ethernet). I manually added it to the finder at the new IP address, IIRC. I now have static DHCP reservations for the Polisy whether it's connected via ethernet cable or via WiFi. The PG2 interface is interesting/difficult, but I certainly got it to work reliably -- I switched network interfaces at least three times over a couple of days when migrating off the ISY994. In production, my Polisy stays on a wired network connection. It works.
James Peterson Posted May 17, 2022 Author Posted May 17, 2022 So what I am gathering, is there is no "switch" that tells the ISY which interface to use for its connection. hrm....
larryllix Posted May 17, 2022 Posted May 17, 2022 Many of my earlier RPi devices presented two different MAC addresses for WiFi and Wired Ethernet. Therefore my routers could never assign the same IP address for the two different protocols from the same RPi.
Bumbershoot Posted May 17, 2022 Posted May 17, 2022 (edited) 45 minutes ago, James Peterson said: So what I am gathering, is there is no "switch" that tells the ISY which interface to use for its connection. hrm.... No, I don't think so. The Polisy's network cards have different MAC addresses (not even of the same manufacturer, it appears), so they'll present themselves to your network as completely different devices. As I understand it, your DHCP server might have issues if you use the same IP address for two different MAC addresses, though there's no doubt some networking kung-fu that would allow this to happen. EDIT: I think the ISY software just uses the underlying operating system's network services, and it doesn't care (or maybe even know) which interface it is. Edited May 17, 2022 by Bumbershoot
James Peterson Posted May 17, 2022 Author Posted May 17, 2022 3 minutes ago, Bumbershoot said: EDIT: I think the ISY software just uses the underlying operating system's network services, and it doesn't care (or maybe even know) which interface it is. Is this were true, I should be able to just unplug the ethernet cable and reboot. Since the Polisy has a wifi address (dhcp or not) the ISY should just use that. But for some reason it does not for me.
Bumbershoot Posted May 17, 2022 Posted May 17, 2022 1 minute ago, James Peterson said: Is this were true, I should be able to just unplug the ethernet cable and reboot. Since the Polisy has a wifi address (dhcp or not) the ISY should just use that. But for some reason it does not for me. I don't think both interfaces are active at the same time, by default. If I run the command 'ifconfig -a' on my Polisy while the ethernet connection is active, I don't see the WiFi device at all in the output, just the three ethernet devices and the loopback device.
Bumbershoot Posted May 17, 2022 Posted May 17, 2022 (edited) 1 hour ago, James Peterson said: Is this were true, I should be able to just unplug the ethernet cable and reboot. Since the Polisy has a wifi address (dhcp or not) the ISY should just use that. But for some reason it does not for me. This may explain what's going on. In the file '/etc/rc.conf' it looks like the 'wlan0' interface isn't started on my machine (see the bottom four lines): #Network Interfaces (default) ifconfig_igb0="DHCP" ifconfig_igb0_ipv6="inet6 accept_rtadv" #disable starting igb1/2 at startup ifconfig_igb1_ipv6="NOAUTO" ifconfig_igb1="NOAUTO" ifconfig_igb2="NOAUTO" ifconfig_igb2_ipv6="NOAUTO" #WiFi disabled by default ipv6_ipv4mapping="YES" ifconfig_wlan0="NOAUTO" ifconfig_wlan0_ipv6="NOAUTO" I suspect that when you change to the WiFi interface, this file would have an edit that starts the 'wlan0' interface and disables the 'igb0' interface. I'm certain that there's a reason for this... EDIT: on further snooping around on my Polisy, I see a backup file of '/etc/rc.conf' that has the WiFi interface enabled. My guess is that the 'udx' service is what modifies these files, suggesting that UDI has a business reason for setting up Polisy networking as they do: #Network Interfaces (default) ifconfig_igb0="DHCP" ifconfig_igb0_ipv6="inet6 accept_rtadv" #disable starting igb1/2 at startup ifconfig_igb1_ipv6="NOAUTO" ifconfig_igb1="NOAUTO" ifconfig_igb2="NOAUTO" ifconfig_igb2_ipv6="NOAUTO" #WiFi disabled by default ipv6_ipv4mapping="YES" wlans_ath0="wlan0" ifconfig_wlan0="WPA DHCP" create_args_wlan0="country US regdomain FCC" ifconfig_wlan0_ipv6="inet6 accept_rtadv" Edited May 17, 2022 by Bumbershoot
Recommended Posts