You are here: Home » Topic » 1393 and wifi disconnect

1393 and wifi disconnect

This topic contains 10 replies, has 3 voices, and was last updated by  fizze 11 years ago.

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #681

    polson
    Participant

    I’m running 1393 on NSLU2 and the (wifi) connection to soundbridge still gets lost. see also http://forums.fireflymediaserver.org/viewtopic.php?t=4959&highlight=

    Is it now possible to gather more debug info and to what level should I put the debug info?

    Besides this problem everything is running smoothly 8)

    #6818

    fizze
    Participant

    hm, just out of curiosity, whats your soundbridge’s wifi reception status?
    aka SNR?

    #6819

    polson
    Participant

    Well. soundbridge is showing:

    Quality: 97
    Signal: -47 dBm

    My log is showing the folloeing at the time of the disconnect:

    2006-10-15 14:03:44 (0004d004): Session 0: Streaming file ’05 – Amos Lee – Skipping Stone.mp3′ to 192.168.2.120 (offset 0)
    2006-10-15 14:05:18 (0004d004): Write error: Broken pipe
    2006-10-15 14:05:18 (0004d004): Finished streaming file to remote: 2834432 bytes
    2006-10-15 14:05:18 (0004d004): Entering config_set_status
    2006-10-15 14:05:18 (0004d004): Exiting config_set_status
    2006-10-15 14:05:18 (0004d004): Thread 305: Terminating
    2006-10-15 14:05:18 (0004d004): Thread 305: Freeing request headers
    2006-10-15 14:05:18 (0004d004): Thread 305: Freeing response headers
    2006-10-15 14:05:18 (0004d004): Thread 305: Freeing request vars
    2006-10-15 14:05:18 (0004d004): Thread 305: Closing fd
    2006-10-15 14:05:18 (0004d004): With thread 305 exiting, 0 are still running

    #6820

    rpedde
    Participant

    @polson wrote:

    2006-10-15 14:05:18 (0004d004): Write error: Broken pipe

    That means the underlying tcp connection was broken. Bad connection?

    #6821

    polson
    Participant

    Bad connection?

    Could be. But the connection to the NSLU2 is still there. Only the connection to the FireFly server is lost. The only way to get it back is to restart the SoundBridge.

    Any clues on how to I can investigate this further??

    #6822

    fizze
    Participant

    Weird.
    -47 dB isnt too bad for a wi-fi.

    you could try and run a “top” to see wether any weird cpu spikes or whatever happen along with this.
    Also,

    tail -f /car/log/messages

    sure wont hurt.
    Maybe the slug fires up some process that interrupts the TCP stream for a short second.

    #6823

    polson
    Participant

    I’ve tried the tail. Nothing strange there.

    What do you mean by “top”???

    #6824

    fizze
    Participant

    install the package “procps”
    http://ipkgfind.nslu2-linux.org/details.php?package=procps&official=&format=

    it contains the program “top”.
    kinda like the task manager on windoze 😉

    #6825

    polson
    Participant

    Ok will try that later this week. Thankz for the quick replies.

    #6826

    polson
    Participant

    I’m on svn1400 now.
    I’ve tried top, and I don’t see strange processes. A lot of mt-daapd processes. Can I control this number of processes???


    # ps top
    PID TTY Uid Size State Command
    1 root 1212 S /bin/init
    2 root 0 S [keventd]
    3 root 0 S [ksoftirqd_CPU0]
    4 root 0 S [kswapd]
    5 root 0 S [bdflush]
    6 root 0 S [kupdated]
    7 root 0 S [mtdblockd]
    8 root 0 S [khubd]
    9 root 0 S [jffs2_gcd_mtd4]
    10 root 0 S [usb-storage-0]
    11 root 0 S [scsi_eh_0]
    18 root 0 S [sd-mc-thread]
    27 root 0 S [kjournald]
    50 root 0 D [ixp425_csr]
    51 root 0 S [ixp425 ixp0]
    54 ttyS0 root 1916 S /bin/sh
    55 root 1936 S /sbin/syslogd -n
    56 root 1924 S /sbin/klogd -n
    146 root 1216 S /sbin/udhcpc -H POLSONSV1
    164 root 0 S [kjournald]
    337 root 2144 S /usr/sbin/thttpd -C /etc/thttpd.conf
    361 root 6148 S /usr/sbin/smbd -D
    363 root 4824 S /usr/sbin/nmbd -D
    374 root 6148 S /usr/sbin/smbd -D
    387 root 1952 S /usr/sbin/QuickSet
    393 root 1904 S /usr/sbin/USB_Detect
    396 root 1900 S /usr/sbin/USB_Detect
    401 root 1884 S /usr/sbin/onetouch_detect
    402 root 1884 S /usr/sbin/onetouch_detect
    418 root 1296 S /usr/sbin/crond
    424 root 1928 S /usr/sbin/CheckResetButton
    426 root 1196 S /usr/sbin/CheckPowerButton
    428 root 1196 S /usr/sbin/do_umount
    474 guest 3960 S /opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-
    475 guest 13844 S /opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-
    479 guest 13844 S /opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-
    481 guest 13844 S /opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-
    484 guest 13844 S /opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-
    580 root 6572 S /usr/sbin/smbd -D
    594 root 2144 S /usr/sbin/thttpd -C /etc/thttpd.conf
    608 root 1276 S /bin/inetd
    609 root 1256 S /usr/sbin/telnetd
    610 ttyp0 root 1920 S -sh
    611 ttyp0 root 1984 R ps top
    #6827

    fizze
    Participant

    well, thats the “ps” program.
    it has a lot of parameters.
    Try to run it like:

    ps auxw

    or

    ps ax

    top
    however, is a seperate program, that just displays a list of all processes, sorted by their CPU usage, default.
    it updates the screen every 3 seconds. something you can control with a the -d parameter.

    top -d 1

    f.i. would update the screen every 1 second.

    yes, there are many mt-daapd THREADS. This is alright. the web-interface, the file scanner, and even streaming are always handleded by different threads.
    In your example, they all have the status ‘S’ (sleeping). So they are idle.
    Which is alright too, since nothing much is going on, I presume.

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.