1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Cumulus Linux 手習い

Last updated at Posted at 2016-03-11

#cl-license
バージョンアップの度に消えるのが面倒

cumulus@cumulus$ sudo cl-license
No license installed!

#ethtool

cumulus@cumulus~$ ethtool eth0
Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: Unknown
Cannot get wake-on-lan settings: Operation not permitted
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes

#ip
##ip link
一覧表示

cumulus@cumulus~$ sudo ip -o link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN mode DEFAULT \    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000\    link/ether 14:18:77:05:1a:00 brd ff:ff:ff:ff:ff:ff
4: swp1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT qlen 500\    link/ether 14:18:77:05:1a:01 brd ff:ff:ff:ff:ff:ff
5: swp2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 500\    link/ether 14:18:77:05:1a:02 brd ff:ff:ff:ff:ff:ff

インターフェイス有効化

cumulus@cumulus~$ sudo ip link set swp1 up

#brctl
ブリッジインターフェイスを設定するためのコマンド

cumulus@cumulus~$ sudo brctl addbr temp
cumulus@cumulus~$ sudo brctl addif temp swp1
cumulus@cumulus~$ sudo brctl show
bridge name     bridge id               STP enabled     interfaces
temp            8000.141877051a01       no              swp1

#version up
##cl-img-install

cumulus@cumulus$ sudo cl-img-install CumulusLinux-2.5.0-amd64.bin

##cl-img-select

cumulus@cumulus$ sudo cl-img-select
          slot 1 (alt    ): 2.5.0-199c587-201501081931-build
active => slot 2 (primary): 2.5.7-753304d-201603071654-build
cumulus@cumulus$ sudo cl-img-select 1
Success: Primary image slot set to 1.
          slot 1 (primary): 2.5.0-199c587-201501081931-build
active => slot 2 (alt    ): 2.5.7-753304d-201603071654-build
Reboot required to take effect.
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?