Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fresh install with systemd - network unreachable
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
augustin2
Apprentice
Apprentice


Joined: 16 Mar 2012
Posts: 244
Location: France

PostPosted: Sun Apr 13, 2014 5:24 am    Post subject: Fresh install with systemd - network unreachable Reply with quote

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.

Code:
# ifconfig

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


Code:
# ping -c 3 www.google.com

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


Code:
# cat /etc/hosts

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
View user's profile Send private message
augustin2
Apprentice
Apprentice


Joined: 16 Mar 2012
Posts: 244
Location: France

PostPosted: Sun Apr 13, 2014 4:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum