Hi Lior, attached to this email is an updated version of the ADSL howto, covering what we know about the problem you ran into. In short, there are several kinds of orckit ADSL modems, one of whom works with Linux in the default configuration (pptp with the trivial patch) and one of whom requires a patched pptp and a patched pppd to (maybe) work. > Lior David wrote: > > Hello, > I have a problem connecting to the ADSL service from Linux. I have > tried everything I know and I simply can't get it to work. Maybe some > of the ADSL experts here will have an idea... -- mulix linux/reboot.h: #define LINUX_REBOOT_MAGIC1 0xfee1dead
HOWTO-ADSL-BEZEQ ---------------- Originally written by Dr. Daniel Arbel ([EMAIL PROTECTED]) Additions and clarifications by mulix <[EMAIL PROTECTED]> ver 1.0 Aug 2000 ver 1.0.1 Sep 2000 - corrections for pap authentication and stopping sessions. ver 1.0.2 Jan 2001 - changes after the beginning of commercial service. Ver 1.1 Jan 2001 - additions and clarifications by mulix added "note about different ADSL modems" added "where to get more help" (mulix) Ver 1.1.1 Jan 2001 - added note about pppd patch (mulix) DISCLAIMER: The info in this doc is based mostly on our own experiences. Use it at your own risk, and if you find any omissions or mistakes, please don't hesitate to let us know. INTRODUCTION ------------ This introduction describes the mechanism and specifics of the windows installation of the ADSL service. Bezeq do not officially support linux (although it is rumored that they might, in the yet-to-be-determined future) and therefore can provide no clue about how to connect a Linux box. Digging in Bezeq installation and reading this introduction will help you make the conclusions needed when connecting your Linux box. We describe here the details of the Orckit equipment. If you have ALcatel gear and it looks a bit different, try to use intuition... (I did not have the privilege to use Alcatel ADSL ..). 1) The communication between the ADSL unit and the computer is done by ethernet NIC (a regular network card. Bezeq will supply one to you, for an additional charge, or you can buy and install it yourself. Installing a network card is not covered by this ADSL-HOWTO, but is covered extensively elsewhere. TODO: add pointer to installing a NIC documentation) and it uses the following setup: network 10.0.0.0 mask 255.0.0.0 host: 10.200.1.1 adsl: 10.0.0.138 no dns, no domain , no gateway. (i did not try to move the host to 10.0.0.x and increase the mask). 2) Bezeq will install a peace of (junk?) software that connects automatically to their ADSL portal and activates your browser to show the main page. From there you can surf to the service selection and connect to your ISP. This is the front end hiding the things that actually take place: 3) A connection is established by dialing (yes, dial up just like with a "regular" modem) using the private network mechanism (VPN). If you want to set this up yourself, here are the steps: 1) Install ms virtual private network adapter (it might already be installed if Bezeq installed the ADSL in your computer). 2) Go to dial up networking and start the wizard to create a new connection. 3) For this connection, use Microsoft VPN adapter. 4) host name is "10.0.0.138 RELAY_PPP1". Don't write the quotes, and yes, it really is a space between '138' and 'RELAY'. 5) Once the connection icon is created, go to its properties and disable netbeui, ipx etc (these are various net protocols which you do not need for this type of connection) 6) Start the connection. the username is <your userid>@<ISP> (for guest access this will be guest@OXxxxxx where Xxxxx is your chosen ISP with its first character in upercase (i.e. Actcom ) the letter after the '@' is NOT zero . Note that guest access is not free of charge, and in fact VERY expensive. For non guest access to actcom, the username is username@IActcom. 'username' is obviously your actcom user name, notice the upper case 'I' and 'A' and lower case 'ctcom'. 7) If you receive a connection and are able to use it, you may go on to Linux installation. If not, try to search in the registry (search for 'wow') whether some details have been changed by Bezeq (most likely to change are the username and ISP strings). LINUX INSTALLATION (finally ... ------------------------------ You should have no problem installing a NIC for ADSL. Reduce the MTU to 1452 (run the command 'ifconfig eth0 10.200.1.1 netmask 255.255.255.0 mtu 1452'). Use a kernel with ppp support and latest pppd. The latest pppd version (currently 2.3.11) can be downloaded from ftp://cs.anu.edu.au/pub/software/ppp/ The equivalent of Microsoft VPN adapter is just the pptp program . get it from http://cag.lcs.mit.edu/~cananian/Projects/PPTP/ The current version is 1.02. Since pptp does not receive all the options as a command line parameter, you have to enter the RELAY_PPP1 parameter (see the introduction) into the source file. (is anyone out there willing to enhance this pptp s/w ? (i did- mulix)) : change line 212 in pptp_ctrl.c to: hton16(PPTP_WINDOW), 0, 0, 0, {"RELAY_PPP1"}, {0} (Alternatively, you can download an already patched pptp, with several more enhancements from http://www.pointer.co.il/~mulix/. I make no promises of keeping this pptp synchronized with the main pptp distribution, so use at your own risk ;) - mulix) Compile pptp. Read the pptp docs to see that you have pppd in the proper place. The authentication method is forced by the server. In order to cover both options (pap and chap) create 2 identical files: edit /etc/ppp/chap-secrets and /etc/ppp/pap-secrets to include proper lines like: "<username>@<ISP> "10.0.0.138 RELAY_PPP1" "<your password> In case you are not a registered user of any of the ISP you may select one of the guest accesses (which are VERY expensive!): "guest@OActcom" "10.0.0.138 RELAY_PPP1" "Bezeq" and finally, start a call: pptp 10.0.0.138 debug user xxx@ISP remotename "10.0.0.138 RELAY_PPP1" defaultroute netmask 255.0.0.0 mtu 1452 noauth If everything goes well you should be connected, and your networking will look something like that: # netstat -r -n Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 10.200.1.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth0 213.8.120.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 213.8.120.1 0.0.0.0 UG 0 0 0 ppp0 # ifconfig -a eth0 Link encap:Ethernet HWaddr 00:50:BF:0E:F6:A8 inet addr:10.200.1.1 Bcast:10.255.255.255 Mask:255.0.0.0 UP BROADCAST RUNNING MULTICAST MTU:1452 Metric:1 RX packets:51825 errors:0 dropped:0 overruns:0 frame:0 TX packets:56376 errors:0 dropped:0 overruns:0 carrier:0 collisions:109 txqueuelen:100 Interrupt:9 Base address:0xb000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:3924 Metric:1 RX packets:61 errors:0 dropped:0 overruns:0 frame:0 TX packets:61 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 ppp0 Link encap:Point-to-Point Protocol inet addr:213.8.120.98 P-t-P:213.8.120.1 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1452 Metric:1 RX packets:49753 errors:0 dropped:0 overruns:0 frame:0 TX packets:26973 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:10 Stopping a session should be done as follows: 1) down the ppp0: ifconfig ppp0 down 2) kill the pptp process: killall pptp NOTE ABOUT THE DIFFERENT ADSL MODEMS ------------------------------------ There are at least three different Orckit ADSL modems. You can differentiate between them by examining the version string the modem gives. So far, we know of the following modems: "Modem version 5.00.0.3 Orckit Release 2.0 , Version 4 (16:00 June 1 1999)" "Orckit ATUR3 version: Adsl 4.0.0.34, Data 4.9 (ATM), Based on Virata 6.3.0.9-full release (Jun 27 2000)" It appears that modems of the SECOND kind do NOT work with linux. If you try and connect with them, you will probably get the error "Error Making Call" from pptp. The patched pptp allows you to create the VPN tunnel with the modem, but we have not been able to connect successfully with it yet. The only absolute solution we found so far, is to ask Bezeq replace your modem to the first kind. A quick check which modem you have is that the first modem has two RJ-45 (data) connectors on the back, and the second kind has only one. Examining windows and linux pppd session negotiations shows that there are some different options. It is possible that patching pppd to emulate the windows ppp software (send the exact same options) will allow us to use the second modem with linux as well, but no one has done this patch to pppd yet. WHERE TO GO FOR HELP: --------------------- good luck, and if you have any problems, feel free to ask for support on linux-il, the mailing list dedicated to all things linux in israel. To learn more about linux-il, go to http://www.linux.org.il. You can also try asking on #iglu, on the efnet irc network.