LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 07-07-2003, 01:27 PM   #1
iraysyvalo
Member
 
Registered: Jul 2003
Distribution: Woody 3.0r1
Posts: 30

Rep: Reputation: 15
Question DHCP set-up for cable-modem


Apart my pb with glibc, I really need real fast to set up DHCP now as I'm fed up with d/loading and burning on a RW CD the packages I need. I have already set up the onboard LAN controller and ifconfig says it's OK.

Now, how about DHCP ? A good link or a neat way to do this? I've already checked dhclient manpages but to no avail. I'm not even sure what is the best and/or last release of DHCP.


Last edited by iraysyvalo; 07-07-2003 at 03:15 PM.
 
Old 07-08-2003, 02:23 AM   #2
footfrisbee
Member
 
Registered: Apr 2003
Distribution: Debian Sarge
Posts: 259

Rep: Reputation: 30
Check out a package called etherconf. It provides a nice debconf interface to configure your network card and will call dhcp-client if necessary, which in your case, it is.
 
Old 07-08-2003, 02:27 PM   #3
iraysyvalo
Member
 
Registered: Jul 2003
Distribution: Woody 3.0r1
Posts: 30

Original Poster
Rep: Reputation: 15
Unfortunately, it still doesn't solve the pb.

ifconfig says lo & eth0 are there. Unfortunately, eth0 didn't get any IP address at all.

I think the pb come from my conf files. But I don't know which ones !

As for now, I checked /etc/network/interfaces. It's written as follows :
#begin
auto lo eth0

iface lo inet loopback

iface eth0 inet dhcp
hostname myfakehost
#end

/etc/resolv.conf is as follows :
#begin
search myfai.net
nameserver xxx.xxx1
nameserver xxx.xxx2
#end

During install, I set the box as myfakehost.myfakedomain.net. Maybe I should remove that setting but in which conf file are they set?

I also have the FAI's DHCP server IP address. Where can I tell it to my dhcp client ??

Now, any other file I should check ??
 
Old 07-09-2003, 08:13 AM   #4
iraysyvalo
Member
 
Registered: Jul 2003
Distribution: Woody 3.0r1
Posts: 30

Original Poster
Rep: Reputation: 15
ALL dhcp-client conf files

Can anyone list all relevant dhcp-client conf files and their purpose ?
 
Old 07-10-2003, 04:44 AM   #5
footfrisbee
Member
 
Registered: Apr 2003
Distribution: Debian Sarge
Posts: 259

Rep: Reputation: 30
Take a look in /etc/dhclient.conf. Try uncommenting "require routers, domain-name-servers". If that doesn't help try uncommenting the line that requests everything from the dhcp server.
 
Old 07-16-2003, 09:34 AM   #6
iraysyvalo
Member
 
Registered: Jul 2003
Distribution: Woody 3.0r1
Posts: 30

Original Poster
Rep: Reputation: 15
OK guys .. thanx for all ur help ....

Got it working with dhcp3-client !!!!

Now, my pb is I can't ping www.xxx.yyy from a normal user account !!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP problems and cable modem wmeler Linux - Software 6 01-29-2004 05:49 PM
cable modem and dhcp dead_p00l Linux - Networking 3 11-30-2003 03:29 AM
DHCP & Cable Modem raypen Linux - Networking 4 08-06-2003 10:16 PM
Cable Modem - How-to DHCP ? iraysyvalo Linux - Networking 17 07-16-2003 10:28 AM
floppyfw cable modem dhcp c0c0deux Linux - Security 2 06-01-2001 03:17 PM


All times are GMT -5. The time now is 09:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration