Live data from Hacker News

Simultaneous AP and Client Mode Wi-Fi on Raspberry Pi Zero W

github.com

1–10 of 92 posts

Re: Simultaneous AP and Client Mode Wi-Fi on Raspberry Pi Zero W

#3
Any idea why systemd was not able to be reliably used, and had to use cron?

Is there a ‘fix’ for that ?

edit: This was not meant to be offensive. I was simply hoping somebody could offer how it could be used with systemd and remove the reliance on cron.

Re: Simultaneous AP and Client Mode Wi-Fi on Raspberry Pi Zero W

#4
Thanks for this.

I had built [similar repository](https://github.com/computationalprivacy/unveil-pi-data-colle...) as a part of wifi data capture and visualisation experiment ([Project UNVEIL](https://github.com/computationalprivacy/unveil-deployment)) but it used external antenna.

Any links on how does underlying hardware work to enable simultaneous connections?

Re: Simultaneous AP and Client Mode Wi-Fi on Raspberry Pi Zero W

#5

Any idea why systemd was not able to be reliably used, and had to use cron? Is there a ‘fix’ for that ? edit: This was not meant to be offensive. I was simply hoping somebody could offer how it could be used with systemd and remove the reliance on cron.

I think it’s just a shortcut because of lack of experience with systemd (this is not intended to be offensive btw - if cron is already installed and you save time by just using what you know, why not?). I would be very surprised if cron could do something that can’t be done with systemd timers.

Re: Simultaneous AP and Client Mode Wi-Fi on Raspberry Pi Zero W

#6

Any idea why systemd was not able to be reliably used, and had to use cron? Is there a ‘fix’ for that ? edit: This was not meant to be offensive. I was simply hoping somebody could offer how it could be used with systemd and remove the reliance on cron.

No idea! I spent some time debugging it, but it just does't make sense it works with cron and not with systemd. Let me know if you have any idea where to look!

Re: Simultaneous AP and Client Mode Wi-Fi on Raspberry Pi Zero W

#7
post #5

Any idea why systemd was not able to be reliably used, and had to use cron? Is there a ‘fix’ for that ? edit: This was not meant to be offensive. I was simply hoping somebody could offer how it could be used with systemd and remove the reliance on cron.

I think it’s just a shortcut because of lack of experience with systemd (this is not intended to be offensive btw - if cron is already installed and you save time by just using what you know, why not?). I would be very surprised if cron could do something that can’t be done with systemd timers.

I saw the apt install cron, and wondered what the solution w/out cron entailed.

Re: Simultaneous AP and Client Mode Wi-Fi on Raspberry Pi Zero W

#8
post #5

Any idea why systemd was not able to be reliably used, and had to use cron? Is there a ‘fix’ for that ? edit: This was not meant to be offensive. I was simply hoping somebody could offer how it could be used with systemd and remove the reliance on cron.

I think it’s just a shortcut because of lack of experience with systemd (this is not intended to be offensive btw - if cron is already installed and you save time by just using what you know, why not?). I would be very surprised if cron could do something that can’t be done with systemd timers.

I suspected that the network wasn't ready, so I configured the service start after network without much luck. I didn't go further than that.

Re: Simultaneous AP and Client Mode Wi-Fi on Raspberry Pi Zero W

#10
post #5

Earlier quoted context omitted.

I think it’s just a shortcut because of lack of experience with systemd (this is not intended to be offensive btw - if cron is already installed and you save time by just using what you know, why not?). I would be very surprised if cron could do something that can’t be done with systemd timers.

I suspected that the network wasn't ready, so I configured the service start after network without much luck. I didn't go further than that.

Systemd can be very powerful and you can even depend on individual devices being added/removed. I’m pretty sure you can even replace the udev rules with a systemd equivalent if you tried hard enough.
Post reply on HN