View previous topic :: View next topic |
Author |
Message |
augustin2 Apprentice
Joined: 16 Mar 2012 Posts: 244 Location: France
|
Posted: Sun Apr 13, 2014 5:24 am Post subject: Fresh install with systemd - network unreachable |
|
|
Hi,
I am trying to reinstall gentoo starting from scratch with systemd.
I could manage to reboot on the new install (see this thread https://forums.gentoo.org/viewtopic-t-988456.html)
The trouble I have now is that the network is unreachable thus I cannot go on the installation.
Hereafter are some information describing the situation.
Quote: | lo: flags=73<UP, LOOPBACK, RUNNING> mtu 65536
net 127.0.0.1 net mask 255.0.0.0
net6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local loop)
Rx errors 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisisons 0 |
Quote: | unknown host google.com |
Code: | # ping -c 3 8.8.8.8 |
Quote: | network is unreachable |
Code: | # cat /etc/resolv.conf |
Quote: | domain home
name server 192.168.1.1 |
Code: | # cat /etc/conf.d/net |
Quote: | config_enp7s0="dhcp"
routes_enp7s0="default via 192.168.1.1" |
Code: | # cd /etc/init.d
# ls -l net.enp7s0 |
Quote: | net.enp7s0 --> net.lo |
Quote: | 127.0.0.1 localhost
::1 localhost |
Code: | # systemctl start dhcpcd.service |
Quote: | dhcpcd.service lighweight DHCP client daemon
Loaded: loaded(/usr/lib64/systemd/system/dhcpcd.service: disabled)
Active: inactive (dead) |
I don't see what to do next.
Thank you for help. |
|
Back to top |
|
|
augustin2 Apprentice
Joined: 16 Mar 2012 Posts: 244 Location: France
|
Posted: Sun Apr 13, 2014 4:45 pm Post subject: |
|
|
I just needed to enable the service with
Code: | systemctl enable dhcpcd.service |
I have a slight problem after booting a message indicating the starting of the service is displayed but the prompt doesn't come back. I need to do rerturn to get it. |
|
Back to top |
|
|
|