LINUX.ORG.RU

Не запускается точка доступа в NetworkManager

 , ,


0

1

Приветствую. Есть knoppix 7.6 на флешке, интернет по проводу, WiFi сети видит, нужно раздать интернет. В networkmanager создаю Hotspot - IPv4 Shared to other computers - не запускается. В режиме Ad-hoc с DHCP также, но поднимается если ставлю IP вручную или Link-Local Only.

Вот дебаг networmanager'а при попытке подключиться:

NetworkManager[3341]: <info>  [1472959605.1871] device (wlan0): Activation: starting connection 'con' (365e0057-0a45-4dbd-9e06-843e7fe16227)
NetworkManager[3341]: <info>  [1472959605.1877] audit: op="connection-activate" uuid="365e0057-0a45-4dbd-9e06-843e7fe16227" name="con" pid=3145 uid=1000 result="success"
NetworkManager[3341]: <info>  [1472959605.1881] device (wlan0): state change: disconnected -> prepare (reason 'none') [30 40 0]
NetworkManager[3341]: <info>  [1472959605.1947] device (wlan0): state change: prepare -> config (reason 'none') [40 50 0]
NetworkManager[3341]: <info>  [1472959605.1952] device (wlan0): Activation: (wifi) connection 'con' requires no security.  No secrets needed.
NetworkManager[3341]: <info>  [1472959605.1953] Config: added 'ssid' value 'ccon'
NetworkManager[3341]: <info>  [1472959605.1953] Config: added 'mode' value '2'
NetworkManager[3341]: <info>  [1472959605.1953] Config: added 'frequency' value '2412'
NetworkManager[3341]: <info>  [1472959605.1954] Config: added 'freq_list' value '2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 2484'
NetworkManager[3341]: <info>  [1472959605.1954] Config: added 'key_mgmt' value 'NONE'
NetworkManager[3341]: <info>  [1472959605.2088] sup-iface[0x842f5c8,wlan0]: config: set interface ap_scan to 2
NetworkManager[3341]: <info>  [1472959605.3553] device (wlan0): supplicant interface state: disconnected -> completed
NetworkManager[3341]: <info>  [1472959605.3553] device (wlan0): Activation: (wifi) Stage 2 of 5 (Device Configure) successful.  Started Wi-Fi Hotspot 'ccon'.
NetworkManager[3341]: <info>  [1472959605.3556] device (wlan0): state change: config -> ip-config (reason 'none') [50 70 0]
NetworkManager[3341]: <info>  [1472959605.3697] Executing: /sbin/iptables --table filter --insert INPUT --in-interface wlan0 --protocol tcp --destination-port 53 --jump ACCEPT
NetworkManager[3341]: <info>  [1472959605.3739] Executing: /sbin/iptables --table filter --insert INPUT --in-interface wlan0 --protocol udp --destination-port 53 --jump ACCEPT
NetworkManager[3341]: <info>  [1472959605.3760] Executing: /sbin/iptables --table filter --insert INPUT --in-interface wlan0 --protocol tcp --destination-port 67 --jump ACCEPT
NetworkManager[3341]: <info>  [1472959605.3778] Executing: /sbin/iptables --table filter --insert INPUT --in-interface wlan0 --protocol udp --destination-port 67 --jump ACCEPT
NetworkManager[3341]: <info>  [1472959605.3798] Executing: /sbin/iptables --table filter --insert FORWARD --in-interface wlan0 --jump REJECT
NetworkManager[3341]: <info>  [1472959605.3813] Executing: /sbin/iptables --table filter --insert FORWARD --out-interface wlan0 --jump REJECT
NetworkManager[3341]: <info>  [1472959605.3827] Executing: /sbin/iptables --table filter --insert FORWARD --in-interface wlan0 --out-interface wlan0 --jump ACCEPT
NetworkManager[3341]: <info>  [1472959605.3840] Executing: /sbin/iptables --table filter --insert FORWARD --source 10.42.0.0/255.255.255.0 --in-interface wlan0 --jump ACCEPT
NetworkManager[3341]: <info>  [1472959605.3856] Executing: /sbin/iptables --table filter --insert FORWARD --destination 10.42.0.0/255.255.255.0 --out-interface wlan0 --match state --state ESTABLISHED,RELATED --jump ACCEPT
NetworkManager[3341]: <info>  [1472959605.3873] Executing: /sbin/iptables --table nat --insert POSTROUTING --source 10.42.0.0/255.255.255.0 ! --destination 10.42.0.0/255.255.255.0 --jump MASQUERADE
NetworkManager[3341]: <error> [1472959605.3888] device (wlan0): share: (wlan0) failed to start dnsmasq: Could not find "dnsmasq" binary
NetworkManager[3341]: <info>  [1472959605.3889] Executing: /sbin/iptables --table nat --delete POSTROUTING --source 10.42.0.0/255.255.255.0 ! --destination 10.42.0.0/255.255.255.0 --jump MASQUERADE
NetworkManager[3341]: <info>  [1472959605.3902] Executing: /sbin/iptables --table filter --delete FORWARD --destination 10.42.0.0/255.255.255.0 --out-interface wlan0 --match state --state ESTABLISHED,RELATED --jump ACCEPT
NetworkManager[3341]: <info>  [1472959605.3917] Executing: /sbin/iptables --table filter --delete FORWARD --source 10.42.0.0/255.255.255.0 --in-interface wlan0 --jump ACCEPT
NetworkManager[3341]: <info>  [1472959605.3930] Executing: /sbin/iptables --table filter --delete FORWARD --in-interface wlan0 --out-interface wlan0 --jump ACCEPT
NetworkManager[3341]: <info>  [1472959605.3944] Executing: /sbin/iptables --table filter --delete FORWARD --out-interface wlan0 --jump REJECT
NetworkManager[3341]: <info>  [1472959605.3957] Executing: /sbin/iptables --table filter --delete FORWARD --in-interface wlan0 --jump REJECT
NetworkManager[3341]: <info>  [1472959605.3970] Executing: /sbin/iptables --table filter --delete INPUT --in-interface wlan0 --protocol udp --destination-port 67 --jump ACCEPT
NetworkManager[3341]: <info>  [1472959605.3989] Executing: /sbin/iptables --table filter --delete INPUT --in-interface wlan0 --protocol tcp --destination-port 67 --jump ACCEPT
NetworkManager[3341]: <info>  [1472959605.4007] Executing: /sbin/iptables --table filter --delete INPUT --in-interface wlan0 --protocol udp --destination-port 53 --jump ACCEPT
NetworkManager[3341]: <info>  [1472959605.4028] Executing: /sbin/iptables --table filter --delete INPUT --in-interface wlan0 --protocol tcp --destination-port 53 --jump ACCEPT
NetworkManager[3341]: <warn>  [1472959605.4047] device (wlan0): Activation: Stage 5 of 5 (IPv4 Commit) start sharing failed.
NetworkManager[3341]: <info>  [1472959605.4048] device (wlan0): state change: ip-config -> failed (reason 'sharing-start-failed') [70 120 18]
NetworkManager[3341]: <warn>  [1472959605.4052] device (wlan0): Activation: failed for connection 'con'
NetworkManager[3341]: <info>  [1472959605.4091] device (wlan0): state change: failed -> disconnected (reason 'none') [120 30 0]
NetworkManager[3341]: <info>  [1472959605.5620] device (wlan0): supplicant interface state: completed -> disconnected

dnsmasq нужен обязательно? из-за проблем с зависимостями не удалось установить. Есть альтернативы? Пробовал в NetworkManager.conf прописывать dhcp=internal , безрезультатно. Сетевая Intel


Да, обязательно, он его в качестве DHCP- и DNS-сервера использует.

Пробовал в NetworkManager.conf прописывать dhcp=internal

Это про dhcp-клиент, а не про dhcp-сервер.

tiandrey ★★★★★ ()
Последнее исправление: tiandrey (всего исправлений: 2)
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.