Tema: Re: Asus ir 3G arba 4G internetas. Tomui J. Q
Autorius: Tomas J.
Data: 2009-12-18 13:52:38
Gal firmwaras ne tas, as dariau su situo

"klaustukas" <omni@me.net> wrote in message 
news:hgffrc$qat$1@trimpas.omnitel.net...
> Padariau pagal tavo instrukcija, gaunu tokia info:
> (none) login: admin
> Password:
> [admin@(none) root]$ tail -f /usr/tmp/syslog.log
> Jan  1 00:00:17 kernel: sda: Write Protect is on
> Jan  1 00:00:17 kernel:  /dev/scsi/host0/bus0/target0/lun0: I/O error: dev 
> 08:00
> , sector 0
> Jan  1 00:00:17 kernel:  I/O error: dev 08:00, sector 0
> Jan  1 00:00:17 kernel:  unable to read partition table
> Jan  1 00:00:17 kernel:  I/O error: dev 08:00, sector 0
> Jan  1 00:01:16 dnsmasq-dhcp[67]: DHCPDISCOVER(br0) 00:c0:a8:c4:a7:0a
> Jan  1 00:01:16 dnsmasq-dhcp[67]: DHCPOFFER(br0) 192.168.1.170 
> 00:c0:a8:c4:a7:0a
>
> Jan  1 00:01:16 dnsmasq-dhcp[67]: DHCPREQUEST(br0) 192.168.1.170 
> 00:c0:a8:c4:a7:
> 0a
> Jan  1 00:01:16 dnsmasq-dhcp[67]: DHCPACK(br0) 192.168.1.170 
> 00:c0:a8:c4:a7:0a G
> ervydas
> Jan  1 00:01:43 login[117]: root login on 'pts/0'
> Jan  1 00:02:32 kernel: usb.c: USB disconnect on device 00:03.1-1 address 
> 2
> Jan  1 00:02:32 kernel: USB device disconnected from the SCSI subsystem
> Jan  1 00:02:39 kernel: hub.c: new USB device 00:03.1-1, assigned address 
> 3
> Jan  1 00:02:40 kernel: scsi1 : SCSI emulation for USB Mass Storage 
> devices
> Jan  1 00:02:40 kernel:   Vendor: ZTE       Model: USB SCSI CD-ROM   Rev: 
> 2.31
> Jan  1 00:02:40 kernel:   Type:   CD-ROM                             ANSI 
> SCSI r
> evision: 02
> Jan  1 00:02:47 kernel: hub.c: already running port 1 disabled by hub 
> (EMI?), re
> -enabling...
> Jan  1 00:02:47 kernel: usb.c: USB disconnect on device 00:03.1-1 address 
> 3
> Jan  1 00:02:47 kernel: USB device disconnected from the SCSI subsystem
> Jan  1 00:02:47 kernel: hub.c: new USB device 00:03.1-1, assigned address 
> 4
> Jan  1 00:02:48 kernel: usb.c: error getting string descriptor 0 
> (error=-71)
> Jan  1 00:02:48 kernel: usb.c: error getting string descriptor 0 
> (error=-71)
> Jan  1 00:02:48 kernel: usb.c: error getting string descriptor 0 
> (error=-71)
> Jan  1 00:02:48 kernel: scsi2 : SCSI emulation for USB Mass Storage 
> devices
> Jan  1 00:02:48 kernel: hub.c: already running port 1 disabled by hub 
> (EMI?), re
> -enabling...
> Jan  1 00:02:48 kernel: usb.c: USB disconnect on device 00:03.1-1 address 
> 4
> Jan  1 00:02:48 kernel: Unable to disconnect USB device from the SCSI 
> subsystem
> Jan  1 00:02:49 kernel: hub.c: new USB device 00:03.1-1, assigned address 
> 5
> Jan  1 00:02:49 kernel: usb.c: USB device not accepting new address=5 
> (error=-71
> )
> Jan  1 00:02:49 kernel: hub.c: new USB device 00:03.1-1, assigned address 
> 6
> Jan  1 00:02:50 kernel: usb.c: error getting string descriptor 0 
> (error=-71)
> Jan  1 00:02:50 kernel: usb.c: error getting string descriptor 0 
> (error=-71)
> Jan  1 00:02:50 kernel: usb.c: error getting string descriptor 0 
> (error=-71)
> Jan  1 00:02:50 kernel: USB device connected to the SCSI subsystem
> Jan  1 00:02:50 kernel: hub.c: already running port 1 disabled by hub 
> (EMI?), re
> -enabling...
> Jan  1 00:02:50 kernel: usb.c: USB disconnect on device 00:03.1-1 address 
> 6
> Jan  1 00:02:50 kernel: Unable to disconnect USB device from the SCSI 
> subsystem
> Jan  1 00:02:51 kernel: hub.c: new USB device 00:03.1-1, assigned address 
> 7
> Jan  1 00:02:51 kernel: usb.c: USB device not accepting new address=7 
> (error=-71
> )
> Jan  1 00:02:51 kernel: hub.c: new USB device 00:03.1-1, assigned address 
> 8
> Jan  1 00:02:51 kernel: usb.c: USB device not accepting new address=8 
> (error=-71
> )
> Jan  1 00:05:34 kernel: hub.c: new USB device 00:03.1-1, assigned address 
> 9
>
> "Tomas J." <tomas@novena.lt> wrote in message 
> news:hgdv54$kei$1@trimpas.omnitel.net...
>> as darau pilna reseta, nauja firmware dedu ir tada configa keiciu.
>>
>> "klaustukas" <omni@me.net> wrote in message 
>> news:hgdhsk$5g3$1@trimpas.omnitel.net...
>>> Aciu, pabandysiu, o esamos konfiguracijos nereikia pasalinti? Jei taip, 
>>> kokiu budu tai padaryti?
>>>
>>> Zilvis
>>> "Tomas J." <tomas@novena.lt> wrote in message 
>>> news:hgdfkk$276$1@trimpas.omnitel.net...
>>>> Pabandyk
>>>>
>>>> uzeiname i dir-320:
>>>> telnet 192.168.1.1 (login: admin, passwd: admin)
>>>> sukuriame papke peers
>>>>
>>>> mkdir /tmp/ppp/peers
>>>> paleidziame vidini redaktoriu1. vi
>>>> ir paspaude raide i ikopijuojame (Copy/Paste) vat tai:
>>>> debug
>>>> /dev/usb/tts/0
>>>> 921600
>>>> mtu 1400
>>>> mru 1400
>>>> crtscts
>>>> noipdefault
>>>> ipcp-accept-local
>>>> lcp-echo-interval 60
>>>> lcp-echo-failure 5
>>>> usepeerdns
>>>> noauth
>>>> nodetach
>>>> user 'omni'
>>>> password 'omni'
>>>> connect "/usr/sbin/chat -s -S -V -t 60 -f /tmp/ppp/dialup.chat 
>>>> 2>/tmp/chat.log"
>>>> Spaudziame ESC ir issaugome::w /tmp/ppp/peers/dialup
>>>> Iseiname is redaktoriaus
>>>> :q
>>>>
>>>> Vel paleidziame redaktoriu
>>>> 2. vi
>>>> '' ''
>>>> '' 'ATZ'
>>>> '' 'AT+CFUN=1'
>>>> '' 'AT+CGDCONT=1,IP,omnitel'
>>>> 'OK' 'ATD *99#'
>>>> 'CONNECT' ''
>>>> Vel ESC ir issaugome
>>>> :w /tmp/ppp/dialup.chat
>>>> :q
>>>>
>>>>
>>>>
>>>> 4. Sukuriame dar viena papke:
>>>> mkdir /tmp/local/sbin
>>>>
>>>> 5. Velgi paleidziame redaktoriu ir i ji ikopijuojame vat tai:
>>>>
>>>> #! /bin/sh
>>>> rmmod printer
>>>> insmod usbserial vendor=0x19d2 product=0x0015 maxSize=4096 <- cia savo 
>>>> yrasai vendor produkt
>>>> DEVICE=1
>>>> while true; do
>>>> sleep 5
>>>> if [ -e /dev/usb/tts/${DEVICE} ]; then
>>>> echo 'modem found. call dialup'
>>>> mpcs -c /tmp/local &
>>>> sleep 2
>>>> pppd call dialup
>>>> killall -15 pppd
>>>> rmmod usb-ohci; sleep 2
>>>> insmod usb-ohci; sleep 2
>>>> else
>>>> fi
>>>> done
>>>> Spaudziame ESC ir issaugome:
>>>>
>>>> :w /tmp/local/sbin/post-boot
>>>> :q
>>>>
>>>> 6. Velgi paleidziame redaktoriu ir i ji ikopijuojame vat tai:
>>>>
>>>> #! /bin/sh
>>>> rmmod printer
>>>> insmod usbserial vendor=0x19d2 product=0x0015 maxSize=4096 <- cia savo 
>>>> irasai vendor produkt
>>>> DEVICE=1
>>>> while true; do
>>>> sleep 5
>>>> if [ -e /dev/usb/tts/${DEVICE} ]; then
>>>> echo 'modem found. call dialup'
>>>> mpcs -c /tmp/local &
>>>> sleep 2
>>>> pppd call dialup
>>>> killall -15 pppd
>>>> rmmod usb-ohci; sleep 2
>>>> insmod usb-ohci; sleep 2
>>>> else
>>>> fi
>>>> done
>>>> Spaudziame ESC ir issaugome:
>>>>
>>>> :w /tmp/local/sbin/post-mount
>>>> :q
>>>>
>>>> 7. Sukuriame linkus i ka tik sukurtus failiukus
>>>>
>>>> echo /tmp/ppp/peers/dialup > /tmp/local/.files
>>>> echo /tmp/ppp/dialup.chat >> /tmp/local/.files
>>>> echo /tmp/ppp//tmp/local/sbin/post-mount >> /tmp/local/.files
>>>> echo /tmp/ppp//tmp/local/sbin/post-boot >> /tmp/local/.files
>>>>
>>>> 8. Suteikiame ka tik sukurtam skriptui paleidimo teises:
>>>> chmod +x /tmp/local/sbin/post-boot
>>>>
>>>> 9. Issaugome visa atlikta darba ir perkrauname DIR'a:
>>>> flashfs save && flashfs commit && flashfs enable
>>>> reboot
>>>>
>>>>
>>>>
>>>>
>>>> "klaustukas" <omni@me.net> wrote in message 
>>>> news:hgdelb$ll$1@trimpas.omnitel.net...
>>>>> As naudojau WL500gpv2-1.9.2.7-d-r627M.trx
>>>>> ir dariau toki konfiga:
>>>>>
>>>>> telnet 192.168.1.1 (login: admin, passwd: admin)
>>>>>
>>>>> Sukuriame reikiamus katalogus:
>>>>> mkdir /tmp/local/sbin
>>>>> mkdir /tmp/ppp/peers
>>>>>
>>>>> 3. Sukuriame reikiamus failus:
>>>>>
>>>>> vi /etc/usb_modeswitch.conf
>>>>>
>>>>> CheckSuccess=2
>>>>>
>>>>> # ZTE MF633
>>>>>
>>>>> #
>>>>>
>>>>> # Contributor: Joakim Wennergren
>>>>>
>>>>>
>>>>>
>>>>> DefaultVendor=  0x19d2
>>>>>
>>>>> DefaultProduct= 0x2000
>>>>>
>>>>>
>>>>>
>>>>> TargetVendor=   0x19d2
>>>>>
>>>>> TargetProduct=  0x0031
>>>>>
>>>>>
>>>>>
>>>>> MessageEndpoint=0x01
>>>>>
>>>>>
>>>>>
>>>>> MessageContent="55534243123456782000000080000c85010101180101010101000000000000"
>>>>>
>>>>>
>>>>>
>>>>> # if that command doesn't work, try the other ("eject")
>>>>>
>>>>> MessageContent="5553424312345678000000000000061b000000030000000000000000000000"
>>>>>
>>>>> vi /tmp/local/sbin/post-boot
>>>>>
>>>>> #!/bin/sh
>>>>> chmod 777 /tmp
>>>>> usb_modeswitch
>>>>> sleep 5
>>>>> rmmod usbserial
>>>>> sleep 5
>>>>> s=0
>>>>> DEVICE=2
>>>>> insmod usbserial vendor=0x19d2 product=0x0031 maxSize=4096
>>>>> sleep 10
>>>>> while true; do
>>>>> if [ -e /dev/usb/tts/${DEVICE} ]; then
>>>>> echo 'modem on'
>>>>> /tmp/local/sbin/post-pppd start &
>>>>> sleep 20
>>>>> s=0
>>>>> else
>>>>> echo 'modem off'
>>>>> fi
>>>>> while [ -e /dev/usb/tts/${DEVICE} ]; do
>>>>> if [ -n "`pidof pppd`" ]
>>>>> then
>>>>> sleep 30
>>>>> else
>>>>> break #end while
>>>>> echo "pppd down"
>>>>> fi
>>>>> done
>>>>> echo ''
>>>>> if [ $s = 0 ]; then
>>>>> killall pppd
>>>>> killall -SIGHUP pppd
>>>>> killall /dev/usb/tts/*
>>>>> killall chat
>>>>> killall cat
>>>>> s=1
>>>>> else
>>>>> sleep 30
>>>>> fi
>>>>> done
>>>>>
>>>>> vi /tmp/local/sbin/post-pppd
>>>>>
>>>>> #! /bin/sh
>>>>> sleep 10
>>>>> pppd call dialup
>>>>> sleep 60
>>>>> cat /dev/usb/tts/1 &
>>>>>
>>>>> vi /tmp/ppp/peers/dialup
>>>>>
>>>>> debug
>>>>> /dev/usb/tts/2
>>>>> 921600
>>>>> mtu 1400
>>>>> mru 1400
>>>>> crtscts
>>>>> noipdefault
>>>>> ipcp-accept-local
>>>>> ipcp-accept-remote
>>>>> lcp-echo-interval 180
>>>>> lcp-echo-failure 3
>>>>> mppc
>>>>> maxfail 1
>>>>> usepeerdns
>>>>> defaultroute
>>>>> noauth
>>>>> persist
>>>>> holdoff 10
>>>>> user ''
>>>>> password ''
>>>>> connect "/usr/sbin/chat -s -S -V -t 60 -f /tmp/ppp/dialup.chat 
>>>>> 2>/tmp/chat.log"
>>>>>
>>>>> vi /tmp/ppp/dialup.chat
>>>>>
>>>>> '' ''
>>>>> '' 'ATZ'
>>>>> '' 'AT+CFUN=1'
>>>>> '' 'ATQ0 V1 E1 S0=0 &C1 &D0 +FCLASS=0'
>>>>> '' 'AT+ZSNT=0,0,1'
>>>>> '' 'AT+ZOPRT=5'
>>>>> '' 'AT+ZSTART'
>>>>> '' 'AT+CPBS="SM"'
>>>>> '' 'AT+CPMS="SM","SM",""'
>>>>> '' 'AT+CGDCONT=1,"IP","omnitel"'
>>>>> 'OK' 'ATD *99#'
>>>>> 'CONNECT' ''
>>>>>
>>>>> 4. Viska issaugom su funkcijom:
>>>>> echo /tmp/ppp/peers/dialup > /tmp/local/.files
>>>>> echo /tmp/ppp/dialup.chat >> /tmp/local/.files
>>>>> echo /etc/usb_modeswitch.conf >> /tmp/local/.files
>>>>> chmod +x /tmp/local/sbin/post-boot
>>>>> chmod +x /tmp/local/sbin/post-pppd
>>>>> flashfs save && flashfs commit && flashfs enable && reboot
>>>>>
>>>>> "Tomas J." <tomas@novena.lt> wrote in message 
>>>>> news:hgcvjh$7p3$1@trimpas.omnitel.net...
>>>>>> Viskas gerai, as truputi skriptus pakeiciau nei standartiniai, 
>>>>>> pasileidzia omni connectas tiek isjungus ijungus dlinka, tiek 
>>>>>> istraukus ir atgal ikisus modema.
>>>>>>
>>>>>> "klaustukas" <omni@me.net> wrote in message 
>>>>>> news:hgcojq$s84$1@trimpas.omnitel.net...
>>>>>>> Tomai, tureciau tau klausima: kaip tau startuoja 3G po isjungimo is 
>>>>>>> el. tinklo? Nes pas mane kaipo ir veikia bet jei isjungiu dlink'a is 
>>>>>>> rozetes ir vel ijungiu per telnet matau usb device error'a po keliu 
>>>>>>> software'iniu restartu- pasileidzia.. Butu kokiu minciu? Aciu.
>>>>>>>
>>>>>>> Zilvis
>>>>>>>
>>>>>>> "Tomas J." <tomas@novena.lt> wrote in message 
>>>>>>> news:hgclkm$nnb$1@trimpas.omnitel.net...
>>>>>>>> Kaip cia pasakius apie ju darba, pvz. dlinko DIR-320 firmwaras su 
>>>>>>>> 3G labai nepatiko, stabilumo nulis, perrasius asuso firmwara i ji 
>>>>>>>> ir paburus truputuka dirba stabiliai.
>>>>>>>>
>>>>>>>> "Yksas" <karosas_istrinti@gmail.com> wrote in message 
>>>>>>>> news:hgb3cq$lsh$1@trimpas.omnitel.net...
>>>>>>>>> rasiau, kad pradziai reiktu su 3G, o uz metu kokiu su 4G
>>>>>>>>> Taip kad per metus tiktai tuos draiverius parasys entziastai :)
>>>>>>>>> Dabar idomiausia, ar dirba jis su 3G modemais?
>>>>>>>>> Nes skaiciau, kad nauji routeriai jau defolt dirba su 3G modemais 
>>>>>>>>> naudodami gimtaja firmware
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> "RolF2" <123@123.123> wrote in message 
>>>>>>>>> news:hg92cf$hqf$1@trimpas.om nitel.net...
>>>>>>>>>> RT-N16 sukasi 2.6 kernelis linuxo , ant wl500 - 2.4 . jei 
>>>>>>>>>> sugebesi susikompilint driverius mezono jam - kodel gi ne :)
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> "Yksas" <karosas_istrinti@gmail.com> wrote in message 
>>>>>>>>>> news:hg8j8q$2j9$1@trimpas.omnitel.net...
>>>>>>>>>>> Noriu pradziai per Asus routeri pasileistiOmni Connect(3g), 
>>>>>>>>>>> veliau MEZON (4G)
>>>>>>>>>>>
>>>>>>>>>>> http://mezon.projektas.lt/ raso, kad tinka  WL-500gp, WL-500gpv2 
>>>>>>>>>>> arba WL-500W
>>>>>>>>>>> Atsirades yra modelis Asus RT-N16. Ar kazkas susidure  su siuo 
>>>>>>>>>>> routeriu, ar iseina ji perdirbti?
>>>>>>>>>>> Ar galesiu ji pamaitinti 3g ir 4g internetu, kad jis man per 
>>>>>>>>>>> WI-FI interneta skleistu po visa nama?
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>
>
>