Lior Okman wrote:
Michael Ben-Gershon wrote:
I am having terrible problems getting my new ADSL modem set up under
linux. Let me try to describe my setup.
My old ADSL modem was an Alcatel SpeedTouch (supplied by Bezeq). The
new one is a SIEMENS SL2-141 (also supplied by Bezeq).
I have an internal network with a number of machines connected to a
Linux server. The server uses iptables to enable certain machines on
the local network (but not all of them) to connect to the internet
transparently. Of course, the iptables script also sets up a firewall.
The internal network is all on 192.168.1.x and I have given the modem
192.168.1.8 (yes, I have set up the new modem to have this IP address).
With the alcatel, I connected with pptp. I have a script which starts
or stops the pptp connection (ppp on or ppp off). ppp status gives me
the current status of the ppp connection). When a connection is up the
linux system runs its ip-up script which then calls my own ip-up.local
script. This script changes the DNS script named.ca to point to the
various internet root servers and then does a /usr/sbin/rndc reload.
It also puts chronyc into online mode. When a connection is down the
ip-down.local script puts chronyc into offline mode, sets named.ca to
point to a null script, and does a /usr/sbin/rndc reload. I wrote a
short graphical desktop utility which does the ppp on/ppp off
graphically, and shows the connection's status on the status bar.
With this setup, the linux server runs DNS and also DHCP (to allow us
to connect laptops to the network with a wireless bridge) and
everything works smoothly and transparently. Running a short script
allows or disallows internet access from certain computers on the
network.
However, on upgrading to the SIEMENS modem I find that I cannot get
things going. With the pptp script I get:
This is probably your problem. The Siemens modem is preconfigured by
Bezeq to act as a router. You need to connect to its web interface, and
change a few parameters, and then use pppoe from your linux machine,
instead of pptp.
In the "advanced->internet" page, edit the line where the VPI/VCI
parameter is "8/48", so that the protocol is "Bridge LLC/SNAP", instead
of what it is preconfigured with. After that, setup your linux machine
using pppoeconf. This will create a pppd configuration file in your
/etc/ppp/peers directory.
Thanks. I had reached the conclusion that I should probably be using
pppoe instead of pptp, but could not get that working either (see my own
followup). I shall now try your suggestion.
Michael Ben-Gershon
[EMAIL PROTECTED]
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]