OpenWrt router + USB ADSL modem

OpenWrt router + USB ADSL modem
« kdy: 08. 09. 2013, 13:50:58 »
Zdravim,
potrebujem pomoct rozbehat usb adsl modem(microcom ad 2622) na routri(Tp-link 2543ND) s Openwrt.
Postupoval som takto:
nainstaloval som baliky: kmod-usb-atm-cxacru kmod-usb2 kmod-usb-uhci
nasledne som vlozil firmver do /lib/firmware ktory som nasiel tu http://www.rsw.sk/linux/adsl/cxacru-fw-2.099.063.000.tar.gz

dmesg mi vypise:
[  437.220000] usb 1-1: new full-speed USB device number 3 using ehci-platform
[  439.380000] cxacru 1-1:1.0: receive of cm 0x90 failed (-131)
[  439.420000] cxacru 1-1:1.0: found firmware cxacru-fw.bin
[  439.430000] cxacru 1-1:1.0: loading firmware
[  440.820000] cxacru 1-1:1.0: starting device
[  441.910000] cxacru0: ADSL USB MODEM (usb-ehci-platform-1) 00:13:33:c1:6a:c8
[  441.930000] ATM dev 0: ADSL state: running
[  441.930000] ATM dev 0: ADSL line: down
[  443.010000] ATM dev 0: ADSL line: attempting to activate
[  444.000000] ATM dev 0: ADSL line: down
[  446.010000] ATM dev 0: ADSL line: attempting to activate
[  448.010000] ATM dev 0: ADSL line: down
[  450.010000] ATM dev 0: ADSL line: attempting to activate
[  452.000000] ATM dev 0: ADSL line: down
[  454.010000] ATM dev 0: ADSL line: attempting to activate
[  458.010000] ATM dev 0: ADSL line: training
[  460.000000] ATM dev 0: ADSL line: channel analysis
[  464.010000] ATM dev 0: ADSL line: exchange
[  465.000000] ATM dev 0: ADSL line: up (5760 kb/s down | 576 kb/s up)
[  466.010000] ATM dev 0: ADSL line: attempting to activate
[  470.000000] ATM dev 0: ADSL line: training
[  472.000000] ATM dev 0: ADSL line: channel analysis
[  476.010000] ATM dev 0: ADSL line: exchange
[  477.010000] ATM dev 0: ADSL line: up (5760 kb/s down | 576 kb/s up)

pripojenie mam od telekomu cez protokol: pppoe, encapsulation mode: llc,  vci:32, vpi:1

cez webove rozhranie som chcel pridat novy interface s protokolom pppoe ale nemal som to na aky fyzicky interface pridat.
skusal som to nastavit aj cez pppoat a logu bol tento vypis:
Sep  8 11:45:23 OpenWrt daemon.info pppd[7690]: Plugin pppoatm.so loaded.
Sep  8 11:45:23 OpenWrt daemon.info pppd[7690]: PPPoATM plugin_init
Sep  8 11:45:23 OpenWrt daemon.info pppd[7690]: PPPoATM setdevname_pppoatm - SUCCESS:0.1.32
Sep  8 11:45:23 OpenWrt daemon.notice pppd[7690]: pppd 2.4.5 started by root, uid 0
Sep  8 11:45:23 OpenWrt daemon.notice netifd: newa (7690): /bin/sh: /sbin/modprobe: not found
Sep  8 11:45:23 OpenWrt daemon.info pppd[7690]: Using interface pppoa-adsl
Sep  8 11:45:23 OpenWrt daemon.notice pppd[7690]: Connect: pppoa-adsl <--> 0.1.32
Sep  8 11:45:23 OpenWrt daemon.info dnsmasq[6969]: reading /tmp/resolv.conf.auto
Sep  8 11:45:23 OpenWrt daemon.info dnsmasq[6969]: using nameserver 8.8.8.8#53
Sep  8 11:45:23 OpenWrt daemon.info dnsmasq[6969]: using nameserver 8.8.4.4#53
Sep  8 11:45:23 OpenWrt daemon.info dnsmasq[6969]: using local addresses only for domain lan
Sep  8 11:45:53 OpenWrt daemon.warn pppd[7690]: LCP: timeout sending Config-Requests
Sep  8 11:45:53 OpenWrt daemon.notice pppd[7690]: Connection terminated.
Sep  8 11:45:53 OpenWrt daemon.notice pppd[7690]: Modem hangup
Sep  8 11:45:53 OpenWrt daemon.info pppd[7690]: Exit.

Za pomoc vopred dakujem


Re:OpenWrt router + USB ADSL modem
« Odpověď #1 kdy: 08. 09. 2013, 14:28:15 »
zjisti, jestli tomu modemu vubec dava ten router dost energie, nevim, jak u tohoto modelu, ale u WR1043ND je na openwrt.org napsany, ze pro radu modemu pres USB dost energie to neda

Re:OpenWrt router + USB ADSL modem
« Odpověď #2 kdy: 08. 09. 2013, 14:46:06 »
modem dostava dost energie normalne komunikuje aj je rozpoznany aj mac adresa.... modem aj rozpozna dsl linku...ja len potrebujem vediet ako pridam ten modem medzi sietove rozhrania...Proste ked dam ifconfig aby som ho tam videl

Jenda

Re:OpenWrt router + USB ADSL modem
« Odpověď #3 kdy: 08. 09. 2013, 15:04:02 »
modem dostava dost energie normalne komunikuje aj je rozpoznany aj mac adresa
Non sequitur.
modem aj rozpozna dsl linku...ja len potrebujem vediet ako pridam ten modem medzi sietove rozhrania...Proste ked dam ifconfig aby som ho tam videl
pppd vyrobí nové rozhraní samo. Jenže tobě pppd zfailí. Nejspíš máš blbě příslušný chatscript (/etc/chatscripts). U T-Mobile jsem ještě musel do /etc/ppp/peers přidat parametr nodeflate.

Re:OpenWrt router + USB ADSL modem
« Odpověď #4 kdy: 08. 09. 2013, 20:18:13 »
ale neviem co maju obsahovat tie subory