LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-01-2005, 12:44 AM   #1
windowsdownAGAIN
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Rep: Reputation: 0
release ip


How do you release the ip number on Linux?

In windows you start/run/cmd
ipconfig /release

Surely it isn't ifconfig /release from the terminal?

And if you could guide me to a very simple guide on how to install packages such as errr tar.gzw or rpm I would be most appreciative. Not that there is much need to install a antivirus program on Linux?

Where's the free programs at? Kids want games, I want the rest and all to secure this OS as windows constantly is attacked and taken down no matter how secure microsoft claims nor the claims of firewall/antivirus companies regarding their constantly updated and faulty windows programs.
 
Old 08-01-2005, 12:53 AM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Free programs? Well that depends on your distribution.... Debian-based has apt, Gentoo has portage, etc.

Also, check out freshmeat.net and sourceforge.org for HUGE repositories of (mostly) free software.

As for DHCP releasing of ips, if you use 'dhcpcd' (many modern distributions do), then you can release the IP by running 'dhcpcd -k' which both shuts down dhcpcd and sends DHCP_RELEASE to the DHCP server.
 
Old 08-01-2005, 12:58 AM   #3
windowsdownAGAIN
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Apparenty I should have mentioned Fedora, core 4.

So do I start the terminal and just put
dhcpcd -k
and hit enter?

What displays the current ip # etc. In windows such would be ipconfig or ipconfig /all. depending on which version of windows.

Thank you for replying.
 
Old 08-01-2005, 01:02 AM   #4
windowsdownAGAIN
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Perhaps I'll have to start a new thread in the proper forum but I understand Linux is able to view and write firmware for hardware. Any FAQ's on this topic?
 
Old 08-01-2005, 01:05 AM   #5
windowsdownAGAIN
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Original Poster
Rep: Reputation: 0
dhcpcd -k
command not found
 
Old 08-01-2005, 01:34 AM   #6
windowsdownAGAIN
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Original Poster
Rep: Reputation: 0
dhclient -r
nor
/sbin/service network stop
does it either
 
Old 08-01-2005, 09:15 AM   #7
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Which dhcp client does fedora use? Type 'ps -ef | grep dh' and post the output, please. I don't know about the firmware bit, your best bet is indeed to ask in the hardware forum.
 
Old 08-01-2005, 12:07 PM   #8
p_s_shah
Member
 
Registered: Mar 2005
Location: India
Distribution: RHEL 3/4, Solaris 8/9/10, Fedora 4/8, Redhat Linux 9
Posts: 228
Blog Entries: 1

Rep: Reputation: 34
hi ....
To realease your ip address just down your interface card using
$ifconfig eth0 down<ENTER>
To start network again
$ifconfig eth0 up<ENTER>


for installation from soruce follow the link...
http://www.gnulinuxclub.org/index.ph...=146&Itemid=31
 
Old 08-01-2005, 12:20 PM   #9
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Quote:
Originally posted by p_s_shah
hi ....
To realease your ip address just down your interface card using
$ifconfig eth0 down<ENTER>
To start network again
$ifconfig eth0 up<ENTER>


for installation from soruce follow the link...
http://www.gnulinuxclub.org/index.ph...=146&Itemid=31
This will not send the proper DHCP_RELEASE to the DHCP server, which will not free up the IP for use by another machine, as required by RFC 1541.
 
Old 08-21-2005, 07:22 AM   #10
borromini
Member
 
Registered: Jul 2005
Location: Belgium
Distribution: Zenwalk 2.8
Posts: 35

Rep: Reputation: 15
Quote:
Originally posted by windowsdownAGAIN
dhclient -r
nor
/sbin/service network stop
does it either
You need to execute the command as root... # dhcpcd -k
 
Old 01-05-2009, 10:22 PM   #11
sumballd
LQ Newbie
 
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
Thanks for your information
 
  


Reply

Tags
dhclient, dhcpcd, ip, network, release, wired, wireless


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
SUSE Release 10 RC1 Release Candidate 1 available 1kyle Suse/Novell 8 09-11-2005 06:26 PM
Release IP gordongraham Linux - Networking 4 06-23-2005 02:57 PM
Release IP xamenos Mandriva 6 02-20-2005 12:19 PM
Next release? vi0lat0r Slackware 14 04-06-2004 05:28 PM


All times are GMT -5. The time now is 05:16 AM.

Main Menu
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