Welcome, Guest. Please login or register.

Author Topic: Inet 225 TCP/IP Internet Access Problem  (Read 6668 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline pneronTopic starter

  • Full Member
  • ***
  • Join Date: Nov 2015
  • Posts: 176
  • Country: us
  • Gender: Male
    • Show all replies
    • http://www.incrediblesteps.com
Inet 225 TCP/IP Internet Access Problem
« on: December 29, 2016, 01:49:33 PM »
SPECS:
======
Amiga 2000
OS 3.9 (a new install ---still working my way through the new features!)

TCP/IP Stack & Software
================
Inet 225 - TCP/IP Stack
Aweb 3.3 Browser
Amiganet NIC card - (Hydra Systems) + Hydra.device ver 1.44 (latest network protocol)
==============================================

Dear Amiga SMEs:

I just finished getting OS3.9 installed and having issues connecting to the internet with my old Amiganet NIC card + Inet 225 stack from "InterWorks:
I use to have access to the Web, but at that time I was using dialup PPP connected to my modem directly.

My home network has a bunch of PC's, Macs, etc connected to a Netgear router (gateway 192.1681.1). I can ping my router from my Amiga and I can even login via Amiga's browser AWeb  and get access to Netgear's admin control panel. However, I cannot get access to the internet. I suspect I am having gateway routing or hosting issues, but not sure. I have copied the Inet 225 Network initialization file below, along with a "Ping" test from my Amiga to my router and my host file.  I did add the Gateway address to one of my init files, but still not convinced if this card support such LAN setup.

Any thoughts on what I can do before I buy a new card ? :confused:



Inet 225 Amiga Outputs
===============

´´ I-Net 225 © 1995,1996 by Interworks ' '

Network startup has begun.
Configuring Hostname: amiga2000
Configuring for User: batman
Adding default gateway route.
add net default: gateway 192.168.1.1
Adding 'shortcut' route to localhost.
add host amiga2000: gateway localhost
Starting INetd.
Starting PortMapper.
Network startup complete.
Running 'INet:s/StartINet-After'...


Ping Test to Netgear Router
=======================
6.MISC{150-DH1}:NetWking/Inet225/Inet/c> ping 192.168.1.1
192.168.1.1 is alive!
6.MISC{150-DH1}:NetWking/Inet225/Inet/c>


Host File:
=========
127.0.0.1 localhost
192.168.1.76 amiga2000
A2000: OS3.1.4|Picasso II|Blizzard 68060@50 MHz|3xAD516 Sunrize cards|HydraNexus|Cocolino|Gotex Floppy Emulator |Mac OSX (main DAW) | Windows
Incredible Steps Film and Music
 

Offline pneronTopic starter

  • Full Member
  • ***
  • Join Date: Nov 2015
  • Posts: 176
  • Country: us
  • Gender: Male
    • Show all replies
    • http://www.incrediblesteps.com
Re: Inet 225 TCP/IP Internet Access Problem
« Reply #1 on: December 29, 2016, 02:08:22 PM »
Thanks Kolla...I do have a route command in my C dir
A2000: OS3.1.4|Picasso II|Blizzard 68060@50 MHz|3xAD516 Sunrize cards|HydraNexus|Cocolino|Gotex Floppy Emulator |Mac OSX (main DAW) | Windows
Incredible Steps Film and Music
 

Offline pneronTopic starter

  • Full Member
  • ***
  • Join Date: Nov 2015
  • Posts: 176
  • Country: us
  • Gender: Male
    • Show all replies
    • http://www.incrediblesteps.com
Re: Inet 225 TCP/IP Internet Access Problem
« Reply #2 on: December 30, 2016, 12:40:28 AM »
correction,  NETSTAT is there but does not see anything beyond anything local. I don't *think* Inet-225 can be configured for a Gateway config across Ethernet but I am no expert and might be wrong. I followed the examples in the doc with no luck.

 I am also in the process of upgrading OS3.9 and thought it had a free stack?
A2000: OS3.1.4|Picasso II|Blizzard 68060@50 MHz|3xAD516 Sunrize cards|HydraNexus|Cocolino|Gotex Floppy Emulator |Mac OSX (main DAW) | Windows
Incredible Steps Film and Music
 

Offline pneronTopic starter

  • Full Member
  • ***
  • Join Date: Nov 2015
  • Posts: 176
  • Country: us
  • Gender: Male
    • Show all replies
    • http://www.incrediblesteps.com
Re: Inet 225 TCP/IP Internet Access Problem
« Reply #3 on: December 30, 2016, 01:32:00 AM »
OK, thanks, I will try that tonight and check the dumps

Also, I did see some notes in the documentation that indicated that I-Net 225 can connect using SLIP, CSLIP or PPP (which I use to use during my dialup days) so perhaps it can only support Ethernet connection to LAN?
A2000: OS3.1.4|Picasso II|Blizzard 68060@50 MHz|3xAD516 Sunrize cards|HydraNexus|Cocolino|Gotex Floppy Emulator |Mac OSX (main DAW) | Windows
Incredible Steps Film and Music
 

Offline pneronTopic starter

  • Full Member
  • ***
  • Join Date: Nov 2015
  • Posts: 176
  • Country: us
  • Gender: Male
    • Show all replies
    • http://www.incrediblesteps.com
Re: Inet 225 TCP/IP Internet Access Problem
« Reply #4 on: December 30, 2016, 12:22:36 PM »
Thank for the advice Kolla, I am looking at both new stacks right now, one from OS3.9 Genesis and Roadshow.

Still not sure if these will work with my Amiganet (Hydra) NIC card but will try. In the meantime, here are some important docs for reviews:

As shown in docs it looks like the only way I can get access to the internet is via SLIP, CSLIP or PPP configuration.
and the Example they provided is for Ethernet to LAN only?
When I follow this setup (with my Gate pointing to router my 192.168.1.1), I get the following errors:

StartInet with Gateway Added
=========================
´´ I-Net 225 © 1995,1996 by Interworks ªª
Network startup has begun.
Configuring Hostname: amiga2000
Configuring for User: batman
Adding point-to-point route.
ifconfig: ioctl (SIOCSIFDSTADDR): Invalid argument supplied
inet:c/ifconfig failed returncode 10
Network problem: could not configure SANA II device.
Is the device installed properly?


It also looks like it wants to bind a PPP protocol on startup?
I have tried to use a ROUTE file in my db directory and with no luck.
Thus, based on docs, doesn't this indicate no internet access without using SLIP, CSLIP or PPP?


Output Files Below: (no error but no gateway)

StartInet with NoGateway Added
=========================
´´ I-Net 225 © 1995,1996 by Interworks ªª
Network startup has begun.
Configuring Hostname: Configuring for User: Adding default gateway route.
add net default: gateway amiga2000
Adding 'shortcut' route to localhost.
add host amiga2000: gateway localhost
Starting INetd.
Starting PortMapper.
Network startup complete.



OUTPUT FILES WITH GATEWAY OPTIONS
=============================



Init.prefs file
===========
SERVERS
activate "s0" DEFROUTE HOSTNAME amiga2000 IP 192.168.1.76 GATEWAY 192.168.1.1 DEVICE Devs:Networks/hydra.device UNIT 0 IPTYPE 2048 ARPTYPE 2054

StartInet with Gateway Added
=========================
´´ I-Net 225 © 1995,1996 by Interworks ªª
Network startup has begun.
Configuring Hostname: amiga2000
Configuring for User: batman
Adding point-to-point route.
ifconfig: ioctl (SIOCSIFDSTADDR): Invalid argument supplied
inet:c/ifconfig failed returncode 10
Network problem: could not configure SANA II device.
Is the device installed properly?

Hosts File
=========
127.0.0.1 localhost
192.168.1.76 amiga2000


Config File
=========
Hostname amiga2000
User batman
MailDir Inet:Mail
MailEditor Ed
SMTPMailDir INet:Mail/
SMTPSpoolDir INet:MailSpool/
SMTPRmail INet:c/SMTPpost -r
SMTPRoute mx,smtp,smarterhost


NetStat
=======
Routing tables
Destination      Gateway            Flags     Refs     Use  Interface
127.0.0.1        127.0.0.1          UH          0        0  lo0
192.168.1        192.168.1.76       U           0        0  s0



Routes File
==========
; Add NEtgear Router Info
Inet:c/Route add net 192.168.1.1 >0
« Last Edit: December 30, 2016, 12:24:56 PM by pneron »
A2000: OS3.1.4|Picasso II|Blizzard 68060@50 MHz|3xAD516 Sunrize cards|HydraNexus|Cocolino|Gotex Floppy Emulator |Mac OSX (main DAW) | Windows
Incredible Steps Film and Music
 

Offline pneronTopic starter

  • Full Member
  • ***
  • Join Date: Nov 2015
  • Posts: 176
  • Country: us
  • Gender: Male
    • Show all replies
    • http://www.incrediblesteps.com
Re: Inet 225 TCP/IP Internet Access Problem
« Reply #5 on: December 30, 2016, 06:17:09 PM »
yes.....the driver is configured correctly (as per message below):

StartInet with NoGateway Added
=========================
´´ I-Net 225 © 1995,1996 by Interworks ªª
Network startup has begun.
Configuring Hostname: Configuring for User: Adding default gateway route.
add net default: gateway amiga2000
Adding 'shortcut' route to localhost.
add host amiga2000: gateway localhost
Starting INetd.
Starting PortMapper.
Network startup complete.



I only get this message when I try and add the "GATEWAY" option.

As for the ROUTE command, I believe that is the correct syntax for remote gateway switch (">") but will double check the syntax again to make sure
A2000: OS3.1.4|Picasso II|Blizzard 68060@50 MHz|3xAD516 Sunrize cards|HydraNexus|Cocolino|Gotex Floppy Emulator |Mac OSX (main DAW) | Windows
Incredible Steps Film and Music
 

Offline pneronTopic starter

  • Full Member
  • ***
  • Join Date: Nov 2015
  • Posts: 176
  • Country: us
  • Gender: Male
    • Show all replies
    • http://www.incrediblesteps.com
Re: Inet 225 TCP/IP Internet Access Problem
« Reply #6 on: December 30, 2016, 08:18:20 PM »
Nothing if I add it as line in my ROUTE file. I will double check the "syntax" tonight when I get home but here is the GUIDE for the ROUTE (will upload a clean version)
« Last Edit: December 30, 2016, 08:24:20 PM by pneron »
A2000: OS3.1.4|Picasso II|Blizzard 68060@50 MHz|3xAD516 Sunrize cards|HydraNexus|Cocolino|Gotex Floppy Emulator |Mac OSX (main DAW) | Windows
Incredible Steps Film and Music
 

Offline pneronTopic starter

  • Full Member
  • ***
  • Join Date: Nov 2015
  • Posts: 176
  • Country: us
  • Gender: Male
    • Show all replies
    • http://www.incrediblesteps.com
Re: Inet 225 TCP/IP Internet Access Problem
« Reply #7 on: December 31, 2016, 12:05:43 AM »
Thanks Pete.. the install does force me to link to the Hydra driver and I know it works because I can see the driver in my setup and I can also ping machines and the router....so perhaps you are right with the browser but before I go down that road (as per Kolla's request) - here are some screen dumps after I run the ROUTE from command line:


What happens when I run ROUTE from a shell after I initialize startinet prefs
===================================================

MISC{150-DH1}:NetWking/Inet225/Inet/c> route add amiga2000  192.168.1.1 1---> Integer metric
add host amiga2000: gateway 192.168.1.1   ----> output after I run the command


5.MISC{150-DH1}:NetWking/Inet225/Inet/c> netstat -rn
Routing tables
Destination      Gateway            Flags     Refs     Use  Interface
127.0.0.1        127.0.0.1           UH          0       97    lo0
192.168.1.76     192.168.1.1     UGH        0        0     s0
192.168.1.76     127.0.0.1         UH          0        1     lo0
default          192.168.1.76        U            0        0     s0
192.168.1        192.168.1.76     U            0        1     s0

ROUTE COMMANDS DOC BELOW (note the Integer Metric switches)
==========================================
 Interworks I-Net 225 - TCP/IP Networking Software

 Command: route
 Location: inet:c/

NAME

   
   route - manually manipulate the routing tables
   

SYNOPSIS

   
    0m1mroute0m -N=NOSYM/S,-F=FLUSH/S,ROUTES/S,CMD/M
   

DESCRIPTION

   
    route is used to manipulate the network routing tables manually.
    route supports two commands:
   
    1. Add a route.
   
      add [net |host] destination gateway [count]
   
    2. Delete a route.
   
    delete [net |host] destination gateway [count]
   
    The ROUTES switch will cause 0m1mroute0m to read its input from the file
    'inet:db/routes'.  Each line in that file must be either an 0m1madd0m or
    0m1mdelete0m  command  as  shown above, or a comment line (starting with
    ';' or '#').  Blank lines are ignored.  Incorrect lines will be reported to
    the console, but the rest of the file will still be processed.
   
    When  adding a route, if the route already exists, a message is printed and
    nothing changes.
   
   
Other command line arguments are:


    net or host
   
    specifies  the  type of destination address.  If not specified, routes to a
    particular  host  are distinguished from those to a network by interpreting
    the Internet address associated with destination.  If the destination has a
    "local address part" (last section of 'dotted' address, i.e.  if address is
    '200.0.0.20', '.20' is the part referenced) of 0, route is assumed to be to
    a network; otherwise, it is treated as a route to a host.
   
    destination destination host system where the packets will be
    routed.  destination can be either a host name (the official name or an
    alias), a network name (the official name or an alias, an Internet address
    in "dot" notation, or the keyword "default", which signifies the wildcard
    gateway route.
   
    gateway  The  gateway   through  which  the destination is reached.
    gateway  can  be  either a host name (the official name or an alias), or an
    Internet address in "dot" notation.
   
    count   An  integer  that indicates whether the gateway is a remote
    host  or  the local host.  If the route leads to a destination via a remote
    gateway,  count  should  be a number greater than 0.  If the route leads to
    destination  and  the  gateway  is  the local host, count should be 0.  The
    default for count is zero.  The result is not defined if count is negative.
   
    All  symbolic  names  specified  for a destination or gateway are looked up
    first  as  a  hostname using gethostbyname(); if the hostname is not found,
    the  destination  is  searched  as  a  network  name  using getnetbyname().
    destination  and  gateway  can be in dot notation.  If the -n option is not
    specified,  any  host  and  network  addresses  are  displayed symbolically
    according  to  the  name  returned  by  gethostbyaddr() and getnetbyaddr(),
    respectively,  except  for the default network address (printed as default)
    and  addresses  that  have unknown names.  Addresses with unknown names are
    printed  in Internet dot notation.  If the -n option is specified, any host
    and  network  addresses are printed in Internet dot notation except for the
    default network address which is printed as default.
   
    If the -f option is specified, route deletes all route table entries
    that specify a remote host for a gateway.  If this is used with one of
    the commands described above, the entries are deleted before the
    command's application.
   
   
    Output
   
        add destination: gateway gateway flags flags
       
        The specified route is being added to the tables.
       
        delete destination: gateway gateway flags flags
       
        The specified route is being deleted from the tables.
       
    Flags
   
    The  following  truth table can be used to help understand the relationship
    between count, destination type, flags, and route type.
   
    Count   Destination Type        Flags   Route Type
    _________________________________________________________
   
    =0      network     1       =U         route to a network via a
                                                   gateway which is the local host
   
    >0      network     3       =UG       route to a network via a
                                                   gateway which is a remote host
   
    =0      host        5         =UH       route to a host via
                                                   a gateway which is
                                                   the local host
                                                   itself
   
    >0      host        7        =UGH      route to a host via a gateway
                                                   which is a remote host
   
    =0      "default"       1   =U          wildcard route via the local host
   
    >0      "default"       3   =UG        wildcard route via a remote gateway
   
   
   
DIAGNOSTICS


   
    error:      delete a route that does not exist
    meaning:    The specified route was not in the route table.
   
    error:      add a route that already exists
    meaning:    The specified entry is already in the route table.
   
    error:      add too many routes
    meaning:    The routing table is full.
   
   
AUTHOR

    route was developed by the University of California, Berkeley.  The ROUTES
    switch and other related items were designed and developed by Jim Cooper of
    Interworks.
   
   
SEE ALSO

     netstat
     ifconfig
« Last Edit: December 31, 2016, 12:10:35 AM by pneron »
A2000: OS3.1.4|Picasso II|Blizzard 68060@50 MHz|3xAD516 Sunrize cards|HydraNexus|Cocolino|Gotex Floppy Emulator |Mac OSX (main DAW) | Windows
Incredible Steps Film and Music
 

Offline pneronTopic starter

  • Full Member
  • ***
  • Join Date: Nov 2015
  • Posts: 176
  • Country: us
  • Gender: Male
    • Show all replies
    • http://www.incrediblesteps.com
Re: Inet 225 TCP/IP Internet Access Problem
« Reply #8 on: December 31, 2016, 07:14:05 PM »
OK, understand.  I will make the changes later today and dump netstat -rn outputs to see if there is any issue
A2000: OS3.1.4|Picasso II|Blizzard 68060@50 MHz|3xAD516 Sunrize cards|HydraNexus|Cocolino|Gotex Floppy Emulator |Mac OSX (main DAW) | Windows
Incredible Steps Film and Music
 

Offline pneronTopic starter

  • Full Member
  • ***
  • Join Date: Nov 2015
  • Posts: 176
  • Country: us
  • Gender: Male
    • Show all replies
    • http://www.incrediblesteps.com
Re: Inet 225 TCP/IP Internet Access Problem
« Reply #9 on: January 01, 2017, 02:40:54 PM »
Thank you for the detail summary Kolla.

Here is the dump of my inet-225 init startup files along with netstat. As you can see from running Inet:c/ command (with the correct integer setting of 1) I get a confirmation message showing my gate added to the route:

add net default: gateway 192.168.1.1

However, I am still unable to access Internet from my browser...thoughts on next step?



5.MISC{150-DH1}:> startinet
I-Net 225 © 1995,1996 by Interworks
Network startup has begun.
Configuring Hostname: amiga2000
Configuring for User: batman
Adding default gateway route.
add net default: gateway amiga2000
Adding 'shortcut' route to localhost.
add host amiga2000: gateway localhost
Starting INetd.
Starting PortMapper.
Starting SMTPd Mailer daemon.
Network startup complete.
Running 'INet:s/StartINet-After'...
add net default: gateway 192.168.1.1


5.MISC{150-DH1}:> netstat -rn
Routing tables
Destination      Gateway            Flags     Refs     Use  Interface
127.0.0.1        127.0.0.1          UH          0        0  lo0
192.168.1.76     127.0.0.1          UH          0        0  lo0
default          192.168.1.1        UG          0        0  s0
default          192.168.1.76       U           0        0  s0
192.168.1        192.168.1.76       U           0        0  s0
5.MISC{150-DH1}:>
A2000: OS3.1.4|Picasso II|Blizzard 68060@50 MHz|3xAD516 Sunrize cards|HydraNexus|Cocolino|Gotex Floppy Emulator |Mac OSX (main DAW) | Windows
Incredible Steps Film and Music
 

Offline pneronTopic starter

  • Full Member
  • ***
  • Join Date: Nov 2015
  • Posts: 176
  • Country: us
  • Gender: Male
    • Show all replies
    • http://www.incrediblesteps.com
Re: Inet 225 TCP/IP Internet Access Problem
« Reply #10 on: January 01, 2017, 08:01:10 PM »
is this an entry in my Host file or do I need to setup a DNS server ?
A2000: OS3.1.4|Picasso II|Blizzard 68060@50 MHz|3xAD516 Sunrize cards|HydraNexus|Cocolino|Gotex Floppy Emulator |Mac OSX (main DAW) | Windows
Incredible Steps Film and Music
 

Offline pneronTopic starter

  • Full Member
  • ***
  • Join Date: Nov 2015
  • Posts: 176
  • Country: us
  • Gender: Male
    • Show all replies
    • http://www.incrediblesteps.com
Re: Inet 225 TCP/IP Internet Access Problem
« Reply #11 on: January 02, 2017, 12:18:37 PM »
Yes my router is pointing to DNS...will look at OpenDNS. thanks
A2000: OS3.1.4|Picasso II|Blizzard 68060@50 MHz|3xAD516 Sunrize cards|HydraNexus|Cocolino|Gotex Floppy Emulator |Mac OSX (main DAW) | Windows
Incredible Steps Film and Music
 

Offline pneronTopic starter

  • Full Member
  • ***
  • Join Date: Nov 2015
  • Posts: 176
  • Country: us
  • Gender: Male
    • Show all replies
    • http://www.incrediblesteps.com
Re: Inet 225 TCP/IP Internet Access Problem
« Reply #12 on: January 02, 2017, 03:01:03 PM »
Will check....
A2000: OS3.1.4|Picasso II|Blizzard 68060@50 MHz|3xAD516 Sunrize cards|HydraNexus|Cocolino|Gotex Floppy Emulator |Mac OSX (main DAW) | Windows
Incredible Steps Film and Music
 

Offline pneronTopic starter

  • Full Member
  • ***
  • Join Date: Nov 2015
  • Posts: 176
  • Country: us
  • Gender: Male
    • Show all replies
    • http://www.incrediblesteps.com
Re: Inet 225 TCP/IP Internet Access Problem
« Reply #13 on: January 03, 2017, 11:22:45 AM »
so far no Kolla...I am going through the docs and examples provided with Inet but do not see such a file?
A2000: OS3.1.4|Picasso II|Blizzard 68060@50 MHz|3xAD516 Sunrize cards|HydraNexus|Cocolino|Gotex Floppy Emulator |Mac OSX (main DAW) | Windows
Incredible Steps Film and Music
 

Offline pneronTopic starter

  • Full Member
  • ***
  • Join Date: Nov 2015
  • Posts: 176
  • Country: us
  • Gender: Male
    • Show all replies
    • http://www.incrediblesteps.com
Re: Inet 225 TCP/IP Internet Access Problem
« Reply #14 on: January 03, 2017, 01:30:29 PM »
will continue to look tonight when I am back home

Thanks
A2000: OS3.1.4|Picasso II|Blizzard 68060@50 MHz|3xAD516 Sunrize cards|HydraNexus|Cocolino|Gotex Floppy Emulator |Mac OSX (main DAW) | Windows
Incredible Steps Film and Music