Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Error when configuring network address using ifconfig: (13 Items)
   
Error when configuring network address using ifconfig  
Hi,
i am trying to set up network using io -pkt-v4 -v -d devnp-e1000.so command in sysinit file. And i am getting the error:
 "No such file found" and when i use the same command from command prompt after the system boots, no error occurs. Also,
 when i try to set up network address using ifconfig, i get the error:
Unknown symbol: _in6addr_any
ldd: FATAL: Could not resolve all symbols

the error occurs when the ifconfig command is issued with no options with it. Kindly do let me know what the problem is 
and is there any library that needs to be included?
Re: Error when configuring network address using ifconfig  
You can start the driver as follows in the sysinit file:

io-pkt-v4 -v -de1000

If you use devnp-e1000.so, then you must pass the full path to it:

io-pkt-v4 -v -d /lib/dll/devnp-e1000.so




On 2013-09-16 12:35 AM, "Vanee S" <community-noreply@qnx.com> wrote:

>Hi,
>i am trying to set up network using io -pkt-v4 -v -d devnp-e1000.so
>command in sysinit file. And i am getting the error: "No such file found"
>and when i use the same command from command prompt after the system
>boots, no error occurs. Also, when i try to set up network address using
>ifconfig, i get the error:
>Unknown symbol: _in6addr_any
>ldd: FATAL: Could not resolve all symbols
>
>the error occurs when the ifconfig command is issued with no options with
>it. Kindly do let me know what the problem is and is there any library
>that needs to be included?
>
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post105124
>To cancel your subscription to this discussion, please e-mail
>general-community-unsubscribe@community.qnx.com

Re: Error when configuring network address using ifconfig  
thanks io-pkt-v4 is working now. However, i am still facing issues when using ifconfig command:
ifconfig, i get the error:
>Unknown symbol: _in6addr_any
>ldd: FATAL: Could not resolve all symbols
Can you help me sort this issue?
Re: Error when configuring network address using ifconfig  
Please can you post the output from 'use -i /sbin/io-pkt-v4' as well as
'use -i /sbin/ifconfig' and 'use -i /lib/dll/devnp-e1000.so'.
It sounds as though you are running mixed versions of these.




On 2013-09-19 2:26 AM, "Vanee S" <community-noreply@qnx.com> wrote:

>thanks io-pkt-v4 is working now. However, i am still facing issues when
>using ifconfig command:
>ifconfig, i get the error:
>>Unknown symbol: _in6addr_any
>>ldd: FATAL: Could not resolve all symbols
>Can you help me sort this issue?
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post105222
>To cancel your subscription to this discussion, please e-mail
>general-community-unsubscribe@community.qnx.com

Re: Error when configuring network address using ifconfig  
hi,
sorry for the long delay. pls do find attached version details you had asked. kindly do let me know what the problem is.
Re: Error when configuring network address using ifconfig  
the attachment.
Attachment: Text versionsofnetworkprotocols.txt 590 bytes
Re: Error when configuring network address using ifconfig  
Well the file versions all work OK, so I guess that it is something to do
with your sysinit file, seeing that you say that the commands work OK from
the command line. Can you post your sysinit file?




On 2013-10-03 3:02 AM, "Vanee S" <community-noreply@qnx.com> wrote:

>the attachment.
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post105589
>To cancel your subscription to this discussion, please e-mail
>general-community-unsubscribe@community.qnx.com

Re: Error when configuring network address using ifconfig  
kindly do find attached sysinit file
Attachment: Text sysinit 3.69 KB
Re: Error when configuring network address using ifconfig  
You have to be careful here, as the enumerators have just been run prior
to you starting io-pkt, so there could be another instance of io-pkt
running. If you want to start the driver manually, the best place to do
that would be in the /etc/rc.d/rc.local file. Here's what I do:

slay -f io-pkt-v4-hc io-pkt-v4 dhcp.client netmanager
sleep 2
io-pkt-v4-hc -de1000
if_up wm0
dhcp.client
if_up -l wm0
inetd




On 2013-10-04 12:04 AM, "Vanee S" <community-noreply@qnx.com> wrote:

>kindly do find attached sysinit file
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post105627
>To cancel your subscription to this discussion, please e-mail
>general-community-unsubscribe@community.qnx.com

Re: Error when configuring network address using ifconfig  
thanks for your suggestion. i forgot to mention that when i try to include io-pkt-v4-hc or io-pkt-v6-hc to my image, the
 system is hanging. The only network package that is working is io-pkt-v4. i am not sure of the cause of the problem.
Also, i would like to get your help on getting Photon working in my system. I am following the steps mentioned in "
Photon in Embedded Systems" from the manual "photon_prog_guide.pdf". When i follow the steps mentioned in the manual, i 
am able to proceed further till the "Step 4. Configure fonts". However, when i try to include "io-graphics" to the image
 the system hangs. Kindly do let me know what needs to be done.
Re: Error when configuring network address using ifconfig  
io-pkt-v4-hc and io-pkt-v6-hc are larger that io-pkt-v4, so this is most
probably making your image too large to boot.

I cannot help you with Photon, so somebody else will have to help you.



On 2013-10-07 3:01 AM, "Vanee S" <community-noreply@qnx.com> wrote:

>thanks for your suggestion. i forgot to mention that when i try to
>include io-pkt-v4-hc or io-pkt-v6-hc to my image, the system is hanging.
>The only network package that is working is io-pkt-v4. i am not sure of
>the cause of the problem.
>Also, i would like to get your help on getting Photon working in my
>system. I am following the steps mentioned in "Photon in Embedded
>Systems" from the manual "photon_prog_guide.pdf". When i follow the steps
>mentioned in the manual, i am able to proceed further till the "Step 4.
>Configure fonts". However, when i try to include "io-graphics" to the
>image the system hangs. Kindly do let me know what needs to be done.
>
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post105685
>To cancel your subscription to this discussion, please e-mail
>general-community-unsubscribe@community.qnx.com

Re: Error when configuring network address using ifconfig  
Thanks. can you tell me how to increase the memory size so that io-pkt-v4-pc can be accommodated. I am using 8 GB pen 
drive as the target disk. Can you tell me how to utilize the memory available to incorporate maximum features available 
in QNX? Also, how do i verify image size?
Re: Error when configuring network address using ifconfig  
Your best bet would be to have the minimal boot image and then mount the
pen driver and get the rest of your files from that. All you would need
would be io-usb and the devu drivers as well as devb-umass on the USB
drive.




On 2013-10-09 5:31 AM, "Vanee S" <community-noreply@qnx.com> wrote:

>Thanks. can you tell me how to increase the memory size so that
>io-pkt-v4-pc can be accommodated. I am using 8 GB pen drive as the target
>disk. Can you tell me how to utilize the memory available to incorporate
>maximum features available in QNX? Also, how do i verify image size?
>
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post105761
>To cancel your subscription to this discussion, please e-mail
>general-community-unsubscribe@community.qnx.com