ubuntu无线wifi局域网ping不同,ssh也无法用的问题

in HuaRen.News4 years ago

家里的ubuntu服务器,要挪地方。

原来是有线连的局域网,一切如常。

挪地方后,有线连过不不方便,就加了一个WI-FI。

但是ubuntu用wifi联网后,本机能访问外网,但有点古怪。而访问192.1的局域网,却一点反应也没有。

ping 192.168.1.1 网关,都没反应。

折腾半天,原来是ubuntu18的lan和wlan只见配置的问题。

首先通过arp查询信息:arp -a

?(192.168.1.7) 位于 <incomplete> 在 enp6s0
?(192.168.1.6) 位于<incomplete> 在 enp6s0
?(192.168.1.1) 位于 ca:xxxxxx:ed [ether] 在 wlx1231231239123

说明有线 enp6s0 并没有使用,和无线 wlx1231231239123 冲突了,需要把有线 enp6s0 关闭。

把 enp6s0 禁用:sudo ifconfig enp6s0 down

?(192.168.1.1) 位于 ca:xxxx:ed [ether] 在 wlx1231231239123

这样就解决问题了。不过重启后,问题还是存在,需要进一步处理才行。

本帖同步首发:

hive: ubuntu无线wifi局域网ping不同,ssh也无法用的问题
hive: ubuntu无线wifi局域网ping不同,ssh也无法用的问题

最近新帖

  1. 通过steemauto/hive.vote维护升级看steem/hive对自动点赞的依赖 steem | hive
  2. steem的API节点速度总体上已经接近hive水平 steem | hive
  3. 清理docker的容器和数据卷存储 steem | hive
  4. steem/hive出现异常现象,建议资产转移到交易所 steem | hive
  5. steem软分叉HF22.8888恐导致安全隐患,建议资产转移到交易所 steem | hive
  6. 韩国社区要主导steem软分叉HF22.888?报复 hive 硬分叉的黑名单? steem | hive
  7. HIVE如果没有团队操盘,迟早会吃TRON孙操盘STEEM的亏 steem | hive
  8. 如何让Brave访问steem类网站更快? steem | hive
Sort:  

Congratulations @dappcoder! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s) :

You distributed more than 3000 upvotes. Your next target is to reach 4000 upvotes.

You can view your badges on your board and compare to others on the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Do not miss the last post from @hivebuzz:

HiveBuzz - Hive Gamification Experience
Vote for us as a witness to get one more badge and upvotes from us with more power!