Skip to content

Issue setting link-layer options #1

Description

@jamesfowkes

Hi,

I'm having an issue setting link layer options.

Bringing up the can socket using sudo ip link set can0 up type can bitrate 500000 works fine.

If I bring the link up with sudo ip link set can0 up type can bitrate 500000 fd on then I get the error RTNETLINK answers: Operation not supported. I'm not sure if this is relevant to issue described below.

If I try using can-utils programs that can set link layer options (specifically our application is using ISO-TP), then I get an error.

This works: isotprecv -s 04DA0081 -d 04DA8100 can0

But this: isotprecv -s 04DA0081 -d 04DA8100 -L 72:64:0 can0 results in a bind: Invalid argument error.

I don't know enough about things know if I'm doing something wrong, if there's an option I'm missing, if there's some issue or bug, or if this just isn't supported for whatever reason.

p.s. This is an amazing piece of work you've done!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions