TIP: Click on subject to list as thread! ANSI
echo: os2user-l
to: All
from: Herbert Rosenau
date: 2004-12-03 17:54:00
subject: Re: DSL router/modems (was What does Fixpack 8610 do?)

Kris Steenhaut schrieb:
> 
> 
> Herbert Rosenau schreef:
> 
> 
>>B   use a hardware router
>>
>> 
>>
> 
> I am already convinced the hardware solution is the better solution (for 
> me). All the more as nowadays an isdn-adsl router costs far less than my 
> sole isdn-adsl device 4 years ago.
> 
> 
>>The only difference between them is:
>>A needs the computer connected to internet needs to be
>>  up and running when another computer has to connect to internet
>>  in setup.cmd:
>>  ipgate ON  - the computer running ISDNPM/eCSConNet/injoy
>>               because the computer running the router is your gateway
>>  ipgate OFF - else
>> 
>>
> 
> Thanks. Now I do understand where this entry is meant for.
> 
> software solution: ipgate on.
> hardware solution: ipgate off.
> 
> Right?

Yes - but more correct: ipgate on: the computer running the gateway 
(the router to ther nets)
ipgate off: any coputer without running a gateway (router) itself.

> 
>>  When you owns more than one computer the computer having the
>>  software router running needs 2 ethernet network cards installed
>>  when you have DSL - else it will connect the internet through either
>>  modem or the ISDN card.
>> 
>>
> 
> My local net? What's that supposed to be?

Either the single computer you owns or all that matches the same 
network (e.g. 192.168.x.y, where 192.168.x is the whole net (netmask 
255.255.255.0 and y is the compiter number (1-254)).

192.168.x.* is the most common used local network. IPs of that net are 
RFC defined as unroutable by gateways. So they are named as private 
network.

> 
>>  lan0 (the first one) for your local net
>>  lan1 (the second one) for connecting the internet
>>
>> 
>>
> 
> Let's take a (my) real life situation: 1 main PC, onde laptop. Assuming 
> I can purchase that Zyxel we were speaking about, how do I fit in things 
> togheter?

That zyxel (like other routers) owns 2 addresses
1. local net (factory default: 192.168.1.1, netmask 255.255.255.0)
    as member of your local network
    (192.168.1.0, netmask 255,255,255.0)
2. another IP (you'll receive magically from your ISP
    when it goes online (the same as e.g. ISDNPM)

You has defined your local network during install (commonly while 
installing the networking during base install). In tcp/ip install you 
got asked for an IP address.

It's not clear if you have already DSL or not. So I'll descrive both now:

in case you are connected to internet now using a ISDN card:

Let the ISDN connected now as it is - but stop isdnpm/ecsconnet/injoy!
Remove it from startup folder (or startup.cmd). Becaue you may use it 
as backup in future. You can even left the cables alive.
Backup your \mptn\bin\setup.cmd (you may copy it back when you needs 
to use isdnpm... later).

Use the ethernetcard already connected. If you have none connected you 
needs one now! If you have already connected your notebook to your PC 
without a switch (that means the cable connects directly the PC and 
the notebook) remove the network cable from both and put it into a
drawer because it is useless from now on! If you use a already a 
switch to connect both computers you can disconnect the cable that 
connects the PC with the switch and connect directly to the router.
This makes things a bit easier for now.

When you have NO network card yet, it is time to go out into the next 
computer shop and buy:
1. a PCMIA network card for your notebook (except the notebook has a
    network card already)
2. 1 CAT5E network cable to connect the notebook to the router
    (except you owns one already, that is NOT a cross over cable!
    you will use the network cable coming with the router to connect
    to the PC.

connect the ethernet cable you got with the router to connect the 
network card with one of the 4 RJ45 connectors of the router. To 
connect the laptop to the router you needs another normal (NOT 
crossover) CAT5E network cable. You'll get it on any computer shop.
But Don't switch on the laptop yet.

Note: CAT5E cables available in different lengh! Get one (or 2) long 
enough to get your computers connected to the router. You can use 
cables up to 150m for that. In practice 1 to 20m would be long enough, 
0.5m will be definitely too short. Cables are available in different 
colors - but the colors are only relevant for your eyes to identify a 
connection only on the color of the cable. Technically no difference.

Note: Even as you can connect 2 computers directly using a crossover 
cable you can't use that kind of cable to connect to a router or 
switch (even as you can use it again connect router to switch or 
switch to switch when on both sites the uplink connection is not 
available.

When you needs to buy a network card: Avoid D-Link because D-Link has 
shown the last years that it is ignoring OS/2. So ignore D-Link. 
D-Link may mention OS/2 on the package - but be sure the driver coming 
with it will not work! There is NO other driver available for it.
The cheapest (and working) is NoName with Realtek chip on it.

http://pws.prserv.net/mckinnis/nicpak/
will help you to identify and find the best driver for your network 
card. You may even look into the package to find a network card before 
you buys one.

As you have now connected your PC to the router and the router to your 
DSL you have to do:

1. backup your \mptn\bin\setup.cmd
    close your software router! Remove it from
    startup folder/startup.cmd
2. edit it and change the line
    ifconfig lan0 192.168.x.y ...
    to look like
    ifconfig lan0 192.168.1.10 (or 192.168.0.10) depending
    on the documentation you got with your router.
    change ipgate on to ipgate off
    save
    wheras x is the network (zyxels says 1)
             it must be identical on each computer AND the router
           y is the ip of the computer
             it must be different on each computer and router
             I would say you uses 10 for the PC and
             11 for the notebook, 12 and so on for more.
    change the line
    route add default 192.168.1.1 (the address the documentation
    says it is the IP of your router).

    -----------sample setup.cmd-------
route -fh
arp -f
REM all computers need this:
ifconfig lo 127.0.0.1
REM change 15 to be different at all:
ifconfig lan0 192.168.1.15 netmask 255.255.255.0 metric 0 mtu 1500
REM this says where your router is and which IP it has
route add default 192.168.1.1
REM don't route, the gateway is: see line above:
ipgate off
    -----------end--------------------
3. run setup.cmd
    This is needed to reset the configuration of your network
    to the changed IP.
    ping 192.168.1.1 (the address the documentation of your router)
    to check that it works.
4. fire up mozilla and type the IP into the URL field
    fill out the upcoming dialog with the administrator name and
    password given by the documentation of your router to
    get the setup of it.
    Get your contract information (yor user id and password by hand!
    Go through the configuration assistent to setup your router
    according to the data your provider has given to you.
    When you knows nothing then ask your provider what
    your router needs - lie to him you are running linux!
    and you needs:
    - the IP (or name) of the nameserver he has assigned to you
    It is mostenly easy to fill out the questions the
    configuration assistent asks you because you've gotten
    documentation and/or it will give you interactive help.
5. let the router test if it can connect your provider
    when it works
6. switch to commandline
    ping your provider or other name you knows (e.g. ecomstation.com)
    Should work now.
7. connect the notebook to the router, boot
8. be sure setup.cmd looks like above (but replace the IP)
    change it when needed and run it.

Hint:
change config.sys to have the line
set USE_HOSTS_FIRST=1  (check if the line is already there!)
epm mptn\etc\hosts
---------\mptn\etc\hosts------
127.0.0.1             localhost
192.168.1.1           router
192.168.1.10          sol1                            # SOL
192.168.1.11          notebook                        # notebook
---------end--------------

this will allow you to give your computers (including the router 
symbolic names like the one in internet. In the sample above:
1. line localhost is the common name for the loopback
    many ip programs needs that to communicate inside a computer
    it is identical on each and any computer.
2. line give the route a name (here simple router)
3. line is the assignment of IP to name of the computer I'm typing now
4. line is the name of another computer in my private net
You can copy the file hosts unchanged to any computer of your net. 
When you gets another computer simply add a new line.

 From now on you can simply type
ping notebook
to ping your notebook when you have ipconfig 192.168.1.11 in setup.cmd
When you have setup other services like ftp or a WEB server like 
apache you can use the name too.
You can now simple type router or http://router in mozillas URL field 
to get the configuration of your router.

> 
> Can i presume the IP of the router is listed in the (a) manual?

Clearly, yes. Without that you would never be able to configure it. 
And you NEED to configure it after you've mounted it into your network.

> 
>>- a flag set that decides if your computer (router) gets
>>  its IP from your IP when dialing in or is static.
>>  Most ISP will give you a dynamic IP.
>>
>> 
>>
> 
> It's dynamic, that's what pppoe is about, isn't it?

No. PPPoE is only one type of physical protocol. It is the job of the 
router to translate ethernet (the physical protocol your local network 
uses) to PPPoE (the physical protocol DSL uses).

> 
> 
>>Hint: when you likes to save money but will spemd an extra amount for 
>>an hardware router you should decide if you needs really a DSL/IDSN 
>>router or a DSL router. The latter is much cheaper. You would get it 
>>in your local computer shop for significanly less than 100 Euro.
>>
>> 
>>
> 
> I do know, my telecom company made the suggestion. But then I'll loose 
> my second telephone number and a few other things I can't afford to loose.

Stop! DSL needs NO phone number - but practically ISDN connection.
When you own an ISDN connection you will loose one (or 2) ISDN phone 
lines while online over ISDN - but none with DSL.

So the question lefts open why will you buy extra money to have an 
router that uses ISDN beside DSL? DSL uses another frequency than ISDN 
- even as it is based on it. So you will be online with DSL and have 
all your ISDN lines free for phone - OR with a multi-connection router 
you asks for you would go into internet using ISDN eatiing one or two 
ISDN lines for it while you're online.

ISDN = connect using phone number. The phone number is needed to find 
the phone (analog or ISDN) of your provider. Your providers phone will
then connect you to internet.
DSL  = connect without phone number. DSL gts mixed up into the 
physical stream that exists on the cable. It is simply another way to 
send signals throuth the cable that starts on your hose and ends on 
the next telethone switch your phone company uses. There the signal 
gets filtered out of the phone line and into internet to your 
provider. That is what the splitter does on both ends.

> 
>>Hint: even if you have currently only ONE computer
>>- avoid USB!
>> 
>>
> 
> Doing it all the time as you might have noticed.
> 
> 
>>- avoid AVM (my provider internal newsgroups are full of problems with 
>>even under Windows).
>> 
>>
> 
> What's AVM?

A company selling windows modems, Windows DSL modems, routers and so on.

As you asks for:
Offer:
    ZyXEL Prestige 650HW-37                         EURO 211.86
    Delivery time: about 2 - 3 weeks

    ZyXEL Prestige 652HW-37			   EURO 348.35
    Delivery time: about 2 - 3 weeks

    LANCOM 1621 ADSL/ISDN
       ADSL + ISDN 2 channels, 4 port ethernet      EURO 647.--
    Delivery time: about 8 days
    see www.lancom-systems.de

    Router NETGEAR DSL Router+Modem
       ADSL + 4 port ethernet                       EURO 118.05
    delivery time: about 8 days

against prepayment, freight prepayed.
16% tax included. Bill included in package.

To order mail to info{at}pc-rosenau.de


-- 
Tschau/Bye

Herbert Rosenau                    eCS 1.2 Deutsch bestellen bei
EDV Beratung & Programmierung           http://pc-rosenau.de
Eichelsdorfer Str. 15
97461 Hofheim i.UFr.

Tel: 49-9523-502834
Fax: 49-9523-502823                     http://www.dv-rosenau.de/


------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/E8folB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

 To visit your group on the web, go to:
    http://groups.yahoo.com/group/os2user/

 To unsubscribe from this group, send an email to:
    os2user-unsubscribe{at}yahoogroups.com

 Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




---
* Origin: Waldo's Place USA Internet Gateway (1:3634/1000)
SEEN-BY: 633/267 270 5030/786
@PATH: 3634/1000 12 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.