Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Device pause settings #1

Closed
TjeuKayim opened this issue Mar 24, 2020 · 0 comments
Closed

Device pause settings #1

TjeuKayim opened this issue Mar 24, 2020 · 0 comments

Comments

@TjeuKayim
Copy link

Thanks for this project. With your instructions and Dockerfile, I made a quick start with running VyOS inside docker.

Unfortunately, I ran into an error when actually committing a configuration.
Can you help me?

$ docker network create -d macvlan -o parent=eth1 wan1
$ docker run -d --rm --name vy1 --net wan1 --privileged --cap-add=NET_ADMIN -v /lib/modules:/lib/modules vyos-ravens /sbin/init
vyos@vyos:/$ show version
Version:          VyOS 1.3-rolling-202003240625
vyos@vyos# set interfaces ethernet eth0 address 172.17.247.7/24
[edit]
vyos@vyos# commit
[ interfaces ethernet eth0 ]
Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/interfaces-ethernet.py", line 421, in <module>
    apply(c)
  File "/usr/libexec/vyos/conf_mode/interfaces-ethernet.py", line 314, in apply
    e.set_flow_control(eth['flow_control'])
  File "/usr/lib/python3/dist-packages/vyos/ifconfig/ethernet.py", line 100, in set_flow_control
    tmp = self._cmd(cmd)
  File "/usr/lib/python3/dist-packages/vyos/ifconfig/control.py", line 37, in _cmd
    raise RuntimeError(f'{command}\nreturned: {decoded}')
RuntimeError: /sbin/ethtool --show-pause eth0
returned: Cannot get device pause settings: Operation not supported
Pause parameters for eth0:

[[interfaces ethernet eth0]] failed
vyos@vyos:/$ sudo /sbin/ethtool --show-pause eth0
Pause parameters for eth0:
Cannot get device pause settings: Operation not supported
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant