Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a linksys AP, nothing fancy, but it does have a logging utility. How do I make that send the logs my Ubuntu 12.04 server.

enter image description here

share|improve this question
    
Does the router have the ability to log remotely? If so find out what it is using for that. –  André Stannek Mar 25 '13 at 23:50
    
I added a picture of the router, thats all i know about the logging. @stone that's kind of my question. If i Google "logging" its trys to give results for log in. –  wlraider70 Mar 26 '13 at 0:10
add comment

1 Answer 1

up vote 1 down vote accepted

All you have to do is enable log reception via UDP.

In a terminal (Ctrl+Alt+T) run sudo gedit /etc/rsyslog.conf, find the following lines:

# provides UDP syslog reception
#$ModLoad imudp
#$UDPServerRun 514

and uncomment (remove the leading #) the last 2 lines, so they look like this:

# provides UDP syslog reception
$ModLoad imudp
$UDPServerRun 514

Save, close the file then restart rsyslog by running sudo service rsyslog restart.

Now you can enable syslog at the AP and point it to your computer IP address. The received log entries should go to /var/log/syslog.

share|improve this answer
    
Can you tell me how to put those logs into a custom file? –  wlraider70 Mar 26 '13 at 13:21
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.