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 Advertisements

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


Posted in ubuntu | Tagged | Leave a comment

Tools on Ubuntu   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 upstart cookbook How to disable a service example: 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@, then it will prompt for DOMAIN and password. to umount: gvfs-mount -u smb://victor.yang@ smbfs sudoapt-get installsmbfs smbclient //$ -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) NetworkManager Restart network-manager: sudo service network-manager restart

Posted in network, ubuntu | Leave a comment