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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-16-2006, 11:07 PM
|
#1
|
Senior Member
Registered: Jan 2004
Posts: 1,420
Rep: 
|
DHCPCD broke, how to install from Slackware install disk?
Damn the luck.
Working on my Slackware laptop, I shut it off and brought it back up the next day and I can't get out to the Internet.
I can get an IP address (check with ifconfig -a shows an IP address and other computers on my network can get out), but still can't get out.
I used removepkg dhcpcd and now I'm trying to reinstall it from my Slackware cdroms.
How do I do this, or am I doing this all wrong?
thanks
|
|
|
03-17-2006, 12:23 AM
|
#2
|
Member
Registered: Aug 2005
Location: Bay
Distribution: Zenwalk, OpenBSD, Slackware
Posts: 167
Rep:
|
It's under /mnt/cdrom/slackware/n/
Or try this:
http://mirrors.usc.edu/pub/linux/dis...pl4-i486-2.tgz
run installpkg dhcpcd-1.3.22pl4-i486-2.tgz as root and that's it.
I recommend installing an auto updater to make this simpler. Something like slackpkg or apt-get or similar will work.
|
|
|
03-17-2006, 12:29 AM
|
#3
|
Member
Registered: Aug 2005
Location: Bay
Distribution: Zenwalk, OpenBSD, Slackware
Posts: 167
Rep:
|
Sorry, I guess if you don't have internet, you can't downlaod that file anyway.
You can also make slackware ask for an address manually:
%ifconfig eth0 192.168.1.101 (or whatever address you want) netmask 255.255.255.0
The netmask is optional, but I like to put it in just in case. This command will ask your DHCP server to assign it an IP address. If the address you're asking is within the range of your DHCP, then it should work. Good luck!
|
|
|
03-17-2006, 07:24 AM
|
#4
|
Senior Member
Registered: Jan 2004
Posts: 1,420
Original Poster
Rep: 
|
Ya, I just though of assigning an IP address manually...the only problem is when I'm using my wireless card...but let me try this and see what happens.
|
|
|
03-17-2006, 11:31 PM
|
#5
|
Senior Member
Registered: Jan 2004
Posts: 1,420
Original Poster
Rep: 
|
Quote:
Originally Posted by sweetnsourbkr
It's under /mnt/cdrom/slackware/n/
|
Um, I mount the install disk and all I see are two files...what do I need to do to get the .tgz files to get DHCPCD back on my machine?
|
|
|
03-18-2006, 04:19 AM
|
#6
|
Member
Registered: Aug 2002
Posts: 150
Rep:
|
installpkg /mnt/cdrom/slackware/n/dhcpcd*.tgz
|
|
|
03-18-2006, 04:21 AM
|
#7
|
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 current
Posts: 1,649
Rep: 
|
You just need to do
Code:
installpkg /mnt/cdrom/slackware/n/dhcpcd-1.3.22pl4-i486-2.tgz
You need the tgz packge. If you don't have Slackware 10.2 the version and build number may differ.
|
|
|
03-19-2006, 03:24 PM
|
#8
|
Senior Member
Registered: Jan 2004
Posts: 1,420
Original Poster
Rep: 
|
Quote:
Originally Posted by sweetnsourbkr
It's under /mnt/cdrom/slackware/n/
Or try this:
http://mirrors.usc.edu/pub/linux/dis...pl4-i486-2.tgz
run installpkg dhcpcd-1.3.22pl4-i486-2.tgz as root and that's it.
I recommend installing an auto updater to make this simpler. Something like slackpkg or apt-get or similar will work.
|
This got me up and runnin'...thanks.
I'm not sure what caused the problem in the 1st place...weird..
|
|
|
03-20-2006, 11:04 PM
|
#9
|
Member
Registered: Aug 2005
Location: Bay
Distribution: Zenwalk, OpenBSD, Slackware
Posts: 167
Rep:
|
Yer welcome. 
|
|
|
All times are GMT -5. The time now is 05:22 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
|
|