Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cant connect to network
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
Metronome
n00b
n00b


Joined: 24 Dec 2010
Posts: 18

PostPosted: Sat Dec 25, 2010 12:05 pm    Post subject: cant connect to network Reply with quote

Good day. I got a fresh gentoo install and cant get network to function. During installation I skipped the emerge dhcpcd step as it was marked as optional and I thought I would get back to it once the actuall system is installed but now it is problematic because when trying to emerge I get
wget: unable to resolve host address 'roy.marples.name'
so how do I work around this? What I dont get is that connecting to network seemed to be automatic when I logged in from install cd and now it's gone which is a pitty.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 15984

PostPosted: Sat Dec 25, 2010 5:47 pm    Post subject: Reply with quote

Connecting to the network is automatic on the install CD because the install CD is not meant to be very useful without a network, so the network is set up as a courtesy because anyone using the install CD for its intended purpose will need networking. On the other hand, an installed Gentoo system may not need networking, or may need it in an unusual form.

If you have a valid IP address, but no name resolution, you can try manually configuring /etc/resolv.conf with a nameserver. You could use a public one like 4.2.2.1 or 8.8.8.8, or pick a local one if you can find it. If you are behind a consumer level home router, it might have a DNS relay built in, in which case you could set your nameserver equal to your gateway. Be aware that some such devices have fairly poor relays, so you might want to find a better server long term.

If you do not have a valid IP address, or you cannot get the above to work, you can use the install CD in a rescue capacity. Boot it, skip partition editing, skip filesystem creation, and proceed directly to mounting the partitions and using chroot to re-enter the system. If you go this route, remember to copy the /etc/resolv.conf of the install CD into your chroot first.
Back to top
View user's profile Send private message
Metronome
n00b
n00b


Joined: 24 Dec 2010
Posts: 18

PostPosted: Sat Dec 25, 2010 8:25 pm    Post subject: Reply with quote

it helped, thanks. Im a bit dizzy as to what chroot actually does and where is my "system" placed relative to the CD one. However luckally the file was simple enaugh to copy manually
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