- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Need to change from static IP to DHCP on Debian 3....
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2007 01:35 AM
тАО02-23-2007 01:35 AM
Need to change from static IP to DHCP on Debian 3.1
Could someone give me step-by-step instructions?
TIA - J.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2007 02:10 AM
тАО02-23-2007 02:10 AM
Re: Need to change from static IP to DHCP on Debian 3.1
vi /etc/network/interfaces
find your card - eth1 for example and change to:
iface eth1 inet dhcp
after that : /etc/init.d/networking reload
and you will be on dhcp for that interface.
For more see "man interfaces"
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2007 03:56 AM
тАО02-23-2007 03:56 AM
Re: Need to change from static IP to DHCP on Debian 3.1
Make sure you don't have any references in your hosts file as well.
/etc/hosts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2007 04:32 AM
тАО02-23-2007 04:32 AM
Re: Need to change from static IP to DHCP on Debian 3.1
Any idea what I have done wrong?
nat-12-157:/etc/init.d# ./networking reload
Usage: /etc/init.d/networking {start|stop|restart|force-reload}
nat-12-157:/etc/init.d# ./networking restart
Setting up IP spoofing protection: rp_filter.
Reconfiguring network interfaces...cat: /var/run/dhclient.eth0.pid: No such file or directory
ifup: interface lo already configured
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.
Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html
Listening on LPF/eth0/00:06:5b:1c:05:e9
Sending on LPF/eth0/00:06:5b:1c:05:e9
Sending on Socket/fallback/fallback-net
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
No DHCPOFFERS received.
No working leases in persistent database.
Exiting.
Failed to bring up eth0.
done.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2007 04:50 AM
тАО02-23-2007 04:50 AM
Re: Need to change from static IP to DHCP on Debian 3.1
Did you edit the /etc/dhclient.conf? Do a man on dhclient.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2007 05:13 AM
тАО02-23-2007 05:13 AM
Re: Need to change from static IP to DHCP on Debian 3.1
What happens when you run the following command?
# dpkg -l | grep -i dh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2007 06:17 AM
тАО02-23-2007 06:17 AM
Re: Need to change from static IP to DHCP on Debian 3.1
I might look at this again next week.
J.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2007 09:29 AM
тАО02-23-2007 09:29 AM
Re: Need to change from static IP to DHCP on Debian 3.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2007 11:21 AM
тАО02-23-2007 11:21 AM
Re: Need to change from static IP to DHCP on Debian 3.1
I am installing sarge on a test Sony Vaio laptop. I think my main problem will be that the laptop needs to connect to my home network with a 'Dell wireless 1450 USB adapter'. Do I have any hope of getting Debian installed under these circumstances?
J.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2007 07:19 PM
тАО02-25-2007 07:19 PM
Re: Need to change from static IP to DHCP on Debian 3.1
http://www.ubuntuforums.org/showthread.php?t=49071
Use google for more hits on how to solve this.
--mverwijs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2007 12:17 AM
тАО02-26-2007 12:17 AM
Re: Need to change from static IP to DHCP on Debian 3.1
Regarding my main issue in this thread, I think I will just install sarge on another similar PC which is in my bootp server from the getgo, and compare the two.
Thanks all - J.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2007 12:18 AM
тАО02-26-2007 12:18 AM