Go Back   Hardware Forums > Software Support Forums > Linux and Other OSes

Reply
 
LinkBack Thread Tools
Old 26-01-2008, 08:45 PM   #1 (permalink) Top
Masterful Geek
 
max12590's Avatar
 
Join Date: Nov 2004
Age: 17 Male
Posts: 1,016
Times Helpful: 76
Status: Offline

My Computer

Default DHCP Refresh

Ok, I am wondering if there is a linux command (of course there is, there is a linux command for everything) that will refresh my IP. I want something basically the same as "Repair" in Windows (well, just the renewal of IP, I don't care about clearing caches and such) or ipconfig /release-renew.

__________________
In the words of a certain Battlefield 2 commander, "They're spawnin' like crazy at the Gas Station and then tryin' to Forrest Gump it down the Interstate."

Send a message via AIM to max12590   Reply With Quote
Whats this? diNovo Edge Bluetooth Wireless Keyboard
diNovo Edge Bluetooth Wireless Keyboard
Seller Price (inc. VAT) Delivery Total Price Availability Seller Rating
Dell £122.96 Free £122.96 In Stock Rated: 0 out of 5 - Number of votes: 0
inkcartridgedirect.org.uk £95.96 £4.99 £100.95 In Stock Rated: 1 out of 5 - Number of votes: 1
Dell Business £104.65 £8.23 £112.88 In Stock Rated: 0 out of 5 - Number of votes:
Old 26-01-2008, 10:31 PM   #2 (permalink) Top
The King

 
Addis's Avatar
 
Join Date: Jan 2004
Age: 18 Male
Posts: 5,255
Times Helpful: 403
My Mood: Drunk
Status: Offline

My Computer

You can do ifdown eth0 and then ifup eth0.
__________________
Never trust a program you don't have the source code for.

My website | Powerful Desktop Linux | Linux for human beings | Linux for power users | Linux for ricers
Send a message via MSN to Addis   Reply With Quote
The Following User Says Thank You to Addis For This Useful Post: Show me >>
Old 28-01-2008, 12:48 AM   #3 (permalink) Top
Masterful Geek
 
max12590's Avatar
 
Join Date: Nov 2004
Age: 17 Male
Posts: 1,016
Times Helpful: 76
Status: Offline

My Computer

Ok, thanks.
__________________
In the words of a certain Battlefield 2 commander, "They're spawnin' like crazy at the Gas Station and then tryin' to Forrest Gump it down the Interstate."

Send a message via AIM to max12590   Reply With Quote
Old 28-01-2008, 04:13 AM   #4 (permalink) Top
Nonconformist Geek
 
Anti-Trend's Avatar
 
Join Date: Oct 2003
Age: 27 Male
Posts: 4,880
Times Helpful: 536
Status: Offline

My Computer

Quote:
Originally Posted by max12590 View Post
Ok, I am wondering if there is a linux command (of course there is, there is a linux command for everything) that will refresh my IP. I want something basically the same as "Repair" in Windows (well, just the renewal of IP, I don't care about clearing caches and such) or ipconfig /release-renew.
On a Debian-based system, you can just do:
Code:
/etc/init.d/networking restart
On Red Hat or derivatives, the following will work:
Code:
service network restart
Send a message via ICQ to Anti-Trend Send a message via AIM to Anti-Trend   Reply With Quote
Old 29-01-2008, 02:53 AM   #5 (permalink) Top
Masterful Geek
 
max12590's Avatar
 
Join Date: Nov 2004
Age: 17 Male
Posts: 1,016
Times Helpful: 76
Status: Offline

My Computer

Ok, and Ubuntu (and consequently Mint) is Debian based, correct?
__________________
In the words of a certain Battlefield 2 commander, "They're spawnin' like crazy at the Gas Station and then tryin' to Forrest Gump it down the Interstate."

Send a message via AIM to max12590   Reply With Quote
Old 29-01-2008, 03:25 AM   #6 (permalink) Top
Nonconformist Geek
 
Anti-Trend's Avatar
 
Join Date: Oct 2003
Age: 27 Male
Posts: 4,880
Times Helpful: 536
Status: Offline

My Computer

Quote:
Originally Posted by max12590 View Post
Ok, and Ubuntu (and consequently Mint) is Debian based, correct?
Yeah, Mint's based on Ubuntu which is based on Debian.
Send a message via ICQ to Anti-Trend Send a message via AIM to Anti-Trend   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP / Windows Server 2003 oliver79 Windows OS's 1 21-09-2007 07:29 PM
Modify DHCP retry time maclinux Windows OS's 0 20-09-2007 12:23 PM
cd won't refresh gkitchen2002 Storage Devices 3 21-12-2005 06:23 AM
DHCP Server changing addresses + port forwording Impotence Networking and Computer Security 5 17-09-2005 09:24 AM
Refresh birg1 General Hardware 1 08-06-2005 01:43 AM


All times are GMT +1. The time now is 11:57 AM.


Copyright © 2000 - 2008 · HARDWAREFORUMS.COM · All rights reserved