相关文章推荐
潇洒的香瓜  ·  品牌: ...·  9 月前    · 
腼腆的柳树  ·  北京师范大学哲学学院·  11 月前    · 
苦闷的墨镜  ·  Hakunetsu!Zoro - ...·  11 月前    · 
{"payload":{"allShortcutsEnabled":false,"fileTree":{"cn":{"items":[{"name":"1608623151682.jpg","path":"cn/1608623151682.jpg","contentType":"file"},{"name":"Amap_Access_tokens.md","path":"cn/Amap_Access_tokens.md","contentType":"file"},{"name":"CHANGELOGS.md","path":"cn/CHANGELOGS.md","contentType":"file"},{"name":"Configuring_OpenPilot_WIFI.md","path":"cn/Configuring_OpenPilot_WIFI.md","contentType":"file"},{"name":"Creating_Fingerprints.md","path":"cn/Creating_Fingerprints.md","contentType":"file"},{"name":"EON_Connector.md","path":"cn/EON_Connector.md","contentType":"file"},{"name":"FAQ.md","path":"cn/FAQ.md","contentType":"file"},{"name":"Getting_started_with_your_comma_two.md","path":"cn/Getting_started_with_your_comma_two.md","contentType":"file"},{"name":"Git_for_Windows安装和基本设置.md","path":"cn/Git_for_Windows安装和基本设置.md","contentType":"file"},{"name":"Github进行fork后如何与原仓库同步.md","path":"cn/Github进行fork后如何与原仓库同步.md","contentType":"file"},{"name":"Glossary_of_terminology.md","path":"cn/Glossary_of_terminology.md","contentType":"file"},{"name":"HOWTO-ONEPLUS.md","path":"cn/HOWTO-ONEPLUS.md","contentType":"file"},{"name":"Oneplus3t_tri_state_key_switch.md","path":"cn/Oneplus3t_tri_state_key_switch.md","contentType":"file"},{"name":"Oneplus3t_wifi_mac_02_00.md","path":"cn/Oneplus3t_wifi_mac_02_00.md","contentType":"file"},{"name":"Panda.md","path":"cn/Panda.md","contentType":"file"},{"name":"Raspilot.md","path":"cn/Raspilot.md","contentType":"file"},{"name":"about_twrp.md","path":"cn/about_twrp.md","contentType":"file"},{"name":"commands.md","path":"cn/commands.md","contentType":"file"},{"name":"dp_change_language.md","path":"cn/dp_change_language.md","contentType":"file"},{"name":"dragonpilot_feature.md","path":"cn/dragonpilot_feature.md","contentType":"file"},{"name":"eon_acrylic_case.md","path":"cn/eon_acrylic_case.md","contentType":"file"},{"name":"eon_usb_eth0.md","path":"cn/eon_usb_eth0.md","contentType":"file"},{"name":"fingerprints2.md","path":"cn/fingerprints2.md","contentType":"file"},{"name":"frist_time_for_op_option.md","path":"cn/frist_time_for_op_option.md","contentType":"file"},{"name":"hardwares.md","path":"cn/hardwares.md","contentType":"file"},{"name":"how_to_buy_openpilot.md","path":"cn/how_to_buy_openpilot.md","contentType":"file"},{"name":"how_to_change_openpilot_fork_on_windows.md","path":"cn/how_to_change_openpilot_fork_on_windows.md","contentType":"file"},{"name":"how_to_change_openpilot_fork_via_ui.md","path":"cn/how_to_change_openpilot_fork_via_ui.md","contentType":"file"},{"name":"how_to_connect_openpilot_via_iphone.md","path":"cn/how_to_connect_openpilot_via_iphone.md","contentType":"file"},{"name":"how_to_downgrade_neos.md","path":"cn/how_to_downgrade_neos.md","contentType":"file"},{"name":"how_to_edit_wiki.md","path":"cn/how_to_edit_wiki.md","contentType":"file"},{"name":"how_to_flash_openpilot_on_mac.md","path":"cn/how_to_flash_openpilot_on_mac.md","contentType":"file"},{"name":"how_to_flash_openpilot_on_windows.md","path":"cn/how_to_flash_openpilot_on_windows.md","contentType":"file"},{"name":"how_to_flash_openpilot_on_windows_step_by_step.md","path":"cn/how_to_flash_openpilot_on_windows_step_by_step.md","contentType":"file"},{"name":"how_to_flash_panda.md","path":"cn/how_to_flash_panda.md","contentType":"file"},{"name":"how_to_install_raspberrypilot.md","path":"cn/how_to_install_raspberrypilot.md","contentType":"file"},{"name":"how_to_restore_openpilot_backup_via_twrp.md","path":"cn/how_to_restore_openpilot_backup_via_twrp.md","contentType":"file"},{"name":"how_to_setup_github_ssh.md","path":"cn/how_to_setup_github_ssh.md","contentType":"file"},{"name":"mapbox_Access_tokens.md","path":"cn/mapbox_Access_tokens.md","contentType":"file"},{"name":"mapbox_Map_change.md","path":"cn/mapbox_Map_change.md","contentType":"file"},{"name":"mirror.md","path":"cn/mirror.md","contentType":"file"},{"name":"openpilot_enable_wifi_hotspot.md","path":"cn/openpilot_enable_wifi_hotspot.md","contentType":"file"},{"name":"openpilot_failed_to_authenticate.md","path":"cn/openpilot_failed_to_authenticate.md","contentType":"file"},{"name":"openpilot_git_commands.md","path":"cn/openpilot_git_commands.md","contentType":"file"},{"name":"openpilot_partition_backup.md","path":"cn/openpilot_partition_backup.md","contentType":"file"},{"name":"openpilot_releases.md","path":"cn/openpilot_releases.md","contentType":"file"},{"name":"openpilot_releases_en.md","path":"cn/openpilot_releases_en.md","contentType":"file"},{"name":"openpilot_software_free_download.md","path":"cn/openpilot_software_free_download.md","contentType":"file"},{"name":"putty_and_winscp.md","path":"cn/putty_and_winscp.md","contentType":"file"},{"name":"settle_normal_problem.md","path":"cn/settle_normal_problem.md","contentType":"file"},{"name":"the_guide_9008_for_oneplus3T.md","path":"cn/the_guide_9008_for_oneplus3T.md","contentType":"file"},{"name":"the_guide_for_lephone_FlashOne.md","path":"cn/the_guide_for_lephone_FlashOne.md","contentType":"file"},{"name":"updateNEOS15.md","path":"cn/updateNEOS15.md","contentType":"file"},{"name":"videos.md","path":"cn/videos.md","contentType":"file"}],"totalCount":54},"":{"items":[{"name":"cn","path":"cn","contentType":"directory"},{"name":"files","path":"files","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"SUMMARY.md","path":"SUMMARY.md","contentType":"file"},{"name":"about.md","path":"about.md","contentType":"file"},{"name":"book.json","path":"book.json","contentType":"file"},{"name":"copyright.md","path":"copyright.md","contentType":"file"},{"name":"master","path":"master","contentType":"file"},{"name":"package-lock.json","path":"package-lock.json","contentType":"file"}],"totalCount":11}},"fileTreeProcessingTime":17.578004,"foldersToFetch":[],"reducedMotionEnabled":null,"repo":{"id":292312571,"defaultBranch":"master","name":"dragonpilot_wiki","ownerLogin":"dragonpilot-community","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2020-09-02T14:52:30.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/52512881?v=4","public":true,"private":false,"isOrgOwned":true},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"master","listCacheKey":"v0:1599058898.0","canEdit":false,"refType":"branch","currentOid":"b66e5994cd2452608fa6d0de458f2663f1668cc7"},"path":"cn/eon_usb_eth0.md","currentUser":null,"blob":{"rawLines":null,"stylingDirectives":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/dragonpilot-community/dragonpilot_wiki/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null,"repoAlertsPath":"/dragonpilot-community/dragonpilot_wiki/security/dependabot","repoSecurityAndAnalysisPath":"/dragonpilot-community/dragonpilot_wiki/settings/security_analysis","repoOwnerIsOrg":true,"currentUserCanAdminRepo":false},"displayName":"eon_usb_eth0.md","displayUrl":"https://github.com/dragonpilot-community/dragonpilot_wiki/blob/master/cn/eon_usb_eth0.md?raw=true","headerInfo":{"blobSize":"3.6 KB","deleteInfo":{"deleteTooltip":"You must be signed in to make or propose changes"},"editInfo":{"editTooltip":"You must be signed in to make or propose changes"},"ghDesktopPath":"https://desktop.github.com","gitLfsPath":null,"onBranch":true,"shortPath":"5a74d04","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fdragonpilot-community%2Fdragonpilot_wiki%2Fblob%2Fmaster%2Fcn%2Feon_usb_eth0.md","isCSV":false,"isRichtext":true,"toc":[{"level":2,"text":"EON USB网卡设置","anchor":"eon-usb网卡设置","htmlText":"EON USB网卡设置"},{"level":3,"text":"参数对比","anchor":"参数对比","htmlText":"参数对比"},{"level":3,"text":"静态 IP 模式","anchor":"静态-ip-模式","htmlText":"静态 IP 模式"},{"level":3,"text":"DHCP 客户端模式","anchor":"dhcp-客户端模式","htmlText":"DHCP 客户端模式"}],"lineInfo":{"truncatedLoc":"81","truncatedSloc":"60"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplateHelpUrl":"https://docs.github.com/articles/about-issue-and-pull-request-templates","issueTemplate":null,"discussionTemplate":null,"language":"Markdown","languageID":222,"large":false,"loggedIn":false,"newDiscussionPath":"/dragonpilot-community/dragonpilot_wiki/discussions/new","newIssuePath":"/dragonpilot-community/dragonpilot_wiki/issues/new","planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/dragonpilot-community/dragonpilot_wiki/blob/master/cn/eon_usb_eth0.md","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","dismissStackNoticePath":"/settings/dismiss-notice/publish_stack_from_file","releasePath":"/dragonpilot-community/dragonpilot_wiki/releases/new?marketplace=true","showPublishActionBanner":false,"showPublishStackBanner":false},"renderImageOrRaw":false,"richText":"

EON USB网卡设置

\n

comma smays 是 EON 连接有线调试的工具,据说 comma smays 用的网卡啊也是 ax88772 芯片的,我就淘宝找了一个 20 块钱的同款芯片 USB 网卡试了试,结果真的是免驱可用,这里记录一下使用过程,不确定其他芯片的网卡情况。

\n

参数对比

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
选项 comma smays ax88772 USB 网卡
图片 \"comma \"ax88772
芯片 (ax88772)据说 ax88772(A/B/C) 我用的 C 款
供电线 自带,一体的 通过 USB公对公连接任意 USB 口供电(5V)
OTG口 Micro USB 通常是 Type-C 的,一共用了 4 根线,可以自己改 Micro USB
价格 官方 60 美元,淘宝 200 RMB 20 RMB
购买 官方链接 淘宝链接 淘宝链接 (买带 3 USB 口版本)
\nComma Smays 与 其他 ax88772 网卡对比(淘宝链接没有利益关系,仅供参考)\n
\n

\"EON

\n

静态 IP 模式

\n

EON 默认开启的是静态 IP 模式,我们可以通过 ifconfig 命令更改 IP 和 子网掩码:

\n
# 默认状态\nroot@localhost:/$ ifconfig  eth0\neth0      Link encap:Ethernet  HWaddr 00:6F:00:00:07:5F\n          inet addr:192.168.5.11  Bcast:192.168.5.255  Mask:255.255.255.0\n          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1\n          RX packets:6217 errors:0 dropped:0 overruns:0 frame:0\n          TX packets:597 errors:0 dropped:0 overruns:0 carrier:0\n          collisions:0 txqueuelen:1000\n          RX bytes:700037 (683.6 KiB)  TX bytes:109469 (106.9 KiB)\n\n# 更改静态IP\nroot@localhost:/$ ifconfig eth0 192.168.2.201\n\n# 更改子网掩码\nroot@localhost:/$ ifconfig eth0 netmask 255.255.254.0\n\n# 启用网卡\nroot@localhost:/$ ifconfig eth0 up\n\n# 更改后状态\nroot@localhost:/$ ifconfig  eth0\neth0      Link encap:Ethernet  HWaddr 00:6F:00:00:07:5F\n          inet addr:192.168.2.201  Bcast:192.168.3.255  Mask:255.255.254.0\n          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1\n          RX packets:9285 errors:0 dropped:0 overruns:0 frame:0\n          TX packets:1725 errors:0 dropped:0 overruns:0 carrier:0\n          collisions:0 txqueuelen:1000\n          RX bytes:1328793 (1.2 MiB)  TX bytes:312694 (305.3 KiB)
\n

DHCP 客户端模式

\n

EON 可以开启 USB 网卡的 DHCP 客户端模式,操作步骤如下:

\n
    \n
  1. USB 网卡通过 Type-C (Micro USB) 连接到 EON,USB 网口中插入网线,保证网络连接正常
  2. \n
  3. EON 通过无线接入到局域网,电脑端通过 SSH 进入 EON
  4. \n
  5. 在 EON 的 SSH 里执行 dhcptool eth0 启动 eth0 的 DHCP 客户端功能,命令会阻塞直至 DHCP 开启成功
  6. \n
  7. 在 EON 的 SSH 里执行 ifconfig eth0 查看当前有线网卡的连接情况
  8. \n
\n
root@localhost:/$ ifconfig eth0\neth0      Link encap:Ethernet  HWaddr 00:6F:00:00:07:5F\n          inet addr:192.168.2.201  Bcast:192.168.3.255  Mask:255.255.254.0\n          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1\n          RX packets:6393 errors:0 dropped:0 overruns:0 frame:0\n          TX packets:651 errors:0 dropped:0 overruns:0 carrier:0\n          collisions:0 txqueuelen:1000\n          RX bytes:736167 (718.9 KiB)  TX bytes:118645 (115.8 KiB)
\n

192.168.2.201 即我们的有线网卡IP\n4. 重启 EON,只连接有线网卡(关闭无线网卡,有线、无线同时工作会有网络延迟异常的情况)

\n
","renderedFileInfo":null,"shortPath":null,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"repoOwner":"dragonpilot-community","repoName":"dragonpilot_wiki","showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","showDependabotConfigurationBanner":false,"actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timedOut":false,"notAnalyzed":true,"symbols":[]}},"copilotInfo":null,"csrf_tokens":{"/dragonpilot-community/dragonpilot_wiki/branches":{"post":"_rkGNdF1ov4tkqHyaoZyh6Ri7GKGe2g-ORFcTfJjXue8lWVTafQxQX7nEPBiiwywjnPzv-NcgSIdU3HwaoGEOw"},"/repos/preferences":{"post":"uTl5kZ66LENvj6Yqe5d2flwhkIAvJN_bMrSjAlykq4JiDsGqz1O16WgaVP-9LrKydxNSlbMkpKqGWpI6Wpsdvw"}}},"title":"dragonpilot_wiki/cn/eon_usb_eth0.md at master · dragonpilot-community/dragonpilot_wiki"}