LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Manjaro
User Name
Password
Manjaro This forum is for the discussion of Manjaro Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 01-15-2017, 05:02 PM   #1
Juan Lucas
LQ Newbie
 
Registered: Jul 2015
Distribution: Manjaro, Debian...
Posts: 29

Rep: Reputation: Disabled
Question I can't connect to internet (via ethernet) from Manjaro NET Install ISO


Hi there

I got a new computer and want to install manjaro net edition on it, but I can't connect to internet from it.
I know the NIC and cables are working fine because I can connect to internet from a Debian installation on the same computer (On Debian I had to edit a little bit /etc/network/interfaces file to get it working)
My dhcpcd.conf file looks like this: https://hastebin.com/raw/warocaqeda

I tried running dhcpcd and dhclient -4 -v but they return

Code:
dev: loaded udev
DUID 00:01:00:01:20:0e:92:da:40:8d:5c:18:90:27
enp5s0: IAID 5c:18:90:27
enp5s0: soliciting an IPv6 router
enp5s0: soliciting a DHCP lease
enp5s0: using IPv4LL address 169.254.180.236
enp5s0: adding route to 169.254.0.0/16
forked to background, child pid 1730`
and

Code:
Internet Systems Consortium DHCP Client 4.3.4
Copyright 2004-2016 Internet Systems Consortium.
All rigts reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/enp5s0/40:8d:5c:18:90:27
Sending on   LPF/enp5s0/40:8d:5c:18:90:27
Sending on   Socket/fallback
DHCPDISCOVER on enp5s0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on enp5s0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on enp5s0 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on enp5s0 to 255.255.255.255 port 67 interval 17
DHCPDISCOVER on enp5s0 to 255.255.255.255 port 67 interval 3
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
respectively, and, after that, ping 8.8.8.8 returns Destination Host Unreachable

This is my ifconfig output:
https://hastebin.com/raw/mofiyisiqe

ethtool enp5s0 output:
https://hastebin.com/raw/efimakadag

lpsci -v output:
https://hastebin.com/raw/tepotujosi

dmesg | grep r8169 output:
https://hastebin.com/raw/vivehewova

ip link output:
https://hastebin.com/raw/ewadutugod

Could you help me to get connected?

Thanks in advance
 
Old 01-15-2017, 05:09 PM   #2
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
If you are trying to run both dhcpcd and dhclient they are likely conflicting.
Code:
dev: loaded udev
DUID 00:01:00:01:20:0e:92:da:40:8d:5c:18:90:27
enp5s0: IAID 5c:18:90:27
enp5s0: soliciting an IPv6 router
enp5s0: soliciting a DHCP lease
enp5s0: using IPv4LL address 169.254.180.236
enp5s0: adding route to 169.254.0.0/16
forked to background, child pid 1730
is expected output for dhcpcd
 
Old 01-15-2017, 07:19 PM   #3
Juan Lucas
LQ Newbie
 
Registered: Jul 2015
Distribution: Manjaro, Debian...
Posts: 29

Original Poster
Rep: Reputation: Disabled
But after running dhcpcd, I run ping 8.8.8.8 and get

Code:
From 169.254.180.236 icmp_seq=1 Destination Host Unreachable
From 169.254.180.236 icmp_seq=2 Destination Host Unreachable
From 169.254.180.236 icmp_seq=3 Destination Host Unreachable
From 169.254.180.236 icmp_seq=4 Destination Host Unreachable
From 169.254.180.236 icmp_seq=5 Destination Host Unreachable
From 169.254.180.236 icmp_seq=6 Destination Host Unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
.
.
.
D:

Shouldn't I get a message of 'leased <some address> for 86400 seconds' or something like that?

Last edited by Juan Lucas; 01-15-2017 at 09:27 PM. Reason: Make clear that that was the output of ping and not dhcpcd
 
Old 01-15-2017, 08:05 PM   #4
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
In your first post you said the output of dhcpcd returned what I quoted in my initial response, which seems to indicate that it received a lease from your router. What is the output of
Code:
ip a
 
Old 01-15-2017, 08:56 PM   #5
Juan Lucas
LQ Newbie
 
Registered: Jul 2015
Distribution: Manjaro, Debian...
Posts: 29

Original Poster
Rep: Reputation: Disabled
That Is the output of dhcpd, but, it never says that it received a lease :O , it just says that is using IPv4LL address 169.254.180.236 (which is useless :P).
'ip a' output is
Code:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 40:8d:5c:18:90:27 brd ff:ff:ff:ff:ff:ff
    inet 164.254.180.236/16 brd 169.254.255.255 scope global enp5s0
       valid_lft forever preferred_lft forever
    inet6 fe80::48f9:5417:28cb:8d63/64 scope link 
       valid_lft forever preferred_lft forever
 
Old 01-15-2017, 09:11 PM   #6
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
Code:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 40:8d:5c:18:90:27 brd ff:ff:ff:ff:ff:ff
    inet 164.254.180.236/16 brd 169.254.255.255 scope global enp5s0
       valid_lft forever preferred_lft forever
    inet6 fe80::48f9:5417:28cb:8d63/64 scope link 
       valid_lft forever preferred_lft forever
Indicates that you have one.
These lines
Code:
enp5s0: soliciting a DHCP lease
enp5s0: using IPv4LL address 169.254.180.236
enp5s0: adding route to 169.254.0.0/16
show it was successful as well

Try
Code:
ping -c 2 www.google.com

Last edited by TheEzekielProject; 01-15-2017 at 09:14 PM.
 
Old 01-15-2017, 09:58 PM   #7
Juan Lucas
LQ Newbie
 
Registered: Jul 2015
Distribution: Manjaro, Debian...
Posts: 29

Original Poster
Rep: Reputation: Disabled
IP addresses within the block 169.254.0.0/16 are link-local addresses. Link-local addresses are assigned to interfaces by host-internal, i.e. stateless, address autoconfiguration when other means of address assignment are not available.

As I said, the output of 'ping 8.8.8.8' is:

Code:
From 169.254.180.236 icmp_seq=1 Destination Host Unreachable
From 169.254.180.236 icmp_seq=2 Destination Host Unreachable
From 169.254.180.236 icmp_seq=3 Destination Host Unreachable
From 169.254.180.236 icmp_seq=4 Destination Host Unreachable
From 169.254.180.236 icmp_seq=5 Destination Host Unreachable
From 169.254.180.236 icmp_seq=6 Destination Host Unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
.
.
.
 
Old 01-15-2017, 10:15 PM   #8
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
Sorry, I missed that that was a link local address. Try with the option
Code:
--noipv4ll
Meaning the dhcpcd command

Last edited by TheEzekielProject; 01-15-2017 at 10:16 PM.
 
Old 01-16-2017, 05:07 PM   #9
Juan Lucas
LQ Newbie
 
Registered: Jul 2015
Distribution: Manjaro, Debian...
Posts: 29

Original Poster
Rep: Reputation: Disabled
Tried adding --noipv4ll parameter, but no luck; I still get the same output
 
Old 01-16-2017, 05:35 PM   #10
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
That's strange. Is it still assigning a link local address even with that option? You might try putting it in your dhcp.conf and see if that makes a difference. If it's still assigning it a link local address, it seems for some reason must not be reading dhcp.conf
 
Old 01-17-2017, 01:43 AM   #11
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
Hmmm... need to 'dig out' the 'hidden clue' here (but I don't have definitive way, sorry)

Manjaro is usually 'pretty good' (I VBox'ed manjaro-net-16.06.1-i686.iso per early LQ recomendation)

To clarify, what is running (&your output posted from) is the .iso (not a 'modified' install), I assume.

What [exact] "edit a little bit" was needed to make Debian work? Any ISP details relevant?
(when my 'unfriendly' wifi ISP refuses to 'lease' me a 192.168.6.x, I get [random?] 169.254..)

Can you run [either] dhcpClient with more/max verbose debugging? Extreme: tcpdump?
 
  


Reply

Tags
installation, manjaro, netinstall, network



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Will Manjaro Linux Net edition act like Manjaro or a base install of Arch? punchy71 Linux - Newbie 4 06-28-2014 08:05 AM
Cannot connect with Ethernet to internet treed10 Linux - Networking 5 01-28-2012 08:36 AM
3 nics, connect to internet, share to local net, and connect to local net. Not workin linux-i386 Linux - Networking 2 09-15-2009 09:13 PM
trying to connect to internet via ethernet midnightmax General 14 05-24-2007 06:59 PM
nedd to configure ethernet card on linux to connect to the net gtgoku Linux - Networking 4 01-15-2004 03:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Manjaro

All times are GMT -5. The time now is 06:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration