Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - ifconfig inet is 0.0.0.0: (3 Items)
   
ifconfig inet is 0.0.0.0  
My Development Environment 
Host: Ubuntu 12.0.4
Qnx: SDP 6.6
Target: iMx6 Sabre Auto/AI

I have booted up the board with QNX Neutrino. I have setup serial connection between my PC and board. I could run shell 
commands on Minicom. When I give "ifconfig" it always show me inet as 0.0.0.0. Is this the required output or it should 
give a ip automatically detected from Host. 

Should I manually set up the IP using ifconfig eno <myIP> 
Re: ifconfig inet is 0.0.0.0  
Yes - call "ifconfig xx0 <myIP>/24" where "xx0" is the interface.  Don't forget to add "/24" to set a network mask for 
the interface - in this case 255.255.255.0 (24-bits)

Alternately, you can start "dhcp.client" - but one of these methods must be utilized before the interface is usable.
Re: ifconfig inet is 0.0.0.0  
Thanks for the clarification Dennis Kelly