Imam ADSL modem "Sagem fast 800-840" koji u vindouzu radi sasvim korektno, i mada deklarativno podrzava i Linuks ipak imam problema da ga konfigurisem ispravno. Na masini je instlran "Slackware 10.2" sa jezgrom 2.4.
Na pratecem CD-u postoji uputstvo koje korak po korak objasnjava proceduru instaliranja upravljackog programa (modula za jezgro i ostalih datoteka) koji se nalazi u istom direktorijumu. Uputstvo je relativno kratko i najveci deo dokumenta zauzimaju slike konzole, pa cu ga preneti ovde:
Citat:
Installation of driver USB under linux
Distributions Mandrake, Fedora Core, SuSE
This document explains step by step the installation of the module eagle-usb
v1.9.9 of the task force eagle-usb.org, a patch Sagem must be applied there to
make this driver compatible with the modems eagle III
Necessary
The installation must be carried out by having the rights of the administrator
'root'.
Compiler GCC must be installed.
The sources of the linux core must be installed.
Installation
Stage 1 - working directory
Start a terminal and place in session root with the order su - (the password
root is required). Copy the file eagle-usb.tgz under the directory /tmp and
unpack it with the order 'tar xzf eagle-usb.tgz'.
Place under the directory lately created, eagle-usb.
Stage 2 - Application of the patch eagleIII
It's now necessary to apply the patch eagleIII-usb.patch so that the driver
eagle-usb can be used with the modems of the EagleIII type. Type the
'./appli_patch' order to carry out the update of the driver sources.
Stage 3 - automatic configuration
The configuration for the compilation of the driver is automatic, it indicates
also the missing modules (ex:kernel sources) where not having the good version
(ex:gcc). To start the configuration place under the directory eagle-usb-1.9.9
and type the order './configure'
Stage 4 - existing package on the system
If your system has an installation of the package eagle-usb, the checking of
eaglectrl, eaglestat, startadsl, stopadsl indicates ' yes ', then you must carry
out a cleaning of the system via the order make uninstall, to see the section
relating to Uninstallation.
On figure 5, the checking indicates ' no', it thus does not have there a package
eagle-usb installed in this example.
Stage 5 - make
it is necessary to launch the compilation of the driver by typing the order
'make'.
Stage 6 - make install
The installation of the driver and its utilities is carried out by typing the
order 'make install'.
You can remove the directory eagle-usb and the file tgz.
Stage 7 - eagleconfig
Your driver is compiled and installed, connect your USB modem and connect ADSL
line.
Type the order 'eagleconfig' to configure your modem with the parameters of your
ADSL line.
Eagleconfig proposes a list of the ISP with their Vpi, Vci encapsulation
parameters
Select your ISP, in figure 14 one selects Polish ISP TPSA, type your username
and your password, indicate if the password can be encrypted before its sends to
the supplier, connection can be carried out with starting what avoids placing in
root to launch 'startadsl'.
Launch ADSL connection with the order 'startadsl', connection is active, you can
use your navigator preferred to connect you to Internet.
Dakle kao sto sam napisao, instalacija dobro zavrsi, ali problemi pocinju od sedmog koraka. Naime, kada pokrenem "eagleconfig" dobijam sledeci izbor:
==============================================================================
============================= ADSL Configuration =============================
==============================================================================
Your modem has to be plugged before proceeding.
You can stop this script anytime with [Ctrl][c]
Choose a network configuration :
_______________________________________________________________________
. . . Country. . . Network. . . . . . . . . VPI VCI ENC
-----------------------------------------------------------------------
AT01 : Austria ???? 01 20 06 PPPoA VC
BE01 : Belgique Belgacom, Tiscali.be 08 23 06 PPPoA VC
BR01 : Brasil Speedy/Telefonica 08 23 01 PPPoE LLC
BR02 : Brasil Velox/Telemar 00 21 01 PPPoE LLC
BR03 : Brasil Turbo/Brasil Telecom 00 23 01 PPPoE LLC
BR04 : Brasil Rio Grande do Sul (RS) 01 20 01 PPPoE LLC
BG01 : Bulgaria BTK POTS 00 23 01 PPPoE LLC
BG02 : Bulgaria BTK ISDN 01 20 01 PPPoE LLC
DK01 : Denmark ???? 00 65 03 Routed IP LLC
DE01 : Deutschland DT (D.Telecom, 1&1...) 01 20 01 PPPoE LLC
ES01 : Espa Telefonica 08 20 01 PPPoE LLC
ES02 : Espa Telefonica 08 20 03 Routed IP LLC
ES03 : Espa Retevision, Eresmas... 08 23 06 PPPoA VC
ES04 : Espa Tiscali 01 20 ?? ????
FI01 : Finland Sonera 00 64 03 Routed IP LLC
FR01 : France FT (Free, Wanadoo...) 08 23 06 PPPoA VC
FR02 : France FT (Free, Wanadoo...) 08 23 01 PPPoE LLC
FR03 : France Tiscali 128k 08 23 05 PPPoA LLC
FR04 : France Free d 08 24 04 Routed IP VC
FR05 : France 9online d 08 23 06 PPPoA VC
FR06 : France Club-internet, t 08 23 06 PPPoA VC
FR07 : France Tiscali.fr 512k 08 23 06 PPPoA VC
GR01 : Greece ???? 08 23 06 PPPoA VC
HU01 : Hungary Matav 01 20 01 PPPoE LLC
IE01 : Ireland ???? 08 23 01 PPPoE LLC
IT01 : Italia Telecom Italia, Tiscali 08 23 06 PPPoA VC
IT02 : Italia MClink 08 4B ?? ????
IT03 : Italia Telecom Italia office 08 23 03 Routed IP LLC
NL01 : Netherlands KPN 08 30 06 PPPoA VC
PL01 : Polska Telekomunikacja Polska 00 23 06 PPPoA VC
PL02 : Polska TPSA 00 35 01 PPPoE LLC
PT01 : Portugal PT 00 23 01 PPPoE LLC
SE01 : Sweden Telia 08 23 01 PPPoE LLC
CH01 : Switzerland ???? 08 35 03 Routed IP LLC
CH02 : Switzerland BlueWin (Swisscom) 08 23 05 PPPoA LLC
UK01 : UK BT (Tiscali...) 00 26 06 PPPoA VC
-----------------------------------------------------------------------
E sada, nakon instalcije upravljackog programa u Vindouzu, da bi bio ispravno radio uglavnom je bilo potrebno samo da se iz padajuce liste izabare "PPPoE LLC 8/35" (kasnije sam video da ovi brojevi oznacavaju VPI i VCI) kako u listi iznad u Linuksu, nisam pronasao stavku u kojoj pise VPI: 8, VCI: 35 PPPoE izabrao sam prvo "PL02 : Polska TPSA 00 35 01 PPPoE LLC" a kasnije i "CH01 : Switzerland ???? 08 35 03 Routed IP LLC" medjutim kada pokrenem "startadsl" nista se ne desava (niti se vraca u konzolu) pa moram rucno da ga prekinem nakon cega, naravno prijavljuje "Failed to launch connection!".
Pretpostavljam da je najodogovrnija konfiguraciona datoteka na lokaciji "/etc/eagle-usb/eagle-usb.conf" ciji je sadrzaj ovakav:
#POTS FOR EAGLE
OPTN0=80020066
OPTN4=00000000
#Enable OPTN16 for WT-062 testing only
#OPTN16=80818040
VPI=00000000
VCI=00000035
#Note that the following value for encapsulation is in hex and define
#values in Konst.h are decimal. For example value for PPPOA_VC in
#header file is 6 decimal which is 6 in Hex, therefore if we want to use
#PPPOA_VC then we should put 6 in the following line for Encapsulation
#The following values are valid for encapsulation :
#MPOA_MODE_BRIDGED_ETH_LLC ----> 1
#MPOA_MODE_BRIDGED_ETH_VC ----> 2
#MPOA_MODE_ROUTED_IP_LLC ----> 3
#MPOA_MODE_ROUTED_IP_VC ----> 4
#MPOA_MODE_PPPOA_LLC ----> 5
#MPOA_MODE_PPPOA_VC ----> 6
Encapsulation=00000001
#You must set Linetype to 10 To be able to get CMV values from CMV text files
#If you set Linetype to anything other than 10 then driver gets CMVs from
#this file. And also if there is no CMV text file for any reason then
#driver gets CMVs from this file as well
Linetype=00000001
RatePollFreq=00000009
STATIC_IP=none
ISP=PL02
LANG=en
ASYNCHRONOUS_START=1
Pokusavao sam da VPI postavim na 00000008 medjutim ni to nije pomoglo.
Program "lsmod" pokazuje da je modul vec ucitan:
$ lsmod |grep -i eagle
eagle-usb 110916 2
usbcore 59148 1 [acm eagle-usb uhci]
a "ifconfig" da je "eth0" interfejs startovan:
$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:60:4C:F3:70:9A
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:168 (168.0 b)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)
Da li neko zna u cemu je problem ili ima neki savet?
|