http://docs.python.org/library/optparse.html New in version 2.3. optparse is a more convenient, flexible, and powerful library for parsing command-line options than the old getopt module. optparse uses a more declarative style of command-line parsing: you create an instance of OptionParser, populate it with options, and parse the command line. optparse allows users to specify options in the [...]
More powerful command line option parser
Debian root password reset
Boot from any emergency boot/root disk set. (SystemCD, rescue cd). If /dev/hda3 is the original root partition, the following will let one edit the password file juist as: #mkdir fixit # lvm vgchange -a y # lvdisplay #mount /dev/debain/root fixit #cd fixit/etc #vi passwd show all dev
Protected: To activate the LVMs in FC4 Rescue Mode
There is no excerpt because this is a protected post.
Ubuntu PXE Install
From C4 Wiki Jump to: navigation, search Contents [hide] * 1 Howto o 1.1 Install services o 1.2 Prepare your tftp server o 1.3 Prepare your dhcp-server o 1.4 Prepare netboot files + 1.4.1 Get and install the files + 1.4.2 pxe bootloader config + 1.4.3 Directory layout o 1.5 Start the PXE client o [...]
Digital Subscriber Line
An Overview of Wiring Requirements to Support Residential DSL Service Digital Subscriber Line (DSL) refers to a set of technologies used to provide broadband services via the existing copper cable plant. One variation of DSL is Asymmetric Digital Subscriber Line or ADSL, which has become very popular for residential internet access. ADSL can provide a [...]
Protected: SFG
There is no excerpt because this is a protected post.
Linux Advanced Routing & Traffic Control HOWTO
http://tldp.org/HOWTO/Adv-Routing-HOWTO/ Exploring your current configuration This may come as a surprise, but iproute2 is already configured! The current commands ifconfig and route are already using the advanced syscalls, but mostly with very default (ie. boring) settings. The ip tool is central, and we’ll ask it to display our interfaces for us. 3.4.1. ip shows us [...]
iperf
iperf is a tool for performing network throughput measurements. It can test either TCP or UDP throughput. To perform an iperf test the user must establish both a server (to discard traffic) and a client (to generate traffic). ======================================= Server side: ./iperf -s Client connecting to 192.168.202.62, TCP port 5001 TCP window size: 16.0 KByte [...]
Netcat useful commands.
In this tutorual will go over the most useful netcat commands. Netcat is a tool that every IT professional should have in their tool box, if you’re responsible for network or systems security, it is essential that you understand the capabilities of netcat. The original version of netcat is a UNIX program. Its author is [...]
Gigabit
Many new workstations and servers are coming with integrated gigabit (define) network cards, but quite a few people soon discover that they can’t transfer data much faster than they did with 100 Mb/s network cards. Multiple factors can affect your ability to transfer at higher speeds, and most of them revolve around operating system settings. [...]
