Re: Trouble with ICS (was Re: Ad-hoc network: cannot ping other machine)



On Tue, 2011-10-11 at 10:24 -0500, Patrick McMunn wrote:
> I tried connecting on my laptop with DHCP, link-local, manual, and
> shared modes in IPv4 Address. I *was* able to connect in shared mode
> and by manual configuration, but I couldn't browse the internet. At
> one point on my laptop, I was able to browse only to google.com when I
> tried using a manual config, but even that stopped working (I stopped
> using Openresolv on my desktop to see if NetworkManager would stop
> overwriting /etc/resolv.conf, and I later found out that at some point
> in my testing dhcpcd had overwritten /etc/resolv.conf on my desktop,
> so the nameserver list was blank).
> 
> Anyway, here are the relevant parts of /var/log/messages from the
> laptop: first when trying DHCP and then, after a reboot, trying
> link-local.
> 
> Oct 11 09:29:30 sabayon NetworkManager[6989]: <info> Activation
> (wlan1) starting connection 'share'
> Oct 11 09:29:30 sabayon NetworkManager[6989]: <info> (wlan1): device
> state change: disconnected -> prepare (reason 'none') [30 40 0]
> Oct 11 09:29:30 sabayon NetworkManager[6989]: <info> Activation
> (wlan1) Stage 1 of 5 (Device Prepare) scheduled...
> Oct 11 09:29:30 sabayon NetworkManager[6989]: <info> Activation
> (wlan1) Stage 1 of 5 (Device Prepare) started...
> Oct 11 09:29:30 sabayon NetworkManager[6989]: <info> Activation
> (wlan1) Stage 2 of 5 (Device Configure) scheduled...
> Oct 11 09:29:30 sabayon NetworkManager[6989]: <info> Activation
> (wlan1) Stage 1 of 5 (Device Prepare) complete.
> Oct 11 09:29:30 sabayon NetworkManager[6989]: <info> Activation
> (wlan1) Stage 2 of 5 (Device Configure) starting...
> Oct 11 09:29:30 sabayon NetworkManager[6989]: <info> (wlan1): device
> state change: prepare -> config (reason 'none') [40 50 0]
> Oct 11 09:29:30 sabayon NetworkManager[6989]: <info> Activation
> (wlan1/wireless): connection 'share' requires no security.  No secrets
> needed.
> Oct 11 09:29:30 sabayon NetworkManager[6989]: <info> Config: added
> 'ssid' value 'share'
> Oct 11 09:29:30 sabayon NetworkManager[6989]: <info> Config: added
> 'mode' value '1'
> Oct 11 09:29:30 sabayon NetworkManager[6989]: <info> Config: added
> 'frequency' value '2457'
> Oct 11 09:29:30 sabayon NetworkManager[6989]: <info> Config: added
> 'key_mgmt' value 'NONE'
> Oct 11 09:29:30 sabayon NetworkManager[6989]: <info> Activation
> (wlan1) Stage 2 of 5 (Device Configure) complete.
> Oct 11 09:29:30 sabayon NetworkManager[6989]: <info> Config: set
> interface ap_scan to 2
> Oct 11 09:29:30 sabayon kernel: [  232.121175] b43-phy1: Loading
> firmware version 478.104 (2008-07-01 00:50:23)
> Oct 11 09:29:30 sabayon NetworkManager[6989]: <info> (wlan1):
> supplicant interface state: inactive -> associating
> Oct 11 09:29:30 sabayon kernel: [  232.172425] wlan1: Trigger new scan
> to find an IBSS to join
> Oct 11 09:29:31 sabayon kernel: [  233.463276] wlan1: Selected IBSS
> BSSID 5e:90:84:4c:a7:80 based on configured SSID
> Oct 11 09:29:31 sabayon dhcpcd[7782]: wlan1: carrier acquired
> Oct 11 09:29:31 sabayon NetworkManager[6989]: <info> (wlan1):
> supplicant interface state: associating -> completed
> Oct 11 09:29:31 sabayon NetworkManager[6989]: <info> Activation
> (wlan1/wireless) Stage 2 of 5 (Device Configure) successful.
> Connected to wireless network 'share'.
> Oct 11 09:29:31 sabayon NetworkManager[6989]: <info> Activation
> (wlan1) Stage 3 of 5 (IP Configure Start) scheduled.
> Oct 11 09:29:31 sabayon NetworkManager[6989]: <info> Activation
> (wlan1) Stage 3 of 5 (IP Configure Start) started...
> Oct 11 09:29:31 sabayon NetworkManager[6989]: <info> (wlan1): device
> state change: config -> ip-config (reason 'none') [50 70 0]
> Oct 11 09:29:31 sabayon NetworkManager[6989]: <info> Activation
> (wlan1) Beginning DHCPv4 transaction (timeout in 45 seconds)
> Oct 11 09:29:31 sabayon NetworkManager[6989]: <info> dhcpcd started
> with pid 8636
> Oct 11 09:29:31 sabayon NetworkManager[6989]: <info> Activation
> (wlan1) Stage 3 of 5 (IP Configure Start) complete.
> Oct 11 09:29:31 sabayon dhcpcd[8636]: sending commands to master dhcpcd process
> Oct 11 09:29:31 sabayon NetworkManager[6989]: <info> (wlan1): DHCPv4
> client pid 8636 exited with status 0
> Oct 11 09:29:31 sabayon NetworkManager[6989]: <info> Activation
> (wlan1) Stage 4 of 5 (IP4 Configure Timeout) scheduled...

Huh.  Looks like dhcpcd has changed and now sends commands to a daemon?
That's fine, but the code doesn't expect that; it expects that the DHCP
process it starts will continue until NM tells it to quit.  Also looks
like in this configuration there's no way to get the DHCP options back
to NM, actually.  So the main problem is that dhcpcd is acting in a way
that NM doesn't expect here, which hasn't been the case with dhcpcd
before.

Dan

> Oct 11 09:29:31 sabayon NetworkManager[6989]: <info> Activation
> (wlan1) Stage 4 of 5 (IP4 Configure Timeout) started...
> Oct 11 09:29:31 sabayon NetworkManager[6989]: <info> (wlan1): device
> state change: ip-config -> failed (reason 'ip-config-unavailable') [70
> 120 5]
> Oct 11 09:29:31 sabayon NetworkManager[6989]: <warn> Activation
> (wlan1) failed for access point (share)
> Oct 11 09:29:31 sabayon NetworkManager[6989]: <warn> Activation (wlan1) failed.
> Oct 11 09:29:31 sabayon NetworkManager[6989]: <info> Activation
> (wlan1) Stage 4 of 5 (IP4 Configure Timeout) complete.
> Oct 11 09:29:31 sabayon NetworkManager[6989]: <info> (wlan1): device
> state change: failed -> disconnected (reason 'none') [120 30 0]
> Oct 11 09:29:31 sabayon NetworkManager[6989]: <info> (wlan1):
> deactivating device (reason 'none') [0]
> Oct 11 09:29:31 sabayon dhcpcd[7782]: wlan1: rebinding lease of 10.42.43.30
> Oct 11 09:29:31 sabayon dhcpcd[7782]: control command: /sbin/dhcpcd -B
> -K -L -G -c /usr/libexec/nm-dhcp-client.action wlan1
> Oct 11 09:29:31 sabayon NetworkManager[6989]: <error>
> [1318343371.800779] [nm-device-wifi.c:1815] nm_device_wifi_set_mode():
> (wlan1): error setting mode 2
> Oct 11 09:29:31 sabayon dhcpcd[7782]: wlan0: removing interface
> Oct 11 09:29:31 sabayon NetworkManager[6989]: <info> (wlan1):
> supplicant interface state: completed -> disconnected
> Oct 11 09:29:31 sabayon dhcpcd[7782]: wlan1: carrier lost
> Oct 11 09:29:32 sabayon avahi-daemon[7812]: Joining mDNS multicast
> group on interface wlan1.IPv6 with address fe80::21c:dfff:fe4f:84fb.
> Oct 11 09:29:32 sabayon avahi-daemon[7812]: New relevant interface
> wlan1.IPv6 for mDNS.
> Oct 11 09:29:32 sabayon avahi-daemon[7812]: Registering new address
> record for fe80::21c:dfff:fe4f:84fb on wlan1.*.
> Oct 11 09:29:41 sabayon kernel: [  242.802134] wlan1: no IPv6 routers present
> Oct 11 09:29:41 sabayon dhcpcd[7782]: wlan1: broadcasting for a lease
> 
> 
> And the link-local attempt....
> 
> Oct 11 09:21:50 sabayon NetworkManager[6988]: <info> Activation
> (wlan1) starting connection 'share'
> Oct 11 09:21:50 sabayon NetworkManager[6988]: <info> (wlan1): device
> state change: disconnected -> prepare (reason 'none') [30 40 0]
> Oct 11 09:21:50 sabayon NetworkManager[6988]: <info> Activation
> (wlan1) Stage 1 of 5 (Device Prepare) scheduled...
> Oct 11 09:21:50 sabayon NetworkManager[6988]: <info> Activation
> (wlan1) Stage 1 of 5 (Device Prepare) started...
> Oct 11 09:21:50 sabayon NetworkManager[6988]: <info> Activation
> (wlan1) Stage 2 of 5 (Device Configure) scheduled...
> Oct 11 09:21:50 sabayon NetworkManager[6988]: <info> Activation
> (wlan1) Stage 1 of 5 (Device Prepare) complete.
> Oct 11 09:21:50 sabayon NetworkManager[6988]: <info> Activation
> (wlan1) Stage 2 of 5 (Device Configure) starting...
> Oct 11 09:21:50 sabayon NetworkManager[6988]: <info> (wlan1): device
> state change: prepare -> config (reason 'none') [40 50 0]
> Oct 11 09:21:50 sabayon NetworkManager[6988]: <info> Activation
> (wlan1/wireless): connection 'share' requires no security.  No secrets
> needed.
> Oct 11 09:21:50 sabayon NetworkManager[6988]: <info> Config: added
> 'ssid' value 'share'
> Oct 11 09:21:50 sabayon NetworkManager[6988]: <info> Config: added
> 'mode' value '1'
> Oct 11 09:21:50 sabayon NetworkManager[6988]: <info> Config: added
> 'frequency' value '2457'
> Oct 11 09:21:50 sabayon NetworkManager[6988]: <info> Config: added
> 'key_mgmt' value 'NONE'
> Oct 11 09:21:50 sabayon NetworkManager[6988]: <info> Activation
> (wlan1) Stage 2 of 5 (Device Configure) complete.
> Oct 11 09:21:50 sabayon NetworkManager[6988]: <info> Config: set
> interface ap_scan to 2
> Oct 11 09:21:50 sabayon kernel: [  164.821082] b43-phy1: Loading
> firmware version 478.104 (2008-07-01 00:50:23)
> Oct 11 09:21:50 sabayon kernel: [  164.869128] wlan1: Trigger new scan
> to find an IBSS to join
> Oct 11 09:21:50 sabayon NetworkManager[6988]: <info> (wlan1):
> supplicant interface state: inactive -> associating
> Oct 11 09:21:52 sabayon avahi-daemon[7812]: Joining mDNS multicast
> group on interface wlan1.IPv6 with address fe80::21c:dfff:fe4f:84fb.
> Oct 11 09:21:52 sabayon avahi-daemon[7812]: New relevant interface
> wlan1.IPv6 for mDNS.
> Oct 11 09:21:52 sabayon avahi-daemon[7812]: Registering new address
> record for fe80::21c:dfff:fe4f:84fb on wlan1.*.
> Oct 11 09:21:52 sabayon kernel: [  166.160173] wlan1: Selected IBSS
> BSSID 5e:90:84:4c:a7:80 based on configured SSID
> Oct 11 09:21:52 sabayon dhcpcd[7782]: wlan1: carrier acquired
> Oct 11 09:21:52 sabayon NetworkManager[6988]: <info> (wlan1):
> supplicant interface state: associating -> completed
> Oct 11 09:21:52 sabayon NetworkManager[6988]: <info> Activation
> (wlan1/wireless) Stage 2 of 5 (Device Configure) successful.
> Connected to wireless network 'share'.
> Oct 11 09:21:52 sabayon NetworkManager[6988]: <info> Activation
> (wlan1) Stage 3 of 5 (IP Configure Start) scheduled.
> Oct 11 09:21:52 sabayon NetworkManager[6988]: <info> Activation
> (wlan1) Stage 3 of 5 (IP Configure Start) started...
> Oct 11 09:21:52 sabayon NetworkManager[6988]: <info> (wlan1): device
> state change: config -> ip-config (reason 'none') [50 70 0]
> Oct 11 09:21:52 sabayon NetworkManager[6988]: <info> Activation
> (wlan1) Stage 3 of 5 (IP Configure Start) started avahi-autoipd...
> Oct 11 09:21:52 sabayon NetworkManager[6988]: <info> Activation
> (wlan1) Stage 3 of 5 (IP Configure Start) complete.
> Oct 11 09:21:52 sabayon dhcpcd[7782]: wlan1: rebinding lease of 10.42.43.30
> Oct 11 09:21:52 sabayon dhcpcd[7782]: wlan1: acknowledged 10.42.43.30
> from 10.42.43.1
> Oct 11 09:21:52 sabayon dhcpcd[7782]: wlan1: checking for 10.42.43.30
> Oct 11 09:21:57 sabayon dhcpcd[7782]: wlan1: leased 10.42.43.30 for 3600 seconds
> Oct 11 09:21:57 sabayon avahi-daemon[7812]: Joining mDNS multicast
> group on interface wlan1.IPv4 with address 10.42.43.30.
> Oct 11 09:21:57 sabayon avahi-daemon[7812]: New relevant interface
> wlan1.IPv4 for mDNS.
> Oct 11 09:21:57 sabayon avahi-daemon[7812]: Registering new address
> record for 10.42.43.30 on wlan1.IPv4.
> Oct 11 09:22:01 sabayon kernel: [  175.138036] wlan1: no IPv6 routers present
> Oct 11 09:22:12 sabayon NetworkManager[6988]: <info> (wlan1):
> avahi-autoipd timed out.
> Oct 11 09:22:12 sabayon NetworkManager[6988]: <info> Activation
> (wlan1) Stage 4 of 5 (IP4 Configure Timeout) scheduled...
> Oct 11 09:22:12 sabayon NetworkManager[6988]: <info> Activation
> (wlan1) Stage 4 of 5 (IP4 Configure Timeout) started...
> Oct 11 09:22:12 sabayon NetworkManager[6988]: <info> (wlan1): device
> state change: ip-config -> failed (reason 'ip-config-unavailable') [70
> 120 5]
> Oct 11 09:22:12 sabayon NetworkManager[6988]: <warn> Activation
> (wlan1) failed for access point (share)
> Oct 11 09:22:12 sabayon NetworkManager[6988]: <warn> Activation (wlan1) failed.
> Oct 11 09:22:12 sabayon NetworkManager[6988]: <info> Activation
> (wlan1) Stage 4 of 5 (IP4 Configure Timeout) complete.
> Oct 11 09:22:12 sabayon NetworkManager[6988]: <info> (wlan1): device
> state change: failed -> disconnected (reason 'none') [120 30 0]
> Oct 11 09:22:12 sabayon NetworkManager[6988]: <info> (wlan1):
> deactivating device (reason 'none') [0]
> Oct 11 09:22:12 sabayon NetworkManager[6988]: <error>
> [1318342932.68632] [nm-device-wifi.c:1815] nm_device_wifi_set_mode():
> (wlan1): error setting mode 2
> Oct 11 09:22:12 sabayon avahi-daemon[7812]: Withdrawing address record
> for 10.42.43.30 on wlan1.
> Oct 11 09:22:12 sabayon avahi-daemon[7812]: Leaving mDNS multicast
> group on interface wlan1.IPv4 with address 10.42.43.30.
> Oct 11 09:22:12 sabayon avahi-daemon[7812]: Interface wlan1.IPv4 no
> longer relevant for mDNS.
> Oct 11 09:22:12 sabayon dhcpcd[7782]: wlan1: carrier lost
> Oct 11 09:22:12 sabayon NetworkManager[6988]: <info> (wlan1):
> supplicant interface state: completed -> disconnected
> 
> 
> On 10/11/11, Dan Williams <dcbw redhat com> wrote:
> > On Tue, 2011-10-11 at 01:07 -0500, Patrick McMunn wrote:
> >> Thanks for pointing me to /var/log/messages. I saw an error regarding
> >> dnsmasq, and I remembered reading somewhere about conflicts between
> >> dnsmasq and NetworkManager. I had dnsmasq starting up at boot. I
> >> removed it from my boot process, and now I can create a ICS connection
> >> on my desktop computer. I also had to disable the ifnet plugin because
> >> it seems to screw pretty much everything up. Nothing except connecting
> >> to an infrastructure network seems to work with ifnet.
> >>
> >> There seems to be only one last hurdle to clear: I started up my
> >> laptop to connect to the network I created on my desktop, and it won't
> >> connect. On my laptop I tried changing the IPv4 settings to DHCP and
> >> link-local, but neither works. What could be preventing the connection
> >> here?
> >
> > Is the laptop Linux or Windows?  If it's Linux, what
> > does /var/log/messages say?
> >
> > Dan
> >
> >> On 10/10/11, Patrick McMunn <doctorwhoguy gmail com> wrote:
> >> > I rebooted and attempted to connect after reboot before connecting to
> >> > the internet. Here's the relevant parts of /var/log/messages
> >> >
> >> > (This line about Avahi was a bit earlier in the log, but I'm including
> >> > it in case it's relevant)
> >> >
> >> > Oct 10 20:49:07 localhost dbus[4111]: [system] Failed to activate
> >> > service 'org.freedesktop.Avahi': timed out
> >> >
> >> >
> >> > Oct 10 20:50:20 localhost NetworkManager[4128]: <info> Activation
> >> > (wlan0) starting connection 'share'
> >> > Oct 10 20:50:20 localhost NetworkManager[4128]: <info> (wlan0): device
> >> > state change: disconnected -> prepare (reason 'none') [30 40 0]
> >> > Oct 10 20:50:20 localhost NetworkManager[4128]: <info> Activation
> >> > (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
> >> > Oct 10 20:50:20 localhost NetworkManager[4128]: <info> Activation
> >> > (wlan0) Stage 1 of 5 (Device Prepare) started...
> >> > Oct 10 20:50:20 localhost NetworkManager[4128]: <info> Activation
> >> > (wlan0) Stage 2 of 5 (Device Configure) scheduled...
> >> > Oct 10 20:50:20 localhost NetworkManager[4128]: <info> Activation
> >> > (wlan0) Stage 1 of 5 (Device Prepare) complete.
> >> > Oct 10 20:50:20 localhost NetworkManager[4128]: <info> Activation
> >> > (wlan0) Stage 2 of 5 (Device Configure) starting...
> >> > Oct 10 20:50:20 localhost NetworkManager[4128]: <info> (wlan0): device
> >> > state change: prepare -> config (reason 'none') [40 50 0]
> >> > Oct 10 20:50:20 localhost NetworkManager[4128]: <info> Activation
> >> > (wlan0/wireless): connection 'share' requires no security.  No secrets
> >> > needed.
> >> > Oct 10 20:50:20 localhost NetworkManager[4128]: <info> Config: added
> >> > 'ssid' value 'share'
> >> > Oct 10 20:50:20 localhost NetworkManager[4128]: <info> Config: added
> >> > 'mode' value '1'
> >> > Oct 10 20:50:20 localhost NetworkManager[4128]: <info> Config: added
> >> > 'frequency' value '2457'
> >> > Oct 10 20:50:20 localhost NetworkManager[4128]: <info> Config: added
> >> > 'key_mgmt' value 'NONE'
> >> > Oct 10 20:50:20 localhost NetworkManager[4128]: <info> Activation
> >> > (wlan0) Stage 2 of 5 (Device Configure) complete.
> >> > Oct 10 20:50:20 localhost NetworkManager[4128]: <info> Config: set
> >> > interface ap_scan to 2
> >> > Oct 10 20:50:20 localhost kernel: [  212.847047] b43-phy0: Loading
> >> > firmware version 478.104 (2008-07-01 00:50:23)
> >> > Oct 10 20:50:20 localhost kernel: [  212.896155] wlan0: Trigger new
> >> > scan to find an IBSS to join
> >> > Oct 10 20:50:20 localhost NetworkManager[4128]: <info> (wlan0):
> >> > supplicant interface state: inactive -> associating
> >> > Oct 10 20:50:25 localhost kernel: [  218.004183] wlan0: Trigger new
> >> > scan to find an IBSS to join
> >> > Oct 10 20:50:29 localhost kernel: [  222.008033] wlan0: Trigger new
> >> > scan to find an IBSS to join
> >> > Oct 10 20:50:30 localhost kernel: [  223.090029] wlan0: no IPv6 routers
> >> > present
> >> > Oct 10 20:50:30 localhost kernel: [  223.303136] wlan0: Creating new
> >> > IBSS network, BSSID aa:2e:d1:95:8d:23
> >> > Oct 10 20:50:30 localhost NetworkManager[4128]: <info> (wlan0):
> >> > supplicant interface state: associating -> completed
> >> > Oct 10 20:50:30 localhost NetworkManager[4128]: <info> Activation
> >> > (wlan0/wireless) Stage 2 of 5 (Device Configure) successful.
> >> > Connected to wireless network 'share'.
> >> > Oct 10 20:50:30 localhost NetworkManager[4128]: <info> Activation
> >> > (wlan0) Stage 3 of 5 (IP Configure Start) scheduled.
> >> > Oct 10 20:50:30 localhost NetworkManager[4128]: <info> Activation
> >> > (wlan0) Stage 3 of 5 (IP Configure Start) started...
> >> > Oct 10 20:50:30 localhost NetworkManager[4128]: <info> (wlan0): device
> >> > state change: config -> ip-config (reason 'none') [50 70 0]
> >> > Oct 10 20:50:30 localhost NetworkManager[4128]: <info> Activation
> >> > (wlan0) Stage 4 of 5 (IP4 Configure Get) scheduled...
> >> > Oct 10 20:50:30 localhost NetworkManager[4128]: <info> Activation
> >> > (wlan0) Stage 3 of 5 (IP Configure Start) complete.
> >> > Oct 10 20:50:30 localhost NetworkManager[4128]: <info> Activation
> >> > (wlan0) Stage 4 of 5 (IP4 Configure Get) started...
> >> > Oct 10 20:50:30 localhost NetworkManager[4128]: <info> Activation
> >> > (wlan0) Stage 5 of 5 (IP Configure Commit) scheduled...
> >> > Oct 10 20:50:30 localhost NetworkManager[4128]: <info> Activation
> >> > (wlan0) Stage 4 of 5 (IP4 Configure Get) complete.
> >> > Oct 10 20:50:30 localhost NetworkManager[4128]: <info> Activation
> >> > (wlan0) Stage 5 of 5 (IP Configure Commit) started...
> >> > Oct 10 20:50:31 localhost NetworkManager[4128]: <info> (wlan0):
> >> > removing resolv.conf from /sbin/resolvconf
> >> > Oct 10 20:50:31 localhost NetworkManager[4128]: <info> Clearing nscd
> >> > hosts cache.
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> Executing:
> >> > /sbin/iptables --table filter --insert INPUT --in-interface wlan0
> >> > --protocol tcp --destination-port 53 --jump ACCEPT
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> Executing:
> >> > /sbin/iptables --table filter --insert INPUT --in-interface wlan0
> >> > --protocol udp --destination-port 53 --jump ACCEPT
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> Executing:
> >> > /sbin/iptables --table filter --insert INPUT --in-interface wlan0
> >> > --protocol tcp --destination-port 67 --jump ACCEPT
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> Executing:
> >> > /sbin/iptables --table filter --insert INPUT --in-interface wlan0
> >> > --protocol udp --destination-port 67 --jump ACCEPT
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> Executing:
> >> > /sbin/iptables --table filter --insert FORWARD --in-interface wlan0
> >> > --jump REJECT
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> Executing:
> >> > /sbin/iptables --table filter --insert FORWARD --out-interface wlan0
> >> > --jump REJECT
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> Executing:
> >> > /sbin/iptables --table filter --insert FORWARD --in-interface wlan0
> >> > --out-interface wlan0 --jump ACCEPT
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> Executing:
> >> > /sbin/iptables --table filter --insert FORWARD --source
> >> > 10.42.43.0/255.255.255.0 --in-interface wlan0 --jump ACCEPT
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> Executing:
> >> > /sbin/iptables --table filter --insert FORWARD --destination
> >> > 10.42.43.0/255.255.255.0 --out-interface wlan0 --match state --state
> >> > ESTABLISHED,RELATED --jump ACCEPT
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> Executing:
> >> > /sbin/iptables --table nat --insert POSTROUTING --source
> >> > 10.42.43.0/255.255.255.0 ! --destination 10.42.43.0/255.255.255.0
> >> > --jump MASQUERADE
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> Starting
> >> > dnsmasq...
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> (wlan0): device
> >> > state change: ip-config -> activated (reason 'none') [70 100 0]
> >> > Oct 10 20:50:32 localhost dnsmasq[5359]: failed to create listening
> >> > socket for 10.42.43.1: Address already in use
> >> > Oct 10 20:50:32 localhost dnsmasq[5359]: FAILED to start up
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> Activation
> >> > (wlan0) successful, device activated.
> >> > Oct 10 20:50:32 localhost dbus[4111]: [system] Activating service
> >> > name='org.freedesktop.nm_dispatcher' (using servicehelper)
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> Activation
> >> > (wlan0) Stage 5 of 5 (IP Configure Commit) complete.
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <warn> dnsmasq exited
> >> > with error: Network access problem (address in use; permissions; etc)
> >> > (2)
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> (wlan0): device
> >> > state change: activated -> failed (reason 'sharing-start-failed') [100
> >> > 120 18]
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <warn> Activation
> >> > (wlan0) failed for access point (share)
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <warn> Activation
> >> > (wlan0) failed.
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> (wlan0): device
> >> > state change: failed -> disconnected (reason 'none') [120 30 0]
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> (wlan0):
> >> > deactivating device (reason 'none') [0]
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <error>
> >> > [1318297832.295257] [nm-device-wifi.c:1815] nm_device_wifi_set_mode():
> >> > (wlan0): error setting mode 2
> >> > Oct 10 20:50:32 localhost dnsmasq[4477]: no servers found in
> >> > /etc/resolv.conf, will retry
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> (wlan0):
> >> > removing resolv.conf from /sbin/resolvconf
> >> > Oct 10 20:50:32 localhost dbus[4111]: [system] Successfully activated
> >> > service 'org.freedesktop.nm_dispatcher'
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> Clearing nscd
> >> > hosts cache.
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> Executing:
> >> > /sbin/iptables --table nat --delete POSTROUTING --source
> >> > 10.42.43.0/255.255.255.0 ! --destination 10.42.43.0/255.255.255.0
> >> > --jump MASQUERADE
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> Executing:
> >> > /sbin/iptables --table filter --delete FORWARD --destination
> >> > 10.42.43.0/255.255.255.0 --out-interface wlan0 --match state --state
> >> > ESTABLISHED,RELATED --jump ACCEPT
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> Executing:
> >> > /sbin/iptables --table filter --delete FORWARD --source
> >> > 10.42.43.0/255.255.255.0 --in-interface wlan0 --jump ACCEPT
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> Executing:
> >> > /sbin/iptables --table filter --delete FORWARD --in-interface wlan0
> >> > --out-interface wlan0 --jump ACCEPT
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> Executing:
> >> > /sbin/iptables --table filter --delete FORWARD --out-interface wlan0
> >> > --jump REJECT
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> Executing:
> >> > /sbin/iptables --table filter --delete FORWARD --in-interface wlan0
> >> > --jump REJECT
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> Executing:
> >> > /sbin/iptables --table filter --delete INPUT --in-interface wlan0
> >> > --protocol udp --destination-port 67 --jump ACCEPT
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> Executing:
> >> > /sbin/iptables --table filter --delete INPUT --in-interface wlan0
> >> > --protocol tcp --destination-port 67 --jump ACCEPT
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> Executing:
> >> > /sbin/iptables --table filter --delete INPUT --in-interface wlan0
> >> > --protocol udp --destination-port 53 --jump ACCEPT
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> Executing:
> >> > /sbin/iptables --table filter --delete INPUT --in-interface wlan0
> >> > --protocol tcp --destination-port 53 --jump ACCEPT
> >> > Oct 10 20:50:32 localhost NetworkManager[4128]: <info> (wlan0):
> >> > supplicant interface state: completed -> disconnected
> >> _______________________________________________
> >> networkmanager-list mailing list
> >> networkmanager-list gnome org
> >> http://mail.gnome.org/mailman/listinfo/networkmanager-list
> _______________________________________________
> networkmanager-list mailing list
> networkmanager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]