Posts

Showing posts from October, 2012

ARM on Linux

Quote: ACK packets and Quality of Service (qos)

"When you download, your computer needs to send (upload) ACK packets. These are basically saying "yep, I got that part of the download OK". If the computer you are downloading from detects that an ACK has not been received, it assumes that the data was not received and sends it again. The rate at which ACKs are sent back is also used to help determine the maximum speed that you can download data at, so it's important that ACKs get sent as soon as possible and don't get dropped in order to keep your downloads flowing fast. Also, repeatedly dropped ACKs can result in dropped connections, web page time-outs etc."

sed with the capital E option on the Linux CLI

No, you are not crazy, sed on Linux has a secret, BSD compatible option, -E that is equivalent to -r.

Change default text editor for crontab to vim

sudo update-alternatives --config editor

ARP mechanism

Computers Matterhorn and Washington are in an officeconnected to each other on the office local area network by Ethernet cables and network switches, with no intervening gateways or routersMatterhorn wants to send a packet to WashingtonThrough other means, it determines that Washington's IP address is 192.168.0.55. In order to send the message, it also needs to know Washington's MAC address. First, Matterhorn uses a cached ARP table to look up 192.168.0.55 for any existing records of Washington's MAC address (00:eb:24:b2:05:ac). If the MAC address is found,it sends the IP packet on the link layer to address 00:eb:24:b2:05:ac via the local network cabling. If the cache did not produce a result for 192.168.0.55, Matterhorn has to send a broadcast ARP message (destination FF:FF:FF:FF:FF:FF) requesting an answer for 192.168.0.55. Washington responds with its MAC address (00:eb:24:b2:05:ac). Washington may insert an entry for Matterhorn into its own ARP table for future use.The…

No http on port 2812 for monit

FAIL!

set httpd port 2812 and use the address localhost
  allow localhost

Problemmonit doesn't listen on port 2812even though it is clearly in the config file Possible issuesIs there a "delay" set in your config?monit won't listen until this delay has passedSolutionWait, usually a minute by default, and check the port againGet rid of the delay in the config and restart monit