libremesh / lime-packages

LibreMesh packages configuring OpenWrt for wireless mesh networking
https://libremesh.org/
GNU Affero General Public License v3.0
277 stars 96 forks source link

hostname and ssid length are different #157

Closed nicopace closed 7 years ago

nicopace commented 7 years ago

when you change the name of the node, it truncks the ssid to a certain length and the hostname to another length.

expected behaviour: to be both the same

actual behaviour: names are different

ilario commented 7 years ago

Mh? Aren't hostname and ESSID independently defined?

nicopace commented 7 years ago

actually not. in lime we have a config were it is defined in the same place. this is actually a very simple bug, but just left it with the 'quickfix' tag for any newcommer to be able to easily join and solve it :)

ilario commented 7 years ago

do you mean that option apname_ssid 'LibreMesh.org/%H' is truncated to a different length than option hostname 'LiMe-%M4%M5%M6' when hostname is customized? Do you have a clue about where does this happen?

nicopace commented 7 years ago

I don't konw where that is configured in /etc/config/lime ... i did it through the simple config->advanced->hostname LuCI interface

altergui commented 7 years ago

On 20/06/17 00:13, Nicolás Pace wrote:

actually not. in lime we have a config were it is defined in the same place. this is actually a very simple bug, but just left it with the 'quickfix' tag for any newcommer to be able to easily join and solve it :)

maybe it's not a bug?

SSID is restricted to 32 characters length, that's why it's truncated (else, AP with name doesn't come up)

hostname doesn't have that restriction, and it's used elsewhere (like bmx6, dns, etc) so i'd leave it untruncated

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/libremesh/lime-packages/issues/157#issuecomment-309588512, or mute the thread https://github.com/notifications/unsubscribe-auth/ACr1I2Ueea2QEu3P0srD-o6LnJtsgtbbks5sFvJ1gaJpZM4N6Us0.

nicopace commented 7 years ago

not a bug... maybe with the apname it is complex because it is prefixed with the network name, so it gets shrinked even more... I get it ... let's leave it that way. Thanks for the input.