If you are going to use a portable generator to power part of your house, the recommended and safest method is to install a "Transfer Switch".  With it, there is no danger of feeding back into the power system.  As I recall, they sell for about $100.  I see them for sale frequently on eBay. Do a search on eBay for "GENERATORS".  The transfer switches are usually mixed among the listed generators.  
_________________________
"The more I carry, the less I need."