ubuntu cannot see my LAN card

i changed my PC from old to new one, apparently it cannot connect to INTERNET. firstly i think it’s because of cannot see driver of the PC, so u changed to the older one.

but it still cannot see internet.

i found from

lspci

i checked several time and found that the ethernet port that should be eth0 change to p1p3

for this time i found
http://blogs.bu.edu/mhirsch/2012/12/ubuntu-12-10-renaming-ethernet-interfaces-from-p1p1-to-eth0/

changed, p1p3 to eth0 help me best here.

Here’s how to rename your network card in Ubuntu

  1. Get your ethernet card MAC address: ifconfig | grep HWaddr
    keep it handy (open a new Terminal window for following steps)
  2. cd /etc/udev/rules.d
  3. backup your file: cp 70-persistent-net.rules 70-persistent-net.rules.bak
  4. edit your file: sudo nano 70-persistent-net.rules
  5. very carefully type: SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="xx:xx:xx:xx:xx:xx", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
    where the xx:xx:xx are your MAC HWAddr from Step 1
    Type this all as one big long line, then save and exit.
  6. edit /etc/network/interfaces to refer to eth0 instead of p1p1 or whatever [thanks Konstantin]
  7. reboot
  8. login and type ifconfig to confirm your network adapter is at eth     “