Hi.
First off you should not have both wif and LAN on you pi connected to the same network at the same time.
If you have made no changes to your OS ( like static IP ) then plugging in a LAN cable to your pi and your router should establish a connection with access to the web automatically.
Having done that if you still are unable to access the internet, post the results of the following
Code: Select all
ifconfig
route -n
cat /etc/resolv.conf