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

'ip link set mtu 1280 dev utun1' error,how to fix it? #21

Open
luckypoem opened this issue Sep 19, 2019 · 0 comments
Open

'ip link set mtu 1280 dev utun1' error,how to fix it? #21

luckypoem opened this issue Sep 19, 2019 · 0 comments

Comments

@luckypoem
Copy link

hi.

yudeMacBook-Air:~ brite$ sudo simple-vpn client simple-vpn-client.cfg
Password:

Client IP is 10.137.248.2
Running: 'ip link set dev utun1 up'
Executing: /usr/bin/sudo /sbin/ifconfig utun1 up

Running: 'ip link set mtu 1280 dev utun1'
Executing: /usr/bin/sudo /sbin/ifconfig mtu mtu 1280
ifconfig: interface mtu does not exist
Usage: ip link show [ DEVICE ]
ip link set dev DEVICE
[ { up | down } ]
[ address { LLADDR | factory | random } ]
[ mtu MTU ]
Failed to run ip link set mtu 1280 dev utun1 - exit status 255panic: exit status 255

goroutine 5 [running]:
main.(*clientCmd).Execute.func2(0xc420136080, 0x4, 0x4, 0x4, 0xc420156158)
/Users/brite/go1.10.2/go/gopath/src/github.com/skx/simple-vpn/cmd_client.go:251 +0x83c
github.com/skx/simple-vpn/shared.(*Socket).Serve.func1(0xc4200aa7e0, 0xc420048100)
/Users/brite/go1.10.2/go/gopath/src/github.com/skx/simple-vpn/shared/socketHandler.go:368 +0x51d
created by github.com/skx/simple-vpn/shared.(*Socket).Serve
/Users/brite/go1.10.2/go/gopath/src/github.com/skx/simple-vpn/shared/socketHandler.go:264 +0x118
yudeMacBook-Air:~ brite$

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