Amiga.org
Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: dvvrue95 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.
-
Make sure you havent named the interface "3c589", as the last number in the interface name is used for deciding which unit-number to open of the specified device.
From the documentation in top of the interfaces file:# The new-style network interface name consists of interface device name
# concatenated with interface unit number, ie. if the interface name is
# "slip0", then the interface device name is "slip" and the interface unit
# is 0. The network interface name should not contain digits ('0' ... '9').
/Patrik
-
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
-
[color=ff0000]get a "no DNS entry found" when I try to access a web site in IBrowse. Also I cant get AExplorer to work[/color]
i use the same netcard and amitcp but with amigakit's easynet as control/configuration of amitcp, and i get the same results when for some reason it's not set properly the ''primary dns server'' of my isp. i don't know though if amitcp allow somehow to set it manualy.
-
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.
-
@dvvrue95:
Your netdb-myhost file is a bit wrong.
It seems you have supplied a load of search-domains in the form of ip-numbers, which is wrong. Search-domains works so that if you try to access the host 'testtest', it will amongst other things try to combine that with the search-domains you have specified.
Say for example that you have host.com specified as a search-domain and then try to ping testtest, it will amongst other things try to ping testtest.host.com. Adding several search-domains will usually slow down the hostname resolving btw.
Also, no nameserver specified (maybe you didn't enter one when asked during the installation?), which you do with the keyword 'NAMESERVER', just like you specify search-domains with the keyword 'DOMAIN'.
So remove those search-domains which are ip-numbers only keeping your default 'host.com' and add a nameserver you know is working on your local network. After that AmiTCP should be able to resolv hostnames.
I can't see why you are having troubles with your paths, but if I were you I would take a backup of your S:User-Startup and create a new empty one and start adding sections to it from your backup one by one and see when you start gettings troubles with your paths.
Btw, why do you start the MagicWB-demon both in your Startup-Sequence and your User-Startup?
/Patrik
-
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.
-
@dvvrue95:
I assume you have some sort of pc on your local network. Your best bet would be to use the same nameserver(s) as that one.
If you are running Windows, in a command-prompt run "ipconfig /all" to amongst other things see which nameserver(s) are used.
If you are running a Unix derivate OS, you will in most cases see which nameserver(s) are used if you in a shell run "cat /etc/resolv.conf".
/Patrik
-
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.
-
The router most likely only put devices using DHCP in the active list, as it is the one who has assigned their adresses.
As you can ping your pc it sounds like your router is acting wierd with non DHCP devices. Make sure don't have to set some option to allow it to forward traffic for non DHCP devices. Try and see what happens if you use static addresses on another machine on your network.
Also, from the Amiga, can you ping:
- the ip of the router?
- the ip of www.google.com - 66.249.93.99?
- www.google.com?
The reason you get the hostname twice might very well be the work of the router - as it is your pcs dns, it might apart from forwarding normal queries, very well resolv hostnames for ip-numbers on your local net and when it doesn't know a hostname it just supplies the ip-address as hostname - thus you see the ip-number twice. You could always post the output here.
/Patrik
-
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
-
@dvvrue95:
Have you got the AE to work with AmiTCP yet? I'm having a bit of a same problem as you. I've got AmiTCP3.0b2 installed and configured. The stack starts up ok and I'm able to ping the router and i.e. www.google.com from the Amiga. I can also ping the Amiga from my PC. The AE starts ok when running it from Amiga side but when I start it from the PC, the AE on Amiga gives "Error initializing socket connection" and shuts down. The AE on PC then gives an error about TCP connection. The AE runs ok on Miami stack.
-
Amiga Explorer unfortunately does'nt work with AmiTCP 3.0b2 as it uses asynchronous sockets in a way which requires AmiTCP 4.0 or greater.
Send them a mail and ask them to apply support for 3.0b2 :).
If not, give smbfs a go. Just search the forum and you will find advice of how to use it.
/Patrik