[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fwd: A tutorial by me on how to convert the ADSL Speed-Touch Homemodem into a router that does NAT, if anyone is interested.]
- To: linux-il(at-nospam)cs.huji.ac.il
- Subject: [Fwd: A tutorial by me on how to convert the ADSL Speed-Touch Homemodem into a router that does NAT, if anyone is interested.]
- From: Alex Shnitman <alexsh(at-nospam)hectic.net>
- Date: 31 Dec 2001 11:37:17 +0200
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
This may be interesting to some people.. Maybe there's a place for this
in the ADSL HOWTO too, I don't know. What do you think?
-----Forwarded Message-----
From: shimi <shimi@shimi.biz>
Subject: A tutorial by me on how to convert the ADSL Speed-Touch Home modem into a router that does NAT, if anyone is interested.
Introduction:
Q: Why?
A: (1) Because there is no sense "dialing" into a permanent connection.
(2) Because if you want to connect several machines, you don't need a
"master" one to "share" the connection.
Q: How can you do that?
A: Using PPP instead of PPTP. Having the modem itself connect to the ISP
when you power it on.
Problem: That feature exists only in the "Pro" edition, not "home".
What to do, then?
Answer: Yeah, that's true. The funny thing is, that the modems are
actually identical (home&pro), and just use a different set
of commands. That's cheaper to manufactor, I guess.
All we have to do is make our modem use the "Pro" software.
Not really that hard :-)
Get to action:
(1) We have to make our modem "Pro" instead of "Home" edition.
(a) telnet into the modem:
$ telnet 10.0.0.138
(b) it will prompt for a username. just hit enter.
(c) you'll see the alcatel adsl "motd".
(d) go into expert mode. type: "EXPERT" (in CAPITAL letters)
(e) the modem will reply with a string containing it's MAC address.
(f) it will prompt for a password. copy the 'SpeedTouch...' string.
(g) go to http://security.sdsc.edu/self-help/alcatel/challenge.cgi
(h) say "yes" for everything, and put your string there.
(i) it will then show you your expert password. put it in the telnet session
(j) you are now in expert mode. try doing exactly what I say from now on :-)
(k) rip <enter> (the prompt should change to "rip>")
(l) drv_read 2 1 b <enter> (should reply: "the data in hex is: 8604")
(m) drv_write 2 1 b 8606 <enter> (we updated the software version.
the "rip>" prompt returns with nothing after our command to
approve it.
(n) we need to restart the modem for changes to take effect.
we type "exit" <enter> to leave rip.
we type "system" <enter> to enter the modem maintainance mode
we type "reboot" <enter> to restart the unit.
(o) Although your modem is labeled "Speed Touch Home", it's now a
"Speed Touch Pro" (and worths some more money...) :-)
2. Defining your own computer to use the modem as a gateway.
Use the following settings: (up to 253 computers on the same modem)
IP address: 10.0.0.x (x!=0 && x!=138 && x!=255)
Network Mask: 255.255.255.0
Default Gateway: 10.0.0.138
Primary DNS: ISP's Primary DNS
Secondary DNS: ISP's Secondary DNS
WARNING: Before proceeding to step 3, MAKE SURE your VPN (PPTP) connection
is currently OFF!!!!!!
3. Now we need to do the actual modem dialing, PPP configuration, and the
like. Note, that not always the menu buttons I'll mention will appear.
I that case, just re-enter to the web interface again and again until
it will show up (usually 2-3 times are enough :-))
(a) log in to the web interface with your browser: http://10.0.0.138
(make sure you're not proxying the request....)
(b) click on the "PPTP" button. you'll have many entries there. wipe them all.
click on "Apply" and after that, on the "Save all" menu button.
(c) click on the "Phonebook" button. you'll have entries there. wipe them all.
click on "Apply" and after that, on the "Save all" menu button.
(d) add a new phonebook entry with the following settings:
Name: "MXS" (capitals)
Type: ppp
VCI: 48
VPI: 8
(e) "Apply" and "Save all" once again.
(f) click on "PPP".
(g) create a new entry for MXS, with type: vc-mux
(h) edit the entry:
(ha) User: username@IISP (e.g. bla@INetvision)
(hb) Pass: password provided by ISP
(hc) Connection Sharing: "Everybody"
(hd) Destination Networks: "All Networks"
(he) Specific Network: <leave blank>
(hf) NAT-PAT: Enabled
(hg) Primary DNS: ISP's Primary DNS Server (NOT YOURS! IMPORTANT!)
(hi) Secondary DNS: ISP's Secondary DNS (NOT YOURS! IMPORTANT!)
(hj) Local IP: "none" (don't blank it)
(hk) Remote IP: "none" (don't blank it)
(hl) Mode: "Always-On"
(hm) Idle time limit: <leave blank>
(hn) LCP Echo: Enabled
(ho) PAP: Disabled
(hp) ACCOMP: Enabled
(i) "Apply" "Save all"
(j) Click on "PPP". Change the status of "MXS" to "On". "Apply" "Save all"
(k) Click on "PPP" again. It should say "trying" for the connection.
It should switch to "up" within 1 minute or so. If not, you
defined SOMETHING wrong. Check up yourself :-)
The end. (Now define your machines with 10.0.0.1, 10.0.0.2 etc, and they
will all have internet connectivy the second they go up, through your
ADSL. Have fun!!!!)
- shimi.
--
Best regards,
Shimi
----
"Outlook is a massive flaming horrid blatant security violation, which
also happens to be a mail reader."
"Sure UNIX is user friendly; it's just picky about who its friends are."
Sign that you downloaded Linux from a bad source:
"My compiler keeps hanging on NSABackdoor.h !!!"
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il