LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 10-28-2012, 03:47 AM   #1
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Eth0 and Usb notification niggles


Hi

I have 2 little niggles I would like to clear up. LFS-7.2 built chapter 4 complete BLFS-svn
1st when the eth0 cable is connected I get a notification that it has been connected/disconnected I then press enter returns to prompt

2nd similar when I insert usb drive it notifies me, I again have to press enter to return to prompt. I would also lke the usb to auto mount when inserted, I tied entering a line in fstab but made no difference
 
Old 10-28-2012, 04:04 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by spiky0011 View Post
I have 2 little niggles I would like to clear up. LFS-7.2 built chapter 4 complete BLFS-svn
1st when the eth0 cable is connected I get a notification that it has been connected/disconnected I then press enter returns to prompt

2nd similar when I insert usb drive it notifies me, I again have to press enter to return to prompt.
I do believe it is klogd that sends these messages to the console.

I've got this line in my /etc/rc.d/init.d/sysklogd:
Code:
log_info_msg "Starting kernel log daemon..."
      start_daemon /sbin/klogd -c 3
      evaluate_retval
From the klogd man page:
Quote:
-c n Sets the default log level of console messages to n.
A while ago this was posted. Might go beyond what you asked, but I'll include it just in case: Clean up your LFS boot-time console messages

Quote:
Originally Posted by spiky0011 View Post
I would also lke the usb to auto mount when inserted, I tied entering a line in fstab but made no difference
Different question, but have you looked at this: autofs-5.0.7?
 
Old 10-28-2012, 04:20 AM   #3
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511

Original Poster
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi

Yes the change to /etc/rc.d/init.d/sysklogd: fixed both the problems thks

I had looked at stoats post a few times, but I dont have "/etc/sysctl.conf..." 7.2 uses grub2.00

It looks like autofs is what I was looking for
 
Old 10-28-2012, 05:06 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by spiky0011 View Post
I had looked at stoats post a few times, but I dont have "/etc/sysctl.conf..." 7.2 uses grub2.00
Those 2 (/etc/sysctl.conf and grub) are unrelated.

With sysctl you can configure kernel parameters. You can either do this dynamically ("from the prompt") or at boot (using /etc/sysctl.conf as input).

Have a look at these links:
- sysctl
- sysctl.conf
- sysctl (wiki)
- sysctl.conf example and links

A word of advise: If you are going to experiment with sysctl, do make sure you know what you are doing. Do an extensive search on the net and/or ask the LQ community to help if you are unsure.

Although you can tune many, many kernel parameters you do have to know what you are doing. Setting the wrong values can have a big negative impact on your system.
 
Old 10-28-2012, 05:14 AM   #5
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511

Original Poster
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Think I,ll leave it alone lol thks for your time, although I like to modify how grub looks but cant seem to find anything it all points to production distros not basic grub.
 
  


Reply

Tags
blfs, console messages, klogd, lfs



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
[SOLVED] Update niggles with keyboard & Synaptics driver business_kid Slackware 3 04-28-2011 02:51 AM
LXer: Elementary OS Beta Reviewed - Very Polished, Minor Niggles LXer Syndicated Linux News 0 03-15-2011 04:10 AM
USB insertion notification paldebojyoti Linux - Distributions 3 08-21-2009 05:32 AM
Kaffeine file association problems (and some other niggles ;p) mansizerooster Linux - Software 1 09-15-2005 06:58 PM
Samba win9x niggles acid_kewpie Linux - Networking 4 08-28-2001 04:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 09:57 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
Open Source Consulting | Domain Registration