Welcome, Guest. Please login or register.

Author Topic: TCP/IP Network help  (Read 2527 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline LindeTopic starter

  • Sr. Member
  • ****
  • Join Date: Mar 2004
  • Posts: 457
    • Show only replies by Linde
    • http://hata.zor.org/
TCP/IP Network help
« on: October 29, 2006, 09:16:25 PM »
Okay, so I installed drivers for my PCMCIA card and AmiTCP using this guide: http://www.acc.umu.se/~patrikax/amiga/guides/AmiTCP_Install/.

I think I've got it installed properly, but I know little about network configuration. I think the problem has to do with the ip adresses or something. Here's a pic of my network:

The router is connected to the internet of course, I forgot to draw that.

The Amiga is configured with the IP address 192.168.0.77 using 192.168.1.1 as its gateway. I don't know if it's correct, but I don't plan on connecting to the internet with it right now anyway. I tried changing it to the IP of the adapter in the PC it's connected to (192.168.0.251) but that didn't work at all. First of all I want to be able to ping my PC :(

Windows indicates that the cable is connected every time I start the amiga up, so I don't think it's the cable.

Any network gurus know what to do?  :-?
 

Offline LindeTopic starter

  • Sr. Member
  • ****
  • Join Date: Mar 2004
  • Posts: 457
    • Show only replies by Linde
    • http://hata.zor.org/
Re: TCP/IP Network help
« Reply #1 on: October 29, 2006, 09:38:11 PM »
Never mind, I got it working with CardPatch and CardReset :D
 

Offline alewis

  • Full Member
  • ***
  • Join Date: Jul 2006
  • Posts: 176
    • Show only replies by alewis
Re: TCP/IP Network help
« Reply #2 on: October 29, 2006, 10:31:15 PM »
Is your PC running ICS or some other form of Internet conenction sharing?
 

Offline xPhilx

  • Jr. Member
  • **
  • Join Date: Aug 2006
  • Posts: 97
    • Show only replies by xPhilx
Re: TCP/IP Network help
« Reply #3 on: October 30, 2006, 12:37:50 AM »
Hi, that's the same setup I have here nearly, only I have an Ariadne ii in an A4kd. I've been trying for the best part of today to connect to the internet through the pc. I can ping the 2nd NIC in the pc which the a4k connects directly to but only if I disable the pc's wifi NIC that connects to the router. I've enabled Internet Connection Sharing on the PC, I've turned my brain to spaghetti and I've been in deep dark places of XP64 pro no man should ever go alone.


....
Phil
 

Offline alewis

  • Full Member
  • ***
  • Join Date: Jul 2006
  • Posts: 176
    • Show only replies by alewis
Re: TCP/IP Network help
« Reply #4 on: October 30, 2006, 12:42:32 AM »
I have a horrible suspicion that ICS sharing is broken in XP, at least with wireless. It attempts to create a layer two bridge, to avoid routing. However, for some odd reason it then decides that the 2nd (connected to router/internet) NIC should have a seperate IP address, and that this IP adress should be the default gateway. And more often than not, it decides to assign the same IP address as the existing router....

This is plain daft. TBH, better to bite the bullet and use a wired connection from Amiga to router. Tried, tested, and works.
 

Offline xPhilx

  • Jr. Member
  • **
  • Join Date: Aug 2006
  • Posts: 97
    • Show only replies by xPhilx
Re: TCP/IP Network help
« Reply #5 on: October 30, 2006, 12:52:51 AM »
I won't let MS beat me, I WONT! ;^). In desperation I let the ICS wizard loose and it decided that it should set up a 2nd network between the 2nd NIC & a4k; 192.168.0.1. My head hurts too much now so I've thrown the towel at it till tomorrow. I just don't want to run a cable downstairs when there's a net connection sat right at the side of the miggy.
 

Offline trekiej

Re: TCP/IP Network help
« Reply #6 on: October 30, 2006, 05:59:42 AM »
Does anyone know if NIS(Network Information Service) or NFS(Network File System) is available for the amiga?  It exists for Linux.
 How about a clone?

Thanks.
Amiga 2000 Forever :)
Welcome to the Planar System.
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: TCP/IP Network help
« Reply #7 on: October 30, 2006, 07:21:44 AM »
The problem is that you have two interfaces on your PC and expecting it to act as a router, but both interfaces have IP addresses in the same IP range (192.168.0.x). Also, you have given your Amiga a gateway in the 192.168.1.x range, but this address is not in the range of its next hop on the network. The way you should configure it is to have 192.168.1.x on one side of the network (Amiga and Ethernet adapter on the PC) and 192.168.2.x on the other side (Router/Wifi/Wifi adapter on the PC). Then you have to configure the PC to route between 192.168.1.x and 192.168.2.x, and tell your router that if it wants to find the 192.168.1.x network it has to go through the IP address you give to the Wifi adapter on the PC.

Alternatively, just bridge the Ethernet and Wifi connections on the PC. It will then alocate one IP address to both, and automatically take care of the routing for you.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline alexatkin

  • Full Member
  • ***
  • Join Date: Aug 2006
  • Posts: 100
    • Show only replies by alexatkin
    • http://csdprojects.co.uk/
Re: TCP/IP Network help
« Reply #8 on: October 30, 2006, 07:49:50 AM »
AmiTCP comes already with NFS client support built-in.

NIS im not sure there would be any point as the Amiga doesnt have any multi-user support except in AmiTCP itself.  Im not quite sure how that works either but its less than practical.
 

Offline alewis

  • Full Member
  • ***
  • Join Date: Jul 2006
  • Posts: 176
    • Show only replies by alewis
Re: TCP/IP Network help
« Reply #9 on: October 30, 2006, 08:19:06 AM »
Neither will the PC... TBH, I'd then give everything an address in the 192.168.0.x range, to keep things simple (and if one is new to IP addressing, be able to follow many examples found on the net, without worrying about differences ebtween examples that use 192.168.0.x and ones own network using 192.168.1.x, but thats mho).

Quote
motorollin wrote:
The problem is that you have two interfaces on your PC and expecting it to act as a router, but both interfaces have IP addresses in the same IP range (192.168.0.x). Also, you have given your Amiga a gateway in the 192.168.1.x range, but this address is not in the range of its next hop on the network. The way you should configure it is to have 192.168.1.x on one side of the network (Amiga and Ethernet adapter on the PC) and 192.168.2.x on the other side (Router/Wifi/Wifi adapter on the PC). Then you have to configure the PC to route between 192.168.1.x and 192.168.2.x, and tell your router that if it wants to find the 192.168.1.x network it has to go through the IP address you give to the Wifi adapter on the PC.

Alternatively, just bridge the Ethernet and Wifi connections on the PC. It will then alocate one IP address to both, and automatically take care of the routing for you.moto


Thats the theory, but ICS for some reason doesnt always do this, and often will assign the same IP address to the bridged connection as already exists on the router interface... as I said, I'm sure it's broken. And thats before one runs into the permissions issue of access the properties page...!
 

Offline xPhilx

  • Jr. Member
  • **
  • Join Date: Aug 2006
  • Posts: 97
    • Show only replies by xPhilx
Re: TCP/IP Network help
« Reply #10 on: October 30, 2006, 10:40:50 AM »
Hi, this isn't my thread so I'll be quick, hope you don't mind Linde. I eventually got the a4k connected to the internet through the pc. I bridged the NICs and the IP has stayed at 192.168.1.X. I did try bridging at first but what threw me was the wifi nic icon would get a red cross and inform me it wasn't connected, I just pressumed that this wasn't right and removed the bridge.

Thanks,

....
Phil
 

Offline neuroflip

  • Full Member
  • ***
  • Join Date: Apr 2006
  • Posts: 200
    • Show only replies by neuroflip
    • http://a1200.wordpress.com
Re: TCP/IP Network help
« Reply #11 on: October 30, 2006, 12:46:19 PM »
i don't know if a lose something but.... if you connect directly amiga - router via ethernet you haven't to run ICS software...

you have to especify an IP that it isn't used at the same network range:

router IP: 192.168.1.1
PC IP: 192.168.1.30

Amiga IP: 192.168.1.31
Amiga network mask: 255.255.255.0
Amiga gateway (or destination IP or somthing else): 192.168.1.1

[http://a1200.wordpress.com (spanish)
a1200 + Bliz1260/50Mhz/64Mb + HD10Gb + a520 svideo mod + Wireless PCMCIA Elsa MC-11 + PCMCIA CF + Adaptator + CF 256Mb + a500 + 512Kb]
 

Offline LindeTopic starter

  • Sr. Member
  • ****
  • Join Date: Mar 2004
  • Posts: 457
    • Show only replies by Linde
    • http://hata.zor.org/
Re: TCP/IP Network help
« Reply #12 on: October 30, 2006, 08:50:02 PM »
Thanks, I could get internet on it, too, by bridging the connections like motorollin suggested. It's really slow though, I get around 1000 CPL with AmiFTP on the local network. Is that because of my amiga being slow (A1200 with 8MB RAM card, stock 68ec020) or am I doing something wrong?
 

Offline Zac67

  • Hero Member
  • *****
  • Join Date: Nov 2004
  • Posts: 2890
    • Show only replies by Zac67
Re: TCP/IP Network help
« Reply #13 on: October 30, 2006, 09:19:05 PM »
Why don't you spare yourself the pain and connect Amy directly to the router?
Bridging works entirely different to routing - it's definitely possible to use the same IP on both sides, since you'll have to spoof all remote IPs anyway...
I don't use M$ for network purposes at all - setup is a pain in the a**. AFAIK ICS only works for certain IP ranges...
 

Offline LindeTopic starter

  • Sr. Member
  • ****
  • Join Date: Mar 2004
  • Posts: 457
    • Show only replies by Linde
    • http://hata.zor.org/
Re: TCP/IP Network help
« Reply #14 on: October 30, 2006, 09:57:44 PM »
Do you think that the bridging is causing the slow speed?

The thing is that the router is pretty far away from my room. I don't want to move my amiga, and I DON'T want a long LAN cable through the whole house :)

I will move to a new house soon, and the previous owners have already put cables in the walls so all the rooms have wire access to the office (without cables laying around all over the floor).

But I still want to get the network going, because I'm pretty impatient with stuff like this :pissed: