LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 08-13-2006, 09:12 PM   #1
Derada
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Rep: Reputation: 0
Network configuration during startup


I am using Debian Sarge, linux kernel 2.4.27. My computer connects to the internet via an ethernet card, but every time I reboot, the network settings also get wiped. I use dhcclient to set up the network configuration, so is there any way I can make the computer do that while it's booting?

Thanks.
 
Old 08-14-2006, 12:45 AM   #2
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Just edit /etc/network/interfaces and make sure there is a line that says:

Code:
iface eth0 inet dhcp
Then add "eth0" (without the quotes) to the line starting with "auto" so that it will look like:

Code:
auto lo eth0
That should fix your problem.
 
  


Reply



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
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 06:48 AM
evolution configuration error on startup david.skinner Linux - Software 0 05-04-2005 02:40 AM
startup configuration lyonsd Fedora 4 01-26-2005 02:55 PM
Wireless Configuration at Startup Drake88 Linux - Wireless Networking 2 05-17-2004 12:35 AM
startup configuration of shared memory chapzilla Linux - Newbie 13 05-23-2003 03:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:34 AM.

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
Open Source Consulting | Domain Registration