RPi在LAN中不可见,但作为AP工作 [英] RPi not visible from LAN but works as an AP

查看:137
本文介绍了RPi在LAN中不可见,但作为AP工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我已将我的  raspberry pi B +  转换为  AP  (Wifi接入点)。



TL-WN725N(wlan0)使用  hostapd ,设置为  create_ap   on&strong; archlinux
arm
 (最新)桥接 eth0  接口连接到  LAN    switch  将
连接到  PLC   plug。



一切正常。我通常需要  ssh  进入RPi关闭它。



但今天,我不知道为什么:



  • 我不能  ssh  甚至可以在局域网上看到RPi。这不是  ssh
    server
     没有运行,只是一个  arp scan  不再显示RPi(或使用  Fing   on  android )!
    甚至a  ping  到普通IP给'无路由到主机'。路由器也看不到它
  • 但AP上连接的设备可以正常浏览互联网。他们通过使用  eth0 以某种方式......


如何连接到AP的设备可以连接到互联网,同时从 LAN  ?



我不认为这是开关或  PLC   plug。连接到交换机的其他设备按预期工作。

解决方案

这是一个Windows IoT论坛。强调Windows而不是Linux。请重新发布到Raspberry Pi论坛之一:
https://www.raspberrypi .ORG /小区/

I have turned my raspberry pi B+ into an AP (Wifi Access Point).

A TL-WN725N (wlan0) uses hostapd, setup by create_ap on archlinux arm (latest) to bridge theeth0 interface connected to the LAN via a switch connected to a PLC plug.

All is working fine. I usually have to ssh into the RPi to turn it off.

But today, I don't why:

  • I can't ssh or even see the RPi on the LAN. It's not that the ssh server is not running, it's simply that an arp scan does not show the RPi anymore (or using Fing on android)! even a ping to the normal IP gives 'No route to host'. The router does not see it either
  • But devices connected on the AP can browse internet fine. And they do that by using eth0somehow...

How is it possible that device connected to the AP can connect to internet while at the same time the eth0 interface is not visible from the LAN ?

I don't think it's the switch or the PLC plug. Other devices connected to the switch work as expected.

解决方案

This is a Windows IoT forum. Emphasis on Windows not Linux. Please re-post to one of the Raspberry Pi forums: https://www.raspberrypi.org/community/


这篇关于RPi在LAN中不可见,但作为AP工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆