{"action":"created","issue":{"url":"https://api.github.com/repos/scottlamb/hikvision-tftpd/issues/3","repository_url":"https://api.github.com/repos/scottlamb/hikvision-tftpd","labels_url":"https://api.github.com/repos/scottlamb/hikvision-tftpd/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/scottlamb/hikvision-tftpd/issues/3/comments","events_url":"https://api.github.com/repos/scottlamb/hikvision-tftpd/issues/3/events","html_url":"https://github.com/scottlamb/hikvision-tftpd/issues/3","id":271746046,"number":3,"title":"support models that expect a different IP and filename","user":{"login":"hunsheridan","id":16591436,"avatar_url":"https://avatars0.githubusercontent.com/u/16591436?v=4","gravatar_id":"","url":"https://api.github.com/users/hunsheridan","html_url":"https://github.com/hunsheridan","followers_url":"https://api.github.com/users/hunsheridan/followers","following_url":"https://api.github.com/users/hunsheridan/following{/other_user}","gists_url":"https://api.github.com/users/hunsheridan/gists{/gist_id}","starred_url":"https://api.github.com/users/hunsheridan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hunsheridan/subscriptions","organizations_url":"https://api.github.com/users/hunsheridan/orgs","repos_url":"https://api.github.com/users/hunsheridan/repos","events_url":"https://api.github.com/users/hunsheridan/events{/privacy}","received_events_url":"https://api.github.com/users/hunsheridan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2017-11-07T08:27:12Z","updated_at":"2017-11-09T08:10:46Z","closed_at":null,"author_association":"NONE","body":"Hey,\r\nFirst of all, thank you for taking the time to develop this. I very, very much appreciate it... I was very relieved when I found it. :)\r\n\r\nI'm trying to de-brick a hikvision DS-7608HI-ST/A for a friend. He tried to upgrade the thing, and... you know, the old story, he ended up installing the bad firmware version. Anyway...\r\nI read on forums that it's possible to do this (upload a correct firmware file) via TFTP.\r\nI use Fedora. I followed the - very simple - instructions given, also disabled my firewall to make sure all is working properly.\r\nCurrent interface configuration:\r\n```\r\nenp0s31f6:0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\r\n        inet 192.0.0.128  netmask 255.255.255.0  broadcast 192.0.0.255\r\n        ether 1c:1b:0d:82:64:89  txqueuelen 1000  (Ethernet)\r\n        device interrupt 16  memory 0xdf000000-df020000\r\n``` \r\nSo I connected the device to my LAN swtich (tried direct also!), powered the device on, and waited for something to happen...\r\nWell, nothing really does happen. I started the python script like so:\r\n```\r\n[root@raptor hikvision-tftpd]# ./hikvision_tftpd.py\r\nServing 26066596-byte digicap.dav (block size 512, 50912 blocks)\r\n```\r\n... but nothing happens - it's just sitting there, even after many reboots, turnoffs, etc...\r\nAll I can see is that the RX/TX lights on my switch are blinking somewhat, there's definitely a correct link on the port... but nothing else.\r\n\r\nI really don't mean to abuse your helpfulness, and I realize that this problem may or may not have to do anything at all with the tool you wrote - but could you give me a hint as to what may be wrong? Frankly, I'm at a loss here.\r\n\r\nThank you so much for any help you could give me.\r\n\r\nLevente"},"comment":{"url":"https://api.github.com/repos/scottlamb/hikvision-tftpd/issues/comments/343078021","html_url":"https://github.com/scottlamb/hikvision-tftpd/issues/3#issuecomment-343078021","issue_url":"https://api.github.com/repos/scottlamb/hikvision-tftpd/issues/3","id":343078021,"user":{"login":"scottlamb","id":8949524,"avatar_url":"https://avatars3.githubusercontent.com/u/8949524?v=4","gravatar_id":"","url":"https://api.github.com/users/scottlamb","html_url":"https://github.com/scottlamb","followers_url":"https://api.github.com/users/scottlamb/followers","following_url":"https://api.github.com/users/scottlamb/following{/other_user}","gists_url":"https://api.github.com/users/scottlamb/gists{/gist_id}","starred_url":"https://api.github.com/users/scottlamb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottlamb/subscriptions","organizations_url":"https://api.github.com/users/scottlamb/orgs","repos_url":"https://api.github.com/users/scottlamb/repos","events_url":"https://api.github.com/users/scottlamb/events{/privacy}","received_events_url":"https://api.github.com/users/scottlamb/received_events","type":"User","site_admin":false},"created_at":"2017-11-09T08:10:46Z","updated_at":"2017-11-09T08:10:46Z","author_association":"OWNER","body":"Another advantage of doing that would be that you could upgrade a bunch of devices at once, even ones that require different firmware. Through a config file or interactively, you could select what firmware to use for each MAC, and it'd work even if they're all using the same IP at once."}}
{"actor":{"display_login":"scottlamb"}}