LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Capturing dhcpd boot message (https://www.linuxquestions.org/questions/linux-general-1/capturing-dhcpd-boot-message-141940/)

andykerouac 02-03-2004 04:29 PM

Capturing dhcpd boot message
 
On startup, my box beeps when initializing dhcpd and displays some message. I would like to capture that message since it scrolls off to quickly. How do I do this? I can't find it in any of the /var/log files.

Thanks

nielchiano 02-03-2004 04:34 PM

try SHIGT+PAGE UP you can scroll back some screens.

Tinkster 02-04-2004 01:09 AM

My dhcp client messages do show up
in /var/log/messages ...

Depending on which distro you're using,
and which dhcp-client within that, it might
differ ...

try
grep -ri dhc /var/log/*

Usually you can also get the output of boot-
time processing from dmesg ... try
dmesg | less


Cheers,
Tink

fur 02-04-2004 01:32 AM

Should also be in /var/log/boot

enigmasoldier 02-04-2004 02:17 AM

I agree with Tinkster. The first thing I would try would be:

dmesg | less

will work nicely displaying all boot messages and allowing you to scroll up / down viewing them. You could also just do a:

dmesg | grep *dhcp*


All times are GMT -5. The time now is 01:42 AM.