You are not logged in.

#1 2005-08-18 01:42:22

koyi
Member
From: Osaka, Japan
Registered: 2005-08-15
Posts: 37

a mysterious file

Hi, I have just found a mysterious file reside in /etc/, which has the name of dhclient.conf.
I don't remember I have set this up and I have no idea about the host names defined in it.
And there is no such interface called ep0 here.

What does it do?

send host-name "andare.fugue.com";
send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
send dhcp-lease-time 3600;
supersede domain-name "fugue.com home.vix.com";
prepend domain-name-servers 127.0.0.1;
request subnet-mask, broadcast-address, time-offset, routers,
        domain-name, domain-name-servers, host-name;
require subnet-mask, domain-name-servers;
timeout 60;
retry 60;
reboot 10;
select-timeout 5;
initial-interval 2;
script "/sbin/dhclient-script";
media "-link0 -link1 -link2", "link0 link1";
reject 192.33.137.209;

alias {
  interface "ep0";
  fixed-address 192.5.5.213;
  option subnet-mask 255.255.255.255;
}

lease {
  interface "ep0";
  fixed-address 192.33.137.200;
  medium "link0 link1";
  option host-name "andare.swiftmedia.com";
  option subnet-mask 255.255.255.0;
  option broadcast-address 192.33.137.255;
  option routers 192.33.137.250;
  option domain-name-servers 127.0.0.1;
  renew 2 2000/1/12 00:00:01;
  rebind 2 2000/1/12 00:00:01;
  expire 2 2000/1/12 00:00:01;
}

Offline

#2 2005-08-18 01:45:49

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,615
Website

Re: a mysterious file

dhclient.conf holds settings for dhclient, which is used to get dhcp settings for an ethernet interface.

I believe arch uses dhcpcd though, so I am not sure why you have it. Check to see if you have a dhclient binary somewhere

updatedb; locate dhclient

"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#3 2005-08-18 02:01:51

koyi
Member
From: Osaka, Japan
Registered: 2005-08-15
Posts: 37

Re: a mysterious file

Ya, there is dhclient in /sbin.

I didn't install it.
Perhaps it is pulled down because of dependencies?

But even if I have it, I don't think the config file has anything to do with my network...

Offline

#4 2005-08-18 12:17:39

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,835

Re: a mysterious file

dhclient is part of the dhcp package i.e. dhcp server/client/relay. If your machine is only going to be a dhcp client, you should remove dhcp and just use dhcpcd.

Offline

#5 2005-08-18 16:14:38

koyi
Member
From: Osaka, Japan
Registered: 2005-08-15
Posts: 37

Re: a mysterious file

Ooopppsss.... dhcp seems to be a dependency to firestarter... so pacman couldn't remove it...

Offline

#6 2005-08-18 19:27:16

T-Dawg
Forum Fellow
From: Wilmington, NC
Registered: 2005-01-29
Posts: 2,734

Re: a mysterious file

use the -d switch

Offline

#7 2005-08-19 02:22:38

koyi
Member
From: Osaka, Japan
Registered: 2005-08-15
Posts: 37

Re: a mysterious file

I set my box to use static IP.
So I suppose this is not a problem?
Or do I have to remove it?

Offline

Board footer

Powered by FluxBB