You are not logged in.

#1 2015-11-19 00:29:35

ArchiMark
Member
From: California, USA
Registered: 2012-04-11
Posts: 101

Can ping but can't connect otherwise at office - OK at home

Hope someone can please advise....been going a bit crazy trying to get ethernet connection working properly at my office at work.

No problem connecting via ethernet to my network at home.

However, cannot get connected at my office.

Although I can ping 8.8.8.8 OK....but not www.google.com (get 'unknown host' message...) nor can connect when running pacman.

Have read various wiki pages and have tried various things to no avail.

Perhaps I've done too many things and maybe need to 'start over' connections-wise ?

Here's various bits of info that I hope will make diagnosing problem and a fix easier:

# ip addr show dev enp0s29f7u1
3: enp0s29f7u1: <BROADCAST, MULTICAST, UP, LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
   link/ether 00:1e:c2:ff:da:d4   brd ff:ff:ff:ff:ff:ff
inet 10.241.53.115/24   brd 10.241.53.255 scope global dynamic enp0s29f7u1
   valid_lft 1190896sec preferred_lft 1190896sec
inet 10.241.53.213/24   brd 10.241.53.255 scope global secondary enp0s29f7u1
    valid_lft forever preferred_lft forever
inet6 fe80::21e:c2ff:feff:dad4/64 scope link 
    valid_lft forever preferred_lft forever

# dhcpcd
enp0s29f7u1: soliciting a DHCP lease
enp0s29f7u1: soliciting a IPv6 lease
enp0s29f7u1: offered 10.241.53.213 from 10.242.31.248
enp0s29f7u1: probing static address 10.241.53.213/24
enp0s29f7u1: probing static address 10.241.53.213/24
enp0s29f7u1: leased 10.241.53.213 for 1800 seconds
enp0s29f7u1: adding route to 10.241.53.0/24
enp0s29f7u1: adding default route via 10.241.53.1
forked to background, child pid 2718

# ls - l /etc/systemd/system/multi-user.target.wants/
dhcpcd@emp5s4.service -> /usr/lib/systemd/system/dhcpcd@.service
netctl@ethernet\x2ddhcp.service -> /etc/systemd/system/netctl@ethernet\x2ddhcp.service
netctl-ifplugd@emp5s4 -> /usr/lib/systemd/system/netctl-ifplugd@.service
remove-fs.target -> /usr/lib/systemd/system/remove-fs.target
systemd-networkd.service -> /usr/lib/systemd/system/systemd-networkd.service

# cat netctl@ethernet\x2ddhcp.service
cat: netctl@ethernetx2ddhcp.service: No such file or directory

# systemctl --type=service --no-pager
UNIT                                         LOAD ACTIVE  SUB    DESCRIPTION
* netctl@enp0s29f7u1.service loaded failed     failed  Networking for netctl profile enp0s29f7u1
* netctl@emp5s4.service         loaded failed     failed  Networking for netctl profile emp0s5s4
systemd-networkd.service       loaded active    running Network service

# systemctl status netctl@ethernet\x2ddhcp.service
* netctl@ethernetx2ddhcp.service  -  Networking for netctl profile ethernetx2ddhcp
loaded:  loaded (/usr/lib/sytemd/system/netctl@.service; static; vendor preset: disabled
Active:  inactive (dead)
  Docs: man: netctl.profile (5)

# systemctl start netctl@ethernet\x2ddhcp.service
* Job for netctl@ethernetx2ddhcp.service failed because the control process exited with error code. See "systemctl status netctl@ethernetx2ddhcp.service"
& journalctl -xe" for details.

#systemctl status netctl@ethernet\x2ddhcp.service
* netctl@ethernetx2ddhcp.service - Networking for netctl profile ethernetx2ddhcp 
Loaded: loaded (usr/lib/systemd/system/netctl@.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2015-11-18 02:29:56 PST; 45s ago
  Docs: man: netctl.profile (5)
Process: 2391 ExecStart=/usr/lib/network start %I (code=exited, status=1/FAILURE)
Main PID: 2391 (code=exited, status=1/FAILURE)
Nov 18 02:29:56 ArchiMark systemd [1]: Starting Networking for netctl profile ethernetx2ddhcp...
Nov 18 02:29:56 ArchiMark network [2391]: Profile 'ethernetx2ddhcp 'does not exist or is not readable'
Nov 18 02:29:56 ArchiMark systemd [1]: netctl@ethernetx2ddhcp.service: main process exited, code=exited, status=1/FAILURE
Nov 18 02:29:56 ArchiMark systemd [1]: Failed to start networking for netctl profile ethernet2xddhcp.
Nov 18 02:29:56 ArchiMark systemd [1]: netctl@ethernetx2ddhcp.service: Unit entered failed state
Nov 18 02:29:56 ArchiMark systemd [1]: netctl@ethernetx2ddhcp.service: Failed with result 'exit-code'.

Appreciate any input and where to start to get this sorted out.....

Thank you!

Mark


Silicon Valley Digerati & Arch Noob
GPD Pocket 3, Thinkpad 230t

Offline

#2 2015-11-19 00:44:28

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: Can ping but can't connect otherwise at office - OK at home

Can you browse to 66.211.214.131   (an Arch Linux server)
What are the contents of /etc/resolv.conf   ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2015-11-19 02:31:42

ArchiMark
Member
From: California, USA
Registered: 2012-04-11
Posts: 101

Re: Can ping but can't connect otherwise at office - OK at home

ewaller wrote:

Can you browse to 66.211.214.131   (an Arch Linux server)
What are the contents of /etc/resolv.conf   ?

Thanks for your help....

I'm at home now, so, I assume you mean for me to do this from my office at work, where I am having the problem, right?

Or do you want me to do it from home?

Although if at office, how will I do this if I can't connect?

And by 'browse to', do you mean try pinging that address or ?


Silicon Valley Digerati & Arch Noob
GPD Pocket 3, Thinkpad 230t

Offline

#4 2015-11-19 03:04:39

ArchiMark
Member
From: California, USA
Registered: 2012-04-11
Posts: 101

Re: Can ping but can't connect otherwise at office - OK at home

Just in case you meant providing info from my home network.....

Yes, I can ping that Arch Linux server....

Contents of /etc/resolv.conf:

# Generated by resolvconf
nameserver 8.8.4.4
nameserver 8.8.8.8

Silicon Valley Digerati & Arch Noob
GPD Pocket 3, Thinkpad 230t

Offline

#5 2015-11-19 04:03:17

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,238
Website

Re: Can ping but can't connect otherwise at office - OK at home

ArchiMark wrote:

I'm at home now, so, I assume you mean for me to do this from my office at work, where I am having the problem, right?

No, do it at work... Your home connection is working wink

ArchiMark wrote:

Although if at office, how will I do this if I can't connect?

That's the whole point; to see if you can or can't (by IP address, not hostname).

ArchiMark wrote:

And by 'browse to', do you mean try pinging that address or ?

"Browse" is generally inferred to mean in a web browser.

Most importantly, what is the content of /etc/resolv.conf while you're connected to your work network?

Offline

#6 2015-11-19 04:13:17

ArchiMark
Member
From: California, USA
Registered: 2012-04-11
Posts: 101

Re: Can ping but can't connect otherwise at office - OK at home

Thank you for clarifying, fukawi2......

Just wanted to make sure I understood requests for info correctly to save time....

As noted, at work, I can ping 8.8.8.8.8 OK, but not if I do www.google.com......

OK, will browse to the Arch server and see what happens tomorrow.....and report back with content of /etc/resolv.conf......


Silicon Valley Digerati & Arch Noob
GPD Pocket 3, Thinkpad 230t

Offline

#7 2015-11-19 04:13:23

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: Can ping but can't connect otherwise at office - OK at home

Yeah, I mean from the office.   But I did not mean to ping the arch address.  I meant open a browser and enter 66.211.214.131  into the address bar.

If you can reach Arch Linux by an address  as opposed to a domain name it means that your DNS (Domain Name Service) is borked.
If you cannot reach Arch Linux using an address, you have a routing issue.

Assuming it is a DNS issue, The resolv.conf file will tell us what DNS server address the DHCP server provided you when your system obtained an IP address.  It is likely that your employer's router gave you an internal network address as your DNS server.  That way you can find both machines on the Intranet and the Internet.  That you can ping 8.8.8.8 is good, it means that ARP requests make it out of the Intranet into the wild.  But, unless resolv.conf points to 8.8.8.8 (Unlikely) it won't be used for address lookup.

It is entirely possible that your company blocks DNS requests to outside servers.  That helps them redirect you from places they don't want you to visit.   

tl;dr Seeing if you can browse by address from behind the firewall, and seeing the contents of resolv.conf assigned by your companies DHCP server will answer many of these questions.

Edit:  I see we are all posting at the same time smile

Last edited by ewaller (2015-11-19 04:14:18)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#8 2015-11-19 04:36:03

ArchiMark
Member
From: California, USA
Registered: 2012-04-11
Posts: 101

Re: Can ping but can't connect otherwise at office - OK at home

Thanks again for your help, ewaller!

Understand about using the browser....will do.....

You raise a good point about the company I work for.....they are very security conscious, for variety of reasons. So, they are pretty conservative in what programs they let us use on company computers.

I happen to have an extra ethernet port in my office so that I can connect my own computers too.....

FWIW, I'm dual booting Arch and Win 10 on this little laptop.....

No problem connecting to internet when using Win10.....

Will be at an off-site meeting all morning, but back in office after lunch....so, will report back with info in the afternoon.....my time....

Thanks!


Silicon Valley Digerati & Arch Noob
GPD Pocket 3, Thinkpad 230t

Offline

#9 2015-11-19 21:26:34

ArchiMark
Member
From: California, USA
Registered: 2012-04-11
Posts: 101

Re: Can ping but can't connect otherwise at office - OK at home

OK, at office.....

Like before, I can ping 8.8.8.8 OK......

Just tried browsing to Arch linux server with Firefox......but no go.....doesn't connect....

Content of /etc/resolv.conf is same as before:

# Generated by resolvconf
nameserver 8.8.4.4
nameserver 8.8.8.8

Any suggestions?......

Thanks.


Silicon Valley Digerati & Arch Noob
GPD Pocket 3, Thinkpad 230t

Offline

#10 2015-11-19 21:41:33

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: Can ping but can't connect otherwise at office - OK at home

Check the output of ip route for a default gateway.  See if it is set the same way from Windows ( check that from powershell.exe with the ipconfig command)

I'm starting to wonder if you are being blocked at the firewall.   In Windows, are you part of a domain?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#11 2015-11-20 01:19:58

ArchiMark
Member
From: California, USA
Registered: 2012-04-11
Posts: 101

Re: Can ping but can't connect otherwise at office - OK at home

OK, will check these things out tomorrow and report back with info........

I just installed Win 10 on laptop just prior to Arch install...did not set up anything....but will check it.....

Thanks for your help!


Silicon Valley Digerati & Arch Noob
GPD Pocket 3, Thinkpad 230t

Offline

#12 2015-11-20 01:44:06

ArchiMark
Member
From: California, USA
Registered: 2012-04-11
Posts: 101

Re: Can ping but can't connect otherwise at office - OK at home

Just remembered I did 'ip route' a few days ago at office.....

# ip route
default via 10.241.53.1 dev enp5s4 metric 202
10.241.53.0/24 dev enp5s4 proto kernel scope link
src 10.241.53.39 metric 202
10.241.53.1 dev enp5s4 proto dhcp scope link
src 10.241.53.153 metric 1024

Silicon Valley Digerati & Arch Noob
GPD Pocket 3, Thinkpad 230t

Offline

#13 2015-11-20 14:26:10

Durden
Member
Registered: 2011-06-19
Posts: 261

Re: Can ping but can't connect otherwise at office - OK at home

You're probably behind a proxy at work. In Firefox you can change the proxy settings by going into options -> Advanced -> Network

In there change the settings to "Auto-detect" and then try going to something like google.com. If that works it means you're behind a proxy using WPAD. Let me know if it works and we can go from there.

Offline

#14 2015-11-20 22:45:24

ArchiMark
Member
From: California, USA
Registered: 2012-04-11
Posts: 101

Re: Can ping but can't connect otherwise at office - OK at home

Thanks for your help, Durden.....

Did as you instructed.....but no go......

Get 'server not found' message in Firefox.......


Silicon Valley Digerati & Arch Noob
GPD Pocket 3, Thinkpad 230t

Offline

#15 2015-11-20 23:33:26

ArchiMark
Member
From: California, USA
Registered: 2012-04-11
Posts: 101

Re: Can ping but can't connect otherwise at office - OK at home

ewaller wrote:

Check the output of ip route for a default gateway.  See if it is set the same way from Windows ( check that from powershell.exe with the ipconfig command)

I'm starting to wonder if you are being blocked at the firewall.   In Windows, are you part of a domain?


Here's what I get in powershell.....

I've changed some letters in the 'DNS Suffix' line info to avoid showing my company info...

ipconfig

Ethernet adapter Ethernet 2:

   Connection-specific DNS Suffix  .  :  rwx.ca.xx.org.
   Link-local IPv6 Address .  .  .  .  .   :  fe80: : edc8: 948d: 492f: 3eba%2
   IPv4 Address .  .  .  .  .  .   .  .  .  .   :  10.241.53.34
   Subnet Mask .  .  .  .  .  .   .  .  .  .   :   255.255.255.0
   Default Gateway .  .  .  .   .  .  .  .   :   10.241.53.1

Tunnel adapter isatap.rwc.ca.xx.org. :
   
   Media State .  .  .  .  .  .  .   .   .   .  :   Media Disconnected
   Connection-specific DNS Suffix . :   rwx.ca.xx.org

Tunnel adapter local area Connection* 5:

   Media State .  .  .  .  .  .  .   .   .   .  :   Media Disconnected
   Connection-specific DNS Suffix . :

Silicon Valley Digerati & Arch Noob
GPD Pocket 3, Thinkpad 230t

Offline

#16 2015-11-20 23:38:10

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: Can ping but can't connect otherwise at office - OK at home

ipconfig /displaydns
are the dns servers the same as in resolv.conf
edit:
corrected spelling of resolv.conf

edit2:
are the dns servers the same on windows as in resolv.conf command suggested previously shows contents of dns cache not the dns servers ips

Last edited by loqs (2015-11-20 23:47:49)

Offline

#17 2015-11-21 00:15:49

ArchiMark
Member
From: California, USA
Registered: 2012-04-11
Posts: 101

Re: Can ping but can't connect otherwise at office - OK at home

Hi loqs,

Thanks for your help.....

However, I am not sure I understand what you are trying to say......or if you are asking a question or making a comment....


Silicon Valley Digerati & Arch Noob
GPD Pocket 3, Thinkpad 230t

Offline

#18 2015-11-21 00:29:59

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: Can ping but can't connect otherwise at office - OK at home

Sorry for not being clearer on the the arch installation that has no dns resolution /etc/resolv.conf is

# Generated by resolvconf
nameserver 8.8.4.4
nameserver 8.8.8.8

Now under Windows 10 networking which has dns resolution are the dns servers the same?
Edit:
Under Windows 10 right click start menu -> Network Connections -> double click the connected link -> Details... -> IPv4 DNS Server

Last edited by loqs (2015-11-21 00:41:50)

Offline

#19 2015-11-21 02:31:20

ArchiMark
Member
From: California, USA
Registered: 2012-04-11
Posts: 101

Re: Can ping but can't connect otherwise at office - OK at home

Thanks for clarifying....

Trying to follow your directions.....

OK, until you say "double click the connected link -> Details...."

I assume you mean doubleclick the Ethernet connection shown?

When I do that, it opens the 'Ethernet Properties' window.....

In the window it lists a bunch of items with checkboxes next to each item.

There is one item "Internet Protocol Version 4 (TCP/IPv4)".

If I click on it, it opens up another window, "Internet Protocol Version 4 (TCP/IPv4) Properties".

In the General tab, it has a radio button selected "Obtain IP address automatically" and one selected for "Obtain DNS server address automatically"


Silicon Valley Digerati & Arch Noob
GPD Pocket 3, Thinkpad 230t

Offline

#20 2015-11-21 09:44:45

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: Can ping but can't connect otherwise at office - OK at home

ArchiMark wrote:

Thanks for clarifying....

Trying to follow your directions.....

OK, until you say "double click the connected link -> Details...."

I assume you mean doubleclick the Ethernet connection shown?

It seems double click is doing different things for us at that point.
If you right click instead is there a Status option?  If there is on the window that appears after clicking the Status option should be a Details... button.

Offline

#21 2015-11-21 12:46:36

dan001
Member
Registered: 2015-10-09
Posts: 24

Re: Can ping but can't connect otherwise at office - OK at home

Please ensure that  your "NetworkManager" service be active. Then edit "dhcp" equal to "internal" in your "/etc/NetworkManager/NetworkManager.conf" file and try with a ping to for example google.

Offline

#22 2015-11-21 17:51:29

ArchiMark
Member
From: California, USA
Registered: 2012-04-11
Posts: 101

Re: Can ping but can't connect otherwise at office - OK at home

loqs wrote:
ArchiMark wrote:

Thanks for clarifying....

Trying to follow your directions.....

OK, until you say "double click the connected link -> Details...."

I assume you mean doubleclick the Ethernet connection shown?

It seems double click is doing different things for us at that point.
If you right click instead is there a Status option?  If there is on the window that appears after clicking the Status option should be a Details... button.

Thank you again....

There is a Status option....and now I can see the info....

However, I'm at home today....so, doesn't have the info for connection at office....

There will likely be a delay in responding with the info at office as I plan on being away all next week due to the holiday. But will respond with info as soon as I get back to office.


Silicon Valley Digerati & Arch Noob
GPD Pocket 3, Thinkpad 230t

Offline

#23 2015-11-21 17:52:14

ArchiMark
Member
From: California, USA
Registered: 2012-04-11
Posts: 101

Re: Can ping but can't connect otherwise at office - OK at home

dan001 wrote:

Please ensure that  your "NetworkManager" service be active. Then edit "dhcp" equal to "internal" in your "/etc/NetworkManager/NetworkManager.conf" file and try with a ping to for example google.

OK, will check this.....

Thanks!


Silicon Valley Digerati & Arch Noob
GPD Pocket 3, Thinkpad 230t

Offline

Board footer

Powered by FluxBB