Всем привет!<div><br></div><div>Не получается расшарить проводной инет через Wi-Fi на нетбуке с Ubuntu 12.04 на борту.</div><div>Подскажите куда копать, пожалуйста)</div><div>Вот что пишет в лог при попытке поднять Ad-hoc подключение:</div>
<div><br></div><div><div>Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> Activation (wlan0) starting connection 'taras-laptop 1'</div><div>Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> (wlan0): device state change: disconnected -> prepare (reason 'none') [30 40 0]</div>
<div>Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...</div><div>Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...</div>
<div>Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...</div><div>Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.</div>
<div>Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...</div><div>Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]</div>
<div>Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> Activation (wlan0/wireless): connection 'taras-laptop 1' requires no security. No secrets needed.</div><div>Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> Config: added 'ssid' value 'taras-laptop'</div>
<div>Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> Config: added 'mode' value '1'</div><div>Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> Config: added 'frequency' value '2412'</div>
<div>Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> Config: added 'key_mgmt' value 'NONE'</div><div>Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.</div>
<div>Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> Config: set interface ap_scan to 2</div><div>Oct 14 15:18:17 taras-laptop wpa_supplicant[937]: Trying to associate with SSID 'taras-laptop'</div>
<div>Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> (wlan0): supplicant interface state: disconnected -> associating</div><div>Oct 14 15:18:17 taras-laptop kernel: [ 4115.344693] wlan0: Trigger new scan to find an IBSS to join</div>
<div>Oct 14 15:18:21 taras-laptop kernel: [ 4119.376495] wlan0: Trigger new scan to find an IBSS to join</div><div>Oct 14 15:18:24 taras-laptop kernel: [ 4122.824152] wlan0: Trigger new scan to find an IBSS to join</div><div>
Oct 14 15:18:25 taras-laptop kernel: [ 4123.851101] wlan0: Creating new IBSS network, BSSID b2:83:97:8d:5a:73</div><div>Oct 14 15:18:25 taras-laptop wpa_supplicant[937]: Associated with b2:83:97:8d:5a:73</div><div>Oct 14 15:18:25 taras-laptop wpa_supplicant[937]: CTRL-EVENT-CONNECTED - Connection to b2:83:97:8d:5a:73 completed (reauth) [id=0 id_str=]</div>
<div>Oct 14 15:18:25 taras-laptop NetworkManager[823]: <info> (wlan0): supplicant interface state: associating -> completed</div><div>Oct 14 15:18:25 taras-laptop NetworkManager[823]: <info> Activation (wlan0/wireless) Stage 2 of 5 (Device Configure) successful. Connected to wireless network 'taras-laptop'.</div>
<div>Oct 14 15:18:25 taras-laptop NetworkManager[823]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) scheduled.</div><div>Oct 14 15:18:25 taras-laptop NetworkManager[823]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) started...</div>
<div>Oct 14 15:18:25 taras-laptop NetworkManager[823]: <info> (wlan0): device state change: config -> ip-config (reason 'none') [50 70 0]</div><div>Oct 14 15:18:25 taras-laptop NetworkManager[823]: <info> Activation (wlan0) Stage 5 of 5 (IPv4 Configure Commit) scheduled...</div>
<div>Oct 14 15:18:25 taras-laptop NetworkManager[823]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) complete.</div><div>Oct 14 15:18:25 taras-laptop NetworkManager[823]: <info> Activation (wlan0) Stage 5 of 5 (IPv4 Commit) started...</div>
<div>Oct 14 15:18:26 taras-laptop NetworkManager[823]: <info> DNS: starting dnsmasq...</div><div>Oct 14 15:18:26 taras-laptop NetworkManager[823]: <info> (wlan0): writing resolv.conf to /sbin/resolvconf</div><div>
Oct 14 15:18:26 taras-laptop dnsmasq[27966]: <b>failed to create listening socket for <a href="http://127.0.0.1">127.0.0.1</a>: Address already in use</b></div><div>Oct 14 15:18:26 taras-laptop dnsmasq[27966]: FAILED to start up</div>
<div>Oct 14 15:18:27 taras-laptop dnsmasq[950]: reading /var/run/dnsmasq/resolv.conf</div><div>Oct 14 15:18:27 taras-laptop dnsmasq[950]: ignoring nameserver 127.0.0.1 - local interface</div><div>Oct 14 15:18:27 taras-laptop dnsmasq[950]: using nameserver 8.8.8.8#53</div>
<div>Oct 14 15:18:27 taras-laptop NetworkManager[823]: <info> Policy set '<a href="http://internet.beeline.ru">internet.beeline.ru</a>' (ppp0) as default for IPv4 routing and DNS.</div><div>Oct 14 15:18:27 taras-laptop NetworkManager[823]: <info> Executing: /sbin/iptables --table filter --insert INPUT --in-interface wlan0 --protocol tcp --destination-port 53 --jump ACCEPT</div>
<div>Oct 14 15:18:27 taras-laptop NetworkManager[823]: <info> Executing: /sbin/iptables --table filter --insert INPUT --in-interface wlan0 --protocol udp --destination-port 53 --jump ACCEPT</div><div>Oct 14 15:18:27 taras-laptop NetworkManager[823]: <info> Executing: /sbin/iptables --table filter --insert INPUT --in-interface wlan0 --protocol tcp --destination-port 67 --jump ACCEPT</div>
<div>Oct 14 15:18:27 taras-laptop NetworkManager[823]: <info> Executing: /sbin/iptables --table filter --insert INPUT --in-interface wlan0 --protocol udp --destination-port 67 --jump ACCEPT</div><div>Oct 14 15:18:27 taras-laptop NetworkManager[823]: <info> Executing: /sbin/iptables --table filter --insert FORWARD --in-interface wlan0 --jump REJECT</div>
<div>Oct 14 15:18:27 taras-laptop NetworkManager[823]: <info> Executing: /sbin/iptables --table filter --insert FORWARD --out-interface wlan0 --jump REJECT</div><div>Oct 14 15:18:27 taras-laptop NetworkManager[823]: <info> Executing: /sbin/iptables --table filter --insert FORWARD --in-interface wlan0 --out-interface wlan0 --jump ACCEPT</div>
<div>Oct 14 15:18:27 taras-laptop NetworkManager[823]: <info> Executing: /sbin/iptables --table filter --insert FORWARD --source <a href="http://10.42.0.0/255.255.255.0">10.42.0.0/255.255.255.0</a> --in-interface wlan0 --jump ACCEPT</div>
<div>Oct 14 15:18:27 taras-laptop NetworkManager[823]: <info> Executing: /sbin/iptables --table filter --insert FORWARD --destination <a href="http://10.42.0.0/255.255.255.0">10.42.0.0/255.255.255.0</a> --out-interface wlan0 --match state --state ESTABLISHED,RELATED --jump ACCEPT</div>
<div>Oct 14 15:18:27 taras-laptop NetworkManager[823]: <info> Executing: /sbin/iptables --table nat --insert POSTROUTING --source <a href="http://10.42.0.0/255.255.255.0">10.42.0.0/255.255.255.0</a> ! --destination <a href="http://10.42.0.0/255.255.255.0">10.42.0.0/255.255.255.0</a> --jump MASQUERADE</div>
<div>Oct 14 15:18:27 taras-laptop NetworkManager[823]: <info> Starting dnsmasq...</div><div>Oct 14 15:18:27 taras-laptop NetworkManager[823]: <info> (wlan0): device state change: ip-config -> activated (reason 'none') [70 100 0]</div>
<div>Oct 14 15:18:27 taras-laptop dnsmasq[28021]: failed to bind DHCP server socket: Address already in use</div><div>Oct 14 15:18:27 taras-laptop dnsmasq[28021]: FAILED to start up</div><div>Oct 14 15:18:27 taras-laptop NetworkManager[823]: <info> Activation (wlan0) successful, device activated.</div>
<div>Oct 14 15:18:27 taras-laptop dbus[788]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)</div><div>Oct 14 15:18:27 taras-laptop NetworkManager[823]: <info> Activation (wlan0) Stage 5 of 5 (IPv4 Commit) complete.</div>
<div>Oct 14 15:18:27 taras-laptop NetworkManager[823]: <warn> dnsmasq exited with error: Network access problem (address in use; permissions; etc) (2)</div><div>Oct 14 15:18:27 taras-laptop NetworkManager[823]: <info> (wlan0): writing resolv.conf to /sbin/resolvconf</div>
<div>Oct 14 15:18:27 taras-laptop dbus[788]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'</div><div>Oct 14 15:18:27 taras-laptop ntpd[27949]: ntpd exiting on signal 15</div><div>Oct 14 15:18:28 taras-laptop NetworkManager[823]: <warn> dnsmasq exited with error: Network access problem (address in use; permissions; etc) (2)</div>
<div>Oct 14 15:18:28 taras-laptop NetworkManager[823]: <info> (wlan0): device state change: activated -> failed (reason 'sharing-start-failed') [100 120 18]</div><div>Oct 14 15:18:28 taras-laptop NetworkManager[823]: <warn> Activation (wlan0) failed for access point (taras-laptop)</div>
<div>Oct 14 15:18:28 taras-laptop NetworkManager[823]: <warn> Activation (wlan0) failed.</div><div>Oct 14 15:18:28 taras-laptop NetworkManager[823]: <info> (wlan0): device state change: failed -> disconnected (reason 'none') [120 30 0]</div>
<div>Oct 14 15:18:28 taras-laptop NetworkManager[823]: <info> (wlan0): deactivating device (reason 'none') [0]</div><div>Oct 14 15:18:28 taras-laptop NetworkManager[823]: <info> DNS: starting dnsmasq...</div>
<div>Oct 14 15:18:28 taras-laptop NetworkManager[823]: <info> (wlan0): writing resolv.conf to /sbin/resolvconf</div><div>Oct 14 15:18:28 taras-laptop dnsmasq[28124]: failed to create listening socket for <a href="http://127.0.0.1">127.0.0.1</a>: Address already in use</div>
<div>Oct 14 15:18:28 taras-laptop dnsmasq[28124]: FAILED to start up</div></div><div><br></div><div><div><br></div>-- <br>With best regards,<div>Taras.</div><br>
</div>