LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 01-30-2005, 04:31 PM   #106
gunnix
Member
 
Registered: Apr 2004
Distribution: Arch, Debian and FreeBSD
Posts: 243

Rep: Reputation: 30

Some tricks to speed up an old computer:

dash
Install dash. Make /bin/sh a simlink to /bin/dash. Normally it's linked to bash, which is slower. /bin/sh is the shell used to start up and shutdown the computer. Using dash will make it faster.
You can also make dash your user shell with chsh. That will save some more ram, but I advice you then to use bash in [xae]term/rxvt. For example: "aterm -e bash". Dash is no good interactive shell.

/etc/inittab
Change the number of virtual consoles from 6 to 2. That is, if you don't need it. Many people never use more then 2.

Here you can also change CTRL+ALT+DELETE behaviour to shut the pc down instead of rebooting (or whatever).
 
Old 02-07-2005, 09:11 PM   #107
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,016

Original Poster
Rep: Reputation: 51
Getting the fastest mirrors for your sources.list

Yesterday, I installed Sid with Ext 3, Grub, and the rest of my usual apps. Everything fine and dandy, my old box is humming. Except, the connection to the repositores of the university of Chicago, sometimes
takes a few seconds to start. No problem, is not like i have to wait a long time. Now, in an hour i have to leave the house with my wife and kids to a family reunion, and my wife likes to be on time. No problem.

While looking for something in the APT-HOWTO, i ran into this humdinger in Section 2.3:

Deciding which mirror is the best to include in the sources.list file: netselect, netselect-apt
http://www.debian.org/doc/manuals/ap...basico.en.html

Man, right up my alley, i read it, nothing fancy, should be simple, besides, i got 45 minutes to kill. The Debian repositories in Colombia and Costa Rica are not too fast either. So i installed 'netselect' trying to keep it simple, just had to manually replace my
sources.list with the repositories netselect was going to give me. I did the netselect bit, without first backing the original sources.list. I didn't realize this at the time. Netselect checks 300+ repositories (5 minutes), tells me who is the winner, i replace
the sources.list, save/exit, do an apt-get update and nothing works.
Now what? Clock is ticking, my wife knows these things can take hours if not days, but i promised this wasn't hapenning today, not today.

Netselect is out, I'm too dense to replace my own sources.list.

I read the 2.3 section again twice, decide to install 'netselect-apt', after that, as root, i give it the command:

neselect-apt unstable

it starts again, i go and change clothes, wife is happy. I come back to an error: "it can't check the repositories because you are probably behind a firewall". How come it didn't happen before with netselect? And WHY is this hapenning to ME? Why is it not hapenning to some geek like Dead Parrot, who is probably having a cold Foster and playing with his koala bear.

I'm running outta time, i disinstall Firehol, do the netselect-apt thing again, check my sources.list, nothing. Go back to the instructions:

"Remember: the sources.list file is generated under the current directory, and must be moved to the /etc/apt directory."

# ls -l sources.list
sources.list (aha, so it exists)

So i move it to the /etc/apt file:

# mv sources.list /etc/apt

i go and check the sources.list, there it is:

# the main Debian packages.
deb http://ftp3.nrc.ca/debian/ unstable main contrib
deb-src http://ftp3.nrc.ca/debian/ unstable main contrib

# the non-US Debian packages.
deb http://mirror.peer1.net/debian-non-US/ unstable/non-US main contrib
deb-src http://mirror.peer1.net/debian-non-US/ unstable/non-US main contrib

Both of them in Canada.

Five minutes to go, i do a quick:

# apt-get update && apt-get -y dist-upgrade

it flies, no errors, wheeow! saved by the bell. I reinstalled Firehol and configured it. I shutdown the box and got outta Dodge.

At the party, my rat-bastard brother-in-law who loves XP, asked sardonically "how is Linux in that teapot of yours?" I told it was fine, never gave me any problem, worms, adware, no hackers, good firewall, just fine, runs like a Deere.

He told me one of these days he was going to try it, it couldn't be that hard, besides he got me. Yeah, right!

Now you know how easy it is to change repositories in your sources.list.
 
Old 02-22-2005, 04:18 PM   #108
deepclutch
Member
 
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 707
Blog Entries: 1

Rep: Reputation: 32
Unhappy ALSA on i915GAV

i use sarge 2.6.7-1smp and i got i915 board with on-board sound intel-azx.
i updated alsa to alsa 1.0.8.then i tried to configure alsa by alsaconf.but alsaconf didn't detect this card "azx".i tried everything to get sound.but no escape.plsssssssssss help.but when sarge shutdowns it beeps and shows amixer fails.i can't read shutdown messages as it is very fastly goes off.
also my Fedora 3 got sound with alsa 1.0.8.
the lsmod command shows these:
Module Size Used by
snd_mixer_oss 20384 0
snd 59108 1 snd_mixer_oss
soundcore 10880 1 snd
msr 4032 0
cpuid 3392 0
ipv6 272160 10
autofs4 21444 2
thermal 12880 0
fan 4204 0
button 6520 0
processor 17888 1 thermal
ac 5036 0
battery 9612 0
piix 13824 1
ehci_hcd 32868 0
shpchp 103372 0
pciehp 100428 0
pci_hotplug 35708 2 shpchp,pciehp
parport_pc 35840 0
parport 43272 1 parport_pc
floppy 62452 0
tsdev 7552 0
pcspkr 3852 0
mousedev 10704 3
psmouse 20616 0
evdev 9792 0
uhci_hcd 33776 0
usbcore 117440 4 ehci_hcd,uhci_hcd
e100 34176 0
mii 5344 1 e100
nls_cp437 5920 5
dm_mod 46016 0
capability 4744 0
commoncap 7520 1 capability
ide_generic 1632 0
ide_cd 43876 0
ide_core 145200 3 piix,ide_generic,ide_cd
cdrom 40768 1 ide_cd
genrtc 10648 0
ntfs 94380 1
vfat 15456 2
fat 47936 1 vfat
isofs 36124 0
ext2 75016 0
ext3 129672 2
jbd 70232 1 ext3
mbcache 10340 2 ext2,ext3
sd_mod 22176 7
ata_piix 8228 6
libata 42084 1 ata_piix
scsi_mod 127492 2 sd_mod,libata
unix 31056 495
font 8544 0
vesafb 6880 0
cfbcopyarea 4064 1 vesafb
cfbimgblt 3264 1 vesafb
cfbfillrect 4000 1 vesafb
pls help me 'am anxsly waiting for reply.
 
Old 02-25-2005, 11:46 PM   #109
cdstrand
LQ Newbie
 
Registered: Feb 2005
Posts: 2

Rep: Reputation: 0
Re: Debian Post-Install Configuration

Quote:
Before i jump into it, all i have to say to all newbies is this:
READ your butt off, there is no substitute. Follow instructions eventhough it seems like a PITA. Go to debian.org > documentation > manuals, and read.
Thank you for the advice.

Quote:
THE X PROBLEM
"No Screens Found" means you did a bad configuration for the X server during the installation, either your video card, mouse, monitor, etc is badly configured either for lack of knowledge or lazyness. Yes, some people do not want to read, they want easy, fast answers that only solve their problems momentarily, and the next day they are back asking similar questions.


On kernel 2.4, read sections 9 and 10 of the following article, or better yet, read the whole article, even reinstall if you have to, in order to do it right:

The Very Verbose Debian Installation Walkthrough
http://osnews.com/story.php?news_id=2016

Debian - Not Just Another Pretty Face Part 1
http://distrowatch.com/dwres.php?res...review-debian2

Part 2
http://distrowatch.com/dwres.php?res...review-debian3

On kernel 2.6, read this wiki:

Unofficial #debian channel FAQ on freenode (irc.debian.org)
http://www.linuks.mine.nu/debian-faq-wiki/

You will save yourself a lot of headaches by reading all this.

Usually a well done:

#dpkg-reconfigure xserver-xfree86

will solve the problem.

Ok, you got Debian installed, let's get going...WOOHOO!
Why would you say this? In the first place, I was trying to install woody, in the second place, i read all this stuff you've listed here, and none of the advice worked.

The "very verbose" walk through you mention above is nothing more than a rehash of what debian tells you, or asks you, when you are installing the operating system. I didn't see any information pertaining to my problem, at all, since I don't use a usb mouse.

The second and third links are related, and the fellow that wrote them used the style of a 12 year old girl writing a fan letter to her latest heart-throb. It certainly was an interesting read, but something less than informative. His system worked taking the defaults or making obvious changes, so there is nothing really listed for the person whose system does not respond to the defaluts.

The last link discusses how to configure x, without any information not available from debconf. I'm not even sure what little information is in the paragraph is accurate, as debconf changed my xfree86-4 file after I had manually changed it. But, in any case, there is no discussion in any of these place regarding what course of action should be taken when the configuration fails.

In general, while your article has the purported purpose of helping someone, it actually seems as if you wrote it, instead, to brag, and, judging from your sources, and your comments, the only reason you have to brag is that the systems you have installed debian on worked smoothly with the defaults.

And, oh yeah, it's spelled "laziness", so if I might paraphrase your comment:

The word seems to be misspelled either for lack of knowledge or laziness. Yes, some people do not want to read, they want easy, fast answers that only solve their problems momentarily, and the next day they are back making the same silly spelling errors.

You need to read more. Who knows, you might actually learn something!

This operating system may be overpriced.
 
Old 02-25-2005, 11:46 PM   #110
cdstrand
LQ Newbie
 
Registered: Feb 2005
Posts: 2

Rep: Reputation: 0
Re: Debian Post-Install Configuration

Quote:
Before i jump into it, all i have to say to all newbies is this:
READ your butt off, there is no substitute. Follow instructions eventhough it seems like a PITA. Go to debian.org > documentation > manuals, and read.
Thank you for the advice.

Quote:
THE X PROBLEM
"No Screens Found" means you did a bad configuration for the X server during the installation, either your video card, mouse, monitor, etc is badly configured either for lack of knowledge or lazyness. Yes, some people do not want to read, they want easy, fast answers that only solve their problems momentarily, and the next day they are back asking similar questions.


On kernel 2.4, read sections 9 and 10 of the following article, or better yet, read the whole article, even reinstall if you have to, in order to do it right:

The Very Verbose Debian Installation Walkthrough
http://osnews.com/story.php?news_id=2016

Debian - Not Just Another Pretty Face Part 1
http://distrowatch.com/dwres.php?res...review-debian2

Part 2
http://distrowatch.com/dwres.php?res...review-debian3

On kernel 2.6, read this wiki:

Unofficial #debian channel FAQ on freenode (irc.debian.org)
http://www.linuks.mine.nu/debian-faq-wiki/

You will save yourself a lot of headaches by reading all this.

Usually a well done:

#dpkg-reconfigure xserver-xfree86

will solve the problem.

Ok, you got Debian installed, let's get going...WOOHOO!
Why would you say this? In the first place, I was trying to install woody, in the second place, i read all this stuff you've listed here, and none of the advice worked.

The "very verbose" walk through you mention above is nothing more than a rehash of what debian tells you, or asks you, when you are installing the operating system. I didn't see any information pertaining to my problem, at all, since I don't use a usb mouse.

The second and third links are related, and the fellow that wrote them used the style of a 12 year old girl writing a fan letter to her latest heart-throb. It certainly was an interesting read, but something less than informative. His system worked taking the defaults or making obvious changes, so there is nothing really listed for the person whose system does not respond to the defaluts.

The last link discusses how to configure x, without any information not available from debconf. I'm not even sure what little information is in the paragraph is accurate, as debconf changed my xfree86-4 file after I had manually changed it. But, in any case, there is no discussion in any of these sources, or the couple of dozen other sites I visited, regarding what course of action should be taken when the configuration fails.

In general, while your article has the purported purpose of helping someone, it actually seems as if you wrote it, instead, to brag, and, judging from your sources, and your comments, the only reason you have to brag is that the systems you have installed debian on worked smoothly with the defaults.

And, oh yeah, it's spelled "laziness", so if I might paraphrase your comment:

The word seems to be misspelled either for lack of knowledge or laziness. Yes, some people do not want to read, they want easy, fast answers that only solve their problems momentarily, and the next day they are back making the same silly spelling errors.

You need to read more. Who knows, you might actually learn something!

This operating system may be overpriced.

Last edited by cdstrand; 02-25-2005 at 11:49 PM.
 
Old 03-03-2005, 08:02 AM   #111
HalfDiminished
Member
 
Registered: Jan 2005
Location: Santa Barbara, CA
Distribution: Ubuntu Hoary/Debian 3.1/RHEL-WS3/DSL 1.1
Posts: 66

Rep: Reputation: 15
cdstrand,
These guys who are putting together these howtos are volunteers. They don't owe you anything. If you are having problems getting your system working, read what they have to say. If it's not applicable, get your info somewhere else. Don't make a user account on LQ and post your first 2 identical messages bashing the work that somebody did to try to make it easier for you. I can think of another OS 'community' that may be more appropriate for you.
 
Old 04-04-2005, 07:21 PM   #112
gunnix
Member
 
Registered: Apr 2004
Distribution: Arch, Debian and FreeBSD
Posts: 243

Rep: Reputation: 30
Just a post to say that my page about debian http://users.skynet.be/six/gpure/tech/linux/debian.html
has reached a quite acceptable and useful level. I don't post it here on the forum because I still change and make additions to it from time to time.
Have a look if you're interested. I hope it's of some use!

grtz
 
Old 04-11-2005, 08:11 PM   #113
mipia
Member
 
Registered: May 2003
Location: lake michigan
Distribution: Debian, Mint, Slackware
Posts: 457

Rep: Reputation: 35
Quote:
Originally posted by gunnix
Just a post to say that my page about debian http://users.skynet.be/six/gpure/tech/linux/debian.html
has reached a quite acceptable and useful level. I don't post it here on the forum because I still change and make additions to it from time to time.
Have a look if you're interested. I hope it's of some use!

grtz
nice page indeed!

Anythng regarding usefull information is never a waste of server space. Keep up the good work!
 
Old 04-12-2005, 03:22 PM   #114
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,016

Original Poster
Rep: Reputation: 51
From a posting by Dead Parrot:

"I've been constantly surprised that no-one has written a really GOOD tutorial about using aptitude, because it's a very useful program and I guess many people use it. Personally, I just checked the help screen often and moved the highlighted area -- and slowly it just somehow started to make sense. I guess most people just learn it by using it. Anyway, here's some sort of attempt to explain aptitude and its usage:"

http://doc2.inf.elte.hu/doc/aptitude/html/en/

__________________


Thanks DP!
 
Old 05-14-2005, 08:56 PM   #115
junkman4547
LQ Newbie
 
Registered: Mar 2005
Distribution: Debian
Posts: 23

Rep: Reputation: 15
Hi there, I'm brand new to anything Linux. I have just installed Sarge and I'd
like the computer to boot into KDE instead of the, apparently default, Gnome.

KDE supports Thai keyboard layout that I need to use. Any suggestion and helps
is greatly appreciated.
 
Old 05-14-2005, 11:46 PM   #116
junkman4547
LQ Newbie
 
Registered: Mar 2005
Distribution: Debian
Posts: 23

Rep: Reputation: 15
Smile

Forgive me for posting a silly request. I fumbled around and managed to
enable Thai keyboard layout with Gnome.

I have another request though. I'm running Sarge with 2.6 kernel and the
GUI only limit me to 800 by 600 resolution, my graphic card is ATI Radeon
9800 pro - 128mb RAM, how can I increase the maximum resolution ?
 
Old 05-15-2005, 08:51 AM   #117
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,016

Original Poster
Rep: Reputation: 51
"I have another request though. I'm running Sarge with 2.6 kernel and the
GUI only limit me to 800 by 600 resolution, my graphic card is ATI Radeon
9800 pro - 128mb RAM, how can I increase the maximum resolution?"

junkman4547: this type of questions is better posted as a new one in the forum, more people will see it and the answer will be posted more rapidly. The object of this sticky is to be a sort of manual. I understand you're a noobie, look in the database for the Debian forum using the 'Search' option. It would be helpful if you read the sticky starting with page 1 and the subsequent postings.

regards,

Last edited by macondo; 05-15-2005 at 08:53 AM.
 
Old 05-15-2005, 01:50 PM   #118
junkman4547
LQ Newbie
 
Registered: Mar 2005
Distribution: Debian
Posts: 23

Rep: Reputation: 15
Thank you for pointing me to the right direction Macondo. I apologize for my inappropriate question on this thread.
 
Old 05-21-2005, 01:13 PM   #119
shag
Member
 
Registered: Jan 2005
Location: Melbourne
Distribution: Debian
Posts: 42

Rep: Reputation: 15
Thankyou Macondo

Wanted to say thanks to this bloke,

You have helped me so much.
I've had a few queries,
but Macondo and others on the LQ have done me right,
without having to ask too much at all,
thanks again...

Cheers
Shag.
 
Old 05-29-2005, 11:02 PM   #120
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,733
Blog Entries: 12

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
Quote:
Originally posted by macondo
From a posting by Dead Parrot:

"I've been constantly surprised that no-one has written a really GOOD tutorial about using aptitude, because it's a very useful program and I guess many people use it. Personally, I just checked the help screen often and moved the highlighted area -- and slowly it just somehow started to make sense. I guess most people just learn it by using it. Anyway, here's some sort of attempt to explain aptitude and its usage:"

http://doc2.inf.elte.hu/doc/aptitude/html/en/

__________________


Thanks DP!
aptitude user's manual
http://people.debian.org/~dburrows/aptitude-doc/en/ Oops same site just different links.

Last edited by craigevil; 05-29-2005 at 11:35 PM.
 
  


Reply

Tags
debian, setup


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
DISCUSSION: Debian Post-Install Configuration macondo LinuxAnswers Discussion 5 12-11-2008 11:21 PM
(new to Debian) post install questions gugamare Debian 4 11-01-2005 10:01 AM
debian ugly post-install ssaady Debian 4 10-27-2005 07:02 AM
FC3 installation fails at post install configuration stage grstaker Fedora - Installation 8 06-20-2005 11:43 AM
RedHat 7.3 post install configuration LOCKS UP sput Linux - Distributions 7 07-19-2002 01:10 PM


All times are GMT -5. The time now is 11:51 PM.

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