Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #171225

Re: A minimalist network

From Henrique de Moraes Holschuh <hmh@debian.org>
Newsgroups linux.debian.user
Subject Re: A minimalist network
Date 2016-08-18 01:30 +0200
Message-ID <s7irv-89R-1@gated-at.bofh.it> (permalink)
References <s7aki-2lb-13@gated-at.bofh.it> <s7aNk-2LP-5@gated-at.bofh.it> <s7gg1-6ET-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 17 Aug 2016, Richard Owlett wrote:
> On 8/17/2016 10:09 AM, Darac Marjal wrote:
> >>The Debian machine is having various configurations of Jessie
> >>installed. Consider it a laboratory experiment. It can have
> >>multiple installs in a day. It intentionally has *NO* internet
> >>connectivity. It has a small partition set aside for
> >>preseed.cfg and miscellaneous scripts.
> >>
> >>The second machine is running WinXP Pro SP3 and serves as
> >>source of preseed and script files.

Too bad it is WinXP, otherwise you'd have instant connectivity via IPv6
SLAAC.

> >If you're connecting the two machines with a single cable, then
> >either the cable needs to be a "cross-over" ethernet cable, or

Gigabit ethernet uses all wires on both directions at the same time
(well, at least 1000BASE-T does) using quite advanced line coding and
echo cancelation to get away with it.  It doesn't need (or want), a
cross-over cable.

A straight CAT-5e, CAT-6 or CAT-6A patch cable will do (assuming the
cable is *good*, and not bargain-bin defective junk that would never
pass certification).

> >one or other other the devices needs to support "Auto-MDI/MDIX".
> >Support for that was patchy in 10M/100M devices but it mich more
> >common in Gigabit Ethernet devices.
> 
> I'm using Lenovos - a T43 and a R61, each with Gigabit interface.

The T43 can't do 1 Gbit/s easily due to the relatively slow Pentium-M
processor, but should be able to do 400~600 Mbit/s (using Linux, anyway.
No idea about WinXP).

That T43 will be able to go twice as fast (maybe even saturate the
gigabit ethernet link) on larger transfers if you kick the MTU up to
9000 bytes on *both* devices (Debian and WinXP), but this is more
advanced stuff I suggest you leave for later.

> >Once you've got the physical layer sorted (that is, green blinky
> >lights on both machines), then the rest of the configuration
> >should be much the same as any network:
> >* Either give the hosts unique, static IPs OR
> >   Run a DHCP server on one of the machines
> >* Either refer to the hosts by IP address OR
> >   Run a DNS server on one of the machines OR
> >   Write the hostnames in /etc/hosts
> >(%SYSTEMROOT%\system32\drivers\etc\hosts on windows)
> 
> Ahh the question is HOW <chuckle>
> Bought Cat6 straight thru cable. Neither machine has a light to blink, but
> both reacted indicating cable present - but no communication established
> YET.

You could install isc-dhcp-server on the Debian side, and configure it
to serve dynamic IPs.  The WinXP side will ask for an IPv4 address and
get it from the Debian box.  But that's going to be annoying unless you
do the extra step of anchoring the WinXP IP by configuring its MAC
address in the isc-dhcp-server config file.

It would be easier to use static IPs in both sides.  The how-tos for
Windows XP will be accurate enough for that.  Use, e.g., 192.168.55.10,
with a netmask of 255.255.255.0 for the Debian box, and 192.168.55.20
for the WinXP box, with the same netmask.  You don't need a gateway.

The static IPs can be configured in Debian by editing
/etc/network/interfaces,  "man interfaces" will tell you more.

If you want to transfer files properly or mount remote drives from one
computer to the other, install the "samba" package in the Debian side.
The "samba" documentation at samba.org is really good and should be
enough to tell you how to configure it (expect to spend some time on
this).

That should be enough to get you going, and you will learn a *lot* from
this.  Good luck.

-- 
  Henrique Holschuh

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-17 16:50 +0200
  Re: A minimalist network Darac Marjal <mailinglist@darac.org.uk> - 2016-08-17 17:20 +0200
    Re: A minimalist network Miles Fidelman <mfidelman@meetinghouse.net> - 2016-08-17 17:40 +0200
      Re: A minimalist network David Wright <deblis@lionunicorn.co.uk> - 2016-08-17 19:00 +0200
      Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-17 23:20 +0200
        Re: A minimalist network Miles Fidelman <mfidelman@meetinghouse.net> - 2016-08-17 23:50 +0200
          Re: A minimalist network Brian <ad44@cityscape.co.uk> - 2016-08-18 00:10 +0200
            Re: A minimalist network Miles Fidelman <mfidelman@meetinghouse.net> - 2016-08-18 00:40 +0200
        Re: A minimalist network Lisi Reisz <lisi.reisz@gmail.com> - 2016-08-18 01:20 +0200
          Re: A minimalist network Henrique de Moraes Holschuh <hmh@debian.org> - 2016-08-18 01:50 +0200
          Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-19 14:00 +0200
            Re: A minimalist network Joe <joe@jretrading.com> - 2016-08-19 18:40 +0200
        Re: A minimalist network David Christensen <dpchrist@holgerdanske.com> - 2016-08-18 03:30 +0200
          Re: A minimalist network Jonathan Dowland <jmtd@debian.org> - 2016-08-19 10:20 +0200
    Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-17 23:10 +0200
      Re: A minimalist network Lisi Reisz <lisi.reisz@gmail.com> - 2016-08-17 23:20 +0200
        Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-18 00:40 +0200
          Re: A minimalist network Miles Fidelman <mfidelman@meetinghouse.net> - 2016-08-18 00:40 +0200
      Re: A minimalist network Miles Fidelman <mfidelman@meetinghouse.net> - 2016-08-17 23:20 +0200
        Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-18 00:30 +0200
          Re: A minimalist network Dan Ritter <dsr@randomstring.org> - 2016-08-18 00:50 +0200
          Re: A minimalist network David Christensen <dpchrist@holgerdanske.com> - 2016-08-18 03:30 +0200
            Re: A minimalist network Miles Fidelman <mfidelman@meetinghouse.net> - 2016-08-18 04:00 +0200
              Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-18 14:20 +0200
          Re: A minimalist network Andy Smith <andy@strugglers.net> - 2016-08-18 12:40 +0200
            Re: A minimalist network David Wright <deblis@lionunicorn.co.uk> - 2016-08-18 22:10 +0200
            Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-19 14:10 +0200
      Re: A minimalist network rhkramer@gmail.com - 2016-08-17 23:40 +0200
        Re: A minimalist network Miles Fidelman <mfidelman@meetinghouse.net> - 2016-08-17 23:50 +0200
          Re: A minimalist network rhkramer@gmail.com - 2016-08-18 01:30 +0200
        Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-18 00:50 +0200
      Re: A minimalist network Henrique de Moraes Holschuh <hmh@debian.org> - 2016-08-18 01:30 +0200
        Re: A minimalist network Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-08-18 13:00 +0200
          Re: A minimalist network David Wright <deblis@lionunicorn.co.uk> - 2016-08-18 19:10 +0200
          Re: A minimalist network Reco <recoverym4n@gmail.com> - 2016-08-18 19:20 +0200
            Re: A minimalist network Brian <ad44@cityscape.co.uk> - 2016-08-18 19:40 +0200
            Re: A minimalist network Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-08-18 20:00 +0200
  Re: A minimalist network "der.hans" <deb-user@LuftHans.com> - 2016-08-17 17:20 +0200
    Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-17 22:50 +0200
      Re: A minimalist network Lisi Reisz <lisi.reisz@gmail.com> - 2016-08-17 23:30 +0200
        Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-18 14:10 +0200
          Re: A minimalist network Lisi Reisz <lisi.reisz@gmail.com> - 2016-08-18 16:50 +0200
            Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-19 14:00 +0200
  Re: A minimalist network Brian <ad44@cityscape.co.uk> - 2016-08-17 23:40 +0200
    Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-18 00:50 +0200
      Re: A minimalist network Brian <ad44@cityscape.co.uk> - 2016-08-18 01:10 +0200
      Re: A minimalist network Miles Fidelman <mfidelman@meetinghouse.net> - 2016-08-18 01:40 +0200
  Re: A minimalist network David Christensen <dpchrist@holgerdanske.com> - 2016-08-18 03:10 +0200
    Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-18 16:00 +0200
      Re: A minimalist network Brian <ad44@cityscape.co.uk> - 2016-08-18 16:10 +0200
        Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-19 14:50 +0200
          Re: A minimalist network <tomas@tuxteam.de> - 2016-08-19 15:10 +0200
            Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-19 15:50 +0200
              Re: A minimalist network David Wright <deblis@lionunicorn.co.uk> - 2016-08-19 19:50 +0200
          Re: A minimalist network Brian <ad44@cityscape.co.uk> - 2016-08-19 16:00 +0200
            Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-19 16:00 +0200
              Re: A minimalist network Lisi Reisz <lisi.reisz@gmail.com> - 2016-08-19 17:00 +0200
                Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-19 19:40 +0200
                Re: A minimalist network Brian <ad44@cityscape.co.uk> - 2016-08-19 21:20 +0200
                Re: A minimalist network Mike McClain <mike.junk@copper.net> - 2016-08-20 08:40 +0200
                Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-20 13:30 +0200
          Re: A minimalist network Andy Smith <andy@strugglers.net> - 2016-08-20 22:00 +0200
      Re: A minimalist network rhkramer@gmail.com - 2016-08-18 17:10 +0200
        Re: A minimalist network Henrique de Moraes Holschuh <hmh@debian.org> - 2016-08-18 17:30 +0200
          RE: A minimalist network Bonno Bloksma <b.bloksma@tio.nl> - 2016-08-19 12:20 +0200
        Re: A minimalist network Lisi Reisz <lisi.reisz@gmail.com> - 2016-08-18 17:40 +0200
        Re: A minimalist network Tim McDonough <tmcdonough@gmail.com> - 2016-08-18 17:50 +0200
        Re: A minimalist network David Wright <deblis@lionunicorn.co.uk> - 2016-08-18 18:10 +0200
          Re: A minimalist network Joe <joe@jretrading.com> - 2016-08-18 19:00 +0200
      Re: A minimalist network Lisi Reisz <lisi.reisz@gmail.com> - 2016-08-18 17:40 +0200
      Re: A minimalist network David Christensen <dpchrist@holgerdanske.com> - 2016-08-18 21:00 +0200
        Re: A minimalist network David Wright <deblis@lionunicorn.co.uk> - 2016-08-18 21:30 +0200
        Re: A minimalist network David Wright <deblis@lionunicorn.co.uk> - 2016-08-18 21:40 +0200
        Re: A minimalist network Charlie Kravetz <cjk@teamcharliesangels.com> - 2016-08-18 22:40 +0200
          Re: A minimalist network Lisi Reisz <lisi.reisz@gmail.com> - 2016-08-18 23:20 +0200
            Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-19 15:00 +0200
              Re: A minimalist network Lisi Reisz <lisi.reisz@gmail.com> - 2016-08-19 16:00 +0200
                Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-19 16:10 +0200
                Re: A minimalist network Lisi Reisz <lisi.reisz@gmail.com> - 2016-08-19 16:50 +0200
                Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-19 20:00 +0200
                Re: A minimalist network Miles Fidelman <mfidelman@meetinghouse.net> - 2016-08-19 17:50 +0200
                Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-19 20:10 +0200
          Re: A minimalist network Brian <ad44@cityscape.co.uk> - 2016-08-18 23:20 +0200

csiph-web