LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-18-2004, 10:26 PM   #1
Mingthefirst
Member
 
Registered: May 2004
Distribution: Debian mostly
Posts: 46

Rep: Reputation: 15
Performing dhcpcd


How do I make my computer do dhcpcd everytime I start.

My internet is always down, so I always have to go as root and perforn dhcpcd manually, is there anyway of doing this automatically?
 
Old 07-19-2004, 03:47 AM   #2
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
dhcpcd? Use dhclient instead. Not that it's all that relevant to this discussion... What you do is edit your /etc/network/interfaces file and add a section like:
Code:
iface eth0 inet dhcp
and then add "eth0" to the line that starts with "auto".

Last edited by adz; 07-19-2004 at 03:54 AM.
 
Old 07-23-2004, 10:57 PM   #3
Mingthefirst
Member
 
Registered: May 2004
Distribution: Debian mostly
Posts: 46

Original Poster
Rep: Reputation: 15
I don't have /etc/network/interfaces, the way I get internet working is type
Code:
dhcpcd
everytime I start Slackware......
 
Old 07-23-2004, 11:10 PM   #4
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
Add that to your /etc/rc.conf.

And by the way, unless you are a contributing member no can PM on why they think Debian is hard, unless that's the point.
 
Old 07-24-2004, 03:39 AM   #5
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Oh sorry. I read your tag line but not your personal details. I thought you were using Debian. Ignore what I said.
 
  


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
Performing an action every reboot Zaulden Linux - Laptop and Netbook 9 08-03-2005 06:28 PM
performing multiple actions with procmail Red Squirrel Linux - Software 1 05-28-2005 04:32 PM
Best performing Nvidia drivers? cratos Slackware 10 02-04-2004 09:39 AM
performing tasks as root curos Linux - Newbie 1 08-06-2003 04:17 AM
Non performing CGI script Bill Barrington Linux - Networking 1 05-17-2003 02:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:33 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration