How to modify MAC address on Ubuntu

I take my laptop to a friend's home yesterday,his internet connection is  wired connection which the MAC and IP are binded,so I couldn't connect to internet with my laptop at his home unless I modify my laptop's MAC address .I'd never modified the MAC on Ubuntu before,then after I googled and googled,finally I found the ways to modify the MAC on Ubuntu. There are 2 ways to modify the MAC address on Ubuntu :~

Creative Commons License's blog posts is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License