Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12603 Discussions

How to check whether the ethernet port up or not?

Altera_Forum
Honored Contributor II
988 Views

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!!
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
309 Views

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

I wanna to use uclinux app or some commands.
0 Kudos
Altera_Forum
Honored Contributor II
309 Views

you must up it yourself

0 Kudos
Altera_Forum
Honored Contributor II
309 Views

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?
0 Kudos
Reply