ADSL-FLATSHARE-HOWTO (UK)

Overview

What you need

Itemapprox price (inc VAT)
Alcatel SpeedTouchPro99 (special offer)
ADSL filters8/each
NETGEAR 4port Hub21
Cheap network card (10Mbit)15
Telemaster RJ45 Tool33
8W Data Plugs, RJ450.40/item
cat 5 UTP patch cable, 100M reel30
...and of course a drill with the appropriate drill bits. 10mm is appropriate. The cables and the plugs you get, for example, from RS. For the ADSL-equipment you should use a uk retailer. I got the modem from DSLsource. The network card depends on your computer. However, a very cheap no-name 10Mbit chard will do. Probably you get it second hand since the 100Mbit cards become more and more popular.

ADSL-filters

For every telephone connection in your flat-share you need an ADSL-filter. This filter splits the ADSL-signal into the normal telephone signal and the ADSL signal. So, the good news is that you can still talk with your friends on the phone while you are in the chat-room :-). The bad news is that you need for any telephone device (answering machine, FAX, ...) such a filter. The filters have usually to be ordered separately.
ADSL-filter
Note this elegant installation of the ADSL filter upstairs. Since the modem is downstairs there is only the output for the telephone in use.

ADSL-modem

The output of one of the ADSL filters goes into the ADSL-modem. The cable between the ADSL-filter and the modem comes together with the modem. We have a SpeedTouch Pro:
The Speedtouch pro
This is really a professional installation and prooves that the flatshare has only very creative people (especially the bracket :-).

The hubs

The ALCATEL SpeedTouch-pro has a twisted pair Ethernet as an output and goes from its output to 2 hubs which we have cascaded. One for downstairs and one for upstairs. The hubs are 2 4-port 10Mbit NETGEAR hubs:
The hub
The hub is the device in the middle. :-)
It is important that the modem is connected with the port one of the hub and that the switch at the hub is set to "uplink". The same applies to the connection between the 2 hubs.

Home-baked RJ45 cables

The cables are called "category 5 unshielded twisted pair cables" or shorter "cat 5 UTP". Use so called UTP patch cables. These cables are flexible in contrast to the "normal" cables.

The connectors are called RJ-45:
RJ-45 plug
and are attached to the cable by a special tool, called termination tool:
The Termination tool waiting for it task
Actually the tool is the thing on the left. :-)
You need this tool to strip the cable and to crimp the connector.

The wiring is quite simple if you obey the order of the colours. The cables between the SpeedTouch Pro, the hubs and the computers are so called twisted pair cables and consist of 4 pairs of wires. Each pair is coded by a solid colour and by the same colour in a striped pattern...
...howwever, the order at the connector is:
Orange white, Orange, Green white, Blue, Blue white, Green, Brown white, Brown
RJ-45 plug
RJ-45 plug


The termination-tool in active use :-)

Modem configuration (SpeedTouch Pro)

The modem is reachable via any web-browser under the internal address:
http://10.0.0.138

Phonebook

Your provider gives you the necessary information.
Phonebook

PPP

PPP

PPP configuration

These infos are provided by the provider. In this case it is freedom2surf.
PPP configuratiom

DHCP

The modem must be the DHCP-server so that the clients get their IP-addresses and the DNS automatically.

Client-configs

In general, the clients connect via DHCP (dynamic host configuration protocol) to the SpeedTouch Pro. This makes the configuration extremely easy.

SuSE Linux (7.x)

Become root ("su") and call yast. Goto "System Administration", "Network configuration" and "Network base configuration":

Press "F3" or "3" for the auto IP settings

and choose "DHCP". To save the settings press "F10" or "10" (sometimes F10 doesn't work).

Have a look at the file "/etc/rc.config" if the dhcp-client is enabled.

Now you can reboot your machine or type "/etc/init.d/dhclient restart".

Make sure that the file "/etc/resolv.conf" is writable and that the dhcp-demon is allowed to change the file. This is set in the file: "/etc/rc.config.d/dhclient.rc.config".

Windows ME

If you set everything to "automatic" it should work...

Windows 98

The same applies to WIN98 with the exception that after the initial installation no DHCP requests were sent out. Removing the network card and then installing it again resolved the problem.

Server-config (if you want one)

If you have been given a static IP-address by your service-provider you can set up a server. A server is a computer which responds to all incoming requests like web-pages, ftp, mail and other services. Thus, you can set up your own web-page at home and maintain it there. The server's IP-address is assumed of being 10.0.1.1. So make shure that the automatic DHCP (see above) does not assign this address to other computers in the net. This best thing is to add the address of the server manually by going on to the DNS-web-page of the modem (http://10.0.0.138).

ADSL-Modem

Go to the command-line (MS-DOS or a UNIX-terminal) and type "telnet 10.0.0.138". This gets you to the command-line-interface of the modem. The following is an example-session how to direct all http-requests to the server at 10.0.1.1. The http-protocol uses the port number 80 of the tcp-protocol (the other numbers you can get from the file /etc/services under UNIX/LINUX):
/home/bp1> telnet 10.0.0.138
Trying 10.0.0.138...
Connected to 10.0.0.138.
Escape character is '^]'.
User :
SpeedTouch (00-90-D0-32-45-6D)
Password : ########
*
*                             ______
*                         ___/_____/\
*                        /         /\\ ALCATEL ADSL MODEM
*                  _____/__       /  \\
*                _/       /\_____/___ \   Version 3.2
*               //       /  \       /\ \
*       _______//_______/    \     / _\/______ Copyright 1999-2000.
*      /      / \       \    /    / /        /\
*   __/      /   \       \  /    / /        / _\__
*  / /      /     \_______\/    / /        / /   /\
* /_/______/___________________/ /________/ /___/  \
* \ \      \    ___________    \ \        \ \   \  /
*  \_\      \  /          /\    \ \        \ \___\/
*     \      \/          /  \    \ \        \  /
*      \_____/          /    \    \ \________\/
*           /__________/      \    \  /
*           \   _____  \      /_____\/
*            \ /    /\  \    /
*             /____/  \  \  /
*             \    \  /___\/
*              \____\/
*
-----------------------------------------------------------------------
=>nat
[nat]=>create
protocol = tcp
inside_addr = 10.0.1.1
[inside_port] = 80
outside_addr = 0.0.0.0
[outside_port] = 80
[nat]=>save

Note that it is VERY important to say "0.0.0.0" for the outside address. Don't use the address provided from your service-provider. Otherwise the config will not be saved and after a power-failure the config is gone.

Server

We used SuSE 7.3 which we updated via the internet (especially the web-server apache and the ssh). The computer is a Pentium 65 (!) with 1GB of hard-disk space. With an installation without graphical support we have 500MB free for our purposes. As most of the flatmates are only able to operate Windows SAMBA is installed as well. This is the config-file "/etc/samba/smb.conf":
[global]
        log level = 3
        map to guest = bad password
        netbios name = SERVER
        workgroup = WORKGROUP
        os level = 2
        kernel oplocks = No
        security = share
        encrypt passwords = yes
        guest account = wwwrun
        browseable = yes
        guest only = yes
        null passwords = yes


[www]
        comment = Homepage of our Server
        path = /usr/local/httpd/htdocs/
        locking = Yes
        browseable = Yes
        guest only = yes
        writeable = yes
        user = wwwrun
        security = share


[cgi]
        comment = CGI-dir of our Server
        path = /usr/local/httpd/cgi-bin/
        locking = Yes
        browseable = Yes
        guest only = yes
        writeable = yes
        user = wwwrun
        security = share


[homes]
        writeable = yes
        locking = Yes
        browseable = Yes
        guest only = no
        writeable = yes
        security = user

This means that everybody has access to the main directory of the web-server and to the cgi-bin. This should be ok as long as the modem does not allow samba-access from the outside and you trust you mates. :-) However, the home-directories are only accessible by valid users (given a password with "smbpasswd").

Useful links


Bernd Porr & Annette Schledz
Last modified: Thu Jun 27 12:55:50 BST 2002