Skip to content

Instantly share code, notes, and snippets.

@jonleopard
Last active October 1, 2018 21:36
Show Gist options
  • Save jonleopard/ad1736f78fdcaa1191775dbb80c6ce39 to your computer and use it in GitHub Desktop.
Save jonleopard/ad1736f78fdcaa1191775dbb80c6ce39 to your computer and use it in GitHub Desktop.
script_orange_eth0
#!/bin/vbash
source /opt/vyatta/etc/functions/script-template
configure
set interfaces ethernet eth0 vif 832 dhcp-options client-option "send vendor-class-identifier "sagem";"
set interfaces ethernet eth0 vif 832 dhcp-options client-option "send user-class "\053FSVDSL_livebox.Internet.softathome.Livebox4";"
set interfaces ethernet eth0 vif 832 dhcp-options client-option "send rfc3118-auth 00:00:00:00:00:00:00:00:00:00:00:1a:09:00:00:05:58:01:03:41:01:0d:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx;"
set interfaces ethernet eth0 vif 832 dhcp-options client-option "request subnet-mask, routers, domain-name-servers, domain-name, broadcast-address, dhcp-lease-time, dhcp-renewal-time, dhcp-rebinding-time, rfc3118-auth;"
set interfaces ethernet eth0 vif 832 egress-qos "0:0 1:0 2:0 3:0 4:0 5:0 6:6 7:0"
commit
save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment