Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] running dhcp after instalation
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
javo
n00b
n00b


Joined: 30 Jun 2007
Posts: 64

PostPosted: Wed Jul 04, 2007 3:15 pm    Post subject: [solved] running dhcp after instalation Reply with quote

hi all,
I know that there are a lot of manuals , .... on the net, but I still can't connect my pc to the internet,
I get my IP via DHCP,
what should I do , configure or run for that?
thank u,

//during the instalation my internet connection was alive


Last edited by javo on Wed Jul 04, 2007 9:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
opentaka
l33t
l33t


Joined: 18 Feb 2005
Posts: 840
Location: Japan

PostPosted: Wed Jul 04, 2007 3:22 pm    Post subject: Re: running dhcp after instalation Reply with quote

javo wrote:
hi all,
I know that there are a lot of manuals , .... on the net, but I still can't connect my pc to the internet,
I get my IP via DHCP,
what should I do , configure or run for that?
thank u,

//during the instalation my internet connection was alive


Please describe your problem in detail, however I'm guessing you are having problems with dhcp clients and not the daemon side.
Did you emerge dhcp or dhcpcd? and then execute dhclient <interface> or dhcpcd <interface>

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=9#doc_chap5
_________________
"Being defeated is often a temporary condition. Giving up is what makes it permanent" - Marilyn vos Savant
Back to top
View user's profile Send private message
javo
n00b
n00b


Joined: 30 Jun 2007
Posts: 64

PostPosted: Wed Jul 04, 2007 3:30 pm    Post subject: Re: running dhcp after instalation Reply with quote

opentaka wrote:
javo wrote:
hi all,
I know that there are a lot of manuals , .... on the net, but I still can't connect my pc to the internet,
I get my IP via DHCP,
what should I do , configure or run for that?
thank u,

//during the instalation my internet connection was alive


Please describe your problem in detail, however I'm guessing you are having problems with dhcp clients and not the daemon side.
Did you emerge dhcp or dhcpcd? and then execute dhclient <interface> or dhcpcd <interface>

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=9#doc_chap5


no I didn't but how can I do that when I don't have internet conetion?
Can I download it , burn and compile? is it possible?
Back to top
View user's profile Send private message
FranZ
Apprentice
Apprentice


Joined: 15 Feb 2004
Posts: 212
Location: Enschede, Holland

PostPosted: Wed Jul 04, 2007 3:59 pm    Post subject: Re: running dhcp after instalation Reply with quote

javo wrote:
no I didn't but how can I do that when I don't have internet conetion?
Can I download it , burn and compile? is it possible?

You can chroot into your system using the liveCD, as described in the handbook, and then emerge dhcpcd. After that you can reboot and you will be able to use the internet from your normal installation.

Edit:Typos...
_________________
Horse sense is the thing that keeps horses from betting on people. --W.C. Fields

Ask Smart Questions
Back to top
View user's profile Send private message
javo
n00b
n00b


Joined: 30 Jun 2007
Posts: 64

PostPosted: Wed Jul 04, 2007 5:52 pm    Post subject: Reply with quote

ok I've done it, now when I write
dhcpcd eth1
internet connection is alive,
and here I need the last advice, what should I do to start my connection at startup?
thanks
Back to top
View user's profile Send private message
FranZ
Apprentice
Apprentice


Joined: 15 Feb 2004
Posts: 212
Location: Enschede, Holland

PostPosted: Wed Jul 04, 2007 7:14 pm    Post subject: Reply with quote

To automagically start your network interface, use:
Code:
rc-update add net.eth0 default
If it says something about net.eth0 not existing, do
Code:
ln -s /etc/init.d/net.lo /etc/init.d/net.eth0
and reissue the rc-update command above.

The Gentoo Handbook - Networking might be interesting too.
_________________
Horse sense is the thing that keeps horses from betting on people. --W.C. Fields

Ask Smart Questions
Back to top
View user's profile Send private message
javo
n00b
n00b


Joined: 30 Jun 2007
Posts: 64

PostPosted: Wed Jul 04, 2007 9:22 pm    Post subject: Reply with quote

FranZ wrote:
To automagically start your network interface, use:
Code:
rc-update add net.eth0 default
If it says something about net.eth0 not existing, do
Code:
ln -s /etc/init.d/net.lo /etc/init.d/net.eth0
and reissue the rc-update command above.

The Gentoo Handbook - Networking might be interesting too.

thanks
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