Trouble determining what is wrong with my usage of the slattach command

Max Pung max.pung at lema.io
Mon Jul 1 15:32:34 UTC 2024


Thanks for the responses, I decided to switch to the slattach​ command provided by the net-tools​ recipe in Yocto.

~ Maxwell
________________________________
From: busybox <busybox-bounces at busybox.net> on behalf of Stefan Seyfried <stefan.seyfried at googlemail.com>
Sent: Sunday, June 30, 2024 6:29 AM
To: busybox at busybox.net <busybox at busybox.net>
Subject: Re: Trouble determining what is wrong with my usage of the slattach command

Hi Max.

Am 27.06.24 um 16:11 schrieb Max Pung:
> The following leads me to believe that the -F flag should be supported and valid.
>
> Based on the non-trivial usage comment section from slattach.c:
>

this...

> //usage:#define slattach_trivial_usage
> //usage:       "[-ehmLF] [-c SCRIPT] [-s BAUD] [-p PROTOCOL] SERIAL_DEVICE"

...and this...

> slattach -L -F -p slip -s 115200 /dev/ttyUSB0
>
> The output of running this command is:
>
> Usage: slattach [-ehlLmnqv] [-k keepalive] [-o outfill] [-c cmd] [-s speed] [-p protocol] tty | -
>         slattach -V | --version

do not match.

> I must be missing something. Any idea what that might be?
My guess is that the slattach command you are running is *not* the one
from busybox but another one.
--
Stefan Seyfried

"For a successful technology, reality must take precedence over
  public relations, for nature cannot be fooled." -- Richard Feynman

_______________________________________________
busybox mailing list
busybox at busybox.net
https://linkprotect.cudasvc.com/url?a=http%3a%2f%2flists.busybox.net%2fmailman%2flistinfo%2fbusybox&c=E,1,Vz2RifzZh5sqmqnk3yIILX503lWeeuSUB0vAt1TgUmksiUyDG8kYbGGwuGgQEw9PMR5WrddCuQUZANYYHFY6d3Z3mk70CmLPxCp4u08978s2Yt7PDiGq8uLW&typo=1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20240701/11fcac82/attachment.html>


More information about the busybox mailing list