Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Configure Realtek RTL8029AS network adapter on 4.24: (18 Items)
   
Configure Realtek RTL8029AS network adapter on 4.24  
I had to use an old backup hard drive on our Precix machine because the one that was installed failed.

However, since that backup was made, the motherboard was replaced. Now, netstart tells me on boot that the resource is 
temporarily unavailable. My guess is that the network card needs to be reinstalled/reconfigured but I do not know how to
 do it.

Could anyone assist me with this matter?

Yours,

Samuel
Re: Configure Realtek RTL8029AS network adapter on 4.24  
Can you post your netstart file as well as your sysinit file and the
output from 'show_pci -v'?




On 2013-08-20 9:08 AM, "Samuel Barrette" <community-noreply@qnx.com> wrote:

>I had to use an old backup hard drive on our Precix machine because the
>one that was installed failed.
>
>However, since that backup was made, the motherboard was replaced. Now,
>netstart tells me on boot that the resource is temporarily unavailable.
>My guess is that the network card needs to be reinstalled/reconfigured
>but I do not know how to do it.
>
>Could anyone assist me with this matter?
>
>Yours,
>
>Samuel
>
>
>
>_______________________________________________
>
>QNX4 Community Support
>http://community.qnx.com/sf/go/post104319
>To cancel your subscription to this discussion, please e-mail
>qnx4-community-unsubscribe@community.qnx.com

Re: Configure Realtek RTL8029AS network adapter on 4.24  
sysinit:

export TZ=utc00
rtc -l hw
Dev &
Dev.ansi -Q -n 4 &
reopen
Dev.ser &
Dev.par &
emu87 &
tinit -t /dev/con1 -T /dev/con[2-4] &

netboot (could not find a netstart file other than the executable):

f=build/ws.ether1000

show_pci :

IRQ routing = bus=0 slot=2 device=10
Vendor ID = 10ech
Device ID = 8029h

I have the whole log on a txt file, but I cannot copy it from the machine at the moment.

If you need more information, I will try and provide it asap. Thanks!
Re: Configure Realtek RTL8029AS network adapter on 4.24  
This is a PCI device, so the driver should auto-detect it, unless the
driver is being started with command line arguments to set the I/O port
and interrupt. You will have to find out how the driver is being started.




On 2013-08-20 11:50 AM, "Samuel Barrette" <community-noreply@qnx.com>
wrote:

>sysinit:
>
>export TZ=utc00
>rtc -l hw
>Dev &
>Dev.ansi -Q -n 4 &
>reopen
>Dev.ser &
>Dev.par &
>emu87 &
>tinit -t /dev/con1 -T /dev/con[2-4] &
>
>netboot (could not find a netstart file other than the executable):
>
>f=build/ws.ether1000
>
>show_pci :
>
>IRQ routing = bus=0 slot=2 device=10
>Vendor ID = 10ech
>Device ID = 8029h
>
>I have the whole log on a txt file, but I cannot copy it from the machine
>at the moment.
>
>If you need more information, I will try and provide it asap. Thanks!
>
>
>
>_______________________________________________
>
>QNX4 Community Support
>http://community.qnx.com/sf/go/post104336
>To cancel your subscription to this discussion, please e-mail
>qnx4-community-unsubscribe@community.qnx.com

Re: Configure Realtek RTL8029AS network adapter on 4.24  
I found a different sysinit file (which I believe is the one being used):

set -i
export TZ=pst08pdt07,M4.1.0/2,M10.5.0/2
rtc -l hw
Dev &
Dev.ansi -Q -n 10 &
reopen //0/dev/con1
Dev.ser &
Dev.par &
Dev.pty &
mousetrap start
Fsys.floppy &
Pipe &
emu87 &
tinit -T /dev/con* -t /dev/con1 &
netstart
export PATH=&PATH:.:/usr/ucb:/precix/bin
/usr/photon/bin/ph


Does it make any difference? Still getting "Resource temporarily unavailable" message. 

I will try to look further, but I am not quite sure how drivers get started in QNX (or how many different ways there are
 to do it).

- Sam
Re: Configure Realtek RTL8029AS network adapter on 4.24  
There should be a netstart script in the /bin directory, as the network
driver isn't being started in the sysinit script. You can also run 'find /
-name netstart' if the script isn't in the /bin directory.




On 2013-08-20 12:50 PM, "Samuel Barrette" <community-noreply@qnx.com>
wrote:

>I found a different sysinit file (which I believe is the one being used):
>
>set -i
>export TZ=pst08pdt07,M4.1.0/2,M10.5.0/2
>rtc -l hw
>Dev &
>Dev.ansi -Q -n 10 &
>reopen //0/dev/con1
>Dev.ser &
>Dev.par &
>Dev.pty &
>mousetrap start
>Fsys.floppy &
>Pipe &
>emu87 &
>tinit -T /dev/con* -t /dev/con1 &
>netstart
>export PATH=&PATH:.:/usr/ucb:/precix/bin
>/usr/photon/bin/ph
>
>
>Does it make any difference? Still getting "Resource temporarily
>unavailable" message.
>
>I will try to look further, but I am not quite sure how drivers get
>started in QNX (or how many different ways there are to do it).
>
>- Sam
>
>
>
>_______________________________________________
>
>QNX4 Community Support
>http://community.qnx.com/sf/go/post104346
>To cancel your subscription to this discussion, please e-mail
>qnx4-community-unsubscribe@community.qnx.com

Re: Configure Realtek RTL8029AS network adapter on 4.24  
There is one in /etc/config/socket:

export SOCK=$NODE
/bin/slay -f Socket Socklet;
/bin/prefix -D /dev/console >/dev/null 2>&1;
/bin/prefix -A /dev/console >/dev/con1;

/usr/ucb/Socket   node$NODE &

/usr/ucb/ifconfig en1 node$NODE up
/usr/ucb/ifconfig lo0 localhost up
/usr/bin/syslogd

It looks like a sample config file to me, but I might be wrong. There are also comments in-between, which I did not 
transcribe.

Thanks
Re: Configure Realtek RTL8029AS network adapter on 4.24  
Is this device booting from a hard disk or is it booting from a file
server? If it is booting from a file server, then all the relevant files
will be on the server. You mentioned a ws.ether1000 files, which seems to
indicate that this is a file server.




On 2013-08-20 1:05 PM, "Samuel Barrette" <community-noreply@qnx.com> wrote:

>There is one in /etc/config/socket:
>
>export SOCK=$NODE
>/bin/slay -f Socket Socklet;
>/bin/prefix -D /dev/console >/dev/null 2>&1;
>/bin/prefix -A /dev/console >/dev/con1;
>
>/usr/ucb/Socket   node$NODE &
>
>/usr/ucb/ifconfig en1 node$NODE up
>/usr/ucb/ifconfig lo0 localhost up
>/usr/bin/syslogd
>
>It looks like a sample config file to me, but I might be wrong. There are
>also comments in-between, which I did not transcribe.
>
>Thanks
>
>
>
>
>_______________________________________________
>
>QNX4 Community Support
>http://community.qnx.com/sf/go/post104348
>To cancel your subscription to this discussion, please e-mail
>qnx4-community-unsubscribe@community.qnx.com

Re: Configure Realtek RTL8029AS network adapter on 4.24  
This boots from an old 60gb hard drive. To my knowledge, this is the only QNX device that we own, so this may act as a 
file server -- we do put files on it remotely from the other (windows-based) workstations.
Re: Configure Realtek RTL8029AS network adapter on 4.24  
If it is the only QNX4 box that you own, then it won't be a file server.
Have you run 'find / -name netstart*'? Does the command find any files?




On 2013-08-20 1:26 PM, "Samuel Barrette" <community-noreply@qnx.com> wrote:

>This boots from an old 60gb hard drive. To my knowledge, this is the only
>QNX device that we own, so this may act as a file server -- we do put
>files on it remotely from the other (windows-based) workstations.
>
>
>
>_______________________________________________
>
>QNX4 Community Support
>http://community.qnx.com/sf/go/post104350
>To cancel your subscription to this discussion, please e-mail
>qnx4-community-unsubscribe@community.qnx.com

Re: Configure Realtek RTL8029AS network adapter on 4.24  
I have netstart* files in:

/etc/config/socket/netstart (which is the one I posted)
/etc/netstart (which is an executable)
/usr/help/product/tcpip/user_guide/files/netstart_f.html
/usr/tcprt/4.24/etc/config/socket/netstart (which is identical to the first one)

Re: Configure Realtek RTL8029AS network adapter on 4.24  
The /etc/netstart file sounds like the one we need. It is marked
executable, but should be a shell script, so you should be able to dump
the contents.




On 2013-08-20 1:49 PM, "Samuel Barrette" <community-noreply@qnx.com> wrote:

>I have netstart* files in:
>
>/etc/config/socket/netstart (which is the one I posted)
>/etc/netstart (which is an executable)
>/usr/help/product/tcpip/user_guide/files/netstart_f.html
>/usr/tcprt/4.24/etc/config/socket/netstart (which is identical to the
>first one)
>
>
>
>
>
>_______________________________________________
>
>QNX4 Community Support
>http://community.qnx.com/sf/go/post104352
>To cancel your subscription to this discussion, please e-mail
>qnx4-community-unsubscribe@community.qnx.com

Re: Configure Realtek RTL8029AS network adapter on 4.24  
You're right, it's not an executable (my bad).

351 bytes long, appears to be empty (?) in vi. It's just "spaces".

Re: Configure Realtek RTL8029AS network adapter on 4.24  
Well maybe that is your problem - the network isn't being started at all!
Try running the following commands at the root command prompt:

slay Net     # This is just to make sure that Net isn't running.
Net &
Net.ether1000 &
Socket node1 &

If you now run 'netinfo -L1' you should see network information, unless
you had errors from the previous commands.
If you see the network information, the you can either run

ifconfig en1 ip.address

or

dhcp.client




On 2013-08-20 2:04 PM, "Samuel Barrette" <community-noreply@qnx.com> wrote:

>You're right, it's not an executable (my bad).
>
>351 bytes long, appears to be empty (?) in vi. It's just "spaces".
>
>
>
>
>
>_______________________________________________
>
>QNX4 Community Support
>http://community.qnx.com/sf/go/post104354
>To cancel your subscription to this discussion, please e-mail
>qnx4-community-unsubscribe@community.qnx.com

Re: Configure Realtek RTL8029AS network adapter on 4.24  
Sounds good. Apparently I need an ip address and/or a route.

Dhcp-client does not exist but ifconfig gives me 0.0.0.0 netmask 0.

Re: Configure Realtek RTL8029AS network adapter on 4.24  
Well then you should be able to run "ifconfig en1 ip.address", where
ip.address is a valid ip address on your network.



On 2013-08-20 2:28 PM, "Samuel Barrette" <community-noreply@qnx.com> wrote:

>Sounds good. Apparently I need an ip address and/or a route.
>
>Dhcp-client does not exist but ifconfig gives me 0.0.0.0 netmask 0.
>
>
>
>
>
>_______________________________________________
>
>QNX4 Community Support
>http://community.qnx.com/sf/go/post104357
>To cancel your subscription to this discussion, please e-mail
>qnx4-community-unsubscribe@community.qnx.com

Re: Configure Realtek RTL8029AS network adapter on 4.24  
It worked....!

Thank you so much.... definitely couldn't have done it without you.

Re: Configure Realtek RTL8029AS network adapter on 4.24  
Good news!




On 2013-08-20 2:48 PM, "Samuel Barrette" <community-noreply@qnx.com> wrote:

>It worked....!
>
>Thank you so much.... definitely couldn't have done it without you.
>
>
>
>
>
>_______________________________________________
>
>QNX4 Community Support
>http://community.qnx.com/sf/go/post104361
>To cancel your subscription to this discussion, please e-mail
>qnx4-community-unsubscribe@community.qnx.com