Debian This forum is for the discussion of Debian 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.
|
|
11-29-2003, 11:48 PM
|
#1
|
LQ Newbie
Registered: Nov 2003
Posts: 12
Rep:
|
Can't get Debian up and running
Hi everyone. I'm completely new to this forum and completely new to Debian. I have installed Debian with the 2.4 kernal today. However, I having a few problems. Any help would be greatly appreciated . Right,
1) I have an intel D875pbz motherboard and I have to compile the drivers for the built-in ethernet. I was able to get the tar file, but when I tried to make the makefile, I found I had no make! Worse of I have no internet connection to get make from some archive (since I can't use the ethernet device) . I do however have the debian cds. All 7 of them. How do I get make to work? Where do I get it from? I tried putting in the second debian disk and doing
debian: apt-cdrom add
debian: apt-get update
but I really have no idea what that does anyhow.
Please help, I'm lost and really eager to learn Debian. Prem
|
|
|
11-30-2003, 03:01 AM
|
#2
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
When you have un-tarred, normally you need to do ./configure, then make, then make install (as root).
'apt-cdrom add' adds cd-rom as an upgrade source
'apt-get update' updates your distro to the current version. It probably won't work without a net connection as you will be updating to your current version.
This post says that kernel 2.4.21 supports your board.
Intel havesome drivers but they are RedHat and SuSE drivers. They are tarred so they may work.
Hope that helps.
|
|
|
11-30-2003, 10:14 AM
|
#3
|
LQ Newbie
Registered: Nov 2003
Posts: 12
Original Poster
Rep:
|
Thanks for the reply
Thank you for replying. I'll try what you said; first to ./configure, make, and finally make install. Also, does anyone know how to work with debian's package installer of the cd? I don't really understand it. Thanks, Prem.
|
|
|
11-30-2003, 10:57 AM
|
#4
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
You need to add the cd as a source. The Debian website should have a tutorial.
|
|
|
11-30-2003, 07:15 PM
|
#5
|
Member
Registered: Nov 2003
Location: /var/local/pub/bar
Distribution: OSX 10.4.9
Posts: 259
Rep:
|
You should have had a prompt during the "first-boot" where the system read the contents of the cd-rom, then asked if you wanted to add any more CDs.
As a side point, how can that first-time-boot program be invoked again?
|
|
|
11-30-2003, 11:54 PM
|
#6
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170
|
Quote:
Originally posted by rehab junkie
[B}
As a side point, how can that first-time-boot program be invoked again? [/B]
|
IIRC dpkg-reconfigure base-config
|
|
|
12-01-2003, 02:59 AM
|
#7
|
Member
Registered: Nov 2003
Location: /var/local/pub/bar
Distribution: OSX 10.4.9
Posts: 259
Rep:
|
Sick! Thanks, I hadn't really looked into it
|
|
|
12-03-2003, 01:45 AM
|
#8
|
Member
Registered: Dec 2003
Location: Australia
Distribution: Woody, Sarge, Sid
Posts: 83
Rep:
|
If you don't have 'make' at all, most likely your installation is corrupted.
I suggest you reinstall Debian instead of trying to fix those broken packages.
(there might be more which you do not know yet)
A fine installation should have a working 'make' in /usr/bin
|
|
|
12-04-2003, 02:50 PM
|
#9
|
Member
Registered: Oct 2003
Distribution: Debian
Posts: 39
Rep:
|
Quote:
Originally posted by XavierP
'apt-get update' updates your distro to the current version. It probably won't work without a net connection as you will be updating to your current version.
|
'apt-get update' only refreshes your apt-cache info. Changes reflect any changes you have made to your sources.list file and any changes made by the debian distribution maintainers in terms of reassigning package designations such as moving a package from 'testing' to 'stable'. No changes are made to the packages installed on your system.
you were probably thinking of 'apt-get upgrade' which can potentially alter currently installed packages, or 'apt-get dist-upgrade' which goes even further than 'apt-get upgrade' when it runs into a dependecy issue.
|
|
|
12-04-2003, 03:20 PM
|
#10
|
Member
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402
Rep:
|
Quote:
Originally posted by eaglegst
If you don't have 'make' at all, most likely your installation is corrupted.
I suggest you reinstall Debian instead of trying to fix those broken packages.
(there might be more which you do not know yet)
A fine installation should have a working 'make' in /usr/bin
|
Wrong. This is Debian, not Redhat. All the OP has to do is apt-get install make
But since they are trying to compile from source, the configure script will probably fail out on a few other things too (gcc, build tools, etc).
The quickest way w/o building that stuff from source is:
apt-cache search kernel-image
and then
apt-get install kernel-image-* where * corresponds to your architecture. You'll have to edit lilo.conf and include an initrd=/initrd.img line in the Linux stanza. It will prompt you to do this.
Reboot. If the chipset is supported, the NIC will be now availabe. Edit /etc/network/interfaces and run
ifconfig
Good luck!
|
|
|
12-04-2003, 03:30 PM
|
#11
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
Tramontane - yes you are right. It's wierd trying to remember Linux commands when you are tied to a Windows box. I did, of course, mean 'apt-get upgrade'.
|
|
|
12-04-2003, 06:52 PM
|
#12
|
Member
Registered: Dec 2003
Location: Australia
Distribution: Woody, Sarge, Sid
Posts: 83
Rep:
|
To llamakc:
I said "there might be more which you do not know yet".
What if there are dozens of broken packages in his installation?
Would anyone like to figure out which ones they are or simply reinstall Debian in 20mins,
which would give you a healthier system.
However, I would say it is a good practice to try to fix them one by one.
|
|
|
12-04-2003, 07:24 PM
|
#13
|
Member
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402
Rep:
|
Yes, reinstalling takes 20 minutes. I agree. Though I don't see the logic of reinstalling when merely installing a program that is not installed will suffice. Make is not provided in the base install.
If you are comfortable reinstalling in this situation, then I concede that is your opinion and strategy. I would choose not to. I do agree that getting to packages one at a time is the way to go. He doesn't have any corrupted packages though. He doesn't have the package "make". Reinstalling will not add that package.
Anyway, is it now working? is the important question. He'll have plenty of time to dig through preinst and postinst scripts when he jumps headfirst into Unstable...
For example: the msttcorefonts package is borked. One must edit /usr/sbin/update-ms-fonts
And remove the the first URL in URLROOTS at line 37. I guess I should see if there's a bug posted yet.
Last edited by llamakc; 12-04-2003 at 07:29 PM.
|
|
|
12-04-2003, 11:16 PM
|
#14
|
Member
Registered: Dec 2003
Location: Australia
Distribution: Woody, Sarge, Sid
Posts: 83
Rep:
|
To llamakc:
Well, I guess we are talking about 2 different installations.
I suppose his was a base inst and what I am talking about is not.
To premsaggar:
Did you select set of packages you wanted to install?
There should be a screen showing you some categories during the installation,
such as x windows,file server,locale support,games...
|
|
|
12-04-2003, 11:24 PM
|
#15
|
Member
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402
Rep:
|
Let's at least be specific: you are talking about either tasksel or dselect. Has the OP used those during installation?
Nonetheless. make is not installed. I'm talking about the installation that was mentioned at the top of this thread.
Original Poster: do this:
apt-cache search kernel-image
that will output some packages to the screen. Match up your machine (686, AMD-k7) and install one of those images. As an earlier poster mentioned, the 2.4.21 kernels DO support your mobo/NIC.
apt-get install that.
If this is unacceptable, then just keep firing away at the ./configure script inside of the driver directory you are trying to build. What do I mean by this?
Well you first must install make
apt-get install make
then run the ./configure script. This checks for the proper build tool-chain. It possibly will error out on different requirements. THEN you take that information and INSTALL those packages.
In example, it may need gcc. And will error out. So you then do
apt-get install gcc
And re-run ./configure. IF it errors out once more on a new package, you apt-get install that package.
Often, when you are manually compiling software, the configure will spit out:
foobar not found. Exiting.
and you'll do
apt-get install foobar
and you'll discover you already HAVE foobar installed.
If this happens, install the -dev packages.
apt-get install foobar-dev
Once you get your head around it, the method is so unbelievably simple that you'll become an instant zealot.
GOOD LUCK!
|
|
|
All times are GMT -5. The time now is 04:48 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
|
|