Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-28-2004, 04:35 AM
|
#1
|
|
Senior Member
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Rep:
|
Help me clear ALL dhcp (client) cache!
Hi!
I need to clean up all dhcp stuff (cache, info whatever ) that I received from dhcp server.
|
|
|
|
06-28-2004, 05:14 AM
|
#2
|
|
Member
Registered: Oct 2003
Posts: 534
Rep:
|
Depends on what client you are using. The Slackware default is dhcpcd and writes cache information in the /etc/dhcpc directory. Stop the client from running , wipe all files exept dhcpcd-eth[n].exe and your cache will be empty.
|
|
|
|
06-28-2004, 05:17 AM
|
#3
|
|
Senior Member
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Original Poster
Rep:
|
I am on a campus network. My Slackware can't ping to anybody or access the Internet. This has happen before. But that time I just format and reinstall my Slackware 10 rc to Slackware 10.0.
I get dhcp IP add from the dhcp server.
THe same machine can get into the Internet and all other things on WindowsXP.
So, I know that the dhcp server has changed the configuration on my Slackware which causes me to not able to use the Internet. I am not going to reinstall again.
when I ping I get this responds:
Code:
PING 10.5.0.79 (10.5.0.79) 56(84) bytes of data
From 10.5.0.163 icmp_seq=1 Destination Port Unreachable
From 10.5.0.163 icmp_seq=1 Destination Port Unreachable
From 10.5.0.163 icmp_seq=1 Destination Port Unreachable
From 10.5.0.163 icmp_seq=1 Destination Port Unreachable
From 10.5.0.163 icmp_seq=1 Destination Port Unreachable
From 10.5.0.163 icmp_seq=1 Destination Port Unreachable
ping: sendmsg: Operation not permitted
From 10.5.0.163 icmp_seq=2 Destination Port Unreachable
ping: sendmsg: Operation not permitted
I can use netwatch and ethereal to watch the network.
Argh! I am angry.
|
|
|
|
06-28-2004, 05:21 AM
|
#4
|
|
Senior Member
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Original Poster
Rep:
|
Quote:
Originally posted by rotvogel
Depends on what client you are using. The Slackware default is dhcpcd and writes cache information in the /etc/dhcpc directory. Stop the client from running , wipe all files exept dhcpcd-eth[n].exe and your cache will be empty.
|
Tried it, but still can't solve my network problem.
|
|
|
|
06-28-2004, 08:42 AM
|
#5
|
|
Senior Member
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Original Poster
Rep:
|
All right, I managed to solved the problem. The problem is with my rc.firewall script. I can't remember what have I changed, but it is not working anymore. Will write my own script this time.
Sorry for the false alarm. Anyhow, it was an opportunity to learn about Linux dhcpcd (client) capabilities. Do you know you can "change" your MAC address? Will not exactly change, but we can report a different CLIENTID to the dhcpd server.
By the way, dhcpcd -k will SIGHUP dhcpc and also clear the cache.
man dhcpcd to learn more.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:49 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|