You are not logged in.
Pages: 1
Hello guys I need your help to figure me out what I did wrong or what I am missing to setup correctly my network.
Here it's what I have done:
1- tried to enable the DHCP client on all interfaces manually with dhcp command: I can ping both 'ww.google.com' and '8.8.8.8'
2- tried to enable the DHCP client only on a specific interface manually with dhcp command: I can ping both 'ww.google.com' and '8.8.8.8'
3- tried to enable with systemctl the dhcpdc service, trying both the template and the unit with the specific interfaces: I get unit tx hang during boot process... sometimes after some seconds it resolves automatically... sometimes it does not
Sorry for my english, also I'm new to linux and arch... started 2 days ago, I don't know what do try/do now, please help me!
I'm using arch on virtual machine with NAT networking from host to guest
Last edited by jLuca (2016-12-07 18:20:59)
Offline
Start by providing the actual information: https://bbs.archlinux.org/viewtopic.php?id=57855
Offline
Hello, thanks for your reply. I would like you to tell me if the commands that I wrote where understood by you or I need to explain them in more details.
Here there are the logs that I saved:
running:
ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 08:00:27:86:3d:49 brd ff:ff:ff:ff:ff:ff
running:
dmesg | grep e1000
[ 5.792498] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[ 5.792498] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 6.182993] e1000 0000:00:03.0 eth0: (PCI:33MHz:32-bit) 08:00:27:86:3d:49
[ 6.182997] e1000 0000:00:03.0 eth0: Intel(R) PRO/1000 Network Connection
[ 6.198641] e1000 0000:00:03.0 enp0s3: renamed from eth0
Note that I have disabled all dhcpcd services right now (the logs are with them stopped and disabled)
From the logs I see the link is not up. Reading the wiki I tried to load the module manually with
modprobe e1000
but the output is silent.
I am currently trying to understand this page https://wiki.archlinux.org/index.php/Sy … asic_usage and I have created this file
/etc/systemd/network/wired.network
with this content
[Match]
Name=en*[Network]
DHCP=ipv4
but it seems it's not working.
I tried to format my reply as best as I can, reading the forum tag help link: if they need to be fixed I am ready to listen to your advices. Thanks for your reply and sorry for my english.
Edit: here is the log using
systemctl enable dhcpcd@enp0s3.service
Last edited by jLuca (2016-12-07 09:10:12)
Offline
Please also post the output of
uname -aOffline
Please also post the output of
uname -a
Linux luchilucs 4.8.11-1-ARCH #1 SMP PREEMPT Sun Nov 27 09:26:14 CET 2016 x86_64 GNU/LinuxI have also installed the LTS kernel but I have never booted from it. I boot and I use always the latest one (the one installed with the arch installation)
Offline
So, you're using a VM and you did have internet access during the installation?
To clear a common problem: Did you disable all other things setting up connections before setting up the next?
Offline
So, you're using a VM and you did have internet access during the installation?
Yes, I did have and I can successfully connect starting the DHCP client manually with
dhcpcd enp0s3, are you interested in the output of the command?
To clear a common problem: Did you disable all other things setting up connections before setting up the next?
Yes I think I have, I am not 100% sure but I am careful when trying different solutions.
Here is the output of
systemctl -lsystemctl -l, disabling the changes I did when trying different solutions (I think the system is "clear" relating to networking configuration, at least clear as after the installation). The only think I left unchanged is the hosts file, which I modified adding my hostname (I am not sure I did it the right way: I don't know if a localdomain is mandatory or not... anyway I can ping both the loopback address and my hostname always).
Thanks for your replies
Last edited by jLuca (2016-12-07 11:31:52)
Offline
Looks like https://bugzilla.kernel.org/show_bug.cgi?id=47331
Suggested workarounds are to lower the speed to 100 MBit or ignore 64bit dma
options e1000 ignore_64bit_dma=1ALSO! Ensure you're not trying to use the dhcpd service along the systemd-resolve'r.
You need to pick *one* way to setup your network (netctl, networkmanager, dhcpd, wicd, systemd-network) and configure and stick to that. Otherwise they will fight each other trying to setup the interface.
In doubt, dump "systemctl list-units" (but you're supposed to look at it yourself first ;-)
Offline
Looks like https://bugzilla.kernel.org/show_bug.cgi?id=47331
Suggested workarounds are to lower the speed to 100 MBit or ignore 64bit dmaoptions e1000 ignore_64bit_dma=1ALSO! Ensure you're not trying to use the dhcpd service along the systemd-resolve'r.
You need to pick *one* way to setup your network (netctl, networkmanager, dhcpd, wicd, systemd-network) and configure and stick to that. Otherwise they will fight each other trying to setup the interface.
In doubt, dump "systemctl list-units" (but you're supposed to look at it yourself first ;-)
Thanks for your reply, right now I am busy studying: this night or tomorrow I will have time to read your link and trying the workarounds. I am still new to linux and arch so thanks for your advice: I still need to read better how systemd works and how to inteface with it using systemctl
Offline
I tried to switch to a different virtualized NIC from virtual machine (one with pcnet32 module/driver) and it works; I tried also, for the sake of your deep searches and your help, your solution and that worked too on the e1000 NIC. I will stick to your solution and report any future problem to help other people. I will mark this as closed: thanks for all your replies.
Offline
Pages: 1