ip - Ethernet port on Linux machine not recognizing ethernet connection with embedded device
2014-07
I have an atmel at91sam7x256 microcontroller that I would like to use for a TCP/IP communication. The very first step of my project is to be able to "ping" my board given its IP address. I have its IP address but the problem is that my Linux machine's ethernet port doesn't blink, therefore doesn't recognize, when I insert the ethernet cable connected to my board.
I am wondering what I might be able to do to fix this problem. This is the first time that I'm connecting my microcontroller to my machine so maybe there is some sort of configuration I must do prior to the connection.
For what it's worth, there is no problem with my machine's ethernet port because I've already connected other boards through ethernet to the same port.
I would appreciate any help!
I encounter a problem when configure the connection. My computer resides in a LAN, I want to assign it a static IP address.
Thus with the help of port mapping on the router, I will be able to access my box from outside.
I modified the configuration file /etc/sysconfig/network-scripts/ifcfg-eth0
and ifconfig
shows a static IP 192.168.1.120
has already been bound to my machine. From another computer in the same LAN, I can ping 192.168.1.120
but fail to access the HTTP server on 192.168.1.120
(sure the HTTP service is up).
What may be the problem?
Based on your description you are most likely on Redhat/Fedora/CentOS system. If you are on these system goto shell and type ntsysv and select the firewall configuration. You need to allow http in the firewall. I'm sure you can do the same via GUI tool in GNome.