Forum Discussion

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

How to check whether the ethernet port up or not?

Hello,

In uclinux,How to check whether the ethernet port up or not?

I did "ifconfig eth0 192.168.5.3" and "ifconfig eth0 down".

I wanna know in uclinux the port up itself by default?

Or i have to up the ethernet port by myself??

Thanks!!

3 Replies

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

    I wanna get info. about whether ethernet port is up on de2 board.

    I wanna to use uclinux app or some commands.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    thank you.

    1.

    I have to up ethernet port by myself using some commands?

    >ifconfig eht0 up??

    2.

    I wanna use a program to get info. about whether ethernet port is up.

    my program runns in NIOS IDE 6.How can make it??

    I have to create a uclinux program??

    Or just write a windows (vc) c program?