Coder Social home page Coder Social logo

Comments (5)

TIS-Stefan avatar TIS-Stefan commented on June 16, 2024

Hello

Did you configure the camera' and network controller's IP addresses correctly? Please have a look at
https://wiki.theimagingsource.com/index.php/Configure_GigE_Camera_IP_Addresses_in_Linux
and
https://wiki.theimagingsource.com/index.php/Gige_Camera_is_not_available

Stefan

from tiscamera.

DigitalRowlet avatar DigitalRowlet commented on June 16, 2024

Thank you for your response, but it seems that it didn't work. I tried the commands from the wiki:

sudo sysctl -w net.ipv4.conf.enp2s0.rpfilters=0
sudo sysctl -w net.ipv4.conf.enp7s1.rpfilters=0
sysctl: cannot stat /proc/sys/net/ipv4/conf/enp2s0/rpfilters: No such file or directory

Then I attempted to modify the '/etc/sysctl.conf' file:

(base) wk@wk-HP-ZBook-Fury-17-3-inch-G8-Mobile-Workstation-PC:~$ ifconfig
enp0s31f6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 5c:60:ba:b8:08:e6  txqueuelen 1000  (以太网)
        RX packets 6  bytes 1062 (1.0 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 190  bytes 34997 (34.9 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16  memory 0x6ed80000-6eda0000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (本地环回)
        RX packets 93281  bytes 32870119 (32.8 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 93281  bytes 32870119 (32.8 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp0s20f3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.37.136.105  netmask 255.255.0.0  broadcast 10.37.255.255
        inet6 fe80::a608:429c:a68f:e183  prefixlen 64  scopeid 0x20<link>
        ether a0:59:50:9b:ab:5e  txqueuelen 1000  (以太网)
        RX packets 14197  bytes 12281478 (12.2 MB)
        RX errors 0  dropped 12  overruns 0  frame 0
        TX packets 13500  bytes 5425438 (5.4 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

(base) wk@wk-HP-ZBook-Fury-17-3-inch-G8-Mobile-Workstation-PC:~$ sudo nano /etc/sysctl.conf
(base) wk@wk-HP-ZBook-Fury-17-3-inch-G8-Mobile-Workstation-PC:~$ sudo sysctl -p
net.ipv4.conf.enp0s31f6.rp_filter = 0
(base) wk@wk-HP-ZBook-Fury-17-3-inch-G8-Mobile-Workstation-PC:~$ tcam-gigetool list

No cameras found.

However, even after these steps, the camera still couldn't be detected. Did I miss something?

from tiscamera.

TIS-Stefan avatar TIS-Stefan commented on June 16, 2024

Hello

"enp2s0" and "enp7s1" are names of network connections. These are samples, as they are on your computer. Your ifconfig output shows, your networks have different names: "enp0s31f6" and "wlp0s20f3". I would guess, the camera is connected to "enp0s31f6", but this controller uses an IV v6 not v4 address.

Is the camera powered? Do your use

  • an external power supply or
  • a 1GB PoE Injector or
  • a 1GBs ethernet switch ?
    Do the LEDs light on the camera's RJ45 jack, as mentioned in the linked knowledbase?

Stefan

from tiscamera.

DigitalRowlet avatar DigitalRowlet commented on June 16, 2024

The camera is indeed connected to "enp0s31f6", and I've already modified its properties as follows:

(base) wk@wk-HP-ZBook-Fury-17-3-inch-G8-Mobile-Workstation-PC:~$ sysctl net.ipv4.conf.enp0s31f6.rp_filter
net.ipv4.conf.enp0s31f6.rp_filter = 0

Regarding the connection setup, the camera is connected directly to the Ethernet port of my laptop. Both LEDs on the camera's RJ45 jack and on the laptop are lit correctly. Furthermore, when I switch the laptop's operating system to Windows, the camera works perfectly fine.

Could you please advise on the specific steps I should take next?

from tiscamera.

TIS-Stefan avatar TIS-Stefan commented on June 16, 2024

Hello

"enp0s31f6" must support IPv4 protocol. Your ipconfig output says, it has IP v6 only. Thus, please change or add this configuration on your Linux.

from tiscamera.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.