LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-16-2006, 11:07 PM   #1
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
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
 
Old 03-17-2006, 12:23 AM   #2
sweetnsourbkr
Member
 
Registered: Aug 2005
Location: Bay
Distribution: Zenwalk, OpenBSD, Slackware
Posts: 167

Rep: Reputation: 30
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.
 
Old 03-17-2006, 12:29 AM   #3
sweetnsourbkr
Member
 
Registered: Aug 2005
Location: Bay
Distribution: Zenwalk, OpenBSD, Slackware
Posts: 167

Rep: Reputation: 30
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!
 
Old 03-17-2006, 07:24 AM   #4
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420

Original Poster
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
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.
 
Old 03-17-2006, 11:31 PM   #5
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420

Original Poster
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
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?
 
Old 03-18-2006, 04:19 AM   #6
danieldk
Member
 
Registered: Aug 2002
Posts: 150

Rep: Reputation: 15
installpkg /mnt/cdrom/slackware/n/dhcpcd*.tgz
 
Old 03-18-2006, 04:21 AM   #7
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 current
Posts: 1,649

Rep: Reputation: 148Reputation: 148
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.
 
Old 03-19-2006, 03:24 PM   #8
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420

Original Poster
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
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..
 
Old 03-20-2006, 11:04 PM   #9
sweetnsourbkr
Member
 
Registered: Aug 2005
Location: Bay
Distribution: Zenwalk, OpenBSD, Slackware
Posts: 167

Rep: Reputation: 30
Yer welcome.
 
  


Reply


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
Slackware Install not actually writing to hard disk MichaelF Slackware - Installation 5 11-03-2005 04:58 AM
how can i install slackware on a slave disk with windows already installed on master? mojarron Slackware - Installation 13 03-31-2005 07:40 AM
Building a Slackware 9.1 DVD install disk sethgeekx86 Slackware 15 04-16-2004 06:03 PM
Help needed in creating boot & root disk for Slackware Install bugsbunny Linux - Newbie 3 03-31-2004 08:18 AM
Slackware 9.0 Boot disk and install disks drone Slackware 8 10-23-2003 09:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration