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 |
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-28-2012, 03:47 AM
|
#1
|
|
Senior Member
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,575
|
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
|
|
|
|
10-28-2012, 04:04 AM
|
#2
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,865
|
Quote:
Originally Posted by spiky0011
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
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?
|
|
|
|
10-28-2012, 04:20 AM
|
#3
|
|
Senior Member
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,575
Original Poster
|
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
|
|
|
|
10-28-2012, 05:06 AM
|
#4
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,865
|
Quote:
Originally Posted by spiky0011
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.
|
|
|
|
10-28-2012, 05:14 AM
|
#5
|
|
Senior Member
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,575
Original Poster
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:13 PM.
|
|
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
|
|