Welcome, Guest. Please login or register.

Author Topic: Diffs installing AmiTCP3.0b2  (Read 3219 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline dvvrue95Topic starter

  • Full Member
  • ***
  • Join Date: Sep 2005
  • Posts: 133
    • Show all replies
Diffs installing AmiTCP3.0b2
« on: May 03, 2006, 10:19:12 AM »
HI folks,
having used unregistered versions of Miami and Genesis OK I thought I would try to install AmiTCP3.0b. Everything went OK including the changes to the various scripts as per the AmiTCP 3.0b2 Installation Guide.
When I re booted I originally had a problem with the startnet file, it needed the "s" flag setting (kept getting file not executable) for some reason. After that I rebooted again and this time I rxd an error message.
  "ifconfig:ioctl (SIOCGIFFLAGS): no such interface".
AmiTCP is running (I can't start Miami 'cause there is already a TCP stack running)and the Amiga boots fine but my PCMCIA Ethernet card is not active.
I have a 3Com Ethernet PCMCIA card with a 3c589.device driver which worked fine with both Miami and Genesis.
I have checked the various script changes and they appear OK but might be typo's. Any ideas where to check?

thanks, Ian.
PS going away for a few days (brain hurts) so won't be picking any messages up until Monday.
\\"I keep six honest serving men
They taught me all I knew
Their names are What and Why
and When and How and Where and Who\\"
.......... Rudyard Kipling
 

Offline dvvrue95Topic starter

  • Full Member
  • ***
  • Join Date: Sep 2005
  • Posts: 133
    • Show all replies
Re: Diffs installing AmiTCP3.0b2
« Reply #1 on: May 09, 2006, 07:19:57 PM »
Hi Patrik,
1. thanks for that tip, I checked the I/F name and I had used 3c5890 which I thought would be ok,
so I changed it to ethernet0 and also the corresponding entry in the startnetfile which seemed to work
i.e. the green light on the PCMCIA card comes on and the port goes active on the router .... but I
get a "no DNS entry found" when I try to access a web site in IBrowse. Also I cant get AExplorer to work
it start OK on the Amiga i.e. a TCP connnection is started but when I run AExplorer from the p.c.using
the Amiga address (192.1.168.180) I rxd. error message.

2. When I try to ping the gateway (192.168.1.254) from the shell I get a "invalid command" message
and the only way around this is to enter the following commands from the shell :-
 path sys:system sys:rexxc
 path amitcp:bin
even though these commands are already in either my user-startup or startup-sequence files.

3. After completing the path commands in 2. above I can ping the gateway and also ping the
Amiga (192.168.1.180) from the p.c.the latter times out if I switch off the Amiga or run stopnet from
the shell.

4. I seem to have some sort of problem with path commands being recognised in my startup-sequence
 / user-startup files, although I had not noticed this before I tried to install AmiTCP3.0.
I have included copies of the following files :-
   startnet
   interfaces
   netdb-myhost
   startup-sequence
   user-startup

I have the following :-
dh0: named SYSTEM (could this be a problem?)
dh1: named WORK *(Amitcp is in here)
dh2: named Cache
cd0:

5. If any one is still reading this lot any ideas or help would be much appreaciated. Ian.

STARTNET

run >NIL: AmiTCP:AmiTCP
WaitForPort AMITCP
; configure loop-back device
AmiTCP:bin/ifconfig lo0 localhost
; Configure Devs:Networks/3c589.device unit 0
AmiTCP:bin/ifconfig ethernet0 192.168.1.180  netmask 255.255.255.0
; Add route to this host
AmiTCP:bin/route add myAmiga.host.com localhost
; Add route to the default gateway
AmiTCP:bin/route add default 192.168.1.254
Assign TCP: Exists > NIL:
IF Warn
  Mount TCP: from AmiTCP:devs/Inet-Mountlist
EndIf
; Start the internet `super server'
run >NIL: AmiTCP:bin/inetd
AmiTCP:bin/login -f chris1

NETDB-MYHOST

; This host
HOST 192.168.1.180 myAmiga.host.com myAmiga
; Domain names
DOMAIN host.com
DOMAIN 0.0.0.0
DOMAIN 81.132.144.209
DOMAIN 194.74.65.69
DOMAIN 217.35.209.180

INTERFACES (PART OF)

# Ethernet adapter 3c589
#
 ethernet dev=devs:networks/3c589.device
# IPTYPE=2048 ARPTYPE=2054 ARPHDR=1 ARPREQ=4 IPREQ=16 WRITEREQ=16
#

STARTUP-SEQUENCE

;BEGIN IDEfix
If Exists C:IDEfix
   ; You may want to exchange the following line with LoadIDE reset quiet
   ; to make IDEfix reset resident, or LoadIDE start quiet
   ; to start IDEfix immediately and have it reset resident
   ; from the next reboot. Make sure to put LoadIDE behind any Kickstart mappers!
   C:IDEfix
EndIf
;END IDEfix

; $VER: Startup-Sequence_HardDrive 40.2 (25.2.93)
; Startup-Sequence for hard drive systems

C:SetPatch QUIET
C:PatchopenWB
C:cpu cache burst fastrom >NIL:

C:Version >NIL:
C:AddBuffers >NIL: DF0: 15
FailAt 21

C:MakeDir RAM:T RAM:Clipboards RAM:ENV RAM:ENV/Sys
C:Copy >NIL: ENVARC: RAM:ENV ALL NOREQ

Resident >NIL: C:Assign PURE
Resident >NIL: C:Execute PURE

Assign >NIL: ENV: RAM:ENV
run >nil: C:MagicWB-Demon 4,123,123,123 5,175,175,175 6,170,144,124 7,255,169,151 8,0,0,255 ; Don't remove this entry!
Assign >NIL: T: RAM:T
Assign >NIL: CLIPS: RAM:Clipboards
Assign >NIL: REXX: S:
Assign >NIL: PRINTERS: DEVS:Printers
Assign >NIL: KEYMAPS: DEVS:Keymaps
Assign >NIL: LOCALE: SYS:Locale
Assign >NIL: LIBS: SYS:Classes ADD
Assign >NIL: HELP: LOCALE:Help DEFER

BindDrivers
C:Mount >NIL: DEVS:DOSDrivers/~(#?.info)

IF EXISTS DEVS:Monitors
  IF EXISTS DEVS:Monitors/VGAOnly
    DEVS:Monitors/VGAOnly
  EndIF

  C:List >NIL: DEVS:Monitors/~(#?.info|VGAOnly) TO T:M LFORMAT "DEVS:Monitors/%s"
  Execute T:M
  C:Delete >NIL: T:M
EndIF

SetEnv Language "english"
SetEnv Workbench $Workbench
SetEnv Kickstart $Kickstart
UnSet Workbench
UnSet Kickstart

C:AddDataTypes REFRESH QUIET
C:IPrefs
C:ConClip

Path >NIL: RAM: C: SYS:Utilities SYS:Rexxc SYS:System S: SYS:Prefs SYS:WBStartup SYS:Tools SYS:Tools/Commodities

IF EXISTS S:User-Startup
  Execute S:User-Startup
EndIF

Resident Execute REMOVE
Resident Assign REMOVE

C:LoadWB
EndCLI >NIL:

USER-STARTUP

copy > NIL: SYS:S/RAM.info TO RAM:Disk.info                                                  ; added by MagicWB

run >nil: C:MagicWB-Demon 4,123,123,123 5,175,175,175 6,170,144,124 7,255,169,151 8,0,0,255  ; added by MagicWB
assign >NIL: MagicWB: SYS:Prefs/MagicWB-Images

;BEGIN MUI
if exists "work:mui"
assign mui: "work:mui"
 if exists mui:libs
 assign add libs: mui:libs
 endif
 if exists mui:locale
 assign add locale: mui:locale
 endif
 version >nil: exec.library 40
 if not warn
  if exists mui:docs
     if exists help:dummy  ;do not remove
     end if                ;this entry!
     assign add help: mui:docs
  endif
 endif
endif
;END MUI

;BEGIN CAPREFS
C:CAPrefs >NIL:
;END CAPREFS

;BEGIN PCMCIA FIX
C:cardpatch >NIL:   ;This S/W fix can be removed
C:cardreset TICKS 50 ;if you have a PCMCIA H/W fix
;END PCMCIA FIX

;BEGIN MIAMI
assign Miami: "Work:Miami"
;END MIAMI

;BEGIN AmiSSL
Assign AmiSSL: "Work:AmiSSL"
If Exists AmiSSL:Libs
   Assign LIBS: AmiSSL:Libs ADD
EndIf
Path AmiSSL: ADD
;END AmiSSL

;BEGIN AmiTCP/IP
assign AmiTCP: Work:AmiTCP3.0
path AmiTCP:bin add
AmiTCP:bin/umask 022
AmiTCP:bin/startnet
;END AmiTCP/IP

;BEGIN YAM-Amiga Mailer c Marcel Beck
c:Assign YAM: Work:YAM
;END YAM-Amiga Mailer c Marcel Beck

;BEGIN NewIcons
Run NIL: c:NewIcons
;END NewIcons
;BEGIN DefIcons
DefIcons
;END DefIcons
;BEGIN MountLS120
;END MountLS120
;BEGIN ActivateCrossIDEfix
ActivateCrossIDEfix ALL
;END ActivateCrossIDEfix

\\"I keep six honest serving men
They taught me all I knew
Their names are What and Why
and When and How and Where and Who\\"
.......... Rudyard Kipling
 

Offline dvvrue95Topic starter

  • Full Member
  • ***
  • Join Date: Sep 2005
  • Posts: 133
    • Show all replies
Re: Diffs installing AmiTCP3.0b2
« Reply #2 on: May 10, 2006, 08:17:47 PM »
Hi,
quote
"i don't know though if amitcp allow somehow to set it manualy."

I think its done via the netdb-myhost file, but I think I have some sort of problem with the PATH command which appears to prevent the various binary files used by amitcp to be read correctly on startup.

thanks for the feedback, if I get it fixed I will let you know.
Ian.


\\"I keep six honest serving men
They taught me all I knew
Their names are What and Why
and When and How and Where and Who\\"
.......... Rudyard Kipling
 

Offline dvvrue95Topic starter

  • Full Member
  • ***
  • Join Date: Sep 2005
  • Posts: 133
    • Show all replies
Re: Diffs installing AmiTCP3.0b2
« Reply #3 on: May 11, 2006, 09:14:54 PM »
OK Patrik,

I have corrected my netdb-myhost file which now contains
domain host.com
and the following nameservers
217.32.105.90
217.32.105.91
217.35.209.188
these are for (BT broadband) obtained via another thread in this forum from AmigaKit.

Within IBrowse I now get "Host lookup failed no DNS entry found".
If I check out my router config. for DNS it is set to
DNS Proxy Selection = use auto discovered DNS servers only.   

Not even tried to sort out my path issues yet.

Ahhh some many problems only one life!
Ian.
\\"I keep six honest serving men
They taught me all I knew
Their names are What and Why
and When and How and Where and Who\\"
.......... Rudyard Kipling
 

Offline dvvrue95Topic starter

  • Full Member
  • ***
  • Join Date: Sep 2005
  • Posts: 133
    • Show all replies
Re: Diffs installing AmiTCP3.0b2
« Reply #4 on: May 12, 2006, 09:13:24 PM »
Hi Patrik,

OK so I checked out my networked pc using ipconfig /all and this is what we have:-

Gateway
DHCP server
DNS server

are all set the same and to 192.168.1.254 which is also the address of the router.
Now when I use that setting for the nameserver on the Amiga and try to access a web page in Ibrowse I rx a error message
"the requested doument was not found on this server".

Also I looked at the LAN status as seen by the router using the browser I/F on the pc and something strange is happening :-

If I disable amitcp and run Miami (which works fine and enables me to use Ibrowse) if I ask the router to update the LAN status I can "see" the IP address of the link to the Amiga and the number of Ethernet devices changes from 1 (pc) to 2 (pc and Amiga). Miami of course uses Dynamic IP addressing.
If I run amitcp although I activate the green light on the PCMCIA card, and router led for the port activates and I can ping between Amiga and pc as previously stated, the router does not give any indication (as per above) that it has "seen" that link?? The only thing that appears to be different is that I have put a static IP address in the amitcp setup (which is outside the DHCP range of the router.)
Also if I ping the amiga from the pc and  activate "resolve host name" I get the appropriate IP address of the amiga (with either amitcp or miami) returned twice ie. if I am pinging 192.168.1.180 the host name is returned as
192.168.1.180,192.168.1.180
Ah well it looks like rain tommorow so I will start all over again!!
Ian.
\\"I keep six honest serving men
They taught me all I knew
Their names are What and Why
and When and How and Where and Who\\"
.......... Rudyard Kipling
 

Offline dvvrue95Topic starter

  • Full Member
  • ***
  • Join Date: Sep 2005
  • Posts: 133
    • Show all replies
Re: Diffs installing AmiTCP3.0b2
« Reply #5 on: May 18, 2006, 08:41:13 PM »
Hi Patrik,

thanks for that, most of what you said in yr message of 13/05 now makes sense. As usual there are a just a few "loose end".

1. I did a reset on my modem/router (ADSL Shock741 Router)and taht appears to have sorted (some) things out. I can now ping pc, router , google (although I have different IP addresses to yours given.
I can even access the internet using Ibrowse, although I am getting regular guru non recoverable errors which crash IBrowse ( this might be memory issues on my 1200 to do with my 512K broadband connection), so I am playing around with the IBrowse setup.
2 What I am really having problems with now is getting AExplorer to work with AmiTCP3.0. It works fine with Miami but if I have amitcp running I can see Aexplorer open up a TCP connection but when I activate AE on the pc I just rx. an message on the pc "error reading from TCP connection" and that error disables AE on the Amiga.
I have added an entry in the inet.access script :-
356 192.168.*.* allow LOG
and enteries in the services script :
aexplorer 356/tcp
aexplorer 356/udp
but all that happens is the AmiTCP log shows access from host 192.168.1.140 to port 356 allowed and then a error message from AE on the Amiga "error initializing socket connection" and AE on the Amiga quits.

Any thoughts? and many thanks for your help and patience so far.

Ian
\\"I keep six honest serving men
They taught me all I knew
Their names are What and Why
and When and How and Where and Who\\"
.......... Rudyard Kipling