LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 04:47 AM   #1
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debain
Posts: 1,742
Blog Entries: 1

Rep: Reputation: 244Reputation: 244Reputation: 244
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, 05:04 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
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, 05:20 AM   #3
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debain
Posts: 1,742
Blog Entries: 1

Original Poster
Rep: Reputation: 244Reputation: 244Reputation: 244
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, 06:06 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
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, 06:14 AM   #5
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debain
Posts: 1,742
Blog Entries: 1

Original Poster
Rep: Reputation: 244Reputation: 244Reputation: 244
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


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


All times are GMT -5. The time now is 05:12 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