summaryrefslogtreecommitdiff
path: root/scripts/vyatta-interfaces.pl
AgeCommit message (Collapse)Author
2010-06-15Remove sudo from ip commandStephen Hemminger
No longer need sudo on ip because of cap_net_admin
2010-06-07Add skip option to vyatta-interfacesStephen Hemminger
Used to skip the existing interface name when doing mirror/redirect
2010-05-26Move DHCPv6 client configuration to this package and restructre parameters.Bob Gilligan
2010-04-05Merge branch 'larkspur' of vm:git/vyatta-cfg-system into larkspurStephen Hemminger
2010-04-05Ignore errors from ethtool when setting speed/duplexStephen Hemminger
Many virtual devices don't implement speed/duplex, so just ignore any errors.
2010-04-05Use 3 arg openStephen Hemminger
This fixes perlcritic warning because of using 2 arg open. The other form puts pipe as method.
2010-04-02Fail gracefully if path is unknownStephen Hemminger
If device is ppp but not in Vyatta config, the configuration path will be undefined. So have script give reasonable error rather than perl undefined variable message.
2010-03-17Handle devices that do not report ethtoolStephen Hemminger
Some devices might not report ethtool settings, but still allow ethtool configuration of speed/duplex. Bug 5466
2010-02-16Use die function for failuresStephen Hemminger
die prints to standard error, so any interface failures show up in error file during boot, rather than being lost in trace messages.
2010-02-16Add syntax check for vif name where non-vif expectedStephen Hemminger
Bug 5331
2009-12-23Handle default of autoStephen Hemminger
If device doesn't support speed/duplex, then speed = auto which is default is okay.
2009-12-22Fix return of dhcp start client.Stephen Hemminger
2009-12-21Don't allow setting speed/duplex if hardware doesn't support itStephen Hemminger
Bug 4994 If hardware does not have ethtool interface to allow setting speed/duplex, then do not allow user to commit change.
2009-12-21Move interface support from vyatta-cfg to vyatta-cfg-systemStephen Hemminger
All the other interface types are in vyatta-cfg-system, only loopback and ethernet were in vyatta-cfg