Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
18 years ago

tcp_keepalive, again

Hi,

How can I configure tcp_keepalive parameters on uClinux ?

There's no "sys" directory in /proc.

Can I create a "/proc/sys/net/ipv4/tcp_keepalivetime" file from Nios2ide ?

Thanks for help

Cédric

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The proc is a pseudo filesystem. You cannot create it in advance.

    You can read linux-2.6.x/Documents/filesystems/proc.txt.

    Due the missing redirect in sash, you can look at the blackfin's uclinux,

    uClinux-dist/user/blkfin-test/audio_test/echo2.c

    And you should really work on Linux instead of nios2ide.

    <div class='quotetop'>QUOTE </div>

    --- Quote Start ---

    If you want to develop Nios II uClinux, you should work on Linux and learn Linux. You can learn a lot when working on Linux, and the "Linux know how" is the key to success on Nios II uClinux.[/b]

    --- Quote End ---