Avatar of asugri
asugri
 asked on

utuntu cannot access Internet

We got three similar Vista machines.  Two were installed with ubuntu dual-boot (desktop 11.04 64-bit amd64).  We have to swap hard drives between single-boot Vista and one of the dual-boot Viata/ubuntu*.  Now the ubuntu* with a different board (and built-in network card) cannot access to the Internet.  
Additional info:
1. I compare network setting between this problematic ubuntu* with another good ubuntu but cannot find any difference except assigned IP.  Changing ubuntu* setting to DHCP did not help.
2. ubuntu* can still ping other machines.  Itself can be pinged as well.
3. ubuntu* only has one network card.  Its network setting shows eth0 and eth1. ifconfig command on ubuntu* displays eth1 with correct Ethernet HWaddr and presumably correct IP address (fixed or dynamic).
4. ubuntu* eth0 keeps appearing after reboot even if I rename it to a different name such as eth0_ori.  After reboot, network setting shows eth0, eth1 and eth0_ori.
 
What should I do to make ubuntu* accessing Internet.
Linux Distributions

Avatar of undefined
Last Comment
asugri

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
R_Edwards

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
asugri

ASKER
It works with the followings:

/etc/network/interfaces

auto lo
iface lo inet loopback

auto eth1
iface eth1 inet static
   address 192.168.1.107
   netmask 255.255.255.0
   gateway 192.168.1.1
   dns-nameservers 204.130.255.3,209.63.0.6
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck