You are not logged in.

#1 2018-05-05 01:42:48

ulaume
Member
Registered: 2018-05-05
Posts: 8

[SOLVED] DHCP is working for wifi but can't get out to the internet

This started yesterday - I'd configured networkmanager for my wifi and everything seemed to be going smoothly, but after shutting down my laptop for the night and powering it on again, I'm no longer able to get out to the internet. I'm getting an IP address from the router, but I can't ping the gateway (i can ping localhost). I've tried reinstalling network manager, but that doesn't seem to help, and dhcpcd is disabled. In fact, as soon as I connect an ethernet cable everything works fine - really not sure where to look now, any thoughts?

Thanks,
Ulaume

Last edited by ulaume (2018-05-05 02:34:41)

Offline

#2 2018-05-05 01:51:46

murffatksig
Member
From: Atl
Registered: 2004-05-17
Posts: 362

Re: [SOLVED] DHCP is working for wifi but can't get out to the internet

There's a few questions that when answered may help in troubleshooting.  What IP, subnet mask, and gateway settings do you get while on wifi?  Same question while on a wired connection?  What's the LAN address of the gateway?  it's a bit confusing, you say you get an IP from the router while on wifi, yet dhcpd is disabled? That seems strange.


"Oh, they have the internet on computers now."

Offline

#3 2018-05-05 01:59:20

ulaume
Member
Registered: 2018-05-05
Posts: 8

Re: [SOLVED] DHCP is working for wifi but can't get out to the internet

I'm getting the same IP, netmask and gateway as on wired. Here are some of the outputs i'm looking at, something wrong with my wireless profile? Not entirely sure what the meaning of these issues are..

systemctl list-units | grep -iE '(net|dhcp|wpa|conn|wicd)' (looks like there's an error on the wireless adapter - will post journalctl ourput below)
sys-devices-pci0000:00-0000:00:14.0-usb3-3\x2d4-3\x2d4:1.0-net-wwp0s20u4.device                   loaded active plugged   Sierra Wireless Gobi 3000 Modem device (MC8355)                                      
  sys-devices-pci0000:00-0000:00:19.0-net-enp0s25.device                                            loaded active plugged   82579LM Gigabit Network Connection (Lewisville)                                      
  sys-devices-pci0000:00-0000:00:1c.1-0000:03:00.0-net-wlp3s0.device                                loaded active plugged   Centrino Advanced-N 6205 [Taylor Peak] (Centrino Advanced-N 6205 (802.11a/b/g/n))    
  sys-subsystem-net-devices-enp0s25.device                                                          loaded active plugged   82579LM Gigabit Network Connection (Lewisville)                                      
  sys-subsystem-net-devices-wlp3s0.device                                                           loaded active plugged   Centrino Advanced-N 6205 [Taylor Peak] (Centrino Advanced-N 6205 (802.11a/b/g/n))    
  sys-subsystem-net-devices-wwp0s20u4.device                                                        loaded active plugged   Sierra Wireless Gobi 3000 Modem device (MC8355)                                      
* netctl@wlp3s0\x2dDeckard.service                                                                  loaded failed failed    Networking for netctl profile wlp3s0-Deckard                                         
  NetworkManager.service                                                                            loaded active running   Network Manager                                                                      
  wpa_supplicant.service                                                                            loaded active running   WPA supplicant                                                                       
  system-netctl.slice                                                                               loaded active active    system-netctl.slice                                                                  

network.target loaded active active Network

systemctl status NetworkManager
NetworkManager.service - Network Manager
Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; disabled; vendor preset: disabled)
Drop-In: /usr/lib/systemd/system/NetworkManager.service.d `-NetworkManager-ovs.conf
Active: active (running) since Fri 2018-05-04 20:33:35 EDT; 18min ago
Docs: man:NetworkManager(8)
Main PID: 1748 (NetworkManager)
Tasks: 3 (limit: 4915)
Memory: 5.8M
CGroup: /system.slice/NetworkManager.service  `-1748 /usr/bin/NetworkManager --no-daemon

systemctl status netctl@wlp3s0\x2dDeckard.service

* netctl@wlp3s0x2dDeckard.service - Networking for netctl profile wlp3s0x2dDeckard
Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor preset: disabled)
Active: inactive (dead)
Docs: man:netctl.profile(5)

journalctl -xe

-- Unit netctl@wlp3s0x2dDeckard.service has begun starting up.
May 04 20:54:32 thinkarch network[2260]: Profile 'wlp3s0x2dDeckard' does not exist or is not readable
May 04 20:54:32 thinkarch systemd[1]: netctl@wlp3s0x2dDeckard.service: Main process exited, code=exited, status=1/FAILURE
May 04 20:54:32 thinkarch systemd[1]: netctl@wlp3s0x2dDeckard.service: Failed with result 'exit-code'.
May 04 20:54:32 thinkarch systemd[1]: Failed to start Networking for netctl profile wlp3s0x2dDeckard.
-- Subject: Unit netctl@wlp3s0x2dDeckard.service has failed
-- Defined-By: systemd
-- Support: [url]https://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
-- 
-- Unit netctl@wlp3s0x2dDeckard.service has failed.

Last edited by ulaume (2018-05-05 02:07:42)

Offline

#4 2018-05-05 02:00:25

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] DHCP is working for wifi but can't get out to the internet

Read the Code of Conduct and use code tags when you paste here: https://wiki.archlinux.org/index.php/Co … s_and_code

And choose one service to manage your network.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2018-05-05 02:08:29

ulaume
Member
Registered: 2018-05-05
Posts: 8

Re: [SOLVED] DHCP is working for wifi but can't get out to the internet

Thank you, i should have looked up the tags first - i've fixed my initial post. Secondly, I'm only using network manager, nothing else.

Offline

#6 2018-05-05 02:11:32

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: [SOLVED] DHCP is working for wifi but can't get out to the internet

You also have netctl running... Disable that if you aren't using it.

Offline

#7 2018-05-05 02:11:40

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] DHCP is working for wifi but can't get out to the internet

Then why is netctl enabled?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2018-05-05 02:12:32

ulaume
Member
Registered: 2018-05-05
Posts: 8

Re: [SOLVED] DHCP is working for wifi but can't get out to the internet

I was just able to get it going again by re-installing wpa_supplicant actually - I'd done this once before, when re-installing networkmanager, but this time it appears to have worked. Doesn't offer much for a root cause, but at least it's going now.

Offline

#9 2018-05-05 02:16:06

ulaume
Member
Registered: 2018-05-05
Posts: 8

Re: [SOLVED] DHCP is working for wifi but can't get out to the internet

also, i didn't realize i was using netctl - it doesn't appear to be enabled in either case.

* netctl.service - (Re)store the netctl profile state
   Loaded: loaded (/usr/lib/systemd/system/netctl.service; disabled; vendor preset: disabled)
   Active: inactive (dead)
     Docs: man:netctl.special(7)

Offline

#10 2018-05-05 02:18:59

murffatksig
Member
From: Atl
Registered: 2004-05-17
Posts: 362

Re: [SOLVED] DHCP is working for wifi but can't get out to the internet

Does your wired connection have a static IP? That might conflict with the Wifi having the same IP when the WiFi connection is active.  Even when the Ethernet cable isn’t plugged in.  Also yea, go with only one network manager.  Per https://wiki.archlinux.org/index.php/Network_manager they are mutually exclusive.


"Oh, they have the internet on computers now."

Offline

#11 2018-05-05 02:19:06

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] DHCP is working for wifi but can't get out to the internet

systemctl list-unit-files --state=enabled

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#12 2018-05-05 02:27:41

ulaume
Member
Registered: 2018-05-05
Posts: 8

Re: [SOLVED] DHCP is working for wifi but can't get out to the internet

I was only on wired so I could post on the forums, it wasn't a conflicting IP address in the end. And to satisfy your curiosity Anarchist, here's the output you're looking for:

UNIT FILE                          STATE  
autovt@.service                    enabled
dbus-fi.w1.wpa_supplicant1.service enabled
getty@.service                     enabled
tlp-sleep.service                  enabled
tlp.service                        enabled
wpa_supplicant.service             enabled
remote-fs.target                   enabled

Offline

#13 2018-05-05 02:38:09

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] DHCP is working for wifi but can't get out to the internet


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB