Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-03-2003, 01:06 AM   #1
LQ Newbie
Registered: Sep 2003
Posts: 2

Rep: Reputation: 0
Question Syslogd


This is my first post here at and so far i have liked it! I got two questions.

1. Were in slackware 9.0 do i activete so i can log another linuxcomputer to my slackware 9.0? What i know about this is that i think i shall put a "-r" somewhere, but i do not know where?

2. I am on the Ip-range 171.15.x.x (it is a network only for test)! I only have one networkcard, but if it is possible i would like to be able to access units that has the IP-range 192.168.x.x . This can be done in Windows, and i really hope that it is possible 2 do in Linux.


The Hypnoman

Old 09-03-2003, 02:59 AM   #2
Senior Member
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
Question 2:
ifconfig eth0:1 192.168.x.x will add IP 192.168.x.x to your eth0 interface.

I don't actually understand what you're trying to ask in Question 1... perhaps you could rephrase it?
Old 09-04-2003, 02:28 AM   #3
Registered: Nov 2002
Distribution: A totally 133t distro :)
Posts: 358

Rep: Reputation: 31
yep syslogd has to be started with the -r option on the machine you want to log to. The syslogd startup script is probably in /etc/init.d so add the -r option in that script. There may also be a startup variable for syslogd in /etc/sysconfig/syslog.

On the machine that your logging from youll need to tell syslog where to send its log messages, to do that you need to edit /etc/syslog.conf along the lines of:

# Various entry
auth,authpriv.* /var/log/auth.log
*.*;auth,authpriv.none @ # -/var/log/syslog
user.* @ # -/var/log/user.log

# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;;news.none;authpriv.none -/var/log/messages
*.info;;news.none;authpriv.none @
# The authpriv file has restricted access.
#authpriv.* /var/log/secure
authpriv.* @
# Mail logging
mail.=debug;mail.=info;mail.=notice -/var/log/mail/info
mail.=warn -/var/log/mail/warnings
mail.err -/var/log/mail/errors

# Cron logging
cron.=debug;cron.=info;cron.=notice @ # -/var/log/cron/info
cron.=warn @ # -/var/log/cron/warnings
cron.err @ # -/var/log/cron/errors

# Kernel logging
kern.=debug;kern.=info;kern.=notice @ # -/var/log/kernel/inf
kern.=warn @ # -/var/log/kernel/warnings
kern.err @ # /var/log/kernel/errors

# Lpr logging
lpr.=debug;lpr.=info;lpr.=notice @ # -/var/log/lpr/info
lpr.=warn @ # -/var/log/lpr/warnings
lpr.err @ # -/var/log/lpr/errors

# News logging
news.=debug;news.=info;news.=notice @ # -/var/log/news/news.
news.=crit @ # -/var/log/news/news.crit
news.=err @ # -/var/log/news/news.err

# Daemons logging
daemon.=debug;daemon.=info;daemon.=notice @ # -/var/log/daemon
daemon.=warn @ # -/var/log/daemons/warnings
daemon.err @ # -/var/log/daemons/errors

# Everybody gets emergency messages
*.emerg @ # *

# Save mail and news errors of level err and higher in a
# special file.
uucp,news.crit @ # -/var/log/spooler

# Save boot messages also to boot.log
local7.* @ # -/var/log/boot.log


Thats mine, sorry, I know its messy. Backup everything before you edit it.

Somehow posting this removed the whitespace before the @ you might want to put some tabs before the @'s

Last edited by m0rl0ck; 09-04-2003 at 02:36 AM.
Old 09-05-2003, 12:45 AM   #4
LQ Newbie
Registered: Sep 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks that worked! I start the syslogd in /etc/sysconfig/syslog


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
Where is syslogd loaded? HTS Linux - Newbie 1 07-27-2004 07:58 AM
syslogd in busybox iftiuk Linux - General 2 05-13-2004 03:25 PM
timestamping in syslogd iftiuk Linux - Newbie 0 04-08-2004 09:50 AM
syslogd ????????????????????? lub0 Linux - General 2 09-23-2003 08:17 AM
having problem with syslogd kanette Linux - Software 8 09-21-2003 09:39 AM > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration