My Zaurus Journey

Friday, December 23, 2005

trace system log

here are the steps to trace system log:

  • /etc/rc.d/init.d/syslog start
  • your commands
  • /etc/rc.d/init.d/syslog stop
  • more /var/log/messages

the file /home/etc/syslog.conf contains which types of messages would be logged.

bluetooth DUN for some mobiles

for some 3G phones (e.g. LG), if the bt DUN does not work, try the following initialization string:

  • ATZ+CGATT=0

this will kill the current active PDP context so that the network/mobile can activate a new one for DUN. remember to cardctl eject and insert after changing the string.

to trace the ppp log, use the file /tmp/bluetooth-pppd-log

wifi compatibility issue

sometimes, the wifi card (Pretec) has problem w/ the DHCP of some wireless router (e.g. Cisco). setting a longer DHCP timeout may help:

  • /etc/pcmcia/network.opts
  • find the DHCP TIMEOUT and change it to 100