|
|
Re: Networking issues with QNX 4
|
|
05/14/2010 1:09 PM
post54743
|
Re: Networking issues with QNX 4
Don't run nettrap!
On 10-05-14 12:03 PM, "Julian Babel" <community-noreply@qnx.com> wrote:
> So I tried to go back into sysinit.30 and I did the following
>
> I added this at the end of the current script
>
> sleep4
> nettrap
> sleep4
> #network
> /etc/netstart
> /usr/ucb/ifconfig en1 192.168.1.30 netmask 255.255.255.0
> /usr/ucb/route add default 192.168.1.255
> /usr/ucb/route/ add -net 192.168.1.30 192.168.1.255
> sleep 2
>
> I rebooted and unfortunately it hung..think I need to do some more tweaking?
>
>
>
> _______________________________________________
>
> QNX4 Community Support
> http://community.qnx.com/sf/go/post54732
>
--
Hugh Brown (613) 591-0931 ext. 2209 (voice)
QNX Software Systems Ltd. (613) 591-3579 (fax)
175 Terence Matthews Cres. email: hsbrown@qnx.com
Kanata, Ontario, Canada.
K2M 1W8
|
|
|
|
|
|
|
Re: Networking issues with QNX 4
|
|
05/14/2010 2:44 PM
post54761
|
Re: Networking issues with QNX 4
It seems one of my biggest issues, even while following the TCP/IP configuration guide is that whenever I seem to type
anything initializing an editor e.g. Socket -d forward hostname, etc, I always seem to get unable to attach name. I'm
very confused on how i'm not getting anything to respond. BTW, I did take the nettrap out, but it only hung up my
original ip (the .30), so I just commented it out. Interesting to note that when I do an nslookup, it does identify my
server as node30, but I get nothing for the addresses...
Any thoughts?
|
|
|
|
|
|
|
Re: Networking issues with QNX 4
|
|
05/14/2010 2:53 PM
post54763
|
Re: Networking issues with QNX 4
Maybe you should be using dhcp.client rather than ifconfig.
On 10-05-14 2:44 PM, "Julian Babel" <community-noreply@qnx.com> wrote:
> It seems one of my biggest issues, even while following the TCP/IP
> configuration guide is that whenever I seem to type anything initializing an
> editor e.g. Socket -d forward hostname, etc, I always seem to get unable to
> attach name. I'm very confused on how i'm not getting anything to respond.
> BTW, I did take the nettrap out, but it only hung up my original ip (the .30),
> so I just commented it out. Interesting to note that when I do an nslookup,
> it does identify my server as node30, but I get nothing for the addresses...
>
> Any thoughts?
>
>
>
> _______________________________________________
>
> QNX4 Community Support
> http://community.qnx.com/sf/go/post54761
>
--
Hugh Brown (613) 591-0931 ext. 2209 (voice)
QNX Software Systems Ltd. (613) 591-3579 (fax)
175 Terence Matthews Cres. email: hsbrown@qnx.com
Kanata, Ontario, Canada.
K2M 1W8
|
|
|
|
|
|
|
Re: Networking issues with QNX 4
|
|
05/14/2010 3:23 PM
post54764
|
Re: Networking issues with QNX 4
Have any links that can show me more about using dhcp.client? I have to admit, my knowledge in that is lacking.
|
|
|
|
|
|
|
Re: Networking issues with QNX 4
|
|
05/14/2010 3:25 PM
post54765
|
Re: Networking issues with QNX 4
No, you just run dhcp.client and if you have a dhcp server on your network,
it will give you an IP address.
On 10-05-14 3:23 PM, "Julian Babel" <community-noreply@qnx.com> wrote:
> Have any links that can show me more about using dhcp.client? I have to
> admit, my knowledge in that is lacking.
>
>
>
> _______________________________________________
>
> QNX4 Community Support
> http://community.qnx.com/sf/go/post54764
>
--
Hugh Brown (613) 591-0931 ext. 2209 (voice)
QNX Software Systems Ltd. (613) 591-3579 (fax)
175 Terence Matthews Cres. email: hsbrown@qnx.com
Kanata, Ontario, Canada.
K2M 1W8
|
|
|
|
|
|
|
Re: Networking issues with QNX 4
|
|
05/14/2010 4:00 PM
post54768
|
Re: Networking issues with QNX 4
hrmm..well I just tried that and it doesn't seem like the IP address is the issue. I typed sin and realized that Socket
is also listed as being initialized. You don't think this isn't an issue that I have closed sockets? I looked within
tcpip and sysinit and both look fine. I'm just curious...the new version, 2009 (which i do have installed) included all
the latest and greatest from the tcp/ip configuration?
|
|
|
|
|
|
|
Re: Networking issues with QNX 4
|
|
05/17/2010 8:12 AM
post54830
|
Re: Networking issues with QNX 4
There is a TCPIP 5.0 update on our web, but I don't know whether this will
solve your problem, as I don't know what you are trying to achieve.
On 10-05-14 4:00 PM, "Julian Babel" <community-noreply@qnx.com> wrote:
> hrmm..well I just tried that and it doesn't seem like the IP address is the
> issue. I typed sin and realized that Socket is also listed as being
> initialized. You don't think this isn't an issue that I have closed sockets?
> I looked within tcpip and sysinit and both look fine. I'm just curious...the
> new version, 2009 (which i do have installed) included all the latest and
> greatest from the tcp/ip configuration?
>
>
>
> _______________________________________________
>
> QNX4 Community Support
> http://community.qnx.com/sf/go/post54768
>
--
Hugh Brown (613) 591-0931 ext. 2209 (voice)
QNX Software Systems Ltd. (613) 591-3579 (fax)
175 Terence Matthews Cres. email: hsbrown@qnx.com
Kanata, Ontario, Canada.
K2M 1W8
|
|
|
|
|
|
|
Re: Networking issues with QNX 4
|
|
05/17/2010 8:41 AM
post54834
|
Re: Networking issues with QNX 4
Good Morning Mr. Brown,
I apologize if my objective seemed unclear. Basically, i've configured several qnx systems for my workplace using QNX
4. I've always had an issue with establishing the networks on them in recent months due to the failing disk drives
that enable the tcp/ip configuration. I managed to override this by using digi card drivers and previous configuration
setups on pre-existing machines. Currently, the new box that I have been instructed to set up MUST have ethernet
capabilities. We are getting rid of Digi. I have no disk drive, but luckily QNX released their 2009 cd patch that
cleared the majority of my previous hardware woes. The only exception seems to be this networking issue.
In the initialization of my setup, I enabled a TCP/IP connection and set the node to 30, enabling my network, I assume,
to be 192.168.1.30. When I ping this, I get a successful ping. However, I wanted to test this on an outside network,
so I attached a network enabled WD external harddrive, plugging in the ethernet cable, tried to ping (eg 192.168.1.50)
and am unable to get a pulse. This is where my confusion seems to manifest.
Your advice on loading the drivers was excellent, however, under your guidance, you were right in assuming that the
drivers seem to already be active and functioning, which is why I keep getting the "error" messages (plus when you
instructed to use 'sin', I saw this as well).
So right now, my problem seems to be getting that outside connection to work. I'm currently looking at old files from
previous qnx machines that were digi enabled to see what the missing link was. I'm not too sure what else I may be able
to do though.
I appreciate that time you've taken so far to help me with this. Does this clarify things a bit?
|
|
|
|
|
|
|
Re: Networking issues with QNX 4
|
|
05/17/2010 9:13 AM
post54839
|
Re: Networking issues with QNX 4
If you ping 192.168.1.30, you are pinging yourself, so this will work. How
are you connecting to the external hard disk? Is it via a switch or a direct
cable? If it is a direct cable, it it a crossover cable? Can you connect to
your internal network and ping other machines?
On 10-05-17 8:41 AM, "Julian Babel" <community-noreply@qnx.com> wrote:
> Good Morning Mr. Brown,
>
> I apologize if my objective seemed unclear. Basically, i've configured
> several qnx systems for my workplace using QNX 4. I've always had an issue
> with establishing the networks on them in recent months due to the failing
> disk drives that enable the tcp/ip configuration. I managed to override this
> by using digi card drivers and previous configuration setups on pre-existing
> machines. Currently, the new box that I have been instructed to set up MUST
> have ethernet capabilities. We are getting rid of Digi. I have no disk
> drive, but luckily QNX released their 2009 cd patch that cleared the majority
> of my previous hardware woes. The only exception seems to be this networking
> issue.
>
> In the initialization of my setup, I enabled a TCP/IP connection and set the
> node to 30, enabling my network, I assume, to be 192.168.1.30. When I ping
> this, I get a successful ping. However, I wanted to test this on an outside
> network, so I attached a network enabled WD external harddrive, plugging in
> the ethernet cable, tried to ping (eg 192.168.1.50) and am unable to get a
> pulse. This is where my confusion seems to manifest.
>
> Your advice on loading the drivers was excellent, however, under your
> guidance, you were right in assuming that the drivers seem to already be
> active and functioning, which is why I keep getting the "error" messages (plus
> when you instructed to use 'sin', I saw this as well).
>
> So right now, my problem seems to be getting that outside connection to work.
> I'm currently looking at old files from previous qnx machines that were digi
> enabled to see what the missing link was. I'm not too sure what else I may be
> able to do though.
>
> I appreciate that time you've taken so far to help me with this. Does this
> clarify things a bit?
>
>
>
> _______________________________________________
>
> QNX4 Community Support
> http://community.qnx.com/sf/go/post54834
>
--
Hugh Brown (613) 591-0931 ext. 2209 (voice)
QNX Software Systems Ltd. (613) 591-3579 (fax)
175 Terence Matthews Cres. email: hsbrown@qnx.com
Kanata, Ontario, Canada.
K2M 1W8
|
|
|
|
|
|
|
Re: Networking issues with QNX 4
|
|
05/17/2010 9:36 AM
post54848
|
Re: Networking issues with QNX 4
It's just a direct cable and yes, it's a crossover cable. No, I don't believe I can ping other machines. I was hoping
that the direct connect would be a good test to see if I could connect to internal machines. I believe their might be
two ethernet cards in my machine. Eventhough I went into the sysinit file and commented the one driver out, you think
this may be causing an interrupt?
|
|
|
|
|
|
|
Re: Networking issues with QNX 4
|
|
05/17/2010 9:40 AM
post54849
|
Re: Networking issues with QNX 4
Are you sure that you are connecting to the active interface? Run 'netinfo
-L1' and see if you have a link and whether packets are being transmitted
and/or received. If not, try the other interface. Run 'netstat -in' to see
which interface has the IP address (en1 or en2).
On 10-05-17 9:36 AM, "Julian Babel" <community-noreply@qnx.com> wrote:
> It's just a direct cable and yes, it's a crossover cable. No, I don't believe
> I can ping other machines. I was hoping that the direct connect would be a
> good test to see if I could connect to internal machines. I believe their
> might be two ethernet cards in my machine. Eventhough I went into the sysinit
> file and commented the one driver out, you think this may be causing an
> interrupt?
>
>
>
> _______________________________________________
>
> QNX4 Community Support
> http://community.qnx.com/sf/go/post54848
>
--
Hugh Brown (613) 591-0931 ext. 2209 (voice)
QNX Software Systems Ltd. (613) 591-3579 (fax)
175 Terence Matthews Cres. email: hsbrown@qnx.com
Kanata, Ontario, Canada.
K2M 1W8
|
|
|
|
|
|
|
Re: Networking issues with QNX 4
|
|
05/17/2010 10:01 AM
post54851
|
Re: Networking issues with QNX 4
Oh. Interesting. It looks like I am not connected. No packets are being transmitted/received. And en1 has that
interface.
|
|
|
|
|
|
|
Re: Networking issues with QNX 4
|
|
05/17/2010 10:19 AM
post54854
|
Re: Networking issues with QNX 4
If you look at the output from 'netinfo -L1', does the Media Rate line show
a speed? If not, then that is why you cannot communicate. Try connecting via
a switch.
On 10-05-17 10:01 AM, "Julian Babel" <community-noreply@qnx.com> wrote:
> Oh. Interesting. It looks like I am not connected. No packets are being
> transmitted/received. And en1 has that interface.
>
>
>
> _______________________________________________
>
> QNX4 Community Support
> http://community.qnx.com/sf/go/post54851
>
--
Hugh Brown (613) 591-0931 ext. 2209 (voice)
QNX Software Systems Ltd. (613) 591-3579 (fax)
175 Terence Matthews Cres. email: hsbrown@qnx.com
Kanata, Ontario, Canada.
K2M 1W8
|
|
|
|
|
|
|
Re: Networking issues with QNX 4
|
|
05/17/2010 10:23 AM
post54856
|
Re: Networking issues with QNX 4
|
|
|
|
|
|
|
Re: Networking issues with QNX 4
|
|
05/17/2010 10:28 AM
post54857
|
Re: Networking issues with QNX 4
1000Mb/s HDX is an invalid duplex for gigabit. Gigabit should only work at
1000Mb/s FDX. I suggest you try a switch.
On 10-05-17 10:23 AM, "Julian Babel" <community-noreply@qnx.com> wrote:
> It shows 1000Mb/s HDX.
>
>
>
> _______________________________________________
>
> QNX4 Community Support
> http://community.qnx.com/sf/go/post54856
>
--
Hugh Brown (613) 591-0931 ext. 2209 (voice)
QNX Software Systems Ltd. (613) 591-3579 (fax)
175 Terence Matthews Cres. email: hsbrown@qnx.com
Kanata, Ontario, Canada.
K2M 1W8
|
|
|
|
|
|
|
Re: Networking issues with QNX 4
|
|
05/17/2010 10:47 AM
post54858
|
Re: Networking issues with QNX 4
Ok, so I tried just setting up a local hub. Used a switch to connect to the qnx box and have a connection from the
harddrive to the switch and reset. Still not getting anything.
|
|
|
|
|
|
|
Re: Networking issues with QNX 4
|
|
05/17/2010 10:54 AM
post54859
|
Re: Networking issues with QNX 4
Does the hard disk work on another machine with the same IP address?
On 10-05-17 10:47 AM, "Julian Babel" <community-noreply@qnx.com> wrote:
> Ok, so I tried just setting up a local hub. Used a switch to connect to the
> qnx box and have a connection from the harddrive to the switch and reset.
> Still not getting anything.
>
>
>
> _______________________________________________
>
> QNX4 Community Support
> http://community.qnx.com/sf/go/post54858
>
--
Hugh Brown (613) 591-0931 ext. 2209 (voice)
QNX Software Systems Ltd. (613) 591-3579 (fax)
175 Terence Matthews Cres. email: hsbrown@qnx.com
Kanata, Ontario, Canada.
K2M 1W8
|
|
|
|
|
|
|
Re: Networking issues with QNX 4
|
|
05/17/2010 10:56 AM
post54861
|
Re: Networking issues with QNX 4
Yes. I am going to try to pull out one of the drivers. I'm curious if it is partly a hardware issue.
|
|
|
|
|
|
|
Re: Networking issues with QNX 4
|
|
05/17/2010 1:18 PM
post54881
|
Re: Networking issues with QNX 4
Good Grief,
I figured out the problem. I hardcoded a minor change within the sysinit file. However, the main problem as
embarrasing to admit, was that the IP address was being read from the ethernet port in the pci slot and not the
motherboard as I had the cable plugged into the entire time. As much as I was switching cables about, I neglected the
one from the driver..so quick switch...worked.
Well..back to EE 101. Thanks for all your help and patience Mr. Brown.
|
|
|
|
|
|
|
Re: Networking issues with QNX 4
|
|
05/17/2010 1:19 PM
post54882
|
Re: Networking issues with QNX 4
Good news!
Hugh.
On 10-05-17 1:18 PM, "Julian Babel" <community-noreply@qnx.com> wrote:
> Good Grief,
> I figured out the problem. I hardcoded a minor change within the sysinit
> file. However, the main problem as embarrasing to admit, was that the IP
> address was being read from the ethernet port in the pci slot and not the
> motherboard as I had the cable plugged into the entire time. As much as I was
> switching cables about, I neglected the one from the driver..so quick
> switch...worked.
>
> Well..back to EE 101. Thanks for all your help and patience Mr. Brown.
>
>
>
> _______________________________________________
>
> QNX4 Community Support
> http://community.qnx.com/sf/go/post54881
>
--
Hugh Brown (613) 591-0931 ext. 2209 (voice)
QNX Software Systems Ltd. (613) 591-3579 (fax)
175 Terence Matthews Cres. email: hsbrown@qnx.com
Kanata, Ontario, Canada.
K2M 1W8
|
|
|
|
|
|