Could you provide us with more information? e.g. what kind of errors do you get? I assume this is some sort of connectivity error, so kindly provide the contents of
file content of /etc/network/interfaces
file content of /etc/resolv.conf
output of ip route
can you ping hosts on the internet? e.g. ping 1.1.1.1, ping www.google.com