You are not logged in.

#1 2016-01-10 14:06:33

latenitekid
Member
Registered: 2013-02-03
Posts: 9

Networking doesn't work during install

Hey guys.

I'm trying to install Arch alongside an existing Windows 7 install. I'm using the latest iso on a flash drive. I tried installing in a virtual machine and it worked.

I'm having issues with networking when I boot into the live disc. I can't ping domains, Google DNS, or even my own router. I tried copying the example netctl configs and changing them accordingly but then I get "Destination Host Unreachable" when trying to ping any IP. I read that my motherboard (GIGABYTE) has trouble with Linux installations, and to enable IOMMU in the BIOS, as well as disable UEFI boot. Enabling IOMMU alone didn't fix the problem, but doing that and disabling UEFI boot did. I need to be able to UEFI boot though for Windows 7 so it doesn't quite help...

I'm not particularly sure if it's actually a network issue or a hardware issue. Any help with it is greatly appreciated..

Offline

#2 2016-01-10 14:35:10

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,475

Re: Networking doesn't work during install

1. arch can be installed with UEFI boot
2. for network issue, kindly post what type of internet connection you have, wifi/ethernet? and which netctl profile you copied, also did you change anything in that profile?

Offline

#3 2016-01-10 14:58:08

latenitekid
Member
Registered: 2013-02-03
Posts: 9

Re: Networking doesn't work during install

Docbroke wrote:

1. arch can be installed with UEFI boot
2. for network issue, kindly post what type of internet connection you have, wifi/ethernet? and which netctl profile you copied, also did you change anything in that profile?

1. I know, but networking only works when I disable UEFI boot. When I disable it, networking works fine.
2. Wired connection, so I assumed it'd work out of the box.I tried both the dhcp one and the static one.

ethernet-static

CONNECTION='ethernet'
DESCRIPTION='A basic static ethernet connection using iproute'
INTERFACE='enp3s0'
IP='static'
ADDR='10.0.0.23'
#ROUTES=('192.168.0.0/24 via 192.168.1.2')
GATEWAY='10.0.0.1'
DNS=('10.0.0.1')

I didn't change anything it ethernet-dhcp.

Last edited by latenitekid (2016-01-10 14:58:22)

Offline

#4 2016-01-10 15:06:51

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,475

Re: Networking doesn't work during install

You should be using dhcp profile, unless your connection is static one. You will need to change "Interface=?" with your interface name, which you can find out with "ip link" in my case it is eno1. Also don't forget to activate that profile with

netctl start ethernet

replace ethernet with the name of your profile.

Hope this helps.

Offline

#5 2016-01-10 16:00:07

latenitekid
Member
Registered: 2013-02-03
Posts: 9

Re: Networking doesn't work during install

Docbroke wrote:

You should be using dhcp profile, unless your connection is static one. You will need to change "Interface=?" with your interface name, which you can find out with "ip link" in my case it is eno1. Also don't forget to activate that profile with

netctl start ethernet

replace ethernet with the name of your profile.

Hope this helps.

After writing "netctl start ethernet-dhcp":

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

So then I write "systemctl status netctl@ethernet\x2ddhcp.service":

netctl@ethernet@\x2ddhcp.service - Networking for netctl profile ethernet-dhcp
  Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor preset: disabled)
  Active: failed (Result: exit-code) since Sun 2016-01-10 09:16:08 UTC: 6s ago
    Docs: man:netctl.profile(5)
  Process: 623 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
Main PID: 623 (code=exited, status=1/FAILURE)

Jan 10 09:16:08 archiso systemd[1]: Starting Networking for netctl profile ethernet-dhcp...
Jan 10 09:16:08 archiso network[623]: Starting network profile 'ethernet-dhcp'...
Jan 10 09:16:08 archiso network[623]: The interface of network profile 'ethernet-dhcp' is already up
Jan 10 09:16:08 archiso systemd[1]: netctl@ethernet\x2ddhcp.service: Main process exited, code=exited
Jan 10 09:16:08 archiso systemd[1]: Failed to start Networking for netctl profile ethernet-dhcp.
Jan 10 09:16:08 archiso systemd[1]: netctl@ethernet\x2ddhcp.service: Unit entered failed sate.
Jan 10 09:16:08 archiso systemd[1]: netctl@ethernet\x2ddhcp.service: Failed with result 'exit-code'

So then I wrote "ip link set enp3s0 down", tried to start it again, got the same "Job for net.." error (after about a 30s hang), ran "systemctl status netctl@ethernet\\x2ddhcp.service" again:

netctl@ethernet@\x2ddhcp.service - Networking for netctl profile ethernet-dhcp
  Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor preset: disabled)
  Active: failed (Result: exit-code) since Sun 2016-01-10 09:17:59 UTC: 16s ago
    Docs: man:netctl.profile(5)
  Process: 687 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
Main PID: 687 (code=exited, status=1/FAILURE)

Jan 10 09:17:57 archiso dhcpcd[723]: enp3s0: message: wrong network
Jan 10 09:17:57 archiso dhcpcd[723]: enp3s0: soliciting a DHCP lease
Jan 10 09:17:57 archiso network[687]: /usr/lib/network/globals: lin 74: 723 Segmentation fault
Jan 10 09:17:57 archiso network[687]: DHCP IPv4 lease attempt failed on interface 'enp3s0'
Jan 10 09:17:57 archiso network[687]: Failed to bring network up for profile 'ethernet-dhcp'
Jan 10 09:17:57 archiso systemd[1]: netctl@ethernet\x2ddhcp.service: Main process exited, code=exited
Jan 10 09:17:57 archiso systemd[1]: Failed to start Networking for netctl profile ethernet-dhcp.
Jan 10 09:17:57 archiso systemd[1]: netctl@ethernet\x2ddhcp.service: Unit entered failed sate.
Jan 10 09:17:57 archiso systemd[1]: netctl@ethernet\x2ddhcp.service: Failed with result 'exit-code'
Jan 10 09:17:57 archiso systemd-coredump[815]: Process 723 (dhcpcd) of user 0 dumped core.
                                 Stack trace of thread 723:
                                 #0 0x00000000004176b7 get_lease (dhcpcd)
                                 #1 0x0000000000419891 dhcp_bind (dhcpcd)
                                 #2 0x000000000041aace dhcp_arp_probed (dhcpcd)
                                 #3 0x000000000040902b eloop_start (dhcpcd)
                                 #4 0x0000000000403ca6 main (dhcpcd)
                                 #5 0x00007fe92a46a610 __libc_start_main (libc.so.6)
                                 #6 0x0000000000404119 _start (dhcpcd)

Note that I took a photo of the screen and then re-typed it all here, so please excuse any obvious typos...

Offline

#6 2016-01-10 16:01:47

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Networking doesn't work during install

Alternatively, if you stop all netctl profiles/services, then just run `dhcpcd` to see what is failing.  You could also use `dhcpcd -d` to get more information.  Posting the output of those commands here would help (or post a link to them on a file sharing site if the debug output is long).


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2016-01-10 16:04:56

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Networking doesn't work during install

Did you remember to

# systemctl stop dhcpcd@$INTERFACE.service

before trying netctl?
https://wiki.archlinux.org/index.php/Be … e_Internet

EDIT: Why don't the Beginner's Guide links work?

The apostrophe doesn't get processed correctly.

EDIT2: It works if you manually enclose the URL with [ url ] tags hmm

Last edited by Head_on_a_Stick (2016-01-10 16:08:06)


Jin, Jîyan, Azadî

Offline

#8 2016-02-01 21:27:46

roysymba
Member
Registered: 2016-01-27
Posts: 8

Re: Networking doesn't work during install

Hello, i am facing a similar issue with little variation.
I am on my university intranet for connecting to internet with following details.
ip addr- 172.20.19.207
subnet- 255.255.252.0
default gateway- 172.200.19.254
dns server- 172.31.1.1, 172.31.1.130
I get an error network unreachable when i try to ping any machine including my default gateway
i am unable to configure my static ip addr settings using netctl (i am not clear how should my ethernet-static profile look like)
I followed the instructions in beginners guide and copied plus modified the file /etc/netctl/examples/ethernet-static to /etc/netctl/ethernet-static
my ethernet-static file looks like

Description='A basic static ethernet connection'
Interface=enp9s0
Connection=ethernet
IP=static
Address=('172.20.19.207/255.255.252.0')
#Routes=('172.20.19.0/254 via 172.31.1.1')
Gateway='172.20.19.254'
DNS=('172.31.1.1' '172.31.1.130)

my ip link output is following
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp9s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:21:9b:e8:3c:45 brd ff:ff:ff:ff:ff:ff
3: enp0s29f7u4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 00:a1:b0:70:39:ab brd ff:ff:ff:ff:ff:ff

after setting enp9s0 device up when i am performing
#netctl start ethernet-static
i get following error
ob for netctl@ethernet\x2dstatic.service failed because the control process exited with error code. See "systemctl status "netctl@ethernet\\x2dstatic.service"" and "journalctl -xe" for details.

when i use systemctl status "netctl@ethernet\\x2dstatic.service"
i get following
netctl@ethernet\x2dstatic.service - Networking for netctl profile ethernet-static
   Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2016-02-02 02:26:29 UTC; 16s ago
     Docs: man:netctl.profile(5)
  Process: 752 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
Main PID: 752 (code=exited, status=1/FAILURE)

Feb 02 02:26:29 archiso systemd[1]: Starting Networking for netctl profile ethernet-static...
Feb 02 02:26:29 archiso network[752]: Starting network profile 'ethernet-static'...
Feb 02 02:26:29 archiso network[752]: The interface of network profile 'ethernet-static' is already up
Feb 02 02:26:29 archiso systemd[1]: netctl@ethernet\x2dstatic.service: Main process exited, code=exited, status=1/FAILURE
Feb 02 02:26:29 archiso systemd[1]: Failed to start Networking for netctl profile ethernet-static.
Feb 02 02:26:29 archiso systemd[1]: netctl@ethernet\x2dstatic.service: Unit entered failed state.
Feb 02 02:26:29 archiso systemd[1]: netctl@ethernet\x2dstatic.service: Failed with result 'exit-code'.

i am still unable to ping my default gateway. I feel my ethernet-static file editing needs correction. please help

Offline

#9 2016-02-01 21:35:37

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Networking doesn't work during install

roysymba wrote:
Feb 02 02:26:29 archiso network[752]: The interface of network profile 'ethernet-static' is already up

https://wiki.archlinux.org/index.php/Ne … ice_failed

You should really have started your own thread and linked back to this one.


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB