![]() |
OpenSlug.SettingUpNetConsoleForRemoteSystemLogging HistoryHide minor edits - Show changes to markup February 05, 2006, at 06:37 PM
by -- Remove reference to deleted page IpkgFeed
Changed lines 31-32 from:
to:
February 04, 2006, at 10:11 AM
by -- no -p on FC4
Changed lines 24-25 from:
to:
nc -u -l 6666 Changed lines 83-84 from:
You can run that as a regular user, not root. Then on the slug: to:
You can run that as a regular user, not root. Then on the slug: January 08, 2006, at 08:32 AM
by -- added nc reference
Changed lines 76-77 from:
If it still doesn't work try to:
If it still doesn't work try September 26, 2005, at 06:55 AM
by -- netconsole is now in the flash and has been for aeons
Changed lines 28-29 from:
You need to install the to:
Changed lines 87-88 from:
to:
Other configurationsChanged lines 91-94 from:
Configuration options that work with syslog-ng (Syslog-ng doesn't use -r, like classic syslogd) source src { unix-stream("/dev/log"); internal(); pipe("/proc/kmsg"); unix-stream("/chroot/dhcp/dev/log"); udp(ip("192.168.1.2") port(514)); }; to:
Configuration options that work with syslog-ng (Syslog-ng doesn't use -r, like classic syslogd) source src { unix-stream("/dev/log"); internal(); pipe("/proc/kmsg"); unix-stream("/chroot/dhcp/dev/log"); udp(ip("192.168.1.2") port(514)); }; June 25, 2005, at 03:59 AM
by -- Added info on syslog-ng
Changed lines 9-10 from:
You must have a system that supports remote to:
You must have a system that supports remote Changed lines 89-93 from:
Netcat - The TCP/IP Swiss Army Knife - http://m.nu/program/util/netcat/netcat.html to:
Netcat - The TCP/IP Swiss Army Knife - http://m.nu/program/util/netcat/netcat.html Configuration options that work with syslog-ng (Syslog-ng doesn't use -r, like classic syslogd) source src { unix-stream("/dev/log"); internal(); pipe("/proc/kmsg"); unix-stream("/chroot/dhcp/dev/log"); udp(ip("192.168.1.2") port(514)); }; June 24, 2005, at 07:02 PM
by -- Added Windows syslog daemon
Changed lines 1-2 from:
The Beta release of OpenSlug supports to:
The Beta release of OpenSlug supports Changed lines 9-10 from:
You must have another UN*X machine which supports remote to:
You must have a system that supports remote May 15, 2005, at 09:34 PM
by --
Changed lines 5-6 from:
There are other ways of keeping a permanent record on a remote machine using to:
There are other ways of keeping a permanent record on a remote machine using May 15, 2005, at 09:34 PM
by -- document use of syslog
Changed lines 5-6 from:
There are other ways of keeping a permanent record if you use to:
There are other ways of keeping a permanent record on a remote machine using May 11, 2005, at 08:33 PM
by -- added a url to reference netcat for windows users -poor souls like me
Changed lines 85-89 from:
You just need the IP address!! This should just work. You don't have to run the to:
You just need the IP address!! This should just work. You don't have to run the If you need to netcat from a windows box, try this url for some hints Netcat - The TCP/IP Swiss Army Knife - http://m.nu/program/util/netcat/netcat.html May 11, 2005, at 06:24 PM
by -- add ipkg feed config reference
Changed lines 28-29 from:
You need to install the to:
May 10, 2005, at 03:27 PM
by --
Changed lines 53-55 from:
to:
modprobe netconsole netconsole=@/,514@192.168.1.19/00:30:1B:B3:67:C1exit 0
Changed lines 72-73 from:
->modprobe netconsole netconsole=@/,514@192.168.1.19/@@
to:
modprobe netconsole netconsole=@/,514@192.168.1.19/
Changed lines 76-77 from:
If it still doesn't work try to:
If it still doesn't work try Changed line 85 from:
You just need the IP address!! This should just work. You don't have to run the to:
You just need the IP address!! This should just work. You don't have to run the May 10, 2005, at 03:24 PM
by --
Changed lines 28-29 from:
You need to install the to:
You need to install the May 10, 2005, at 03:22 PM
by -- A page describing how to set up netconsole
Changed lines 11-12 from:
The machine you use should have a static IP address, otherwise you to:
The machine you use should have a static IP address, otherwise you will have to alter the slug configuration every time the remote machine IP changes. One way round this is to use a more sophisticated startup on the slug, but you cannot supply a host name to the kernel module - it will use an apparently random address. May 10, 2005, at 03:17 PM
by --
Added lines 1-85:
The Beta release of OpenSlug supports This means that if OpenSlug dies (this is a beta release) with a kernel panic it is possible to see what happened. If you do not run There are other ways of keeping a permanent record if you use What you need - preparation stepsYou must have another UN*X machine which supports remote The machine you use should have a static IP address, otherwise you On the same machine obtain the information for the network interface:
You should have three pieces of information, IP address, hardware address and a port (or service) number. If there is some reason why you can't configure netcat -u -l -p 6666
How to set it up, step by step.You need to install the ipkg install kernel-module-netconsole
Now just modprobe netconsole netconsole=@/,<port>@<ip>/<hardware>
For example: modprobe netconsole netconsole=@/,514@192.168.1.19/00:30:1B:B3:67:C1
Run logread
The tail of the log should have seven lines from Go to the remote machine and make sure that it gets the message. It should immediately report the Making it permanentOne you have a #!/bin/sh
Make sure it is executable: chmod +x /etc/rcS.d/S41netconsole
Now TroubleshootingThe output of rmmod netconsole
Then repeat the If the remote machine does not respond try removing the hardware address: ->modprobe netconsole netconsole=@/,514@192.168.1.19/@@
The disadvantage of this is that If it still doesn't work try nc6 -u -l -p 6666
You can run that as a regular user, not root. Then on the slug: rmmod netconsole
modprobe netconsole netconsole=@/,@192.168.1.19/
You just need the IP address!! This should just work. You don't have to run the |