[newbie] Syslog
I need to setup syslog on my 9.2.1 box. My router is 10.1.1.2. Two questions: Where do I setup the ip address of the router in linux and have the linux box accept log entries from the router? Is it just the /etc/syslog.conf file? Where do the logs go once it is setup? Do I need to setup a directory or do they go to the /var/log directory? If anyone knows where there is some good docs on this, that would be great. Thanks, Mike
[newbie] Syslog
Hello! I want to setup a Mandrake 9.2 box to work as a Syslog server on our network and do not know where to start. I know how to configure my routers/switches, but need help with Mandrake. Anyone have any good docs or websites? Thanks for the help. Mike Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Syslog
On Thursday 29 Jan 2004 1:59 pm, Mike Begin wrote: Hello! I want to setup a Mandrake 9.2 box to work as a Syslog server on our network and do not know where to start. I know how to configure my routers/switches, but need help with Mandrake. Anyone have any good docs or websites? Thanks for the help. Mike Take a look at /etc/sysconfig/syslog Starting syslog with the -r option allows logging from remote machines. In the remote machines look at /etc/syslog.conf The right hand column gives the destination for the log, so *.*@hostname will send everything to a remote logger. See http://linuxsecurity.com/feature_stories/remote_logserver-3.html derek -- www.jennings.homelinux.net Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] syslog
On Sat, 8 Nov 2003 12:49:49 + Derek Jennings [EMAIL PROTECTED] wrote: On Saturday 08 Nov 2003 9:17 am, Kristjan wrote: SNIP Yes Derek I have the ports opened as the samba server actually works and I can access the samba shares from w2k when I connect based on IP. The NetNeighbourhood does not say anything about any available share.. So the name is not resolved correctly. Unfotrunetly I fail to connect to w2k shares using smb Also I noticed just here that the IP it fails to send packets is 10.0.0.255 I have 2 network cards eth0 connected to dsl modem (and having local ip 10.0.0.10) eth1 is serving lan (having local ip 192.168. ) And if there are some nameservers broadcasting itselt then it should be sent to 192.168.1.255 I think. So I have some more conf files to dig... I added the wins support = yes (it wasnt there) Now I have to wait til my laptop gets home again to test it. Kristjan Looks like it is trying to send samba packets out over your ADSL interface. Check /etc/samba/smb.conf and make sure your 'interfaces' parameter only includes the local net. If you have no interfaces parameter samba will work over all local interfaces. derek -- Thanks Detek I got my w2k box accessible with smb... Only authentication failed, when I try to connect to w2k box using smb. Are there any tricks that should be used with W2K and smb.. As I sayd I get access from w2k to samba server. Kristjan Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] syslog
On Fri, 7 Nov 2003 20:25:06 + Derek Jennings [EMAIL PROTECTED] wrote: On Friday 07 Nov 2003 6:40 pm, Kristjan wrote: Again My syslog is full of lines like that Nov 2 14:24:08 linux nmbd[2423]: Packet send failed to 10.0.0.255(138) ERRNO=Operation not permitted Nov 2 14:26:07 plaza nmbd[2423]: [2003/11/02 14:26:07, 0] libsmb/nmblib.c:send_udp(756) Nov 2 14:26:07 linux nmbd[2423]: Packet send failed to 10.0.0.255(137) ERRNO=Operation not permitted Nov 2 14:26:07 plaza nmbd[2423]:[2003/11/02 14:26:07, 0] nmbd/nmbd_packets.c:send_netbios_packet(172) Nov 2 14:26:07 plaza nmbd[2423]: send_netbios_packet: send_packet() to IP 10.0.0.255 port 137 failed So much I understand it is conected to the partly functioning samba server. As I can access the clients over the lan using samba only by IP address. none of the clientes are visible in any network browser (lin or win neighborhoods ... ) Any idea what went wrong ? Kristjan Have you opened up your firewall between your samba server and the local net? In /etc/shorewall/rules you need lines like : ACCEPTfw masqtcp 137,138,139 ACCEPTfw masqudp 137,138,139 ACCEPTmasqfw tcp 137,138,139 ACCEPTmasqfw udp 137,138,139 (Depending on your mandrake release your local network may be called 'masq' or 'loc' ) Then 'shorewall restart' Other thing to check is in /etc/samba/smb.conf set wins support = yes HTH derek Yes Derek I have the ports opened as the samba server actually works and I can access the samba shares from w2k when I connect based on IP. The NetNeighbourhood does not say anything about any available share.. So the name is not resolved correctly. Unfotrunetly I fail to connect to w2k shares using smb Also I noticed just here that the IP it fails to send packets is 10.0.0.255 I have 2 network cards eth0 connected to dsl modem (and having local ip 10.0.0.10) eth1 is serving lan (having local ip 192.168. ) And if there are some nameservers broadcasting itselt then it should be sent to 192.168.1.255 I think. So I have some more conf files to dig... I added the wins support = yes (it wasnt there) Now I have to wait til my laptop gets home again to test it. Kristjan Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] syslog
On Friday 07 Nov 2003 6:40 pm, Kristjan wrote: Again My syslog is full of lines like that Nov 2 14:24:08 linux nmbd[2423]: Packet send failed to 10.0.0.255(138) ERRNO=Operation not permitted Nov 2 14:26:07 plaza nmbd[2423]: [2003/11/02 14:26:07, 0] libsmb/nmblib.c:send_udp(756) Nov 2 14:26:07 linux nmbd[2423]: Packet send failed to 10.0.0.255(137) ERRNO=Operation not permitted Nov 2 14:26:07 plaza nmbd[2423]: [2003/11/02 14:26:07, 0] nmbd/nmbd_packets.c:send_netbios_packet(172) Nov 2 14:26:07 plaza nmbd[2423]: send_netbios_packet: send_packet() to IP 10.0.0.255 port 137 failed So much I understand it is conected to the partly functioning samba server. As I can access the clients over the lan using samba only by IP address. none of the clientes are visible in any network browser (lin or win neighborhoods ... ) Any idea what went wrong ? Kristjan Have you opened up your firewall between your samba server and the local net? In /etc/shorewall/rules you need lines like : ACCEPT fw masqtcp 137,138,139 ACCEPT fw masqudp 137,138,139 ACCEPT masqfw tcp 137,138,139 ACCEPT masqfw udp 137,138,139 (Depending on your mandrake release your local network may be called 'masq' or 'loc' ) Then 'shorewall restart' Other thing to check is in /etc/samba/smb.conf set wins support = yes HTH derek -- -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com