[P-box] Speedtouch usb quick start [era: Re: Install ok]

Gianni Bianchini giannibi at firenze.linux.it
Sat Jan 1 21:28:30 CET 2005


Il sab, 2005-01-01 alle 12:59, Marco A. Calamari ha scritto:

> Perche' in privato ? Interessano forse la maggioranza della lista
>  e dovranno far parte dell'howto, per cui .....

Una nota veloce, sperando di poter mettere giu' qualcosa di piu' completo
anche sulle altre questioni legate alla pbox.

Il supporto usb su Xebian insieme con il modulo n_hdlc dovrebbero
essere gia' a posto, per cui dovrebbero essere sufficienti i seguenti
passi.

0) Installare il driver user space

apt-get install speedtouch

1) Prendere il file mgmt.o (o l'equivalente per windows) scaricato dal
sito dell'alcatel e contenente il firmware del modem e piazzarlo nella
directory /etc/speedtouch .

2) Prendere i due file "modem" e "startmodem" il allegato, copiarli in
/etc/init.d e renderli eseguibili

chmod a+rx /etc/init.d/modem
chmod a+rx /etc/init.d/startmodem

3) Prendere il file "speedtouch-pppoa" in allegato, copiarlo in
/etc/ppp/peers e modificarlo inserendo il nome utente dove indicato.

4) Compilare il file /etc/ppp/pap-secrets con nome utente e
password di accesso. Deve contenere la riga

TUO_NOME_UTENTE     *      TUA_PASSWORD

(n.b. gli spazi intorno al carattere * sono dei TAB).
Rendere leggibile il file dal solo utente root

chmod 600 /etc/ppp/pap-secrets

A questo punto dovrebbe essere possibile collegarsi dando da root il
comando 

/etc/init.d/modem start

Dopo questo comando il modem dovrebbe inizializzarsi e subito dopo
connettersi.

5) Se si richiede che il modem si connetta all'avvio della macchina,
linkare opportunamente lo script "modem" da /etc/rc2.d con il comando

update-rc.d modem defaults 16

Dovrebbe essere tutto, anche se molto abborracciato, sperando che
funzioni.

Ciao.
Gianni.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: modem
Type: application/x-shellscript
Size: 372 bytes
Desc: not available
URL: <http://lists.winstonsmith.org/pipermail/p-box/attachments/20050101/57a1caf2/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: startmodem
Type: application/x-shellscript
Size: 88 bytes
Desc: not available
URL: <http://lists.winstonsmith.org/pipermail/p-box/attachments/20050101/57a1caf2/attachment-0001.bin>
-------------- next part --------------
# ##########################################################################
#
# Automatically generated on Wed Oct 27 20:28:54 CEST 2004
# by ./speedtouch-setup for User space Speedtouch USB driver
#
# This file could be rename but its place is under /etc/ppp/peers
# To connect to Internet using this configuration file
# pppd call speedtouch-pppoa
#
# ##########################################################################

#
# Put your ISP login name here and update your chap-secrets
# (This example is a typical Wanadoo.fr login)
#

user TUO_NOME_UTENTE_PRESSO_IL_PROVIDER

#
# PPPoA3 daemon is the default one but you can use the old PPPoA2
#
# To help you for your choice :
#
# pppoa3 is multithreaded, has more features, has a better design.
# pppoa2 is simpler but is deprecated due to its limited design.
#
# pppoa2 is still in this driver set because BSD systems have a
# problem with usb+multithreading but all GNU/Linux systems should
# use pppoa3
#

#
# Comment only one of those pty option
#
# Don't forget to adapt the vpi.vci couple to your ISP/country settings
# Read the FAQ for some vpi.vci couples
#
# If you installed from a rpm or deb package the right path is /usr/sbin
# instead of /usr/local/sbin
#

pty "\"/usr/sbin/pppoa3\" -vpi 8 -vci 35"
linkname "speedtouch-pppoa"

#
# pppoa2 must run in sync mode, this option must be set.
#
# pppoa3 can run in either sync or async mode
#
# In order to use the async mode with pppoa3 :
#   - comment this option
#   - replace the pty "..." line with this one
#     pty "/usr/local/sbin/pppoa3 -a -c -m 1 -vpi 8 -vci 35"
#

sync

#
# We don't need a default ip, and we don't need the peer to auth itself
#

noauth
noipdefault

#
# We don't want to negociate compression schemes at all
#

default-asyncmap
noaccomp
nopcomp
noccp
novj

#
# We don't want to use proxy ARP
#

noproxyarp

#
# Makes pppd "dial again" when the connection is lost
#

persist

#
# pppd will try to connect "maxfail" times and wait "holdoff" seconds
# between each try.
#

holdoff 4
maxfail 1000

#
# Asks your ISP for its DNS ip
# (look at the /etc/ppp/resolv.conf)
#

usepeerdns

#
# Makes this ppp link the default inet route
# (route -n to check it)
#

defaultroute

#
# If something goes wrong try uncommenting this
#

debug
kdebug 1

#
# LCP requests are not mandatory plus they fail
# on some systems
#
#lcp-echo-interval 600
#lcp-echo-failure 10


More information about the P-box mailing list