basicstation icon indicating copy to clipboard operation
basicstation copied to clipboard

Project for Raspberry Pi Zero

Open Roberto6969 opened this issue 3 years ago • 9 comments

Hi Marc, is there any chance project will be adapted to run on Raspberry Pi Zero?

Thank You.

Roberto6969 avatar Aug 17 '21 14:08 Roberto6969

Hello @Roberto6969 thank you for the comment! I think it would be really nice! At the moment it's only accepted ARMv8 and ARMv7. You can read more here https://github.com/mpous/basicstation/blob/5df322cde44df9aab9c142a08600f36ca14487c8/setup.gmk#L44

Having said that, feel free to contribute into the project :-)

mpous avatar Aug 27 '21 12:08 mpous

Marc, thank you!

Roberto6969 avatar Aug 27 '21 12:08 Roberto6969

@Roberto6969 i made a new PR to make this compatible with Raspberry Pi Zero! Test it and let me know if this works for you :)

mpous avatar Jan 21 '22 14:01 mpous

Hi @mpous thank you a lot for your effort. GW is finally on my desk. RPi doesn't get an IP address with new image. Based on LED activity it seems startup sequence is OK, HDMI output shows Balena logo also, but from GW's MAC there is no request on DHCP server. Did I miss somethink? Thank You!

Roberto6969 avatar Jan 27 '22 06:01 Roberto6969

@Roberto6969 where did you get the last image? Could you please tell me step-by-step what you did so i can try to reproduce?

mpous avatar Jan 31 '22 11:01 mpous

@mpous GW after some days mysteriously come up. Maybe it just needs a lot of time or a few reboots more. I've tried again after I saw your message and now it is online. But there is another strange behaviour. I can't use right MAC. Steps:

  • I've edit TAGS and enter first MAC (as always) from dashboard
  • error in console: 2022-01-31 14:59:43.703 [TCE:ERRO] Infos error: ::0 Failed to fetch gateway: error:pkg/gatewayserver:gateway_eui_not_registered (gateway EUI BA881CFFFE12858B is not registered)

GW EUI consists of second MAC from the Balena dashboard (and not the first one) and it changes after every REBOOT. How is it possible?

Roberto6969 avatar Jan 31 '22 15:01 Roberto6969

On my PI 4s the new release picks wlan0 even if eth0 exists

basicstation Gateway EUI: dca6... (My eth0)
basicstation Using MODEL: SX1301
basicstation Server: wss://eu1.cloud.thethings.network:8887
basicstation Resetting gateway concentrator on GPIO 17
basicstation 2022-02-02 02:02:43.415 [SYS:INFO] findDefaultEui -> protoEuiSrc /sys/class/net/wlan0/address

I am then getting the same error as @Roberto6969 since that is not the EUI i am registered with.

mauimauer avatar Feb 02 '22 02:02 mauimauer

ok! let me solve that @mauimauer

mpous avatar Feb 02 '22 14:02 mpous

ok! let me solve that @mauimauer

Hi Marc, it would be great if you'll get some time to solve this problem. Thank You!

Roberto6969 avatar Feb 21 '22 09:02 Roberto6969