How to setup a LAN with a switch

Discussion in 'Windows Networking' started by Chip, Feb 12, 2006.

  1. Chip

    Chip Guest

    Dear all,

    I have three pcs running Win 98SE, Win XP and Knoppix (Debian Linux).
    Each machine is equipped with a NIC card.

    I also have a 5 ports switch I can use. Three Cat 5 cables.

    I want to setup a LAN where both the Windows machines can access the
    Linux box via Telnet and FTP.

    I connected all 3 pcs to the switch with the straight thru cat 5
    cables.

    So what is the next step?

    Rgds,
    Chip Ling
     
    Chip, Feb 12, 2006
    #1
    1. Advertisements

  2. Chip

    daytripper Guest

    Install TCPIP support on all systems, then configure them to use static,
    private IP addresses (eg: in the 192.168.1.* space) with a netmask of
    255.255.255.0. Reboot everyone and - firewall actions excepted - you should be
    able to ping each node from all of its neighbors.

    If you have the required applications installed on the Windows systems, they
    should be able to ftp and telnet to your Linux box at that point, as long as
    incoming access priv's allow...
     
    daytripper, Feb 12, 2006
    #2
    1. Advertisements

  3. Chip

    Chip Guest

    Thanks for the info. I am testing with just two machines at this point.
    The windows xp one and the Linux one.

    Now I can ping to each other but cannot do anything further. (i.e. ftp
    nor telnet)

    Here are the error message I got from both machines

    1. run ftp from windows xp and try to connect to the Linux box:
    "connect: unknown error number"

    2. run ftp from Linux box and try to connect to the windows xp:
    "connect: connection refused"

    3. run telnet from windows xp and try to connect to the Linux box:
    "could not open connection to the host, on port 23: connect failed"

    4. run telnet from Linux and try to connect to windows xp: "telnet:
    unable to connect to remote host: connection refused"

    Anyone has any idea what I was missing?
     
    Chip, Feb 16, 2006
    #3
  4. Chip

    KW Guest

    Now I can ping to each other but cannot do anything further. (i.e. ftp
    nor telnet)


    Here are the error message I got from both machines


    1. run ftp from windows xp and try to connect to the Linux box:
    "connect: unknown error number"

    Are you running an FTP server on the Linux box? Running any
    firewall daemon?

    2. run ftp from Linux box and try to connect to the windows xp:
    "connect: connection refused"

    Is the Windows XP box running an FTP Server? Also, is this XP box
    SP2? IS the firewall running?

    3. run telnet from windows xp and try to connect to the Linux box:
    "could not open connection to the host, on port 23: connect failed"

    Same questions as above...

    4. run telnet from Linux and try to connect to windows xp: "telnet:
    unable to connect to remote host: connection refused"

    Same questions as above....

    Anyone has any idea what I was missing?


    For each service you are wanting to use (telnet, FTP, etc.), you have
    to ensure that you have an application or service (daemon in the Linux
    world) that is listening for those connections and will answer them.
    Also, you need to make sure that you aren't running a firewall on the
    hosts that would prevent the communication.
     
    KW, Feb 24, 2006
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.