Newsgroup: italia.jesi.linux
Titolo: Redhat Linux e ADSL (Alice)

Salve
Ho un pc (portatile... acer 512t .. di 366 mhz 256 di ram e 4.6 HD) che uso
con Redhat 7.3.
Vorrei sapere se qualcuno fosse riuscito a configurarlo ed usarlo con
Alice..
il modem è Ericsson HM120dp ma ovviamente tin lo fa solo per i windows e
mac.
esiste il driver..???
Ho il kernel 2.4.18-3 .. e config. Valhalla
Ciao
Anna
--------------------------------
Inviato via 
http://usenet.libero.it


Se cerchi su google trovi molto, io l'ho fatto sostituire con uno 
speedtouch usb che con Mandrake funziona benissimo, anche se bisogna 
configurarlo da soli dopo qualche semplice ricerca con il solito 
google... comunque e' stato qualche mese fa', prima di cambiarlo io 
proverei a cercare qualche driver alternativo per farlo funzionare, 
forse nel frattempo qualcuno e' riuscito a scriverne uno adatto.
ciao.


        # 08/05/2001 Updated. Added "novj" & removed "kdebug 7"
        #
        # This file could be rename but its place is under /etc/ppp/peers
        # To connect to Internet using this configuration file
        # pppd call adsl, where "adsl" stands for the name of this file
        debug
        kdebug 1
        noipdefault
        defaultroute
        pty "/usr/local/bin/pppoeci -vpi 8 -vci 35"
        sync
        user "adsl@adsl"
        noaccomp
        nopcomp
        noccp
        novj
        holdoff 1
        maxfail 0
        usepeerdns
        noauth
        #lcp-echo-interval 600
        #lcp-echo-failure 10
  3.2.2 TO DO :
   - if you are a Wanadoo customer:      replace:
                                         user "adsl@adsl"
                                         by:
                                         user " fti/your_login@fti"
   - if you are a club-internet customer: replace :
                                         user "adsl@adsl"
                                         by:
                                         user "your_login@clubadsl1"
   TIP on some Linux machines: If your first connections fail, look into
   /var/log/messages
   If pppd stops with a message containing LCP, then do this:
   in /etc/ppp/peers/adsl: UN-comment the last 2 lines concerning LCP.
  3.2.3 pppd authentication script
   Your password will be stored in an authentication script, which depends
   on the internet service provider you use:
   For Wanadoo :       /etc/ppp/chap-secrets
   For club-internet : /etc/ppp/pap-secrets
   Both scripts have exactly the same syntax. You must create a line like
   the following:
   For Wanadoo :       fti/your_login@fti * your_password *
   For club-internet : your_login@clubadsl1 * your_password *
   WARNING:
   - "*" are important.
   - the first field in the line MUST be equal to the content of the user
   line in the /etc/ppp/peers/adsl file
4 Connection procedure
4.1 Manual (to do for every Internet connection)
   3 connection posibilities depending on your distribution or your
   hardware:
   All distributions and a VIA or INTEL ChipSet:
     * rmmod usb-uhci
     * modprobe usb-uhci
     * mount -t usbdevfs none /proc/bus/usb
     * startmodem>log
   For a motherboard using an ALI Aladin chip:
   same procedure as above but replace references to usb-uhci
   by usb-ohci
   If you have Linux Mandrake 8.1, the following procedure
   should apply:
   /etc/rc.d/init.d/usb restart startmodem >log
   IMPORTANT (Mandrake special case):
   Mandatory modification of the startmodem file with Mandrake:
   replace the line: ppp call adsl
   by:               pppd call adsl
   IT DOESN'T WORK: If you don't get it surfing with one of these 3
   procedures, see chapter 5)
4.2 Automatic startup at Linux boot
   Will come with future version of the driver. Not needed while the
   driver is still Beta.
4.3 Automatic retry after hang up
   Will come with future versions of the driver. Not needed while the
   driver is still Beta.
5 Known problems and solutions
   To be filled: It is up to everybody: describe your problems and
   the solutions you found on the ML 
e...@ml.free.fr
 We will include
   them HERE.
5.1 The PPP connection is OK, I see ppp0 in ifconfig, but I can't go on
Internet
  5.1.1 Action 1 :
   Verify that your DNS are recognized: in /etc/resolv.conf there are 2
lines
   beginning with nameserver, currently:
   For wanadoo :
   nameserver 193.252.19.3
   nameserver 193.252.19.4
   For club-internet :
   nameserver 194.117.200.15
   nameserver 194.117.200.10
   If it is not the case, create these 2 lines in the file.
  5.1.2 Action 2 :
   do: nslookup 
www.wanadoo.fr
 if no answer and ppp0 is still in ifconfig:
   You probably have a routing problem:
   do route -n, it should output something like:
   Destination Gateway     Genmask   Flag  Metric Ref Use Iface
   127.0.0.0   0.0.0.0     255.0.0.0 U     0      0   0   lo
   0.0.0.0     212.194.0.1 0.0.0.0   UG    0      0   0   ppp0
   The last line is important, this is the default GATEWAY that enables you
   to go on Internet... If it is not there, no net, so you do in the shell:
   route add default dev ppp0
   And this should work fine.
5.2 pppd stops with error: LCP timeout
   Case 1 : you have a timeout problem on the PPP connection: Edit
   etc/ppp/peers/adsl Un-Comment the 2 last lines:
   lcp-echo-interval 600
   lcp-echo-failure 10
   Case 2 : you have an authentication problem (PPP doesn't always say it
   explicitly) Check your scripts:
   /etc/ppp/peers/adsl
   and
   /etc/ppp/chap-secrets (wanadoo) or /etc/ppp/pap-secrets (club-internet)
   => back to chapters: 3.2.1 and 3.2.2
5.3 You get this error message: Can't find your ECI Telecom USB ADSL Loader
  5.3.1 Error message
        [root@hwi usermode]# ./startmodem
        /proc/bus/usb: No such file or directory
        Can't find your ECI Telecom USB ADSL Loader
        ECI Load 1 : failed!
        /proc/bus/usb: No such file or directory
        Can't find your ECI Telecom USB ADSL WAN Modem
        ECI Load 2 : failed!
   If you get a message that looks like this, it means that you haven't
   mounted the usb file system.
  5.3.2 Solution
   mount -t usbdevfs none /proc/bus/usb
5.4 eci-load2 can't manage to synchronize // blocked at packet 259
  5.4.1 Problem
   The driver can't achieve synchronization, it must be restarted.
  5.4.2 Solution
   To restart the driver, we advise you to restart from the beginning,
   unpluging and pluging the modem back, you must then retype:
   ./startmodem
5.5 Update the potato (Debian potato) to kernel 2.4
   True, this is a little out of subject, but it may help those who want
   to test the driver. You will find the documentation to do this at this
   address: 
http://fs.tum.de/bunk/kernel-24.html
   Happy upgrade!
6 Contacts
   For any question, subscribe to the project mailing list by sending an
   empty email to 
eci-r...@ml.free.fr?subject=subscribe
 and then
   post your remarks or suggestions to 
e...@ml.free.fr
                          About this document...
   ECI USB-modem Linux driver HOWTO
   This document was generated using the [20]LaTeX2HTML translator
   Version 2K.1beta (1.50)
   Copyright © 1993, 1994, 1995, 1996, [21]Nikos Drakos, Computer Based
   Learning Unit, University of Leeds.
   Copyright © 1997, 1998, 1999, [22]Ross Moore, Mathematics Department,
   Macquarie University, Sydney.
   The command line arguments were:
   latex2html -split 0 -show_section_numbers howto howto.tex
   The translation was initiated by Florent MANENS on 2001-12-12
Speriamo vada tutto bene.
A presto.
Ciaoooo
Enrico wrote:


-- 
questo articolo e` stato inviato via web dal servizio gratuito 
http://www.newsland.it/news
 segnala gli abusi ad 
ab...@newsland.it