emacs cheat sheet

Proyentos Aissientementos:

emacs cheatsheet

Information contained in these documents was obtained from www.sourceforge.net

emachs cheatsheet page 2Musho gushto a ethtos tiempos vargath por fabol.  A personaheis verdayes pord tothos usteth.  Bayasc con dios.  Keen thiempos.


Troubleshooting network connectivity

Having trouble with my network connection.  Packet loss is about %70 and is spread over a variety of network addresses.  Very frustrating.  Plagued by intermittent disconnects etc.

For instance, ping of my dns server has %85 packet loss.  Insane!

--- --.--.--.-- ping statistics ---
28 packets transmitted, 4 received, 85% packet loss, time 27003ms
rtt min/avg/max/mdev = 22.152/29.321/41.469/7.271 ms

In order to troubleshoot this issue, I need:

  • a map of my home network
  • to locate dropped packets
  • map destinations of entertainment devices
  • repair server connection to router
  • figure out why there is lag at those points

Looks like a long night.  Ran mtr on my dns server and got:

mtr-1So it looks like a DNS server issue.  I change the DNS server, replace the modem, and everything works fine…except now for some reason, my laptop won’t connect wirelessly.  New problem.  New article.


realtek RTL8188CE wireless card activation

OpenSUSE 11.4 installation doesn’t recognize rtl8188ce wireless network card.  This post describes system messages and attempts at getting it recognized.

After install completes, I add kernel-firmware in yast and run zypper update, which results in  479 mb download.  Upgrades to kernel-desktop-  Last time, this resulted in an unbootable system, so we’ll see.

I got a wicked nasty headache right now.  sheesh.

lspci shows the following entry:

07:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)

dmesg shows the following output for pci bus 7:00:

[    0.259959] pci 0000:07:00.0: [10ec:8176] type 0 class 0x000280
[    0.259988] pci 0000:07:00.0: reg 10: [io  0x2000-0x20ff]
[    0.260043] pci 0000:07:00.0: reg 18: [mem 0xf0100000-0xf0103fff 64bit]
[    0.260143] pci 0000:07:00.0: supports D1 D2
[    0.260149] pci 0000:07:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.260159] pci 0000:07:00.0: PME# disabled

Yast correctly shows the wired network controller as RTL8101E/RTL8102E fast ethernet controller (eth0). ifconfig confirms that it is operating correctly and that the wireless nic is not.

hardware output from control panel shows the following information for the device:

28: PCI 700.0: 0280 Network controller
  [Created at pci.318]
  Unique ID: aK5u.hjRyffZLXVC
  Parent ID: qTvu._YnTqJrwYv4
  SysFS ID: /devices/pci0000:00/0000:00:1c.1/0000:07:00.0
  SysFS BusID: 0000:07:00.0
  Hardware Class: network
  Model: "Realtek Network controller"
  Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
  Device: pci 0x8176 
  SubVendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
  SubDevice: pci 0x8184 
  Revision: 0x01
  I/O Ports: 0x2000-0x2fff (rw)
  Memory Range: 0xf0100000-0xf0103fff (rw,non-prefetchable)
  IRQ: 11 (no events)
  Module Alias: "pci:v000010ECd00008176sv000010ECsd00008184bc02sc80i00"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #17 (PCI bridge)

I fire up yast and install kernel-source in order to provide kernel headers and download the latest wireless-backport from kernel.org. Then open up a terminal in the extracted directory and run the following commands:

./scripts/driver-select rtlwifi
make install

rtl8192ce is the PCI-E driver for RTL8192CE/RTL8188CE devices at http://wireless.kernel.org. Then:

sudo modprobe -l | grep rtl8192

Everything appears to be working properly. I disconnect network cable and reboot…Success!

openSUSE installation without CD

This article describes the process of adding openSUSE to a server that already has Ubuntu 10.4 LTS installed without using a CD.

First, download the Network installation file from the SUSE website.  After extracting file to a location on hard drive, I install to a flash drive.

Flash drive was previously used with UNetbootin, so it is set to bootable.  Comes up normally during boot process but requires manual location of initrd and kernel.  Installation fails out and starts manual installation process.  Use network install with http protocol and

  • directory=/distribution/12.3/repo/oss/
  • server ip=

Installation runs normally using free hard drive and existing swap partitions.

With this installation, /boot/grub/grub.cfg points to /etc/grub.d/40_custom as the appropriate place to add new entries, and /usr/sbin/grub-mkconfig as the file which will generate a good grub menu once all editing has taken place.

Add the following lines to 40_custom and generate grub menu:

  • title openSUSE installation
  • kernel (hd1,1)/boot/x86_64/loader/linux initrd=initrd.gz root=/dev/rd/3 acpi=on vga=791 splash=verbose fstab=rw,auto
  • initrd (hd1,1)/boot/x86_64/loader/initrd.gz

Installation completes and boots, without going to level 3.  Unable to determine cause for now.

Install complete 11.4 version dvd to flash drive and reinstall.  Installation proceeds much quicker, reboots without prompting.  Grub balks several times before continuing.  Automatic setup appears to operate properly except unable to locate installation media.  Login screen appears…babooom!  Green striped desktop.  Touchdown for the good guys.

With working desktop, login facilities, etc.  network unreachable.  Set-up firewall via GUI, network interfaces.  Run yast.  Bunch of stuff to update.  Processor load is much MUCH lower.  yay!

Uninstalled tracker because it ate up most of my memory.

processor load

Next goals:

  • set-up netbook
  • gather personal files to flash drives
  • transfer my program to open drive
  • maximize harvesting
  • clarify link reaping and summarize