{"id":21162910,"url":"https://github.com/redchenjs/rtnicpg","last_synced_at":"2025-04-13T13:42:11.210Z","repository":{"id":87898487,"uuid":"515483854","full_name":"redchenjs/rtnicpg","owner":"redchenjs","description":"Realtek NIC PG Program (EFUSE / EEPROM)","archived":false,"fork":false,"pushed_at":"2022-07-19T07:46:06.000Z","size":2349,"stargazers_count":14,"open_issues_count":0,"forks_count":13,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T04:41:42.447Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redchenjs.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-19T07:38:39.000Z","updated_at":"2025-03-14T02:23:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"283f04a5-aea9-4efb-aec9-93221bc87715","html_url":"https://github.com/redchenjs/rtnicpg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redchenjs%2Frtnicpg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redchenjs%2Frtnicpg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redchenjs%2Frtnicpg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redchenjs%2Frtnicpg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redchenjs","download_url":"https://codeload.github.com/redchenjs/rtnicpg/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248724489,"owners_count":21151557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-20T13:34:56.490Z","updated_at":"2025-04-13T13:42:11.188Z","avatar_url":"https://github.com/redchenjs.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\t  This is the package for pgtool of Realtek. There are two methods to use\n\tthis tool. The method 1 is through a script file. However, you have to use\n\tthe Method 2 if the Method 1 doesn't work.\n\t  If you use the embedded system, you maybe have to build \"pgdrv.ko\" first\n\tfor the target platform. Please reference the Step 2 of Method 2. And the\n\tsteps may be different.\n\nMethod 1:\n\tStep 1: Run the script file to load the necessary elements.\n\t# ./pgload.sh\n\n\tStep 2: Run the pgtool \"rtnicpg\". Use /h to show user guide.\n\t# ./rtnicpg /h | more\n\n\tStep 3: Choose the cmd to pg.\n\tExample: Read the EEPROM for the first NIC card.\n\t# ./rtnicpg /r /eeprom /# 1\n\n\tStep 4: Unload the elements of pgtool.\n\t# rmmod pgdrv\n\n\nMethod 2:\n\tStep 1: Unload all the NIC driver for Realtek.\n\t# rmmod r8169\n\t# rmmod r8168\n\t# rmmod r8101\n\n\tStep 2: Build the pgdrv.ko and install it.\n\t# make clean all\n\t# insmod pgdrv.ko\n\n\tStep 3: Run the pgtool \"rtnicpg\". Use /h to show user guide.\n\t# ./rtnicpg /h | more\n\n\tStep 4: Choose the cmd to pg.\n\tExample: Read the EEPROM for the first NIC card.\n\t# ./rtnicpg /r /eeprom /# 1\n\n\tStep 5: Remove the pgdrv.\n\t# rmmod pgdrv\n\n[NOTICE]\n\t1. The applications are only for little-endian platform.\n\t2. Must login with \"root\".\n\t3. The NIC driver must be unload first or the pgdrv.ko cannot work.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredchenjs%2Frtnicpg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredchenjs%2Frtnicpg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredchenjs%2Frtnicpg/lists"}