summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2011-03-07Fix SNMP ifAlias for more than 10 devicesStephen Hemminger
Bug 6853 Handle OID format when ifIndex is 10 or greater. Needed to fix regex parsing. Also allow symbolic OID.
2011-03-03Fix network name scan for wirelessStephen Hemminger
Bug 6818 The regex to extract wireless name was incorrect. Recode for clarity rather than adding more complex regex.
2011-03-02Fix script to handle more than 10 interfacesStephen Hemminger
Bug 6861 Fix submitted by devolish <ole.myhre@dataoppdrag.no>
2011-03-01Warn if attempting to force mask on multiqueue NICStephen Hemminger
Bug 6845 Warn (and ignore) attempt to assign IRQ directly on multiqueuej NIC.
2011-02-25Workaround Xen NIC addressStephen Hemminger
Bug 6837 Xen does not behave like normal hardware. It assigns a random MAC address (with local bit set).
2011-02-25Change where ipv6 route table size is increasedStephen Hemminger
Can't do it early in boot because ipv6 module may not be loaded.
2011-02-25Validate domain and host nameStephen Hemminger
Bug 6243 More complete validation of host name and domain name
2011-02-25Don't set irq affinity if device is disabledStephen Hemminger
Bug 6784 No point in trying to force affinity if device is offline.
2011-02-22Handle Vmware mulitqueue naming conventionStephen Hemminger
Adapt to irq naming convention in 2.6.37 kernel for vmxnet3 driver.
2011-02-21Handle case of device with no active IRQStephen Hemminger
Bug 6784 Disabled device has no IRQ, so don't change it.
2011-02-18Use standard mechanism to start/stop snmpStephen Hemminger
The net-snmp has snmpd.init script which is installed in standard place. Invoke it with standard mechanism to avoid any security or other problems. Also allows debugging snmpd by changing /etc/default/snmp.
2011-02-03Bugfix 6773: Spread load of single-queue NICs across all CPUs.Bob Gilligan
The initial CPU selection function needs to take hyperthreading into account.
2011-02-01Bugfix 6156: Allow time for renaming to complete before running biosdevnameBob Gilligan
It appears that biosdevname can be confused if interface renaming is being performed by other udev worker processes at the same time that it is running. Since vyatta_net_name does protect the body of its code with a lock, we can be sure that no other renaming will be started in other udev worker processes while this one is running in vyatta_net_name. But renaming being performed by other udev worker processes that were triggered by previous executions of vyatta_net_name may still be in progress. This change gives any interface renaming that was called for by previous invocations of vyatta_net_name a chance to complete before we call biosdevname. (cherry picked from commit 9dd41e8481e84bf80fcb0e9c3d7843c8a0b20059)
2011-01-31Fix grammar error in help string.Robert Bays
(cherry picked from commit a943568e64bca73bb2951e968d0cc752d72874ab)
2011-01-31Fix Bug 6696 Internal error for release/renew dhcp interface under op modeMohit Mehta
* do not execute config-mode actions when called from op-mode (cherry picked from commit c385ddc400788eff46f10fea6b57b593607dc290)
2011-01-26Fix vrrp duplicate generation of last sync-group entry.Stig Thormodsrud
(cherry picked from commit 8529fbe7ed23023e936f5c7cab9663007d0476d3)
2011-01-25Fix 6501: "clear vrrp master interface <interface> group <group>" doesnt ↵Stig Thormodsrud
work with sync groups. (cherry picked from commit 34972b97e834d66147e91c071a1c1caabe18f76f)
2011-01-25Pass interface name correctly when deleting dhcpv6Stephen Hemminger
Bug 6726 Typo in vyatta-address script conversion from perl to shell (cherry picked from commit 4a319dd3a0aa95a92067fa677ad2e5d94534044b)
2011-01-24Don't fail if config.boot does not existStephen Hemminger
Bug 6718 On livecd config.boot does not exist yet, so no existing hw-id mappings. (cherry picked from commit 37bbcaef6083a843cb3dd9976854a30ab7cebe16)
2011-01-24Add more debug outputStephen Hemminger
Put more messages in to help debug current problem and future ones (cherry picked from commit 8cc21571cb4efde31f3cf6b58ad8e3d80d4487cf)
2011-01-24Add logging to coldplugStephen Hemminger
Log to file /dev/udev/net-name.log since that is available tmpfs (cherry picked from commit 15ce02d66348ed35308f5813991e171d74561248)
2011-01-24Revert "Add debug logging."Stephen Hemminger
This reverts commit b1af934db367d589cf7c78b84e2181a1e72b2aaf. Loggging to /var/log does not work during boot. The root filesystem is read-only when udev is running this script. (cherry picked from commit 47301dbc029652f97847c9288d58c951db56d916)
2011-01-20Add debug logging.Bob Gilligan
This restores logging that we had in the previous release, which has proven useful in troubleshooting interface renaming problems.
2011-01-20Change for rsyslog reloadStephen Hemminger
Bug 6663 (cherry picked from commit fa7d81f125033b7ed4bd549eb6905918612a6877)
2011-01-20Remove call to tshark during vrrp state transition.Stig Thormodsrud
(cherry picked from commit f2ff192de653b5540c9a3e51cf4d1cf19d527e4e)
2011-01-19Bugfix 6684: Don't delete wanpipe config files.Bob Gilligan
The wanpipe config files are managed by the vyatta-serial package. So this package should not touch them. (cherry picked from commit 256bf73dda76b68fe756c5299b0732336dc60e8a)
2011-01-17Bugfix 6687: Need to explicitly specify the RAID metadata version number.Bob Gilligan
(cherry picked from commit 5de8a194db56c51c9e5541cca43423f11534ffb7)
2011-01-16Bugfix 6156: Policy must be given on command line.Bob Gilligan
In the new version of biosdevname (version 0.3.4), the default policy generates interface names of the form "em1". That's not the naming convention that we use. The "all_ethN" policy does use the traditional ethernet naming convention. (cherry picked from commit f05a91c02e27bb19717ddf8e1ffc07ed7b1bbbc5)
2010-12-22Add more error recovery and disk space checking.Bob Gilligan
2010-12-22Affinity script was failing to configure some queues of multi-queue NICs.Bob Gilligan
The problem was due to incorrect initialization of the $q and $cpu variables. Their initializations were reversed.
2010-12-10Fix 6554: clear vrrp master tab completion results in cli api errorStig Thormodsrud
2010-12-10Fix 6453: After configuring VRRP on interface, VRRP is not active until VRRP ↵Stig Thormodsrud
is manually restared with "restart vrrp" command. - Move all commit checks into script on end node. - Add separate function for conntrack-sync settings. - Do per instance validation at the right priority level. - Verify that the changes file is removed on final transaction.
2010-12-10Fix update of serial speed on all grub linesStephen Hemminger
Bug 6551 Need to handle case where console=ttyS0,9600 is at end of line
2010-12-06Move touch() perl to Vyatta::FileStephen Hemminger
Put function in common code.
2010-12-06Move is_local_address to common codeStephen Hemminger
Now part of lib/Vyatta/Misc.pm module
2010-12-04Set up commit-revisions if configured after init-floppy.Stig Thormodsrud
2010-12-02Mark the Vyatta specific section of inittabStephen Hemminger
2010-12-02Allow more serial console linesStephen Hemminger
Since inittab allows up to 4 characters for id field, allow 1000 entries.
2010-12-02Allow configuring console speed etcStephen Hemminger
Bug 3849, 2289, 4126 Adds configuration of serial console: set system console { device ttyS0 { speed 19200 } device ttyACM0 { speed 57600 type modem } } This covers the cases of deleting serial console, changing speed, and allowing modem console devices
2010-12-02Set group ownership and permissions on /var/run/vyattaStephen Hemminger
Bug 6407 Allow configuration commands to create files in /var/run/vyatta without being root.
2010-12-02Cleanup leftover ipv6_no_fwd filesStephen Hemminger
Need to cleanup breadcrumb files on boot. Fix spellin errors
2010-12-01Speed up install-system progress barStephen Hemminger
The progress bar for copy files is nice but slows down the install because it updates too often
2010-11-30Fix dhcpv6 client scriptStephen Hemminger
Some compile and typo errors. Don't capture output, let it flow through to console. Use exec to get correct error code from dhcpv6 client program.
2010-11-30Remove old code for address insertion/deletion/validationStephen Hemminger
Interface addresses are now checked with other code.
2010-11-30Add duplicate address check on commitStephen Hemminger
Perl is no longer used for syntax checks, instead put duplicate address check into commit.
2010-11-29Automatically configure physical device for wireless interfacesStephen Hemminger
When system is booted with newly detected wireless device, both the hw-id and physical-device need to be setup.
2010-11-29Fix interface scanning on boot - allow more mac addressesStephen Hemminger
The code to match on locally assigned bit had a bad regex. Use conversion to hex and mask instead. Also don't allow multicast address bit.
2010-11-29Fix use of undefined in comparisonStephen Hemminger
The test for mixing dhcp and static ipv4 could cause perl warning from comparing undefined with numeric.
2010-11-29Remove module rather than deleting link deviceStephen Hemminger
The special tunnel device gre0 (etc) are created by module when installed. If the the device is deleted directly then following attempts to create tunnels will fail. The proper way to cleanup is to remove the module which will remove the special device and save memory.
2010-11-24Don't let biosdevname look at wireless devicesStephen Hemminger
Bug 6445 Biosdevname program converts everything to eth devices.