Recent Notes

Displaying keyword search results 1 - 10
Created by Dr. Xi on April 07, 2015 10:20:38    Last update: April 07, 2015 10:20:38
Use the iwconfig command to display the status of the current wifi connection. $ iwconfig wlan3 IEEE 802.11bgn ESSID:"urw...
Created by Dr. Xi on April 07, 2015 10:17:30    Last update: April 07, 2015 10:17:30
Use the iwconfig command to increase the wifi transmission power: $ sudo iwconfig wlan3 txpower 27
Created by voodoo on September 23, 2014 22:33:08    Last update: September 23, 2014 22:36:21
I upgraded Ubuntu to 14.04 (accepted all defaults when prompted), but then the desktop just refused to start. It's flashing black screen and some desktop image. It won't even boot in recovery mode! I booted in command line to troubleshoot. After a day or two playing with it, I decided that might be caused by an incompatible video driver. Some good information is available here: . I copied some text here for reference cause I can't say it better. Determine the PCI ID of the chip: $ lspci -nn | grep VGA 01:00.0 VGA compatible c... Here, the PCI ID is 1002:71c7 . Now look in the PCI ID registry to see which driver is used. (Drop the colon ':' when doing this.) $ grep -i 100271c7 /usr/share/xserver-xorg/pci/*.i......
Created by voodoo on September 23, 2014 21:05:45    Last update: September 23, 2014 21:05:45
Press e at the boot menu to edit the grub cfg, change the end of the " linux /boot/vmlinuz... " line to "text 3": linux /boot/vmlinuz-2.6.32-28- ...... ro te... then press F10 to continue booting...
Created by voodoo on September 21, 2014 14:54:22    Last update: September 21, 2014 22:29:56
Find out the wireless interface name: # ifconfig I don't know if this helps, but it doesn't hurt: # ifconfig wlan0 up Just to see if wifi works, scan for available wireless networks: # iwlist wlan0 scan Connect (replace SSID with actual id and WIFI_KEY with actual key): # iwconfig wlan0 essid <SSID> key s:<WIFI_KEY> This command failed for me with error: Error for wireless request "Set Encode" (8B2A) : ... The reason being that iwconfig expects a WEP key, but my wifi runs WPA. So, I need to run wpa_supplicant . With no patience to find out how to do it the Ubuntu way, I created a conf file for wpa_supplicant : network={ ssid="example" proto=WPA ... But before running my wpa_supplicant , I...
Created by voodoo on August 13, 2014 22:17:56    Last update: August 13, 2014 22:17:56
Actually install-sh existed in the current directory but the execute bit was not on. Alternatively, this command should bring back any missing install-sh : autoreconf -f -i -Wall,no-obsolete
Created by woolf on June 29, 2014 17:55:44    Last update: June 29, 2014 17:55:44
This is the command: $ git remote show origin
Created by Dr. Xi on April 15, 2014 12:03:45    Last update: April 15, 2014 12:03:45
To show the file type identified by vim for the file you are currently editing, type " :set filetype " in vim command. From vim Help, this is how vim identifies file type: Detail: The ":filetype on" command will load one o...
Created by Dr. Xi on April 15, 2014 11:32:50    Last update: April 15, 2014 11:32:50
You can set (shell) environment variables $VIM and $VIMRUNTIME and vim will honor them. But there are default values that vim takes if you don't set them. Here are some methods to find the default values. Enter :verson vim command. It displays all compilation flags used to compile vim, including "fall-back for $VIM". Enter :set runtimepath vim command (or shorthand :set rtp ) Run this command in shell: vim -e -T dumb --cmd 'exe "set t_cm=\<C-M>"|echo $...
Created by voodoo on December 12, 2013 13:19:42    Last update: December 12, 2013 13:19:42
You can use the command locate to find files on a Linux box. For example, find : $ locate
Previous  1 2 3 4 5 6 7 8 9 10 Next