Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

lug-bg: ELCON-ADSL111U-mini-HOWTO


  • Subject: lug-bg: ELCON-ADSL111U-mini-HOWTO
  • From: Dean Stoeff <dean@xxxxxxxxxxxx>
  • Date: Thu, 03 Jun 2004 21:18:54 +0300


Ïðåäèñëîâèå

ÁÒÊ ñëåä äîñòà ãîëÿìî çàáàâÿíå çàïî÷íàõà äà ïóñêàò 2-ðà âúëíà íà ADSL óñëóãàòà, èçíåíàäàòà êàêòî çà 
ìåí, òàêà è çà âñè÷êè, êîèòî ñ òðåïåò ñà î÷àêâàëè íîâàòà ïðèäîáèâêà íå áåøå ìíîãî ïðèÿòíà. Äîéäîõà
ïè÷îâåòå îò ïîääðúæêàòà íà ÁÒÊ è ìè òðúñíàõà åäíî óñòðéñòâî äåòî íÿìà Ethernet ñàìî USB è êàçàõà:
"... àìè äàé íèå äà ãî ïóñíåì ïîä WinXP /òðúãâà áåç ïðîáëåìè/ äà âèäèòå, ÷å óñëóãàòà ðàáîòè, ïúê âèå 
êàòî èìàòå ìåðàê ïîñëå ùå ñè ãî ïîäêàâàòå ïîä  Linux"

äî òóê äîáðå, ïîä âèíáîçà ðàáîòè ïðåêðàñíî, äîáðå, ÷å ñè áÿõ íàïðàâèë ïðåäâàðèòåëíà ïîäãîòîâêà è ñå 
ïîëçâàõ îò îïèòà íà êîëåãèòå äåòî âå÷å ñà ðàçáðàëè ùî çà æèâîðòíî å òîÿ ELCON ADSL111U.

Îò òóê íàñåòíå êàêâî òðÿáâà

1.Ñîðñå êîäîâåòå íà ÿäðîòî (http://www.kernel.org) àêî ñè íÿìàòå âå÷å :)
2.Ñîðñîâåòå íà äðèâåðà íà ìîäåìà (http://download.gna.org/eagleusb/eagle-usb-1.9.6.tar.bz2 èëè
http://baud123.free.fr/eagle/eagle-usb-1.9.6.tar.bz2) ñàéòà íà ïðîåêòà å http://www.eagle-usb.org/

3.PPPoE êëèåíòà Roaring Penguin (http://www.roaringpenguin.com/products/rp-pppoe/rp-pppoe-3.5.tar.gz)

Íåîáõîäèìè íåùà â ÿäðîòî


    *  Â ñåêöèÿ "loadable menu support" :

[*] Enable loadable module support
[ ]   Set version information on all module symbols
[*]   Kernel module loader

    * Â ñåêöèÿ "Gerneral Setup"

[*] Support for hot-pluggable devices

    * Â ñåêöèÿ "Networking Options" :

<*> Packet socket
[*]   Packet socket: mmapped IO
<*> Unix domain sockets
[*] TCP/IP networking
<M> Asynchronous Transfer Mode (ATM) (EXPERIMENTAL)
<M>   Classical IP over ATM

    * Â ñåêöèÿ "Network device support" :

[*] Network device support
<*> Dummy net driver support
<M> Bonding driver support
<M> PPP (point-to-point protocol) support
<M>   PPP support for async serial ports
<M>   PPP support for sync tty ports
<M>   PPP Deflate compression
<M>   PPP BSD-Compress compression
<M>   PPP over Ethernet (EXPERIMENTAL)
<M>   PPP over ATM (EXPERIMENTAL)

    * Â ñåêöèÿ "USB support" :

<M> Support for USB
[*]   Preliminary USB device filesystem
<M>   EHCI HCD (USB 2.0) support (EXPERIMENTAL)
<M>   UHCI (Intel PIIX4, VIA, ...) support
< >   UHCI Alternate Driver (JE) support
< >   OHCI (Compaq, iMacs, OPTi, SiS, ALi, ...) support

ñëåäâà ïðåêîìïèëàöèÿ íà ÿäðîòî /àêî âå÷å íå å íàïðàâåíî/, èíñòàëèðàíå è ðåñòàðò 

Ñëåäâàùàòà ñòúïêà å:

tar xvfj eagle-usb-1.9.6.bz2
./configure
make 
make install

Ïî ïðèíöèï êîìïèëèðà ñå áåç ïðîáëåìè, ñàìî çà Áîãà íå ïîëçâàéòå íåãîâèÿ êîíôèãóðàöèîíåí ñêðèï
ìîæå äà âè ñúçäàäå äîïúëíèòåëíè ãëàâîáîëèÿ /êàòî íàïðèìåð äà çàòðèå /etc/resolv.conf/
Ñëåä òàÿ ñòúïêà ùå âè òðÿáâà ñëåäíèÿ êîíôèãóðàöèîíåí ôàéë ñ íàñòðéêè çà ÁÒÊ:

---- Îäðåæè

<eaglectrl>
# Options are set whith the following syntax:
#
# Name = Value
#
# where "Name" is the option name, and
# "Value" is the option value, specified
# in hexadecimal (without any prefix).
# Option names are case sensitive.
# Options that are commented out are specified
# with their default values.
#
# Other than VPI, VCI and Encapsulation,
# I really don't known what these options mean.

#POTS FOR EAGLE
OPTN0=80020066
# OPTN2=23700000
# OPTN3=00000000
OPTN4=00000000
# OPTN5=00000000
# OPTN6=00000000
# OPTN7=02CD8044
# OPTN15=09090909
VPI=00000000
VCI=00000023

#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

Linetype=00000002
RatePollFreq=00000009
</eaglectrl>
STATIC_IP=none
ISP=BTK
LANG=en
ASYNCHRONOUS_START=1
-------- Îòðåæè

òà òîâà ñå ïîñòàâÿ â /etc/eagle-usb/eagle-usb.conf

Íà òîçè åòàï å äîáðå äà âèäèòå êàòî âêëþ÷èòå USB ìîäåìà çà äà âèäèòè äàëè ÷å ñå ðåãèñòðèðà íîðìàëåí
EthX èíòåðôåéñ. Èçõîäà îò  dmesg òðÿáâà äà å íåùî òàêîâà:
usb.c: kusbd: /sbin/hotplug add 1
[eagle-usb] driver V1.9.6 loaded
usb.c: registered new driver eagle-usb
[eagle-usb] New USB ADSL device detected, waiting for DSP code...
usb.c: eagle-usb driver claimed interface c7550474
usb.c: eagle-usb driver claimed interface c755048c
[eagle-usb] created proc entry at : /proc/driver/eagle-usb/001-001
usb.c: eagle-usb driver claimed interface c755045c
usb.c: registered new driver acm
acm.c: v0.21:USB Abstract Control Model driver for USB modems and ISDN adapters
[eagle-usb] ioctl EU_IO_OPTIONS received
[eagle-usb] ioctl EU_IO_OPTIONS received
[eagle-usb] ioctl EU_IO_OPTIONS received
[eagle-usb] ioctl EU_IO_DSP received
[eagle-usb] Loading DSP code to device...
[eagle-usb] DSP code successfully loaded to device
[eagle-usb] ioctl EU_IO_DSP received
[eagle-usb] Loading DSP code to device...
[eagle-usb] DSP code successfully loaded to device
[eagle-usb] ioctl EU_IO_DSP received
[eagle-usb] Loading DSP code to device...
[eagle-usb] DSP code successfully loaded to device
[eagle-usb] ioctl EU_IO_OPTIONS received
[eagle-usb] ioctl EU_IO_DSP received
[eagle-usb] Loading DSP code to device...
[eagle-usb] DSP code successfully loaded to device
[eagle-usb] Modem operational !!
divert: allocating divert_blk for eth1

Íå ñàì óñòàíîâèë îùå çàùî ïðåçàðåæäà firmware íÿêîëêî ïúòè äàëè òîâà å ïðîáëåì íà ìàøèíàòà íà êîÿòî 
ñúì ãî ñëîæèë èëè å ïðîáëåì íà äðàéâåðà, íî ñ òîâà ùå ñå çàíèìàÿ ïî êúñíî.

Ñëåäâà ifconfig ethX up  è ñ òîâà èíñòàëöèÿòà íà ñàìèÿ ìîäåì ïðèêëþ÷âà.

Ïîñëåäíàòà ñòúïêà å äà ñè ïóñíåì PPPoE êëèåíòà êúì ÁÒÊ 

tar xvfz rp-pppoe-3.5.tar.gz
cd rp-pppoe-3.5/src
./configure
make 
make install

òîâà ñúùî ñå êîìïèëèðà áåç ïðîáëåìè. Ñëåä òîâà çà ïî ëåñíî:

adsl-setup

 è ñëåäâàòå èíñòðóêöèèòå âúâåæäàòå ñè èìåòî è ïàðîëàòà äåòî ñà âè ãè äàëè îò ÁÒÊ, êàòî ïîïèòà êàê 
 øå ñå óäîñòîâåðÿâà ñ êðèïòèðàíà ïàðîëî èëè íå ìó êàçâàòå ÍÅ /ÁÒÊ èçïîëçâàò PAP/
 
 è íàêðàÿ :
  adsl-start 
  /ïî äîáðå ðàáîòè îò 
pppd pty 'pppoe -I ethX' defaultroute nobsdcomp nodeflate nopcomp novj novjccomp persist passive name USERNAME mtu 1482 
èëè 
pppd pty 'pppoe -I ethX' defaultroute nobsdcomp nodeflate nopcomp novj novjccomp persist passive name USERNAME mtu 1492

ïîíå íÿìà PMTU  ïðîáëåìè /çàùî å òàêà è êàê âî ïðàâÿò â adsl-start  íå ìè å îñòàíàëî âðåìå äà ãëåäà, íîðàáîòè/

Àìè êàòî÷åëè å òîâà : ..

Ñïåöèàëíè áëàãîäàðíîñòè íà:

Ãåîðãè Äÿêîâ
A.D.A /íåèçâåñòåí/
íà ìîì÷åòà îò:
www.eagle-usb.org
www.roaringpenguin.com
êàêòî è íà âñè÷êè êîèòî ìè ïîìîãíàõà äà ïîäêàðàì òîâà ÷óäî  ELCOM-ADSL111U 

Íàçäðàâå:
 Äåÿí Ñòîåâ /Ne0Tr0n(R)/
 dean@xxxxxxxxxxxx


 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.