Ubuntu 14.04 Bonding is Bonkers

It took reading through this launchpad bug to find ideas on how to get a bonding interface working on Ubuntu. This is dumb and why people hate computers: could they at least have provided a more useful syntax or better warning messages?

auto eth7
allow-bond0 eth7
iface eth7 inet manual
   bond-master    bond0
   mtu            9000

auto eth8
allow-bond0 eth8
iface eth8 inet manual
   bond-master    bond0
   mtu            9000

auto bond0
iface bond0 inet static
   address        10.52.0.1
   netmask        255.255.255.0
   network        10.52.0.0
   gateway        10.52.0.2
   bond-slaves    eth7 eth8
   bond-mode      balance-rr
   bond-miimon    100
   bond-downdelay 200
   bond-updelay   200
   mtu            9000
   use-carrier    1
   pre-up (sleep 2 && ifup eth7) &
   pre-up (sleep 2 && ifup eth8) &

And you want to make sure all interfaces are down. Then rmmod bonding. At this point, ifup bond0 should complain a bit but it should work.

Advertisements

Emulating Web Browsers

Here’s a tedious task for you to consider. When you log-in to your favorite website these days, you’re creating a JSON document and posting it to the service you’re logging into. Long gone are the days when you just posted simple form parameters from a whole post. I work on an emulation platform: one of our features is to use Perl to emulate hundreds of users logging into a captive portal. This requires an economy of memory and time: creating hundreds of “firefox -p ~/.cache/firefox/xzf30d.userprofile” profile sessions is clearly not:

  1. memory efficient
  2. bound to specific network interfaces
  3. time efficient
  4. scriptable

So we use Perl. This requires reading through the F12 -> Networking tab of your browser’s debugging window and emulating the AJAX post to login. Fun once. Wouldn’t want to live there.

customer-tedium

Network Cards Suck

At least, on consumer motherboards.  I have a 4ghz Haswell on a Asus z97 mobo. Wanted to reboot it to check on fan profiles.  Realized it was not letting me into uefi BIOS and when it would get there my mouse was all locked up. Now I’m in a situation where I need to make sure my workstation actually works correctly.   Cold boot doesn’t help. Different BIOS key F2 doesn’t help. Pull power cord and pull bios power jumper. Didn’t help. Finally pulled the two Intel i840 cards.

Bounced into the BIOS straight away and nothing was amiss.

Anyhow, I think the system should run cooler now.

Pogoplug now running hostapd

I was not anticipating it not being able to reach channel 11, so I set it to channel 1. Also, it cannot do 802.11n, so I set it to 802.11g. My cell phone seems to be able to use it.

Also, for some reason, my pogoplug syncs up to the same switch better than my laptop does. Using iperf on my laptop, I get a max of 95Mbps, yet on my pogoplug I get 180Mbps over the LAN. That is just too wierd.

Why are Cisco Network Symbols So Stupid?

I have a real beef with the glyphs used by Cisco for network equipment. Not only is there no intuitive meaning to boxes, extruded boxes, arrows and stars. Granted, there are not many good English words with which to describe the distinction between a router and a switch. But these are networking and inter-networking concepts, and those are the salient distinctions. Obviously, Cisco prolonging this opaque codex of symbols because these symbols represent mostly their own products, and not concepts. I think these symbols are fatuous compared to what the desktop and mobile markets have developed in terms of symbology. The former appears to have very little basis in symbolic anthropology. Just check out this google search for ‘cisco network switch symbol’:

http://tinyurl.com/ngl3gw5