Skip to content
  • Категории
  • Главная
  • Документация
  • Последние
  • Пользователи
Collapse
  1. Главная
  2. Raspberry Pi
  3. Не работает wi-fi

Не работает wi-fi

Запланировано Прикреплена Закрыта Перенесена Raspberry Pi
7 Сообщения 1 Posters 123 Просмотры
  • Сначала старые
  • Сначала новые
  • По количеству голосов
Авторизуйтесь, чтобы ответить
Эта тема была удалена. Только пользователи с правом управления темами могут её видеть.
  • piP Не в сети
    piP Не в сети
    pi
    написал в отредактировано
    #1

    Получил pi3, стоит raspbian 4.9.2-10 (скачана с офф сайта, ставил как через noobs, так и заливкой на флешку готового образа.), Linux 4.4.34-v7+(armv7l). На чистую систему установлен только NoMachine. Не получается подключиться к wi-fi — сети находит, ключ спрашивает, когда ввожу — никакой реакции, не подключается. Снял пароль с сети, поменял регион на ru, каналы на маршрутизаторе (tp-link 1043nd, openwrt) — всё нипочем. Пытался подключиться к точке доступа своего смартфона (Meizu m2 note), результат то же. По lan сеть есть, но нужен wi-fi. ifconfig показывает, что не идут Tx-пакеты.
    Содержимое файлов:
    /etc/network/interfaces
    source-directory /etc/network/interfaces.d

    auto lo
    iface lo inet loopback

    iface eth0 inet dhcp

    allow-hotplug wlan0
    iface wlan0 inet dhcp
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
    iface default inet dhcp
    /etc/wpa_supplicant/wpa_supplicant.conf
    trl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    update_config=1
    country=RU

    network={
    ssid=«Op»
    key_mgmt=NONE
    }

    1 ответ Последний ответ
    0
    • piP Не в сети
      piP Не в сети
      pi
      написал в отредактировано
      #2

      Я правильно понимаю: роутер не раздает wi-fi? Тогда причем здесь малинка? Разберитесь с роутером. Обновите прошивку, скачайте мануал. Как достучитесь с телефона — занимайтесь малинкой.

      1 ответ Последний ответ
      0
      • piP Не в сети
        piP Не в сети
        pi
        написал в отредактировано
        #3

        Наверно я неправильно выразился. Роутер раздает wi-fi, другие устройства подключаются, получают ip, в общем работает он. А малина видит его, спрашивает пароль, но не подключается. Так же с точкой доступа телефона — видит, но не подключается.

        1 ответ Последний ответ
        0
        • piP Не в сети
          piP Не в сети
          pi
          написал в отредактировано
          #4

          ivakirt (2017-01-06 00:19:56):Получил pi3, стоит raspbian 4.9.2-10 (скачана с офф сайта, ставил как через noobs, так и заливкой на флешку готового образа.), Linux 4.4.34-v7+(armv7l). На чистую систему установлен только NoMachine. Не получается подключиться к wi-fi — сети находит, ключ спрашивает, когда ввожу — никакой реакции, не подключается. Снял пароль с сети, поменял регион на ru, каналы на маршрутизаторе (tp-link 1043nd, openwrt) — всё нипочем. Пытался подключиться к точке доступа своего смартфона (Meizu m2 note), результат то же. По lan сеть есть, но нужен wi-fi. ifconfig показывает, что не идут Tx-пакеты.
          Содержимое файлов:
          /etc/network/interfaces
          source-directory /etc/network/interfaces.d

          auto lo
          iface lo inet loopback

          iface eth0 inet dhcp

          allow-hotplug wlan0
          iface wlan0 inet dhcp
          wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
          iface default inet dhcp
          /etc/wpa_supplicant/wpa_supplicant.conf
          trl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
          update_config=1
          country=RU

          network={
          ssid=«Op»
          key_mgmt=NONE
          } конфиг поправте

          это в интерфейсах — все что касается wlan0:

          allow-hotplug wlan0
          iface wlan0 inet dhcp
          wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

          это файл wpa:
          country=RU
          ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
          update_config=1
          network={
          ssid=«SSID моей точки доступа»
          scan_ssid=1
          psk=«мой_password»
          }

          http://home-smart-home.ru/raspberry-pi-nastrojka-seti/

          1 ответ Последний ответ
          0
          • piP Не в сети
            piP Не в сети
            pi
            написал в отредактировано
            #5

            Я так же затупил.Помогите разобраться с wifi.cat /etc/wpa_supplicant/wpa_supplicant.confctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdevupdate_config=1country=RUnetwork={    ssid="myssid"    psk="password"    key_mgmt=WPA-PSK}cat /etc/network/interfaces# interfaces(5) file used by ifup(8) and ifdown(8)# Please note that this file is written to be used with dhcpcd# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'# Include files from /etc/network/interfaces.d:source-directory /etc/network/interfaces.dauto loiface lo inet loopbackiface eth0 inet manualallow-hotplug wlan0iface wlan0 inet manual    wpa-conf /etc/wpa_supplicant/wpa_supplicant.confallow-hotplug wlan1iface wlan1 inet manual    wpa-conf /etc/wpa_supplicant/wpa_supplicant.confiface default inet manualcat /etc/dhcpcd.conf# A sample configuration for dhcpcd.# See dhcpcd.conf(5) for details.# Allow users of this group to interact with dhcpcd via the control socket.#controlgroup wheel# Inform the DHCP server of our hostname for DDNS.hostname# Use the hardware address of the interface for the Client ID.clientid# or# Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361.#duid# Persist interface configuration when dhcpcd exits.persistent# Rapid commit support.# Safe to enable by default because it requires the equivalent option set# on the server to actually work.option rapid_commit# A list of options to request from the DHCP server.option domain_name_servers, domain_name, domain_search, host_nameoption classless_static_routes# Most distributions have NTP support.option ntp_servers# Respect the network MTU.# Some interface drivers reset when changing the MTU so disabled by default.#option interface_mtu# A ServerID is required by RFC2131.require dhcp_server_identifier# Generate Stable Private IPv6 Addresses instead of hardware based onesslaac private# A hook script is provided to lookup the hostname if not set by the DHCP# server, but it should not be run by default.nohook lookup-hostname#nodhcpinterface wlan0static ip_address=192.168.55.46/24static routers=192.168.1.1static domain_name_servers=192.168.55.1static domain_search=192.168.55.1interface eth0static ip_address=192.168.1.36/24static routers=192.168.1.1static domain_name_servers=192.168.1.1static domain_search=192.168.1.1cat /etc/dhcp/dhcpd.conf# /etc/dhcp/dhcpd.conf# Sample configuration file for ISC dhcpd for Debian### The ddns-updates-style parameter controls whether or not the server will# attempt to do a DNS update when a lease is confirmed. We default to the# behavior of the version 2 packages ('none', since DHCP v2 didn't# have support for DDNS.)ddns-update-style none;# option definitions common to all supported networks...option domain-name "example.org";option domain-name-servers ns1.example.org, ns2.example.org;default-lease-time 600;max-lease-time 7200;# If this DHCP server is the official DHCP server for the local# network, the authoritative directive should be uncommented.#authoritative;# Use this to send dhcp log messages to a different log file (you also# have to hack syslog.conf to complete the redirection).log-facility local7;# No service will be given on this subnet, but declaring it helps the # DHCP server to understand the network topology.#subnet 10.152.187.0 netmask 255.255.255.0 {#}# This is a very basic subnet declaration.#subnet 10.254.239.0 netmask 255.255.255.224 {#  range 10.254.239.10 10.254.239.20;#  option routers rtr-239-0-1.example.org, rtr-239-0-2.example.org;#}# This declaration allows BOOTP clients to get dynamic addresses,# which we don't really recommend.#subnet 10.254.239.32 netmask 255.255.255.224 {#  range dynamic-bootp 10.254.239.40 10.254.239.60;#  option broadcast-address 10.254.239.31;#  option routers rtr-239-32-1.example.org;#}# A slightly different configuration for an internal subnet.#subnet 10.5.5.0 netmask 255.255.255.224 {#  range 10.5.5.26 10.5.5.30;#  option domain-name-servers ns1.internal.example.org;#  option domain-name "internal.example.org";#  option routers 10.5.5.1;#  option broadcast-address 10.5.5.31;#  default-lease-time 600;#  max-lease-time 7200;#}# Hosts which require special configuration options can be listed in# host statements.   If no address is specified, the address will be# allocated dynamically (if possible), but the host-specific information# will still come from the host declaration.#host passacaglia {#  hardware ethernet 0:0:c0:5d:bd:95;#  filename "vmunix.passacaglia";#  server-name "toccata.fugue.com";#}# Fixed IP addresses can also be specified for hosts.   These addresses# should not also be listed as being available for dynamic assignment.# Hosts for which fixed IP addresses have been specified can boot using# BOOTP or DHCP.   Hosts for which no fixed address is specified can only# be booted with DHCP, unless there is an address range on the subnet# to which a BOOTP client is connected which has the dynamic-bootp flag# set.#host fantasia {#  hardware ethernet 08:00:07:26:c0:a5;#  fixed-address fantasia.fugue.com;#}# You can declare a class of clients and then do address allocation# based on that.   The example below shows a case where all clients# in a certain class get addresses on the 10.17.224/24 subnet, and all# other clients get addresses on the 10.0.29/24 subnet.#class "foo" {#  match if substring (option vendor-class-identifier, 0, 4) = "SUNW";#}#shared-network 224-29 {#  subnet 10.17.224.0 netmask 255.255.255.0 {#    option routers rtr-224.example.org;#  }#  subnet 10.0.29.0 netmask 255.255.255.0 {#    option routers rtr-29.example.org;#  }#  pool {#    allow members of "foo";#    range 10.17.224.10 10.17.224.250;#  }#  pool {#    deny members of "foo";#    range 10.0.29.10 10.0.29.230;#  }#}# doman our net option domain-name "anonymous-ap.local";# parameter subnetsubnet 192.168.55.0 netmask 255.255.255.0 {  range 192.168.55.10 192.168.55.100;  option domain-name-servers 8.8.4.4, 8.8.4.4;  option routers 192.168.55.1;  interface wlan0;}что я и где забыл указать?Права доступа к файлам?

            1 ответ Последний ответ
            0
            • piP Не в сети
              piP Не в сети
              pi
              написал в отредактировано
              #6

              На всякий случай, если это Wi-Fi-роутер.Мак-фильтр выключен?Роутеру разрешено подключаться с новыми устройствами?

              1 ответ Последний ответ
              0
              • piP Не в сети
                piP Не в сети
                pi
                написал в отредактировано
                #7

                Привет! Вчера до ночи возился с такой же проблемой. Помогает либо перевод роутера в режим из only-N в G/N (правда у меня микротик, не знаю, как это в WRT называется), либо изменение региона WIFI в Raspberry, к примеру на US.

                1 ответ Последний ответ
                0

                • Войти

                • Нет учётной записи? Зарегистрироваться

                • Login or register to search.
                • Первое сообщение
                  Последнее сообщение
                0
                • Категории
                • Главная
                • Документация
                • Последние
                • Пользователи