• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

Networking Issues

Started by craigm, 2010.06.16, 14:20:57

Previous topic - Next topic

craigm

This is a very annoying problem.

When I first installed eCS 2.0 I was able to get on the Internet maybe 1/4 the time. Now though, after my last reinstall, I cannot get on at all. What was happening was I was getting an error on boot up:

ROUTE: command failed: Network is unreachable
Press Enter to continue...

I have tried many...many combination's to get online via the TCP/IP but nothing is working. Let me give you some hardware specs first:

1. PCI 3Com card that loads up with no problem.
2. Linksys Router (WRT54G), works fine but cannot log into it for some reason, even with another machine.
3. Motorolla DSL Modem
4. ATT DSL (1.5 megs)

I have several other devices that get online with no problem. I tried turning off everything in the house and rebooting the modem and Linksys router thinking it was an IP conflict but still can't get on. 

In the TCP/IP settings in eCS I currently have:

Network Tab - LAN interface 0 as Enable Interface - Automatically, Using DHCP
Routing Tab - Route Type: Net / Destination IP Address 192.168.5.107 / Router address 192.168.1.254 / Metric Count 1 / Subset Mask 255.255.255.0
Host Names - Name Server Addresses 192.168.1.254

In comparison here is my Windows XP machines info (is on the internet with no problem)

Physical Address: 00-11-D8-9F-52-05
IP Address: 192.168.5.107
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.5.1
DHCP Server: 192.168.5.1
Lease Obtained: 6/16/2010 6:22:07 AM
Lease Expires: 6/17/2010 6:22:07 AM
DNS Server: 192.168.1.254

This is the last major issue I have with eCS, any help is very appreciated, I really need to get my eCS box on the Internet. Thanks!


ivan

One question.  Do you have the IP Forwarding box ticked on the Routing page?

The only other thing that appears wrong is the router address - you have the DNS address there, that address should be on the Name Resolution page of the Host Names tab.  The router address should be 192.168.5.1 unless you have some strange setup just for OS/2-eCS.

ivan

RobertM

Quote from: craigm on 2010.06.16, 14:20:57
This is a very annoying problem.

When I first installed eCS 2.0 I was able to get on the Internet maybe 1/4 the time. Now though, after my last reinstall, I cannot get on at all. What was happening was I was getting an error on boot up:

ROUTE: command failed: Network is unreachable
Press Enter to continue...

I have tried many...many combination's to get online via the TCP/IP but nothing is working. Let me give you some hardware specs first:

1. PCI 3Com card that loads up with no problem.
2. Linksys Router (WRT54G), works fine but cannot log into it for some reason, even with another machine.
3. Motorolla DSL Modem
4. ATT DSL (1.5 megs)

I have several other devices that get online with no problem. I tried turning off everything in the house and rebooting the modem and Linksys router thinking it was an IP conflict but still can't get on. 

In the TCP/IP settings in eCS I currently have:

Network Tab - LAN interface 0 as Enable Interface - Automatically, Using DHCP
Routing Tab - Route Type: Net / Destination IP Address 192.168.5.107 / Router address 192.168.1.254 / Metric Count 1 / Subset Mask 255.255.255.0
Host Names - Name Server Addresses 192.168.1.254

In comparison here is my Windows XP machines info (is on the internet with no problem)

Physical Address: 00-11-D8-9F-52-05
IP Address: 192.168.5.107
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.5.1
DHCP Server: 192.168.5.1
Lease Obtained: 6/16/2010 6:22:07 AM
Lease Expires: 6/17/2010 6:22:07 AM
DNS Server: 192.168.1.254

This is the last major issue I have with eCS, any help is very appreciated, I really need to get my eCS box on the Internet. Thanks!



DESTINATION ADDRESS is wrong. You (or eCS) are pointing it to your WinXP machine.

I am not sure how it should be set up with DHCP/DDNS, but on my static boxes, my IP range is .8-.15 with .9 being my router. My destination address is the SOB (start of (IP) block)... or .8 with the router on .9

The DNS Server address is correct assuming that your DSL modem provides DNS services (various DSL and cable modems do), in which case, it has your ISP's DNS servers "programmed" into it, and is acting as a DNS server for your client machines (or is forwarding the requests to the DNS server(s) told to it by your ISP during it's configuration).

The router address will be determined by how your router is configured, but I always use 192.168.x.1 for my routers unless I am creating a secondary subnet or doing some weird network setup.

Thus, my standard configuration on DDNS/DHCP setups looks like this.
192.168.x.0 - SOB or destination
192.168.x.1 - router
192.168.x.2 to 192.168.x.254 - client machines
192.168.x.255 - broadcast

Either that, or I will set the router's DHCP pool to .2 to .100 for machines that need their IP's dynamically configured and use .101 upwards for machines with static IP addresses (for instance, ones that run servers, that way I can set up either DMZ or port forwarding in the router for the machines based on need). Some routers either need or prefer (varies per router) that machines with static IP addresses are added to the router's static IP table so it knows about them. Most I have run in to, even though having such a table, will still work anyway, regardless of whether the static IP(s) are listed in the router or not.

Best,
Robert


|
|
Kirk's 5 Year Mission Continues at:
Star Trek New Voyages
|
|


Fahrvenugen

Hi,

It definitely looks like a routing issue, as has been pointed out your eCS machine is pointing to your XP machine.  I suspect (and I could be incorrect, but this is my guess) since you're using DHCP you *might* have a DHCP server switched "on" on your XP machine.  This can be done a few ways, but the usual culprit is that somehow XP has turned on its Internet Sharing option and would be the first thing I'd check.  Here's how:

Start --> Control Panel --> Network Connections --> Right click on your network connection icon and go to Properties --> Click on Advanced tab --> Make sure the Internet Connection Sharing check box is turned Off.

Make sure you click apply and okay as many times as Windows wants you to!

If you have that box turned on, it'll cause Windows to think that it's supposed to share its internet connection with the rest of the LAN, and it'll turn itself into a DHCP server to dole out IP addresses, all of which point to it as the main gateway. 

So make sure that's turned off and have your eCS pull a new DHCP address (you can do this either through the DHCP  client gui and release / request new lease or just reboot).  Check and see what info it pulls for your default router / gateway.  Another way to get this information is (from a command prompt) a:

netstat -r

If you find that you're still getting some goofy default route or you can't get online, see if you can ping your router (from a command prompt):

ping 192.168.5.1 56 4

Then  try your DSL modem:

ping 192.168.1.254 56 4

And finally somehting on the internet, such as:

ping yahoo.com 56 4
ping google.com 56 4

If you can ping Yahoo and Google, then you're good to go and your internet should work (note that *some* internet providers don't let you ping external web sites such as google and yahoo.  If it doesn't respond to a ping, that does not always mean your internet is not working!).

If you can ping your router but not DSL modem, then it is definitely a default route problem - set up your IP address as static (something in the 192.168.5.x range, with a default route of 192.168.5.1 and a DNS server of 192.168.1.254) make sure the IP forwarding checkbox is checked, and all should be good.

If you can ping your router *and* your DSL modem, but you can't ping yahoo or google, then it is likely something with your DNS lookup, your resolv2 file (in c:\mptn\etc), edit that file to read something like:

domain something.com
nameserver 192.168.1.254

Save that file, open up a new command prompt and try pinging again.  If that works, then I once again suggest setting up a static IP address.

And finally, try it in something like Firefox and see if you can get online.  Even if you can ping the DSL modem and your router but can't ping google/yahoo (or where ever) if everything else looks okay, then try it - it just might work (see note above)

Hope this helps!