[Sarlug] Wi-Fi share

Тарас Перебейносов taras.perebeynosov на gmail.com
Вс Окт 14 15:25:37 MSK 2012


Всем привет!

Не получается расшарить проводной инет через Wi-Fi на нетбуке с Ubuntu
12.04 на борту.
Подскажите куда копать, пожалуйста)
Вот что пишет в лог при попытке поднять Ad-hoc подключение:

Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> Activation (wlan0)
starting connection 'taras-laptop 1'
Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> (wlan0): device
state change: disconnected -> prepare (reason 'none') [30 40 0]
Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> Activation (wlan0)
Stage 1 of 5 (Device Prepare) scheduled...
Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> Activation (wlan0)
Stage 1 of 5 (Device Prepare) started...
Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> Activation (wlan0)
Stage 2 of 5 (Device Configure) scheduled...
Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> Activation (wlan0)
Stage 1 of 5 (Device Prepare) complete.
Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> Activation (wlan0)
Stage 2 of 5 (Device Configure) starting...
Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> (wlan0): device
state change: prepare -> config (reason 'none') [40 50 0]
Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> Activation
(wlan0/wireless): connection 'taras-laptop 1' requires no security.  No
secrets needed.
Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> Config: added
'ssid' value 'taras-laptop'
Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> Config: added
'mode' value '1'
Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> Config: added
'frequency' value '2412'
Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> Config: added
'key_mgmt' value 'NONE'
Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> Activation (wlan0)
Stage 2 of 5 (Device Configure) complete.
Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> Config: set
interface ap_scan to 2
Oct 14 15:18:17 taras-laptop wpa_supplicant[937]: Trying to associate with
SSID 'taras-laptop'
Oct 14 15:18:17 taras-laptop NetworkManager[823]: <info> (wlan0):
supplicant interface state: disconnected -> associating
Oct 14 15:18:17 taras-laptop kernel: [ 4115.344693] wlan0: Trigger new scan
to find an IBSS to join
Oct 14 15:18:21 taras-laptop kernel: [ 4119.376495] wlan0: Trigger new scan
to find an IBSS to join
Oct 14 15:18:24 taras-laptop kernel: [ 4122.824152] wlan0: Trigger new scan
to find an IBSS to join
Oct 14 15:18:25 taras-laptop kernel: [ 4123.851101] wlan0: Creating new
IBSS network, BSSID b2:83:97:8d:5a:73
Oct 14 15:18:25 taras-laptop wpa_supplicant[937]: Associated with
b2:83:97:8d:5a:73
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=]
Oct 14 15:18:25 taras-laptop NetworkManager[823]: <info> (wlan0):
supplicant interface state: associating -> completed
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'.
Oct 14 15:18:25 taras-laptop NetworkManager[823]: <info> Activation (wlan0)
Stage 3 of 5 (IP Configure Start) scheduled.
Oct 14 15:18:25 taras-laptop NetworkManager[823]: <info> Activation (wlan0)
Stage 3 of 5 (IP Configure Start) started...
Oct 14 15:18:25 taras-laptop NetworkManager[823]: <info> (wlan0): device
state change: config -> ip-config (reason 'none') [50 70 0]
Oct 14 15:18:25 taras-laptop NetworkManager[823]: <info> Activation (wlan0)
Stage 5 of 5 (IPv4 Configure Commit) scheduled...
Oct 14 15:18:25 taras-laptop NetworkManager[823]: <info> Activation (wlan0)
Stage 3 of 5 (IP Configure Start) complete.
Oct 14 15:18:25 taras-laptop NetworkManager[823]: <info> Activation (wlan0)
Stage 5 of 5 (IPv4 Commit) started...
Oct 14 15:18:26 taras-laptop NetworkManager[823]: <info> DNS: starting
dnsmasq...
Oct 14 15:18:26 taras-laptop NetworkManager[823]: <info> (wlan0): writing
resolv.conf to /sbin/resolvconf
Oct 14 15:18:26 taras-laptop dnsmasq[27966]: *failed to create listening
socket for 127.0.0.1: Address already in use*
Oct 14 15:18:26 taras-laptop dnsmasq[27966]: FAILED to start up
Oct 14 15:18:27 taras-laptop dnsmasq[950]: reading
/var/run/dnsmasq/resolv.conf
Oct 14 15:18:27 taras-laptop dnsmasq[950]: ignoring nameserver 127.0.0.1 -
local interface
Oct 14 15:18:27 taras-laptop dnsmasq[950]: using nameserver 8.8.8.8#53
Oct 14 15:18:27 taras-laptop NetworkManager[823]: <info> Policy set '
internet.beeline.ru' (ppp0) as default for IPv4 routing and DNS.
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
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
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
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
Oct 14 15:18:27 taras-laptop NetworkManager[823]: <info> Executing:
/sbin/iptables --table filter --insert FORWARD --in-interface wlan0 --jump
REJECT
Oct 14 15:18:27 taras-laptop NetworkManager[823]: <info> Executing:
/sbin/iptables --table filter --insert FORWARD --out-interface wlan0 --jump
REJECT
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
Oct 14 15:18:27 taras-laptop NetworkManager[823]: <info> Executing:
/sbin/iptables --table filter --insert FORWARD --source
10.42.0.0/255.255.255.0 --in-interface wlan0 --jump ACCEPT
Oct 14 15:18:27 taras-laptop NetworkManager[823]: <info> 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
Oct 14 15:18:27 taras-laptop NetworkManager[823]: <info> 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
Oct 14 15:18:27 taras-laptop NetworkManager[823]: <info> Starting dnsmasq...
Oct 14 15:18:27 taras-laptop NetworkManager[823]: <info> (wlan0): device
state change: ip-config -> activated (reason 'none') [70 100 0]
Oct 14 15:18:27 taras-laptop dnsmasq[28021]: failed to bind DHCP server
socket: Address already in use
Oct 14 15:18:27 taras-laptop dnsmasq[28021]: FAILED to start up
Oct 14 15:18:27 taras-laptop NetworkManager[823]: <info> Activation (wlan0)
successful, device activated.
Oct 14 15:18:27 taras-laptop dbus[788]: [system] Activating service
name='org.freedesktop.nm_dispatcher' (using servicehelper)
Oct 14 15:18:27 taras-laptop NetworkManager[823]: <info> Activation (wlan0)
Stage 5 of 5 (IPv4 Commit) complete.
Oct 14 15:18:27 taras-laptop NetworkManager[823]: <warn> dnsmasq exited
with error: Network access problem (address in use; permissions; etc) (2)
Oct 14 15:18:27 taras-laptop NetworkManager[823]: <info> (wlan0): writing
resolv.conf to /sbin/resolvconf
Oct 14 15:18:27 taras-laptop dbus[788]: [system] Successfully activated
service 'org.freedesktop.nm_dispatcher'
Oct 14 15:18:27 taras-laptop ntpd[27949]: ntpd exiting on signal 15
Oct 14 15:18:28 taras-laptop NetworkManager[823]: <warn> dnsmasq exited
with error: Network access problem (address in use; permissions; etc) (2)
Oct 14 15:18:28 taras-laptop NetworkManager[823]: <info> (wlan0): device
state change: activated -> failed (reason 'sharing-start-failed') [100 120
18]
Oct 14 15:18:28 taras-laptop NetworkManager[823]: <warn> Activation (wlan0)
failed for access point (taras-laptop)
Oct 14 15:18:28 taras-laptop NetworkManager[823]: <warn> Activation (wlan0)
failed.
Oct 14 15:18:28 taras-laptop NetworkManager[823]: <info> (wlan0): device
state change: failed -> disconnected (reason 'none') [120 30 0]
Oct 14 15:18:28 taras-laptop NetworkManager[823]: <info> (wlan0):
deactivating device (reason 'none') [0]
Oct 14 15:18:28 taras-laptop NetworkManager[823]: <info> DNS: starting
dnsmasq...
Oct 14 15:18:28 taras-laptop NetworkManager[823]: <info> (wlan0): writing
resolv.conf to /sbin/resolvconf
Oct 14 15:18:28 taras-laptop dnsmasq[28124]: failed to create listening
socket for 127.0.0.1: Address already in use
Oct 14 15:18:28 taras-laptop dnsmasq[28124]: FAILED to start up


-- 
With best regards,
Taras.
----------- следующая часть -----------
Вложение в формате HTML было удалено...
URL: <http://lists.lug.ru/pipermail/sarlug/attachments/20121014/231bf529/attachment-0001.html>


Подробная информация о списке рассылки Sarlug