Bring a pot of water to a boil for the pasta.
Heat a large skillet with olive oil, 3 turns of the pan, over medium-high heat. Add pancetta or bacon and render 2-3 minutes; add onions and garlic, season with salt and pepper and stir 2-3 minutes more. Add wine and reduce heat to a simmer.