From: Wolfgang Grandegger <wg@grandegger.com>
To: "Spies, Raphael | BFFT GmbH" <raphael.spies@bfft.de>
Cc: "'linux-can@vger.kernel.org'" <linux-can@vger.kernel.org>
Subject: Re: CAN Interface on Toradex Board
Date: Fri, 25 Oct 2013 20:24:08 +0200 [thread overview]
Message-ID: <526AB748.1040105@grandegger.com> (raw)
In-Reply-To: <F1A135976112904197F6276B89309FEF26040B@sgexc1.bfft.de>
On 10/24/2013 09:39 AM, Spies, Raphael | BFFT GmbH wrote:
>
>> -----Ursprüngliche Nachricht-----
>> Von: linux-can-owner@vger.kernel.org [mailto:linux-can-
>> owner@vger.kernel.org] Im Auftrag von Wolfgang Grandegger
>> Gesendet: Donnerstag, 24. Oktober 2013 09:28
>> An: Spies, Raphael | BFFT GmbH
>> Cc: Oliver Hartkopp; linux-can@vger.kernel.org
>> Betreff: Re: AW: CAN Interface on Toradex Board
>>
>> On Thu, 24 Oct 2013 06:44:30 +0000, "Spies, Raphael | BFFT GmbH"
>>
>> <raphael.spies@bfft.de> wrote:
...
>> What does "ip link help" list?
>
> sh-4.2# ip link help
> Usage: ip link add [link DEV] [ name ] NAME
> [ txqueuelen PACKETS ]
> [ address LLADDR ]
> [ broadcast LLADDR ]
> [ mtu MTU ]
> type TYPE [ ARGS ]
> ip link delete DEV type TYPE [ ARGS ]
>
> ip link set { dev DEVICE | group DEVGROUP } [ { up | down } ]
> [ arp { on | off } ]
> [ dynamic { on | off } ]
> [ multicast { on | off } ]
> [ allmulticast { on | off } ]
> [ promisc { on | off } ]
> [ trailers { on | off } ]
> [ txqueuelen PACKETS ]
> [ name NEWNAME ]
> [ address LLADDR ]
> [ broadcast LLADDR ]
> [ mtu MTU ]
> [ netns PID ]
> [ netns NAME ]
> [ alias NAME ]
> [ vf NUM [ mac LLADDR ]
> [ vlan VLANID [ qos VLAN-QOS ] ]
> [ rate TXRATE ] ]
> [ spoofchk { on | off} ] ]
> [ master DEVICE ]
> [ nomaster ]
> ip link show [ DEVICE | group GROUP ]
>
> TYPE := { vlan | veth | vcan | dummy | ifb | macvlan | can | bridge }
Looks good and therefore I assume that "ip link set can0 type can help"
also works. Anyway, I think the tool does not match for some reason.
Could you try to build the "ip" program from the iproute2 suite [1]
yourself?
[1]
http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
Wolfgang.
prev parent reply other threads:[~2013-10-25 18:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-23 16:49 CAN Interface on Toradex Board Spies, Raphael | BFFT GmbH
2013-10-23 17:22 ` Oliver Hartkopp
2013-10-24 6:44 ` AW: " Spies, Raphael | BFFT GmbH
2013-10-24 7:28 ` Wolfgang Grandegger
2013-10-24 7:39 ` AW: " Spies, Raphael | BFFT GmbH
2013-10-24 22:50 ` Mirza Krak
2013-10-25 18:24 ` Wolfgang Grandegger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=526AB748.1040105@grandegger.com \
--to=wg@grandegger.com \
--cc=linux-can@vger.kernel.org \
--cc=raphael.spies@bfft.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.