Category Archives: ubuntu

how to check DNS and DHCP on ubuntu

nmcli dev list iface eth0 | grep IP4 nmcli dev list iface eth0 | grep dhcp nmcli dev status nmcli nm status nmcli con status nm-tool

Posted in dns, nmcli, ubuntu | Tagged | Leave a comment

hotshots

http://ubuntuportal.com/2013/06/take-a-screenshot-and-edit-them-in-ubuntu-desktop-with-hotshots.html

Posted in ubuntu | Tagged | Leave a comment

Tools on Ubuntu

http://livestreamer.tanuki.se/en/latest/   livestreamer command line CD Ripping: asunder DVD Rippting: handbrake id3tag editor: puddletag ffmpeg: converter install ffmpeg on Ubuntu

Posted in multimedia, ubuntu | Tagged | Leave a comment

install kivy on ubuntu 12.04

sudo apt-get install mesa-common-dev freeglut3-dev pip install cython pip install kivy

Posted in kivy, ubuntu | Tagged | Leave a comment

upstart vs System V init

  Most valuable reference http://askubuntu.com/questions/198794/how-do-i-choose-which-way-to-enable-disable-start-stop-or-check-the-status-of upstart cookbook http://manpages.ubuntu.com/manpages/precise/en/man5/init.5.html How to disable a service http://upstart.ubuntu.com/cookbook/#disabling-a-job-from-automatically-starting example:http://www.gaggl.com/2012/06/disable-services-on-boot-ubuntu-12-04/ How to check running service (System-V style) initctl list, bum (GUI) (System-V style) chkconfig –list (System-V style) service –status-all (? is upstart job)

Posted in centos, chkconfig, ubuntu, upstart | Tagged | Leave a comment

mount windows share from Ubuntu

gvfs-fuse sudo apt-get install gvfs-fuse dpkg -L gvfs-fuse gvfs-mount -l gvfs-mount smb://victor.yang@192.168.1.100/reuters-data/, then it will prompt for DOMAIN and password. to umount: gvfs-mount -u smb://victor.yang@192.168.1.100/reuters-data/ smbfs sudoapt-get installsmbfs smbclient //test-https.blah.net/ipc$ -U id -Wdomain sudo mount -t cifs //remote_windows/share $ $HOME/windows -o user=uid,dom=office

Posted in smb, ubuntu | Leave a comment

nmcli Network-Manager nmtool

nm-tool to display network-manager status nmcli con down id VPN_CONN_NAME nmcli con up id VPN_CONN_NAME nmcli con automation with nmcli To automatically connect “nmcli con up id VPN_CONN_NAME” in .profile (upon login) http://linoxide.com/linux-command/nmcli-tool-red-hat-centos-7/ NetworkManager http://en.wikipedia.org/wiki/NetworkManager Restart network-manager: sudo service network-manager restart

Posted in network, ubuntu | Leave a comment