I attached the ehthernet cable to the raspberryPI but no internet connectivity is there. When I type ifconfig command on the shell no MAC address is visible.
I attached the ehthernet cable to the raspberryPI but no internet connectivity is there. When I type ifconfig command on the shell no MAC address is visible.
What are the LEDs doing? When you plug in the Ethernet cable you should see the RasPi "LNK" LED light up, and a similar LED should light up on your Ethernet switch or router. The "FDX" LED should light if the link is full duplex and the "100" LED (incorrectly labeled 10M on rev 1.0 PC board) should light up if 100 Mb/s.
If you're not getting the LNK LED, there's a problem with the Ethernet cable, the device at the other end of the cable, or the RasPi Ethernet port.
If you are getting the LNK LED but no IP connection, the problem may be that the other device isn't giving RasPi an IP address. With the standard RasPi OS, it used DHCP to get an IP address so there must be a device on the LAN that can act as a DHCP host. Most routers do this by default.
Check the RasPi Troubleshooting wiki for other suggestions.