Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file transfer #11

Open
citarone opened this issue Dec 29, 2023 · 4 comments
Open

file transfer #11

citarone opened this issue Dec 29, 2023 · 4 comments

Comments

@citarone
Copy link

citarone commented Dec 29, 2023

"When attempting to execute this command at step 7, I consistently encounter an error stating:

Ncat: Connection refused by the target computer.

I've exhausted various troubleshooting steps, such as opening ports and disabling the firewall, yet the issue persists."

(AI used for translation) sorry

@seichter
Copy link

seichter commented Jan 6, 2024

Kind of similar problem. Used @ErikAndren custom 1.03 firmware image. This seemed successful, in recovery mode I can load the SystemConfig.ini site. However, netcat uploading seems not to work. Any hints what to look for?

Update: as OpenBSD nc and ncat are similar I tried the later I get the same error as @citarone - @ErikAndren has not switched on Issue tracking in GH, hence we are asking here.

@ErikAndren
Copy link
Contributor

Sorry. I will try to look into this shortly.

@ErikAndren
Copy link
Contributor

Hi I've updated my repository now. Somehow I managed to forget to include the script invokes netcat on the camera.
Please retest.

@seichter
Copy link

seichter commented Jan 11, 2024

Thanks for looking into this so fast. I flashed the updated firmware from your repo. Unfortunately, not working yet.

[hartmut@homeworkstation dlink-DCS6100LH]$ ncat 192.168.0.20 8001 < SystemConfig.ini
Ncat: Connection refused.
[hartmut@homeworkstation dlink-DCS6100LH]$ curl 192.168.0.20/SystemConfig.ini
[System]
TimeZone = 0
VideoMode = 0
bFlip = 0
bMirror = 0
Rotate = 0
IrcutEnable = 1
InVol = 100
OutVol = 100
IrledDisable = 0
...

Quick addition nmap cannot see the port ...

[hartmut@homeworkstation dlink-DCS6100LH]$ sudo nmap -sUV -F  192.168.0.20
Starting Nmap 7.94 ( https://nmap.org ) at 2024-01-11 23:12 CET
Nmap scan report for 192.168.0.20
Host is up (0.028s latency).
Not shown: 99 closed udp ports (port-unreach)
PORT   STATE         SERVICE VERSION
67/udp open|filtered dhcps
MAC Address: B0:C5:54:60:38:D8 (D-Link International)

Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 213.76 seconds

Update: paging @ErikAndren - it would be great if you could document how you build your alternative FW ... maybe somebody can chip in and help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants