1

I'm working with one Raspberry Pi2 connected to the wifi net (dongle) and one AXIS camera connected via ethernet.

The raspberry has a Static IP and also the camera.

Raspberry: 10.76.80.30 Camera: 192.168.2.110

On the camera there is a software developed by Axis useful to count the people, I can retrive the counter from the internal camera counter with a http request.

I've recently upgraded the operative system on the raspberry (Raspbian) and now the camera is not working, I can't ping it and I can't reach it, but the configuration file are the same as before because I've modified all of them.

Can someone helps me? please.

/etc/network/interfaces --> file configuration

auto lo
iface lo net loopback
iface eth0 inet static
address 192.168.2.10
netmask 255.255.255.0

auto wlan0
allow-hotplug wlan0
iface wlan0 inet static
address 10.76.80.30
netmask 255.255.252.0
gateway 10.76.83.254
   wpa-ssid Test
   wpa-psk testpassword
   epa-scan-ssid 1
macco
  • 41
  • 1
  • 1
  • 4

1 Answers1

2

Since you have upgraded the RPi, camera configuration most probably didn't change (though I would still check if I can ping it from another computer). I suggest you check that the configuration in /etc/network/interfaces is effective by running

ip addr show dev eth0

It should say along the lines

inet 192.168.2.10/24 brd 192.168.2.255 scope global eth0

If you don't get this line, the issue in the RPi. You might want to check the driver used with the Ethernet chip, any network managers or custom scripts that could interfere, and so on.

If you get this line, the issue is likely elsewhere. Check your cables, your router configuration (if any) and the camera.

Dmitry Grigoryev
  • 28,277
  • 6
  • 54
  • 147