Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
install-amd64-minimal-20141204: how to get network working?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
vose
n00b
n00b


Joined: 28 Feb 2007
Posts: 33

PostPosted: Fri Feb 06, 2015 1:10 am    Post subject: install-amd64-minimal-20141204: how to get network working? Reply with quote

I followed https://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Installation including verifying the downloaded files, and got to the point where I could boot from the cd I burned.
There were errors related to dhcp:
* start-stop-daemon: /sbin/dhcpcd is already running
* failed to start dhcp
* ERROR: dhcp failed to start

Moreover, '/etc/init.d/dhcpcd restart' likewise failed.

ps showed that 'dhcpcd -n -h livecd' was running... so I killed it, and then '/etc/init.d/dhcpcd restart' succeeded.

However, the network was not working, and 'ls /sts/class/net' showed enp2s0 and lo but no eth* , and /etc/init.d showed no net.enp2s0.
So I: 'cd /etc/init.d ; ln -s net.lo net.enp2s0 ; dhcpcd -S ip_address=192.168.0.8/24 -S routers=192.168.0.1 -S domain_name_servers=192.168.0.1 enp2s0'
However, dhcp timed out waiting for carrier.
I changed cables to no avail.
I tried 'net-setup enp2s0' to no avail.
net-setup reports that the driver is r8169
The network hardware is fine (RTL8111/8168B PCI Express Gigabit Ethernet controller).

I desire a working network connection to proceed with the gentoo install...
Any Help?
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6281

PostPosted: Fri Feb 06, 2015 1:20 am    Post subject: Reply with quote

Quote:
ps showed that 'dhcpcd -n -h livecd' was running

This is strange: You said that you booted installed system: Is you hostname still set to livecd. (It is not crucial to change the name, but might be an indication that actually you did not boot your new system but still from the live cd).

I this is not the case, I am wondering why dhcpcd is started at all.
You should start dhcpcd not directly, but run instead
Code:
/etc/init.d/enp2s0 start
Without network configuration, this will initialize your ethernet card and start dhcpcd.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7094
Location: Saint Amant, Acadiana

PostPosted: Fri Feb 06, 2015 1:24 am    Post subject: Reply with quote

It may sound controversial but installing Gentoo using Gentoo install media is not well supported here ...

One should not waste a good CD burning it.

Recommended investment: a USB stick with SystemRescueCD on it. It will become handy to repair a computer and it is far superior installation media should you wish install Gentoo.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6281

PostPosted: Fri Feb 06, 2015 1:27 am    Post subject: Reply with quote

Jaglover wrote:
It may sound controversial but installing Gentoo using Gentoo install media is not well supported here ...

As I understood, vose is already beyond that point: He already has installed gentoo (at least the stage 3 image, presumably) and just needs to get his installed system running, at least basically. But that's why it makes me suspicious: I cannot imagine that there is a default hostname set on stage 3 which is called "livecd"... (but I did not check, so I might be wrong).
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7094
Location: Saint Amant, Acadiana

PostPosted: Fri Feb 06, 2015 1:29 am    Post subject: Reply with quote

This is not what I read out from OP's post.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6281

PostPosted: Fri Feb 06, 2015 1:35 am    Post subject: Reply with quote

Jaglover wrote:
This is not what I read out from OP's post.

Oh, you are right, I did not read carefully enough: "from the CD I burned".... not ... "from the system I installed".

vose, my hints were false for your situation, please forget them. I have no experience with the livecd. Probably Jaglover is right: If the livecd does not run out-of-the-box, forget it, and use systemrescuecd instead, which probably does run out-of-the-box. It does not make much sense trying to fix bugs in the livecd.
If you find the instructions to install systemrescuecd to a stick too complicated or if you cannot boot from usb: You can also burn it to cd, exactly as gentoo's livecd.
Back to top
View user's profile Send private message
vose
n00b
n00b


Joined: 28 Feb 2007
Posts: 33

PostPosted: Fri Feb 06, 2015 2:29 am    Post subject: Reply with quote

I have not got to the stage3 tarball yet, was trying to get past network issues.
I was hoping some simple comand line magic would save the day.
I recall once having to install gentoo via a centos cd because nothing else would work... guess I'm lucky that way ;-(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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