wi-fi , проблема с dhcpcd
freemann9 4 января, 2014 - 00:52
адаптер intel centrino n130
Настраивал с помощью wpa_supplicant,при попыткe ping -c3 google.com получаю unknown host
+ dhcpcd не заполняет resolv.conf = нет доступа к интернету
/etc/conf.d/net modules_wlp2s0="wpa_supplicant" wpa_supplicant_wlp2s0="-Dnl80211 -d -f /var/log/wpa_supplicant.log" config_wlp2s0="dhcp"
/etc/wpa_supplicant/wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant update_config=1 network={ ssid="OpenWrt" psk="denis02tod16" key_mgmt=WPA-PSK priority=5 }
/etc/resolv.conf # Generated by dhcpcd # /etc/resolv.conf.tail can replace this line
/etc/init.d/dhcpcd.conf # A sample configuration for dhcpcd. # See dhcpcd.conf(5) for details. # Inform the DHCP server of our hostname for DDNS. hostname # To share the DHCP lease across OSX and Windows a ClientID is needed. # Enabling this may get a different lease than the kernel DHCP client. # Some upstream DHCP servers may also require a ClientID, such as FRITZ!Box. #clientid # A list of options to request from the DHCP server. option domain_name_servers, domain_name, domain_search, host_name option classless_static_routes # Most distributions have NTP support. option ntp_servers # Respect the network MTU. option interface_mtu # A ServerID is required by RFC2131. require dhcp_server_identifier # 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
»
- Для комментирования войдите или зарегистрируйтесь
/etc/conf.d/netmodules_wlp2
/etc/conf.d/net
/etc/wpa_supplicant/wpa_supplicant.conf
буду честен, я не знаю, почему у меня все работает
Цитата: modules_wlan0=(
... можно не указывать, т.к. это умолчательный путь к конфигу ...
Деревья умирают стоя.