Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Anyone tried dhclient with Gentoo?
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
Rhiz()m3
n00b
n00b


Joined: 31 Aug 2002
Posts: 41

PostPosted: Tue Dec 10, 2002 3:37 am    Post subject: Anyone tried dhclient with Gentoo? Reply with quote

I am a recent FreeBSD convert and have been running Gentoo for about 4 months. Here's the rub. When I ran FreeBSD as my home dsl router, fw, dns, and www, my IP never changed. I could request an infinite lease from my dsl provider and get it. I went 2 years without change. Now, my IP changes frequently. The difference, so far as I can tell, is dhcpcd (Gentoo) versus dhclient (FreeBSD). Can any validate this intuition and secondly, has anyone tried dhclient with FreeBSD. If so, how do I set /etc/conf.d/net to recognize dhclient instead of dhcpcd?

Thanks,

RhiZ
_________________
--------> Why don't you bastards start wearing human skins?<--------
Back to top
View user's profile Send private message
splooge
l33t
l33t


Joined: 30 Aug 2002
Posts: 636

PostPosted: Tue Dec 10, 2002 3:57 am    Post subject: Reply with quote

man dhcpcd wrote:
-l leasetime
Specifies (in seconds) the recommended lease time
to the server. (Note that the server can override
this value if it sees fit). This value is used in
the DHCP_DISCOVER message. The default is infinite
(0xffffffff).

-s [ipaddr]
Sends DHCP_INFORM message to DHCP server using
ipaddr. The optional ipaddr parameter must be in
the form xxx.xxx.xxx.xxx. If no ipaddr parameter
is given on the command line dhcpcd will use the IP
address currently assigned to the interface. If
there is no IP address currently assigned to the
interface dhcpcd will use previously obtained IP
address stored in /etc/dhcpc/dhcpcd-<inter-
face>.cache file.
Back to top
View user's profile Send private message
Rhiz()m3
n00b
n00b


Joined: 31 Aug 2002
Posts: 41

PostPosted: Tue Dec 10, 2002 6:06 am    Post subject: alright Reply with quote

alright, I requested a lease for 999999999. We'll see how long it goes. Thanks for your help!
_________________
--------> Why don't you bastards start wearing human skins?<--------
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