Re: [beagleboard] Re: broke something with wlan when trying to reduce connection drops
So are you saying that using the old method of setting MAC address, for the initial boot the MAC value was read (from where?) and then incremented and/or modified in some way? If every BBB started with the same initial value, how did that not end up in collisions? (Clearly I'm misunderstanding). On Monday, April 16, 2018 at 12:48:58 PM UTC-7, RobertCNelson wrote: > > On Mon, Apr 16, 2018 at 2:41 PM, ags > > wrote: > > @RobertCNelson thanks for that info. IMO it is preferable to use a > built-in > > (guaranteed unique and immutable??) MAC address so I will stay with the > new > > method. I've configured my router for the new address anyway. > > So the nice thing about using the built-in wl1835 mac address, on > "first" bootup it saves around 30 seconds. > > With the old mac, we'd have to read it, +1/etc to the value, patch the > firmware, update the initramfs, then load the module.. > > With the new mac method, the kernel knows how to load it from the > wl1835.. (the trick was patching the firmware with a mac of 00:00...00 > and the kernel knew what to do, it just wasn't documented very well) > > On 2nd/3rd/++ boot no change. > > > > > Any insight or ideas where to look on the continued dropped connection > > problem? This ... > > > > $ arp 192.168.1.12 > > bbbw (192.168.1.12) at (incomplete) on en0 ifscope [ethernet] > > > > I can't figure out why the arp table entry would expire so quickly. Some > > references I found on the subject say the default is 20 minutes. Even if > the > > entry expires, an ARP packet should be able to quickly reestablish the > > IP/MAC binding. > > This might be power-managment related.. > > i'd try: > > sudo iwconfig wlan0 power off > > Regards, > > -- > Robert Nelson > https://rcn-ee.com/ > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/01d8bc46-29ec-46e5-85ef-0b0dfcc267a1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: broke something with wlan when trying to reduce connection drops
On Mon, Apr 16, 2018 at 2:41 PM, ags wrote: > @RobertCNelson thanks for that info. IMO it is preferable to use a built-in > (guaranteed unique and immutable??) MAC address so I will stay with the new > method. I've configured my router for the new address anyway. So the nice thing about using the built-in wl1835 mac address, on "first" bootup it saves around 30 seconds. With the old mac, we'd have to read it, +1/etc to the value, patch the firmware, update the initramfs, then load the module.. With the new mac method, the kernel knows how to load it from the wl1835.. (the trick was patching the firmware with a mac of 00:00...00 and the kernel knew what to do, it just wasn't documented very well) On 2nd/3rd/++ boot no change. > > Any insight or ideas where to look on the continued dropped connection > problem? This ... > > $ arp 192.168.1.12 > bbbw (192.168.1.12) at (incomplete) on en0 ifscope [ethernet] > > I can't figure out why the arp table entry would expire so quickly. Some > references I found on the subject say the default is 20 minutes. Even if the > entry expires, an ARP packet should be able to quickly reestablish the > IP/MAC binding. This might be power-managment related.. i'd try: sudo iwconfig wlan0 power off Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYherH--rtxMBzcBjk7JN%3DzbGL_Pw6Vtwk%3DMBsbc%3D1cBUw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: broke something with wlan when trying to reduce connection drops
@RobertCNelson thanks for that info. IMO it is preferable to use a built-in (guaranteed unique and immutable??) MAC address so I will stay with the new method. I've configured my router for the new address anyway. Any insight or ideas where to look on the continued dropped connection problem? This ... $ arp 192.168.1.12 bbbw (192.168.1.12) at (incomplete) on en0 ifscope [ethernet] I can't figure out why the arp table entry would expire so quickly. Some references I found on the subject say the default is 20 minutes. Even if the entry expires, an ARP packet should be able to quickly reestablish the IP/MAC binding. On Monday, April 16, 2018 at 11:44:41 AM UTC-7, RobertCNelson wrote: > > On Mon, Apr 16, 2018 at 1:12 PM, ags > > wrote: > > > > Update: I realized that the MAC address for wlan0 had changed - didn't > > expect that. Will it remain the same until another firmware upgrade? > > Yes the mac address did change (for new installs).. For old installs > with package updates, thru apt there is no change.. > > It turns out the wl1835 has a built-in mac address.. So instead of > generating our own unique mac address on first boot-up and using > custom one, we use the wl1835 one.. > > You can disable this new mac address via editing: > > /etc/default/bb-wl18xx > > Change: > > USE_INTERNAL_WL18XX_MAC_ADDRESS=yes > to > > #USE_INTERNAL_WL18XX_MAC_ADDRESS=yes" > > and reboot and it will return to the old address. > > Regards, > > -- > Robert Nelson > https://rcn-ee.com/ > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/c2be902b-404c-48af-9cc6-12dbd0976b99%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: broke something with wlan when trying to reduce connection drops
On Mon, Apr 16, 2018 at 1:12 PM, ags wrote: > > Update: I realized that the MAC address for wlan0 had changed - didn't > expect that. Will it remain the same until another firmware upgrade? Yes the mac address did change (for new installs).. For old installs with package updates, thru apt there is no change.. It turns out the wl1835 has a built-in mac address.. So instead of generating our own unique mac address on first boot-up and using custom one, we use the wl1835 one.. You can disable this new mac address via editing: /etc/default/bb-wl18xx Change: USE_INTERNAL_WL18XX_MAC_ADDRESS=yes to #USE_INTERNAL_WL18XX_MAC_ADDRESS=yes" and reboot and it will return to the old address. Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYhqUWc6%2B3zLQRpHE3OHh%3D7w1jTtOWLS0U877JO7k7gVFA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.