LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

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

Rep: Reputation: 0
Question Syslogd


Hello,

This is my first post here at LinuxQuestion.org 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.

Thanks

The Hypnoman

 
Old 09-03-2003, 02:59 AM   #2
Azmeen
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
m0rl0ck
Member
 
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 @10.0.23.3 # -/var/log/syslog
user.* @10.0.23.3 # -/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 @10.0.23.3
# The authpriv file has restricted access.
#authpriv.* /var/log/secure
authpriv.* @10.0.23.3
# 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 @10.0.23.3 # -/var/log/cron/info
cron.=warn @10.0.23.3 # -/var/log/cron/warnings
cron.err @10.0.23.3 # -/var/log/cron/errors

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

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

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

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


# Everybody gets emergency messages
*.emerg @10.0.23.3 # *

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

# Save boot messages also to boot.log
local7.* @10.0.23.3 # -/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 @10.0.23.3 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
hypnoparadise
LQ Newbie
 
Registered: Sep 2003
Posts: 2

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


Reply


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


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