I cannot stay away from Terminal. :| So I was setting up a debian box inside my Windows installation. I downloaded a net installation image of Debian 6.0.3 (debian-6.0.3-i386-netinst.iso) and booted into it in VirtualBox. Well, while installing it, VB was in NAT mode and I didn't notice that. So the installer configured the OS according to NAT mode and I had the network connection after I logged in. But as I wanted to run few server applications, I needed the OS to use a bridged connection. So I opened the network configuration of VB, changed it to Bridged Adapter mode, selected by adapter, hit Ok, then restarted the network service in the box and tried to ping google. But got error. The network wasn't working. Fired up Google, but after few searches, I landed on the conclusion that it was the basic network configuration that I needed to follow. :| i.e. Following commands - [bash] sudo  ifconfig eth0 netmask sudo route add default gw  eth0 #Now restart networking sudo /etc/init.d/networking restart [/bash] That did the trick.

Bibhas Debnath

iambibhas bibhasdn


blog comments powered by Disqus