Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-19-2014, 07:55 AM
|
#1
|
LQ Newbie
Registered: Aug 2012
Posts: 9
Rep:
|
problems with network manager
i can't connect the internet with my network-manager. the network-manager recognizes all my wired and my wireless networks, but it doesn't connect them.
when i try to connect network with the shell after stoping the network-manager, i succeed to connect the network.
Code:
sudo/etc/init.d/network-manager stop
sudo ifconfing eth0 up
sudo dhckient eth0
when i restart the network-manager, it disconnect me from the internet.
what can be the problem?
i'm sorry about my mistakes in english.
|
|
|
05-19-2014, 09:03 AM
|
#2
|
Member
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457
Rep:
|
Well what seems to be the issue with your connectivity when the NM is running? DNS? Ifconfig?
Diagnose the problem(hone in on the exact issue) while ignoring the cause(network managr), a then you'll know where to look with the NetworkManager to fix it.
Many times, the NetworkManager sets up your card, but leaves the check box that says "start at boot" (paaphrasing: not in front of a computer at the moment). So look there, first.
|
|
|
05-19-2014, 11:41 AM
|
#3
|
LQ Newbie
Registered: Aug 2012
Posts: 9
Original Poster
Rep:
|
Quote:
Originally Posted by GaWdLy
Well what seems to be the issue with your connectivity when the NM is running? DNS? Ifconfig?
Diagnose the problem(hone in on the exact issue) while ignoring the cause(network managr), a then you'll know where to look with the NetworkManager to fix it.
|
How can i diagnose the probkem?
|
|
|
05-19-2014, 12:24 PM
|
#4
|
Senior Member
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278
|
This sounds like network manager is configured differently than the rest of your system. Perhaps you are using two seperate 'network managers' that are conflicting in configuration?
What OS are you using? Have you visited your OS forum/faqs to see if the problem has happened to anyone else? You can generally find forums, IRC channels, mailing lists, bug lists on your distro's web site that you can search through to find more information on typical issues. Perhaps it was a botched update that went out - you should always check your distro site first.
Arch is famous for this. People will come out of the woodwork having an issue after updating, wondering what happened, when a quick visit to the homepage would explain everything.
|
|
|
05-19-2014, 01:26 PM
|
#5
|
LQ Newbie
Registered: Aug 2012
Posts: 9
Original Poster
Rep:
|
I use Ubuntu 12.04. I tried to find a solution to my probkem and didnwt find one.
|
|
|
05-19-2014, 01:40 PM
|
#6
|
Member
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457
Rep:
|
Well, shaygen, reboot this computer. When you notice that the internet is unreachable, troubleshoot it:
If you type 'ip addr show', do you see a properly-configured interface? Is the IP address correct for your network? If the adapter appears to be configured correctly, can you ping the gateway? If no, then look at the routing table (ip route show). If yes, can you ping google.com? If no, then what message does ping return? Is /etc/hosts set up correctly?
Etc. Start at your affected computer, and work ever closer to the internet to determine where fault lay. You're looking for a problem with NetworkManager, and while NM has all kinds of problems, maybe it's just a setting in NM for the given adapter. I don't know Ubuntu at all, but in RHEL 6.x (RHEL 6.5 more accurately), there is an option in the adapter config that says 'Connect Automatically'. When you install from scratch and configure the IFs, this option is *never* selected by default. So you poke around for the problem, and finally realize that the adapter isn't connecting because' it's not being told to.
So look for an option like that.
So get us more detail on exactly what is broken, and we can direct you better.
|
|
|
05-19-2014, 01:48 PM
|
#7
|
Senior Member
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278
|
Do you mean that in your Graphical Network Manager, you can see the networks, but you cannot connect to them using the GUI? Do you have any output in /var/log/messages?
Code:
grep -i networkmanager /var/log/messages
|
|
|
05-19-2014, 03:43 PM
|
#8
|
LQ Newbie
Registered: Aug 2012
Posts: 9
Original Poster
Rep:
|
Code:
May 20 19:54:29 genizi NetworkManager[5023]: <info> exiting (success)
May 20 23:40:05 genizi NetworkManager[7323]: <info> NetworkManager (version 0.9.4.0) is starting...
May 20 23:40:05 genizi NetworkManager[7323]: <info> Read config file /etc/NetworkManager/NetworkManager.conf
May 20 23:40:05 genizi NetworkManager[7323]: <info> VPN: loaded org.freedesktop.NetworkManager.pptp
May 20 23:40:05 genizi NetworkManager[7323]: <info> DNS: loaded plugin dnsmasq
May 20 23:40:05 genizi NetworkManager[7323]: SCPlugin-Ifupdown: init!
May 20 23:40:05 genizi NetworkManager[7323]: SCPlugin-Ifupdown: update_system_hostname
May 20 23:40:05 genizi NetworkManager[7323]: SCPluginIfupdown: management mode: managed
May 20 23:40:05 genizi NetworkManager[7323]: SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/eth0, iface: eth0)
May 20 23:40:05 genizi NetworkManager[7323]: SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/eth0, iface: eth0): no ifupdown configuration found.
May 20 23:40:05 genizi NetworkManager[7323]: SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8/2-1.8:1.0/net/wlan2, iface: wlan2)
May 20 23:40:05 genizi NetworkManager[7323]: SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8/2-1.8:1.0/net/wlan2, iface: wlan2): no ifupdown configuration found.
May 20 23:40:05 genizi NetworkManager[7323]: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/lo, iface: lo)
May 20 23:40:05 genizi NetworkManager[7323]: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/lo, iface: lo): no ifupdown configuration found.
May 20 23:40:05 genizi NetworkManager[7323]: SCPlugin-Ifupdown: end _init.
May 20 23:40:05 genizi NetworkManager[7323]: <info> Loaded plugin ifupdown: (C) 2008 Canonical Ltd. To report bugs please use the NetworkManager mailing list.
May 20 23:40:05 genizi NetworkManager[7323]: <info> Loaded plugin keyfile: (c) 2007 - 2010 Red Hat, Inc. To report bugs please use the NetworkManager mailing list.
May 20 23:40:05 genizi NetworkManager[7323]: SCPlugin-Ifupdown: (19676976) ... get_connections.
May 20 23:40:05 genizi NetworkManager[7323]: SCPlugin-Ifupdown: (19676976) connections count: 0
May 20 23:40:05 genizi NetworkManager[7323]: keyfile: parsing Home_F1 ...
May 20 23:40:05 genizi NetworkManager[7323]: keyfile: read connection 'Home_F1'
May 20 23:40:05 genizi NetworkManager[7323]: keyfile: parsing חיבור VPN 1 ...
May 20 23:40:05 genizi NetworkManager[7323]: keyfile: read connection 'חיבור VPN 1'
May 20 23:40:05 genizi NetworkManager[7323]: keyfile: parsing Auto Home_F1 ...
May 20 23:40:05 genizi NetworkManager[7323]: keyfile: read connection 'Auto Home_F1'
May 20 23:40:05 genizi NetworkManager[7323]: keyfile: parsing test ...
May 20 23:40:05 genizi NetworkManager[7323]: keyfile: read connection 'test'
May 20 23:40:05 genizi NetworkManager[7323]: keyfile: parsing WBR-6003 ...
May 20 23:40:05 genizi NetworkManager[7323]: keyfile: read connection 'WBR-6003'
May 20 23:40:05 genizi NetworkManager[7323]: keyfile: parsing חיבור VPN 2 ...
May 20 23:40:05 genizi NetworkManager[7323]: keyfile: read connection 'חיבור VPN 2'
May 20 23:40:05 genizi NetworkManager[7323]: keyfile: parsing WBR-6020 ...
May 20 23:40:05 genizi NetworkManager[7323]: keyfile: read connection 'WBR-6020'
May 20 23:40:05 genizi NetworkManager[7323]: keyfile: parsing HOTBOX Rubin ...
May 20 23:40:05 genizi NetworkManager[7323]: keyfile: read connection 'HOTBOX Rubin'
May 20 23:40:05 genizi NetworkManager[7323]: keyfile: parsing Auto Home_F2 ...
May 20 23:40:05 genizi NetworkManager[7323]: keyfile: read connection 'Auto Home_F2'
May 20 23:40:05 genizi NetworkManager[7323]: keyfile: parsing NET0131475 ...
May 20 23:40:05 genizi NetworkManager[7323]: keyfile: read connection 'NET0131475'
May 20 23:40:05 genizi NetworkManager[7323]: keyfile: parsing Home_F2 ...
May 20 23:40:05 genizi NetworkManager[7323]: keyfile: read connection 'Home_F2'
May 20 23:40:05 genizi NetworkManager[7323]: keyfile: parsing Wired connection 1 ...
May 20 23:40:05 genizi NetworkManager[7323]: keyfile: read connection 'Wired connection 1'
May 20 23:40:05 genizi NetworkManager[7323]: keyfile: parsing Rubin013 ...
May 20 23:40:05 genizi NetworkManager[7323]: keyfile: read connection 'Rubin013'
May 20 23:40:05 genizi NetworkManager[7323]: <info> modem-manager is now available
May 20 23:40:05 genizi NetworkManager[7323]: <info> monitoring kernel firmware directory '/lib/firmware'.
May 20 23:40:05 genizi NetworkManager[7323]: <info> found WiFi radio killswitch rfkill0 (at /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8/2-1.8:1.0/ieee80211/phy0/rfkill0) (driver (unknown))
May 20 23:40:05 genizi NetworkManager[7323]: <info> WiFi enabled by radio killswitch; enabled by state file
May 20 23:40:05 genizi NetworkManager[7323]: <info> WWAN enabled by radio killswitch; enabled by state file
May 20 23:40:05 genizi NetworkManager[7323]: <info> WiMAX enabled by radio killswitch; enabled by state file
May 20 23:40:05 genizi NetworkManager[7323]: <info> Networking is enabled by state file
May 20 23:40:05 genizi NetworkManager[7323]: <warn> failed to allocate link cache: (-10) Operation not supported
May 20 23:40:05 genizi NetworkManager[7323]: <info> (eth0): carrier is ON
May 20 23:40:05 genizi NetworkManager[7323]: <info> (eth0): new Ethernet device (driver: 'r8168' ifindex: 2)
May 20 23:40:05 genizi NetworkManager[7323]: <info> (eth0): exported as /org/freedesktop/NetworkManager/Devices/0
May 20 23:40:05 genizi NetworkManager[7323]: <info> (eth0): now managed
May 20 23:40:05 genizi NetworkManager[7323]: <info> (eth0): device state change: unmanaged -> unavailable (reason 'connection-assumed') [10 20 41]
May 20 23:40:05 genizi NetworkManager[7323]: <info> (eth0): preparing device.
May 20 23:40:05 genizi NetworkManager[7323]: <info> Activation (eth0) starting connection 'Wired connection 1'
May 20 23:40:05 genizi NetworkManager[7323]: <info> (eth0): device state change: unavailable -> ip-config (reason 'none') [20 70 0]
May 20 23:40:05 genizi NetworkManager[7323]: (nm-device.c:2343):nm_device_activate_schedule_stage3_ip_config_start: runtime check failed: (state >= NM_DEVICE_STATE_PREPARE && state <= NM_DEVICE_STATE_NEED_AUTH)
May 20 23:40:05 genizi NetworkManager[7323]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
May 20 23:40:05 genizi NetworkManager[7323]: <info> (wlan2): using nl80211 for WiFi device control
May 20 23:40:05 genizi NetworkManager[7323]: <warn> (wlan2): driver supports Access Point (AP) mode
May 20 23:40:05 genizi NetworkManager[7323]: <info> (wlan2): new 802.11 WiFi device (driver: 'ath9k_htc' ifindex: 3)
May 20 23:40:05 genizi NetworkManager[7323]: <info> (wlan2): exported as /org/freedesktop/NetworkManager/Devices/1
May 20 23:40:05 genizi NetworkManager[7323]: <info> (wlan2): now managed
May 20 23:40:05 genizi NetworkManager[7323]: <info> (wlan2): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
May 20 23:40:05 genizi NetworkManager[7323]: <info> (wlan2): bringing up device.
May 20 23:40:05 genizi NetworkManager[7323]: <info> (wlan2): preparing device.
May 20 23:40:05 genizi NetworkManager[7323]: <info> (wlan2): deactivating device (reason 'managed') [2]
May 20 23:40:05 genizi NetworkManager[7323]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
May 20 23:40:05 genizi NetworkManager[7323]: <info> Activation (eth0) Beginning DHCPv4 transaction (timeout in 45 seconds)
May 20 23:40:05 genizi NetworkManager[7323]: <info> dhclient started with pid 7328
May 20 23:40:05 genizi NetworkManager[7323]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
May 20 23:40:05 genizi dhclient: execve (/usr/lib/NetworkManager/nm-dhcp-client.action, ...): Permission denied
May 20 23:40:05 genizi kernel: [28574.683577] type=1400 audit(1400618405.284:46): apparmor="DENIED" operation="exec" parent=7328 profile="/sbin/dhclient" name="/home/usr/lib/NetworkManager/nm-dhcp-client.action" pid=7330 comm="dhclient" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
May 20 23:40:05 genizi NetworkManager[7323]: <info> (wlan2): supplicant interface state: starting -> ready
May 20 23:40:05 genizi NetworkManager[7323]: <info> (wlan2): device state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
May 20 23:40:05 genizi NetworkManager[7323]: <info> (wlan2): supplicant interface state: ready -> inactive
May 20 23:40:05 genizi NetworkManager[7323]: <warn> Trying to remove a non-existant call id.
May 20 23:40:05 genizi dhclient: execve (/usr/lib/NetworkManager/nm-dhcp-client.action, ...): Permission denied
May 20 23:40:05 genizi kernel: [28574.695924] type=1400 audit(1400618405.296:47): apparmor="DENIED" operation="exec" parent=7328 profile="/sbin/dhclient" name="/home/usr/lib/NetworkManager/nm-dhcp-client.action" pid=7331 comm="dhclient" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
May 20 23:40:07 genizi NetworkManager[7323]: <info> Auto-activating connection 'WBR-6003'.
May 20 23:40:07 genizi NetworkManager[7323]: <info> Activation (wlan2) starting connection 'WBR-6003'
May 20 23:40:07 genizi NetworkManager[7323]: <info> (wlan2): device state change: disconnected -> prepare (reason 'none') [30 40 0]
May 20 23:40:07 genizi NetworkManager[7323]: <info> Activation (wlan2) Stage 1 of 5 (Device Prepare) scheduled...
May 20 23:40:07 genizi NetworkManager[7323]: <info> Activation (wlan2) Stage 1 of 5 (Device Prepare) started...
May 20 23:40:07 genizi NetworkManager[7323]: <info> Activation (wlan2) Stage 2 of 5 (Device Configure) scheduled...
May 20 23:40:07 genizi NetworkManager[7323]: <info> Activation (wlan2) Stage 1 of 5 (Device Prepare) complete.
May 20 23:40:07 genizi NetworkManager[7323]: <info> Activation (wlan2) Stage 2 of 5 (Device Configure) starting...
May 20 23:40:07 genizi NetworkManager[7323]: <info> (wlan2): device state change: prepare -> config (reason 'none') [40 50 0]
May 20 23:40:07 genizi NetworkManager[7323]: <info> Activation (wlan2/wireless): connection 'WBR-6003' requires no security. No secrets needed.
May 20 23:40:07 genizi NetworkManager[7323]: <info> Config: added 'ssid' value 'WBR-6003'
May 20 23:40:07 genizi NetworkManager[7323]: <info> Config: added 'scan_ssid' value '1'
May 20 23:40:07 genizi NetworkManager[7323]: <info> Config: added 'key_mgmt' value 'NONE'
May 20 23:40:07 genizi NetworkManager[7323]: <info> Activation (wlan2) Stage 2 of 5 (Device Configure) complete.
May 20 23:40:07 genizi NetworkManager[7323]: <info> Config: set interface ap_scan to 1
May 20 23:40:07 genizi NetworkManager[7323]: <info> (wlan2): supplicant interface state: inactive -> scanning
May 20 23:40:08 genizi NetworkManager[7323]: <info> (wlan2): supplicant interface state: scanning -> authenticating
May 20 23:40:08 genizi NetworkManager[7323]: <info> (wlan2): supplicant interface state: authenticating -> associating
May 20 23:40:08 genizi NetworkManager[7323]: <info> (wlan2): supplicant interface state: associating -> completed
May 20 23:40:08 genizi NetworkManager[7323]: <info> Activation (wlan2/wireless) Stage 2 of 5 (Device Configure) successful. Connected to wireless network 'WBR-6003'.
May 20 23:40:08 genizi NetworkManager[7323]: <info> Activation (wlan2) Stage 3 of 5 (IP Configure Start) scheduled.
May 20 23:40:08 genizi NetworkManager[7323]: <info> Activation (wlan2) Stage 3 of 5 (IP Configure Start) started...
May 20 23:40:08 genizi NetworkManager[7323]: <info> (wlan2): device state change: config -> ip-config (reason 'none') [50 70 0]
May 20 23:40:08 genizi NetworkManager[7323]: <info> Activation (wlan2) Beginning DHCPv4 transaction (timeout in 45 seconds)
May 20 23:40:08 genizi NetworkManager[7323]: <info> dhclient started with pid 7333
May 20 23:40:08 genizi NetworkManager[7323]: <info> Activation (wlan2) Beginning IP6 addrconf.
May 20 23:40:08 genizi NetworkManager[7323]: <info> Activation (wlan2) Stage 3 of 5 (IP Configure Start) complete.
May 20 23:40:08 genizi dhclient: execve (/usr/lib/NetworkManager/nm-dhcp-client.action, ...): Permission denied
May 20 23:40:08 genizi kernel: [28578.129401] type=1400 audit(1400618408.732:48): apparmor="DENIED" operation="exec" parent=7333 profile="/sbin/dhclient" name="/home/usr/lib/NetworkManager/nm-dhcp-client.action" pid=7334 comm="dhclient" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
May 20 23:40:08 genizi dhclient: execve (/usr/lib/NetworkManager/nm-dhcp-client.action, ...): Permission denied
May 20 23:40:08 genizi kernel: [28578.167544] type=1400 audit(1400618408.772:49): apparmor="DENIED" operation="exec" parent=7333 profile="/sbin/dhclient" name="/home/usr/lib/NetworkManager/nm-dhcp-client.action" pid=7335 comm="dhclient" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
May 20 23:40:29 genizi NetworkManager[7323]: <info> (wlan2): IP6 addrconf timed out or failed.
May 20 23:40:29 genizi NetworkManager[7323]: <info> Activation (wlan2) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
May 20 23:40:29 genizi NetworkManager[7323]: <info> Activation (wlan2) Stage 4 of 5 (IPv6 Configure Timeout) started...
May 20 23:40:29 genizi NetworkManager[7323]: <info> Activation (wlan2) Stage 4 of 5 (IPv6 Configure Timeout) complete.
May 20 23:40:50 genizi NetworkManager[7323]: <warn> (eth0): DHCPv4 request timed out.
May 20 23:40:50 genizi NetworkManager[7323]: <info> (eth0): canceled DHCP transaction, DHCP client pid 7328
May 20 23:40:50 genizi NetworkManager[7323]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) scheduled...
May 20 23:40:50 genizi NetworkManager[7323]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) started...
May 20 23:40:50 genizi NetworkManager[7323]: <info> (eth0): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
May 20 23:40:50 genizi NetworkManager[7323]: <warn> Activation (eth0) failed.
May 20 23:40:50 genizi NetworkManager[7323]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) complete.
May 20 23:40:50 genizi NetworkManager[7323]: <info> (eth0): device state change: failed -> disconnected (reason 'none') [120 30 0]
May 20 23:40:50 genizi NetworkManager[7323]: <info> (eth0): deactivating device (reason 'none') [0]
May 20 23:40:54 genizi NetworkManager[7323]: <warn> (wlan2): DHCPv4 request timed out.
May 20 23:40:54 genizi NetworkManager[7323]: <info> (wlan2): canceled DHCP transaction, DHCP client pid 7333
May 20 23:40:54 genizi NetworkManager[7323]: <info> Activation (wlan2) Stage 4 of 5 (IPv4 Configure Timeout) scheduled...
May 20 23:40:54 genizi NetworkManager[7323]: <info> Activation (wlan2) Stage 4 of 5 (IPv4 Configure Timeout) started...
May 20 23:40:54 genizi NetworkManager[7323]: <info> (wlan2): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
May 20 23:40:54 genizi NetworkManager[7323]: <warn> Activation (wlan2) failed for access point (WBR-6003)
May 20 23:40:54 genizi NetworkManager[7323]: <warn> Activation (wlan2) failed.
May 20 23:40:54 genizi NetworkManager[7323]: <info> Activation (wlan2) Stage 4 of 5 (IPv4 Configure Timeout) complete.
May 20 23:40:54 genizi NetworkManager[7323]: <info> (wlan2): device state change: failed -> disconnected (reason 'none') [120 30 0]
May 20 23:40:54 genizi NetworkManager[7323]: <info> (wlan2): deactivating device (reason 'none') [0]
May 20 23:40:54 genizi NetworkManager[7323]: <info> (wlan2): supplicant interface state: completed -> disconnected
May 20 23:40:57 genizi NetworkManager[7323]: <info> Auto-activating connection 'WBR-6003'.
May 20 23:40:57 genizi NetworkManager[7323]: <info> Activation (wlan2) starting connection 'WBR-6003'
May 20 23:40:57 genizi NetworkManager[7323]: <info> (wlan2): device state change: disconnected -> prepare (reason 'none') [30 40 0]
May 20 23:40:57 genizi NetworkManager[7323]: <info> Activation (wlan2) Stage 1 of 5 (Device Prepare) scheduled...
May 20 23:40:57 genizi NetworkManager[7323]: <info> Activation (wlan2) Stage 1 of 5 (Device Prepare) started...
May 20 23:40:57 genizi NetworkManager[7323]: <info> Activation (wlan2) Stage 2 of 5 (Device Configure) scheduled...
May 20 23:40:57 genizi NetworkManager[7323]: <info> Activation (wlan2) Stage 1 of 5 (Device Prepare) complete.
May 20 23:40:57 genizi NetworkManager[7323]: <info> Activation (wlan2) Stage 2 of 5 (Device Configure) starting...
May 20 23:40:57 genizi NetworkManager[7323]: <info> (wlan2): device state change: prepare -> config (reason 'none') [40 50 0]
May 20 23:40:57 genizi NetworkManager[7323]: <info> Activation (wlan2/wireless): connection 'WBR-6003' requires no security. No secrets needed.
May 20 23:40:57 genizi NetworkManager[7323]: <info> Config: added 'ssid' value 'WBR-6003'
May 20 23:40:57 genizi NetworkManager[7323]: <info> Config: added 'scan_ssid' value '1'
May 20 23:40:57 genizi NetworkManager[7323]: <info> Config: added 'key_mgmt' value 'NONE'
May 20 23:40:57 genizi NetworkManager[7323]: <info> Activation (wlan2) Stage 2 of 5 (Device Configure) complete.
May 20 23:40:57 genizi NetworkManager[7323]: <info> Config: set interface ap_scan to 1
May 20 23:40:57 genizi NetworkManager[7323]: <info> (wlan2): supplicant interface state: disconnected -> scanning
May 20 23:40:58 genizi NetworkManager[7323]: <info> (wlan2): supplicant interface state: scanning -> authenticating
May 20 23:40:58 genizi NetworkManager[7323]: <info> (wlan2): supplicant interface state: authenticating -> associating
May 20 23:40:59 genizi NetworkManager[7323]: <info> (wlan2): supplicant interface state: associating -> disconnected
May 20 23:40:59 genizi NetworkManager[7323]: <info> (wlan2): supplicant interface state: disconnected -> scanning
May 20 23:41:00 genizi NetworkManager[7323]: <info> (wlan2): supplicant interface state: scanning -> authenticating
May 20 23:41:00 genizi NetworkManager[7323]: <info> (wlan2): supplicant interface state: authenticating -> associating
May 20 23:41:00 genizi NetworkManager[7323]: <info> (wlan2): supplicant interface state: associating -> completed
May 20 23:41:00 genizi NetworkManager[7323]: <info> Activation (wlan2/wireless) Stage 2 of 5 (Device Configure) successful. Connected to wireless network 'WBR-6003'.
May 20 23:41:00 genizi NetworkManager[7323]: <info> Activation (wlan2) Stage 3 of 5 (IP Configure Start) scheduled.
May 20 23:41:00 genizi NetworkManager[7323]: <info> Activation (wlan2) Stage 3 of 5 (IP Configure Start) started...
May 20 23:41:00 genizi NetworkManager[7323]: <info> (wlan2): device state change: config -> ip-config (reason 'none') [50 70 0]
May 20 23:41:00 genizi NetworkManager[7323]: <info> Activation (wlan2) Beginning DHCPv4 transaction (timeout in 45 seconds)
May 20 23:41:00 genizi NetworkManager[7323]: <info> dhclient started with pid 7366
May 20 23:41:00 genizi NetworkManager[7323]: <info> Activation (wlan2) Beginning IP6 addrconf.
May 20 23:41:00 genizi NetworkManager[7323]: <info> Activation (wlan2) Stage 3 of 5 (IP Configure Start) complete.
May 20 23:41:00 genizi dhclient: execve (/usr/lib/NetworkManager/nm-dhcp-client.action, ...): Permission denied
May 20 23:41:00 genizi kernel: [28630.317400] type=1400 audit(1400618460.956:50): apparmor="DENIED" operation="exec" parent=7366 profile="/sbin/dhclient" name="/home/usr/lib/NetworkManager/nm-dhcp-client.action" pid=7367 comm="dhclient" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
May 20 23:41:00 genizi dhclient: execve (/usr/lib/NetworkManager/nm-dhcp-client.action, ...): Permission denied
May 20 23:41:01 genizi kernel: [28630.354769] type=1400 audit(1400618460.996:51): apparmor="DENIED" operation="exec" parent=7366 profile="/sbin/dhclient" name="/home/usr/lib/NetworkManager/nm-dhcp-client.action" pid=7368 comm="dhclient" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
|
|
|
05-19-2014, 04:57 PM
|
#9
|
Member
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457
Rep:
|
Well, you didn't do as I ask, so I can only give you my opinion after looking at a log file...
If AppArmor is like SELinux, then this may be the issue:
~~~
May 20 23:40:08 genizi dhclient: execve (/usr/lib/NetworkManager/nm-dhcp-client.action, ...): Permission denied
May 20 23:40:08 genizi kernel: [28578.129401] type=1400 audit(1400618408.732:48): apparmor="DENIED" operation="exec" parent=7333 profile="/sbin/dhclient" name="/home/usr/lib/NetworkManager/nm-dhcp-client.action" pid=7334 comm="dhclient" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
May 20 23:40:08 genizi dhclient: execve (/usr/lib/NetworkManager/nm-dhcp-client.action, ...): Permission denied
May 20 23:40:08 genizi kernel: [28578.167544] type=1400 audit(1400618408.772:49): apparmor="DENIED" operation="exec" parent=7333 profile="/sbin/dhclient" name="/home/usr/lib/NetworkManager/nm-dhcp-client.action" pid=7335 comm="dhclient" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
May 20 23:40:29 genizi NetworkManager[7323]: <info> (wlan2): IP6 addrconf timed out or failed.
~~~
It looks like the network sets itself up just fine, but when it domes to DHCP negotiation, you get these Permission Denied messages, and then you get the cascading timeouts. If I'm not mis-reading the log file, that is.
Try disabling AppArmor, or correcting the access control for DHCP.
|
|
|
05-19-2014, 04:59 PM
|
#10
|
Member
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457
Rep:
|
Alternately, you can set a static IP and see if the issue goes away. THen you would know it was a DHCP issue.
|
|
|
05-20-2014, 12:07 PM
|
#11
|
LQ Newbie
Registered: Aug 2012
Posts: 9
Original Poster
Rep:
|
thank you.
I googled my logs and found this - http://ubuntuforums.org/archive/inde...t-1496700.html
This is what I did:
Code:
sudo nano /etc/apparmor.d/tunables/alias
alias /usr/ -> /home/usr/,
sudo service apparmor reload
|
|
|
05-20-2014, 05:49 PM
|
#12
|
Member
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457
Rep:
|
w00t!
|
|
|
All times are GMT -5. The time now is 08:53 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|