See xorg for configuring the mouse in graphic mode.

To test a mouse in text mode cat /dev/input/mouse0 reads from the mouse and shows that it is alive Ctrl C quites it.

For having the mouse in text mode use gpm

gpm -m /dev/input/mice


/etc/init.d/gpm start and rc-update add gpm default

Type man gpm to get info about the options and mev to see the mouse events.

Linurs Servernest startpage