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 05-31-2005, 01:30 PM   #121
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Turn off ipv6 so firefox loads pages faster


By default Firefox (and other Mozilla-compatible browsers) first tries to use IPv6 before it tries IPv4. This can create unnecessary delays in loading pages if your Internet connection doesn't support IPv6. To make Firefox use only IPv4 you can type "about:config" (without quotes) to the address space in Firefox, hit Enter and scroll down the page until you see this line:

network.dns.disableIPv6

Right-click the line and toggle its value from "false" to "true".

If you want to turn off IPv6 system-wide, this can be done in /etc/modutils/aliases -- just find the following line and remove the # character from the beginning of the line:

# alias net-pf-10 off # IPv6

I did both and I find that Firefox now loads pages considerably faster.

EDIT:
Forgot to say that after editing /etc/modutils/aliases you should run "update-modules" as root.

I also found an article that discusses speeding up Firefox: http://www.google.fi/url?sa=t&ct=res...NJGaiAKlkLC4CA

Last edited by Dead Parrot; 09-08-2005 at 08:16 PM.
 
Old 05-31-2005, 01:46 PM   #122
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
Hi Dead Parrot

Isn't the /etc/modutils/aliases in read-only mode on your system ?
On mine it is, and was not able to uncomment the line you referred to.
Is it something special to my config ?

Another thing I wanted to ask : I think I may have an issue with some sites,
for instance when I want to look at my basket on amazon, I can't use the
secure server. Has it got something to do with ssh ? Is it a permission issue ?

Thx
 
Old 05-31-2005, 02:43 PM   #123
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Code:
[parrot: ~] > ls -hl /etc/modutils/ | grep aliases
-rw-r--r--  1 root root 1,2K 2005-05-26 03:00 aliases
In chmod this would be 644 and I don't think I've changed the file permissions at any point. I'm not sure but I think it's enough to just change the browser preferences in "about:config".

I rarely use ssh connections but you can run "dpkg-reconfigure ssh" and check that ssh-keysign has been installed with with the SUID bit on. /usr/share/doc/ssh/README.Debian is also worth checking out. If the problem doesn't go away, you might want to start a new thread. This thread is more for sharing useful Debian tips and tricks than for problem solving.
 
Old 05-31-2005, 03:48 PM   #124
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
Thanks for the answer.

about:config worked just fine, and Firefox is even a bit faster than before.
I checked about ssh config with dpkg-reconfigure ssh, the ssh-keysign is
installed with the SUID bit on. I still cannot connect to secure servers.
I need to check more doc. Thanks anyway.
 
Old 06-02-2005, 06:26 AM   #125
manuelito
LQ Newbie
 
Registered: Jun 2005
Location: Bracciano (Italy)
Distribution: Debian unstable
Posts: 4

Rep: Reputation: 0
Hello everybody and thank you for your time and patience with newbies.

I ran across this forum while looking for an answer to my problems and I read the first post by Macondo on this thread (the one beginning with:

Quote:
My purpose with this posting is to help newbies, period.
)

I've tried quite a bit on my own, I've read what I could, and sure I am ready to read more, but mainly I would like to know if what I've done so far can be saved or if I should give up and start all over again!

<8-{

Also, since this is my first participation to a technical mailing list and I may occasionally experience language difficulties, please bear with me.

To begin in the beginning... (I'll give you the macro facts first, the technical data will follow as soon as you ask for them, hopefully I'll manage to follow your indications, I wouldn't know where to start now).

I own an Acer Aspire 1524WLMi laptop (AMD Athlon 64 CPU, NVIDIA GeForce FX Go 5700 64MB, 512MB DDR RAM, ...) with Windows XP SP2 preinstalled. A few months ago I downloaded from an Italian mirror an Italianized version of Knoppix 3.6, called EduKnoppix-2.0.94-kids, because I wanted to get acquainted with GNU/Linux and to enjoy the richness of the didactic packages offered by that distribution. Everything went fine, double boot included, and I lived happily ever after... (hard problems with Winmodem & USB mouse notwithstanding).

Until... I tried to install a package for the management of spatial data (grass-6.0.0.tar.gz) and started having problems (libraries not present, to say the least). So I decided to go Debian unstable. After a brief - too brief? - research I opted for the apt-get mechanism (apt-get update & apt-get dist-upgrade; my /etc/apt/sources.list set on "unstable"; "stable" and "testing" only for security updates). Over a slow modem 56Kbps connection it took quite a long time (24hrs+). After reboot, the X server was a bit unstable, KDE and the mouse and touchpad were gone, most of the Knoppix packages too, and I was left with the sensation that not every "unstable" package had been properly downloaded and installed (some error messages warned that a few problems had occurred). So I "apted" once more; plus, I wanted to try GNOME (apt-get install gnome & various other packages; more trouble reconfiguring ppp with the internal Winmodem in the meantime, since kppp was gone as well). Went ahead (another 24 hrs or so) and on reboot nothing much had changed (a few more packages & applications were there - such as Mozilla and a tiny bit of Gnome - but most of them unusable; also, I kept getting annoying messages in the system log from services that had apparently been installed without explicit consent, such as brltty, bind, bacula, nis and so on). I probably had been too hasty in beginning the apt download without managing important aspects I didn't know - and should have known - existed.

Anyway, I decided to be more scientific about my Debian download; my personal data on Linux were still there, so nothing irreparable seemed to have occurred. I discovered the dselect utility for the dpkg management and felt quite happy to be able to control and finely tune my installation, all the time being guided hand by hand through the harsh maze of package dependencies. After 24 more hrs of slow downloads, while I was through the installation chapter of dselect, I was warned by a particularly menacing message that the 2.4.27 version of the kernel I had been running so far would have been removed, and, among other things, that I would not have been able to reboot the system. I wasn't willing to take the risk, particularly since I hadn't meant to switch to kernel 2.6 in the first place. So I got back to the package selection step, and unselected the kernel removal option. Back to downloading the 2.4.27 kernel, I felt I was close to the end of my odyssey; I interrupted my connection to the internet, I had to go and collect my children at school. Once I later tried to resume my connection to finish the download, I found out many things had changed in the meantime in my configuration; above all, wvdial was no longer there, nor the slmodem daemon I had used so far. Taken aback, I rebooted, hoping for the best, and swearing to myself I would never get in such troubles again...

Luckily, I managed to reboot, the boot loader and the 2.4.27 kernel were still there; but other things had disappeared; amog them, the slamr module for the soft modem connection. So I downloaded the slmodem-2.9.10.tar.gz package again, but there was no way I could manage to install it.

Now, to make a long story short, I'm stuck. Also I would like to proceed as it should be done, not by wild guesses which could probably make matters even worse. Also I would like to keep my Deb packages if possible, without reinstalling Knoppix, not only out of respect for a long 4 days work, but especially out of curiosity for Debian (and I have GRASS as one of my chosen packages in dselect, too)!

Please, if any one out there feels there is still hope for a tentative debianite on the lake of Bracciano (50 km from Rome), please let me know and I will be forever grateful.
Manuelito
 
Old 06-02-2005, 10:35 AM   #126
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,016

Original Poster
Rep: Reputation: 51
start all over again.

Ciao manuelito and welcome to Debian.

1. The main function of this sticky is to act as a manual for troubleshooting your Debian installation, not to post problems. You should post your problem as a new message, so more people will see it and more solutions will be offered. You will find different solutions and more options on how to go about this.

2. It's imperative that you read all the postings in this sticky, so you have a well-rounded idea what is going on.

3. If i were you i would use the net-installer and do a minimal installation with only the apps you need. It would take a while with a dialup connection, but it doesn't seem to bother you.

Howto install Debian with the RC2
http://www.linuxquestions.org/questi...icle&artid=330

This guide will give you a good idea on how to install and use 'apt-get'. If you like the big desktop environments, install their lightest versions: kde-core or gnome-core.

Example:

#apt-get install gnome-core

I would wait till next week (june 6) and download the official Sarge net-installer. This way, you don't have update/dist-upgrade.

Read the APT-HOWTO.

I would recommend to install Sarge, but if you want Sid, you can do it with the same net-installer. Sid has more up-to-date apps but it breaks once in a while, which for a newbie is troublesome. Sarge has up-to-date apps, it's pretty good.
Don't bother with security repositories for Sid, there are none; only for stable and testing.

Regards,

Last edited by macondo; 06-02-2005 at 10:42 AM.
 
Old 06-02-2005, 09:54 PM   #127
Snapper
LQ Newbie
 
Registered: Aug 2003
Posts: 1

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

Quote:
Originally posted by macondo
Edit: if by any chance when you invoke a program from the terminal, it doesn't come up because the server doesn't allow you to:

#export XAUTHORITY=/home/your_user_name/.Xauthority

logout/login
There's a nice little package called sux that does the Xauthority exporting for you in a comfortable manner (only available in testing and unstable at the moment):

Code:
$ apt-cache show sux|grep Description -A 30
Description: wrapper around su which will transfer your X credentials
 Sux is a wrapper around the standard su command which will transfer
 your X credentials to the target user.
 .
 http://sourceforge.net/projects/sux/
 ( from http://fgouget.free.fr/sux/ )
Just do sux <user> and you'll be able to start X applications.
 
Old 06-03-2005, 03:56 PM   #128
mekoc
LQ Newbie
 
Registered: Jun 2005
Distribution: Debian 3.1
Posts: 12

Rep: Reputation: 0
Hi,
Iím new to this forum. I have one question about Debian. Iíve tried out Woody and Sarge earlier. As I know Sarge will be released next week and I want to switch to Debian from my current distro, but I need some help from the experienced Debian users. I use my PC at home and have no permanent Internet connection and I want to disable the root password because I often perform tasks witch require root privilegies. I know how to do that in other distros, but in Debian itís just not work for me: after editing that file the system still ask the password and since the file was modified the old password donít work and there is no new password. Can someone help me out?
 
Old 06-03-2005, 05:10 PM   #129
halo14
Senior Member
 
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103

Rep: Reputation: 45
Quote:
Originally posted by mekoc
Hi,
Iím new to this forum. I have one question about Debian. Iíve tried out Woody and Sarge earlier. As I know Sarge will be released next week and I want to switch to Debian from my current distro, but I need some help from the experienced Debian users. I use my PC at home and have no permanent Internet connection and I want to disable the root password because I often perform tasks witch require root privilegies. I know how to do that in other distros, but in Debian itís just not work for me: after editing that file the system still ask the password and since the file was modified the old password donít work and there is no new password. Can someone help me out?
this needs to be a seperate thread not a comment on this one.
 
Old 06-07-2005, 05:08 AM   #130
exit3219
Member
 
Registered: May 2005
Location: Moldova
Distribution: Kubuntu
Posts: 199

Rep: Reputation: 30
Can you believe I actually learnt more from this single thread than from a month of googling?
Thanks, guys.
And about WMs: I have 256 MB of RAM so I afford to run KDE.
 
Old 06-07-2005, 07:28 PM   #131
manuelito
LQ Newbie
 
Registered: Jun 2005
Location: Bracciano (Italy)
Distribution: Debian unstable
Posts: 4

Rep: Reputation: 0
Re: start all over again.

Quote:
Originally posted by macondo
Ciao manuelito and welcome to Debian.
Thank you and I'm sorry for the present late response, but I've been away for a while.

Quote:

1. The main function of this sticky is to act as a manual for troubleshooting your Debian installation, not to post problems. You should post your problem as a new message, so more people will see it and more solutions will be offered. You will find different solutions and more options on how to go about this.
I'll follow your suggestion shortly, even though by now I've come to the conclusion that it's not all that important to tell the whole story, rather I'm going to focus on the last aspect, i.e., why I can't install the slmodem package; once that is solved I should be able to resume my downloads, finish the dselect procedure and get the whole distro up and running.

Quote:

2. It's imperative that you read all the postings in this sticky, so you have a well-rounded idea what is going on.
I will as soon as possible.

Quote:

3. If i were you i would use the net-installer and do a minimal installation with only the apps you need. It would take a while with a dialup connection, but it doesn't seem to bother you.

Howto install Debian with the RC2
http://www.linuxquestions.org/questi...icle&artid=330

This guide will give you a good idea on how to install and use 'apt-get'. If you like the big desktop environments, install their lightest versions: kde-core or gnome-core.

Example:

#apt-get install gnome-core

I would wait till next week (june 6) and download the official Sarge net-installer. This way, you don't have update/dist-upgrade.

Read the APT-HOWTO.

I would recommend to install Sarge, but if you want Sid, you can do it with the same net-installer. Sid has more up-to-date apps but it breaks once in a while, which for a newbie is troublesome. Sarge has up-to-date apps, it's pretty good.
Don't bother with security repositories for Sid, there are none; only for stable and testing.
I will follow your advices the minute I decide to give up trying to resume my previous downloads. I'll try to work around the soft modem installation problem first (I'll post it as a new problem right away).

Thank you for your suggestions.

Regards,

Manuelito
 
Old 06-15-2005, 09:31 AM   #132
sadun
Member
 
Registered: Mar 2005
Posts: 48

Rep: Reputation: 15
Quote:
I use vi (or vim) every single day. It's so easy, especially when you do quick editing. It doesn't take very long to get used to and I don't have to open a gui window

All you really have to know.
i - to insert text
o - to open a new line below the current one to insert text.
ESC - to get back to command mode
u - to undo
yy - to copy current line
yw - to copy current word
p - to paste after cursor
P - to paste before cursor
:w to save
:wq to save and exit
0 - to go to begnning of currenet line
$ - to go to end of current line
w - to go to next word
G - to go to end of file
1G - to go to first line in file.
ctrl+b - to bo back one screen
ctrl-f - to go forward one screen

It seems like it would be hard to learn but once you try, it is easy. And then later you learn that replacing text is much easier with a sed script

I work on a lot of servers where there is no gui and no nano, etc. So you HAVE to know vi. And it does pay to know
addition

dd - deletes current line
 
Old 07-11-2005, 04:06 AM   #133
prplmnkydw
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Rep: Reputation: 0
helpful, question

Thanks Macondo, very helpful article... however, I ran into two strange issues while following...

1) KDE disappeared and Gnome replaced it, without asking... i dont really care, just thought it was odd. happened after the dist-upgrade.

2) When I try to install sndconfig, I get an error message, something about unmet dependencies ("depends: kudzu (>.99.49-1))... I apt-got kudzu, but still wont get sndconfig...?

BTW, I have Debian 3.0 running, was woody, now sarge I guess since I did the dist-update?

Thanks again...
 
Old 07-11-2005, 08:20 PM   #134
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,016

Original Poster
Rep: Reputation: 51
prplmnkydw: the original article has an Edit correction, maybe you missed it:

<beginning of quote>

SOUND

apt-get install sndconfig

run the command sndconfig

#sndconfig

EDIT 21 Dec 2004: sndconfig seems to be obsoleted, it gives an error when attempting to be installed. Try this:

Sound and video
http://linuxtimes.net/modules.php?n...=457&page=2

*Edit July 11 2005: this link seems to be out too. Try the alsa route:

#apt-get install alsa-base
#alsaconf
#alsamixer

Or, you can install 'modconf', execute it, go to ' kernel/drivers/sound', find your module, follow the instructions and it will tell you if it was succesfully installed.

find your sound card, and add yourself to the 'audio' group

#adduser <user name> group

#adduser macondo audio

logout/login for this to take effect, as long as you are there, add yourself to the following groups, one by one:

dip
users
cdrom
sudo



you need a sound mixer:

#apt-get install aumix

calibrate volume and pcm settings

<end of quote>

As for the question about being on Sarge, if you changed the sources.list to Sarge, then did an 'apt-get update', followed by an 'apt-get dist-upgrade', rebooted, you should be in Sarge. =)

Last edited by macondo; 07-11-2005 at 08:36 PM.
 
Old 07-23-2005, 12:30 PM   #135
asamma
LQ Newbie
 
Registered: Apr 2005
Posts: 7

Rep: Reputation: 0
configuring hardware

hello guys,
i arrived last week to debian after suse 9.3. i read this post and even if i found a lot of usrful things i still can't find an anwer for my question that i thought easy:
i use kde on debian sarge, where can i find a configuration tool for my hardware? for example i can set my display only to 800x600 and it's bad. i can't see usb mass storage device, i can't see the ntfs file systems that i have on ther partitions...suse used to have a kind of control panel where i could configure all my devices, how can i do it with debian?
bye!
 
  


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 09:48 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration