Link to home
Start Free TrialLog in
Avatar of mannycalaveras
mannycalaveras

asked on

Qnx Internet Connection on LAN

I need someone to help me set-up an Internet Connection over a Modem Cable with Qnx Neutrino.

Both my network cards are detected and work fine. I just don't seem to relate the settings they give in the examples in a non-network environment (I'm directly connected to the cable modem... well... the network card that... you know what I mean).

I know my DNS adresses, and usually it's all that is needed to access the isp... but it's never asked...

Or if it is, they use a different term.

Anyway...

Rich.

Avatar of Otta
Otta

QNX operating system information can be found at:

http://www.qnx.com/products/os/neutrino.html

> I know my DNS adresses, and usually it's all that is needed to access the ISP.

You need the IP-address assigned (either "statically" by the ISP, or dynamically via BOOTP/DHCP) to your computer;
you need the "network-mask" (ditto);
you need the address of at least one of the ISP's DNS-servers (you can use the IP-address of any DNS-server, but your ISP's DNS-servers are "closer" to you, and so will give better performance than any other DNS-server);
you may need the hostname of the ISP's POP-server and SMTP-server (only if you wish to receive/send E-mail, if you don't run a SENDMAIL-like daemon under QNX).

Otherwise, just configure QNX to use the network-card, and configure the network-card to "talk" via the DSL modem to the Internet.
Avatar of mannycalaveras

ASKER

That's the thing... I don't have a network mask, I'm not a network, so my network mask would be 255.0.0.0 since I don't need one... I think...

And the config never asks me the dns server... It asks me (I tried to configue with Phlip) my common gateway...

I never studied networking so I don't know what the hell it stands for...

Rich.
In general, a "network mask" is used when it is necessary to decide whether an IP-address is "local" or "remote", i.e., when it is acceptable to "shout" inside your home, to try to talk to your teenage offspring, or when it is necessary to use a telephone as a "gateway" to contact the offspring's cell-phone.

So, if you set the IP-addresses so that only the first octet, e.g., '10.xx.yy.zz', is the same for all your computers, then use '255.0.0.0' as the "netmask".
If you set the IP-addresses so that the first two octets, e.g., '192.168.xx.yy', are the same for all your computers, then use '255.255.0.0' as the "netmask".

Then, your computers will look at their own IP-address, "mask" it (like a auto-painter masks the windows before painting the auto), and compare it with the similarly-masked IP-address of the "target" computer.
If there is a match, then the IP-packet can be "shouted" onto the LAN.  If there is a mismatch, then the IP-packet is stuffed into an "envelope", and the envelope is addressed to the "gateway" computer, and then is sent for delivery to the "off-LAN" computer.

The IP-address of the "common gateway" is set by your ISP; so, you need to ask them, or use the 'DHCP' (Dynamic Host-Configuration Protocol) to obtain an IP-address (and gateway address and netmask) everytime you boot your computer.


Manny - who is your ISP?

Most ISPs these days are *not* using static IP addresses for home users, as they are too hard to maintain.

Instead, your IP address is most likely dynamically allocated, either with DHCP or PPPoE.

If your ISP is using DHCP to hand out IP numbers, all you need to do is set your configuration to use DHCP, and you don't have to worry about network masks, domain names, or gateways.  DHCP will take care of this.

As far as I know (and I've not looked in a while), Neutrino did not support PPPoE, so you'd be out of luck with trying to connect this way.  In this case, you'll have purchase an external router box (like the Netgear 311 or 314 - no endorsement intended) which can handle PPPoE in the box, and will server up DHCP to your QNX system.

Does this help?
Mike
My isp uses dynamic ip's for it's cable access system.

I think the answer might be because the DNS servers I was using were not in use anymore.

I got on the site and saw that they used different ip's then what I had on my manual.

I'm going to test that right now.

Rich.
What the??

What did I say!!

My isp uses static ip for cable access internet!

Never changes unless the user doesn't log for a certain period of time (about 2 weeks) and I'm always logged.

I tried with the new DNS I got but it didn't change a thing.

What exactly does the common gateway stands for?

Might be that cause I'm pretty sure I have the right settings for the rest.

Btw if you're wondering my NIC is detected.

Rich.
Sorry Manny, I'm confused.

You say that your ISP uses *static* IP numbers.... unless the user doesn't log on for approx two weeks.  That makes no sense.  A *static* IP number means that the number for your system NEVER changes, whether you are actively using the connection or not.  It is termed static because it is specifically reserved for your machine.  So, if your number changes, it is dynamic.

I'm still going to bet that your ISP uses Dynamic IP addressing... in which case, you don't want to set your DNS, gateway, or, netmask.

You asked about 'common gateway'. The term "gateway" is also referred to as router.  That is, any IP address that your machine does not know how to route goes to the "gateway" IP number.  You machine will generally know only how to route IP traffic to itself, and to the gateway.  The gateways job is to route the IP traffic to its destination, or yet another gateway if it can't do it on its own.

I'll ask my question again - who is your ISP?  If you let me know that, I'll check out the settings for you and we can get you connected.
Let's then say my isp uses semi-static ip addresses.

It does allocate static ip's as long as the user is connected. After a certain period of time the unused ip is given to another user.

Anyway...

My isp is Videotron. Located in montreal.

I would doubt you could find settings about them. Especially since... well they suck and don't know a thing about being in technology (which pretty deconcerting).

Also because it's in Montreal.. which doesn't help for you.

So what you say is I would need to know the DHCP setting of my isp in order to get connected right?

Rich.
ASKER CERTIFIED SOLUTION
Avatar of MikeCappella
MikeCappella

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ah! Finally!

I tried to accept you answer earlier... But I had problems.

You got it pal. Works perfectly!

I also want to thank you for the excellent network course you gave me! :)

Gives me better comprehension on the basics of Internet that I didn't know about.

There is also something... If you'd happen to know the answer...

Javascript doesn't seem to be enabled. I tried for exemple to accept your answer with Voyager in QNX but it doesn't me to work.

If you'd happen to know an update or a setting that did not catch my attention in the options.

Guess there's a lot of adaptation from an OS to another.

Thanks a lot!

Rich.

Hello Rich,

Glad things are working for you!  Sorry about the late reply - I did not receive your comment above via email like ususal - the Experts Exchange system must have been acting up.

I don't know how fully functional the browser is in QNX - check the QNX website for more updates to Voyager.

Cheers!
Mike