Ok, poczytałem, tylko jak zrobić wtedy DHCP enable z moim ASUS-em jako bramą? Bo Net nie przychodzi na wan tylko na lan bo jesteśmy w tej samej posieci , ja asusem nie robię dodatkowego NAT-a.
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Posty przez janosick
Ok, poczytałem, tylko jak zrobić wtedy DHCP enable z moim ASUS-em jako bramą? Bo Net nie przychodzi na wan tylko na lan bo jesteśmy w tej samej posieci , ja asusem nie robię dodatkowego NAT-a.
Router Name OpenWrt
Router Model ASUS WL-500g Premium
Firmware Version OpenWrt Backfire 10.03 / LuCI 0.10 Branch 0.10+svn7109
Kernel Version 2.6.32.27
Witam.
Nakreślę pokrótce sytuację. Net mam na spółkę z rodzinką w drugim domu, u nich stoi NetiaSpot 192.168.1.254.
Do niego jest podpięty mój Asus WL-500g 192.168.1.1 . DHCP włączone na Netiaspot, oba domy w jednej klasie bo współdzielimy zasoby ![]()
Zdarza się czasami sytuacja że prąd na wsi wyłączają
i wtedy nie mam internetu z ADSL tylko muszę odpalać na Asusie 3G i włączać DHCP, wtedy mam net ale muszę co jakiś czas sprawdzać czy już czasem nie działa łącze główne.
Pytanie takie - czy da się to zrobić z automatu - w przypadku padu bramy .254 mój Asus sam włącza DHCP, 3G i staje się bramą dla moich sprzętów, a po powrocie 254. przełączenie z powrotem?
Pzdr.
Witam.
Do tej pory służy mi Asus WL-500g z wgranym OpenWRT z podpiętym internetem 3G, dlatego nie bawiłem się w torrenty z racji limitów.
Po przeprowadzce mam internet ze stałego łącza więc myślę nad wymianą sprzętu na coś nowszego, tym bardziej że w nowym domu mam nowy TV z funkcją Smart.
Zastanawiam się jedynie nad nową konfiguracją.
Chciałbym móc ściągać torrenty i oglądać je z dysku na TV - więc DLNA.
Asus się raczej nie nadaje do tego bo jak kiedys bawiłem się w dysk sieciowy i sambę to pamiętam że zaliczał zwiechy przy obciążeniu transferem.
Moje wątpliwości to jedynie wybór konfiguracji - czy kupić jakiegoś NAS-a i zostawić Asusa bo jako tako sprawuje się ok, czy wymienić router i dopiąć do niego dysk (2TB WD red) w kieszeni 3,5 cala.
Jak jest wtedy z usypianiem takiego dysku gdy nie jest potrzebny? Przeglądając forum widzę że czasami dziwne rzeczy dzieją się w tej kwestii.
Konkludując czy zostawić Asusa i dokupić np NAS310 czy zrobić skok do przodu i wtedy jaki router i jaką kieszeń?
Routery widzę dwa do wyboru - 1043v2 albo WDR3600 - laptopy i (chyba) TV mają 5GHz, ale eter jest czysty.
Z góry dzięki za poświęcony czas na odpowiedzi.
Mam 10.03.1-RC5, r27015 , 2.6.32.27
Witam.
Czy komuś udało się sterować diodami w tym routerze?
Chodzi mi o aktywność diody wan przy połączeniu 3g.
w ls /sys/class/leds/ są niby 4 diody:
b43-phy0::assoc b43-phy0::radio b43-phy0::rx b43-phy0::txale nie bardzo reagują na wydawane komendy.
Pozdrawiam
No i pomogło, super.
Modem zgłasza się z pięcioma interfejsami, 3ginfo działa na ostatnim czyli /dev/ttyUSB4
Zmiana w moim przypadku jest taka, że pingi zmalały z 120-130 ms (Huawei E156G) do 50-60 ms.
Dzięki za pomoc i pozdrawiam
Witam.
Wpadł mi w ręce na chwilę modem jak w temacie i nie mogę go odpalić, ale fajnie by było jakby chodził bo pewnie inni też będą taki mieć a i ja może też ![]()
Więc po kolei:
OpenWRT 10.03.1-RC5, r27015 ASUS WL-500GP 2.6.32.27
logread po podłączeniu:
Jun 2 12:34:20 OpenWrt user.info kernel: usb 1-2: new high speed USB device using ehci_hcd and address 4
Jun 2 12:34:20 OpenWrt user.info kernel: usb 1-2: configuration #1 chosen from 1 choice
Jun 2 12:34:20 OpenWrt user.info kernel: scsi5 : SCSI emulation for USB Mass Storage devices
Jun 2 12:34:20 OpenWrt user.debug kernel: usb-storage: device found at 4
Jun 2 12:34:20 OpenWrt user.debug kernel: usb-storage: waiting for device to settle before scanning
Jun 2 12:34:20 OpenWrt user.info kernel: scsi6 : SCSI emulation for USB Mass Storage devices
Jun 2 12:34:20 OpenWrt user.debug kernel: usb-storage: device found at 4
Jun 2 12:34:20 OpenWrt user.debug kernel: usb-storage: waiting for device to settle before scanning
Jun 2 12:34:21 OpenWrt user.notice usb-modeswitch: 1-2:1.0: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 2 12:34:21 OpenWrt user.notice usb-modeswitch: 1-2:1.0: Selecting /etc/usb_modeswitch.d/12d1:1446 for mode switching
Jun 2 12:34:21 OpenWrt user.warn kernel: usb 1-2: usbfs: process 2325 (usb_modeswitch) did not claim interface 0 before use
Jun 2 12:34:21 OpenWrt user.info kernel: usb 1-2: USB disconnect, address 4
Jun 2 12:34:25 OpenWrt user.info kernel: usb 1-2: new high speed USB device using ehci_hcd and address 5
Jun 2 12:34:25 OpenWrt user.info kernel: usb 1-2: configuration #1 chosen from 1 choice
Jun 2 12:34:25 OpenWrt user.info kernel: scsi7 : SCSI emulation for USB Mass Storage devices
Jun 2 12:34:25 OpenWrt user.debug kernel: usb-storage: device found at 5
Jun 2 12:34:25 OpenWrt user.debug kernel: usb-storage: waiting for device to settle before scanning
Jun 2 12:34:25 OpenWrt user.info kernel: scsi8 : SCSI emulation for USB Mass Storage devices
Jun 2 12:34:25 OpenWrt user.debug kernel: usb-storage: device found at 5
Jun 2 12:34:25 OpenWrt user.debug kernel: usb-storage: waiting for device to settle before scanning
Jun 2 12:34:30 OpenWrt user.notice kernel: scsi 7:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
Jun 2 12:34:30 OpenWrt user.notice kernel: scsi 8:0:0:0: Direct-Access HUAWEI TF CARD Storage PQ: 0 ANSI: 2
Jun 2 12:34:30 OpenWrt user.debug kernel: usb-storage: device scan complete
Jun 2 12:34:30 OpenWrt user.notice kernel: sd 8:0:0:0: [sda] Attached SCSI removable disk
Jun 2 12:34:30 OpenWrt user.debug kernel: usb-storage: device scan complete
Jun 2 12:34:41 OpenWrt user.notice usb-modeswitch: 1-2:1.1: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 2 12:34:42 OpenWrt user.notice usb-modeswitch: 1-2:1.0: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 2 12:34:42 OpenWrt user.notice usb-modeswitch: 1-2:1.1: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 2 12:34:42 OpenWrt user.notice usb-modeswitch: 1-2:1.2: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 2 12:34:43 OpenWrt user.notice usb-modeswitch: 1-2:1.3: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 2 12:34:43 OpenWrt user.notice usb-modeswitch: 1-2:1.4: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 2 12:34:43 OpenWrt user.notice usb-modeswitch: 1-2:1.5: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Jun 2 12:34:43 OpenWrt user.notice usb-modeswitch: 1-2:1.6: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?ifup wan podaje że nie ma /dev/ttyUSB0.
cat /proc/bus/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 4
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 2.06
S: Manufacturer=Linux 2.6.32.27 ehci_hcd
S: Product=EHCI Host Controller
S: SerialNumber=0000:00:03.2
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 5 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=12d1 ProdID=1506 Rev= 0.00
S: Manufacturer=Huawei Technologies
S: Product=HUAWEI Mobile
C:* #Ifs= 7 Cfg#= 1 Atr=c0 MxPwr=500mA
A: FirstIf#= 1 IfCount= 2 Cls=02(comm.) Sub=00 Prot=00
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=01 Driver=(none)
E: Ad=81(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 1 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=01 Prot=09 Driver=(none)
E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=08 Driver=(none)
E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=03 Driver=(none)
E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=02 Driver=(none)
E: Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 5 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 6 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0msJak widać wykryło modem z ProdID=1506, więc spróbowałem go przełączyć z palca i tu efekty:
root@OpenWrt:~# usb_modeswitch -v 12d1 -p 1506 -d 1
Looking for default devices ...
Found devices in default mode, class or configuration (1)
Accessing device 005 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using endpoints 0x01 (out) and 0x82 (in)
Using endpoints 0x01 (out) and 0x82 (in)
Not a storage device, skipping SCSI inquiry
USB description data (for identification)
-------------------------
Manufacturer: Huawei Technologies
Product: HUAWEI Mobile
Serial No.: not provided
-------------------------
Only detaching storage driver for switching ...
Looking for active driver ...
No driver found. Either detached before or never attached
-> Run lsusb to note any changes. Bye.
root@OpenWrt:~# usb_modeswitch -v 12d1 -p 1506 -H 1
Looking for default devices ...
Found devices in default mode, class or configuration (1)
Accessing device 005 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using endpoints 0x01 (out) and 0x82 (in)
Using endpoints 0x01 (out) and 0x82 (in)
Not a storage device, skipping SCSI inquiry
USB description data (for identification)
-------------------------
Manufacturer: Huawei Technologies
Product: HUAWEI Mobile
Serial No.: not provided
-------------------------
Sending Huawei control message ...
Error: sending Huawei control message failed (error -32). Aborting.Podejrzewam że trzeba dodać obsługę tego modelu w sterowniku/pliku option, znalazłem coś takiego w necie: http://www.spinics.net/lists/linux-usb/msg46983.html ale jak to ugryźć to już nie wiem.
Pozdrawiam
No są jakieś problemy, niby zgłasza się urządzenie i karta ale nie montuje
Poniżej fragment dmesg
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: World regulatory domain updated:
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
(2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
(2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
(5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
b43-phy0: Broadcom 4318 WLAN found (core revision 9)
phy0: Selected rate control algorithm 'minstrel'
Registered led device: b43-phy0::tx
Registered led device: b43-phy0::rx
Registered led device: b43-phy0::assoc
Registered led device: b43-phy0::radio
Broadcom 43xx driver loaded [ Features: PL, Firmware-ID: FW13 ]
Broadcom 43xx-legacy driver loaded [ Features: PLID, Firmware-ID: FW10 ]
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
PCI: Enabling device 0000:00:03.2 (0000 -> 0002)
PCI: Fixing up device 0000:00:03.2
ehci_hcd 0000:00:03.2: EHCI Host Controller
ehci_hcd 0000:00:03.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:03.2: Enabling legacy PCI PM
ehci_hcd 0000:00:03.2: irq 6, io mem 0x40002000
ehci_hcd 0000:00:03.2: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 4 ports detected
nf_conntrack version 0.5.0 (463 buckets, 1852 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
usb 1-1: new high speed USB device using ehci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci_hcd ssb0:2: SSB OHCI Controller
ohci_hcd ssb0:2: new USB bus registered, assigned bus number 2
ohci_hcd ssb0:2: irq 2, io mem 0x18003000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd: USB Universal Host Controller Interface driver
PCI: Enabling device 0000:00:03.0 (0000 -> 0001)
PCI: Fixing up device 0000:00:03.0
uhci_hcd 0000:00:03.0: UHCI Host Controller
uhci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:03.0: irq 6, io base 0x00000400
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
PCI: Enabling device 0000:00:03.1 (0000 -> 0001)
PCI: Fixing up device 0000:00:03.1
uhci_hcd 0000:00:03.1: UHCI Host Controller
uhci_hcd 0000:00:03.1: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:03.1: irq 6, io base 0x00000420
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usb 1-1: USB disconnect, address 2
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
device wlan0 entered promiscuous mode
br-lan: port 2(wlan0) entering forwarding state
usb 1-1: new high speed USB device using ehci_hcd and address 3
usb 1-1: configuration #1 chosen from 1 choice
option 1-1:1.0: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
option 1-1:1.1: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
scsi3 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
scsi4 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
device wlan0 left promiscuous mode
br-lan: port 2(wlan0) entering disabled state
device wlan0 entered promiscuous mode
br-lan: port 2(wlan0) entering forwarding state
scsi 3:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
scsi 4:0:0:0: Direct-Access HUAWEI MMC Storage 2.31 PQ: 0 ANSI: 2
sd 4:0:0:0: [sda] 248320 512-byte logical blocks: (127 MB/121 MiB)
usb-storage: device scan complete
sd 4:0:0:0: [sda] Write Protect is off
sd 4:0:0:0: [sda] Mode Sense: 0f 0e 00 00
sd 4:0:0:0: [sda] Assuming drive cache: write through
usb-storage: device scan complete
sd 4:0:0:0: [sda] Assuming drive cache: write through
sda:
sd 4:0:0:0: [sda] Assuming drive cache: write through
sd 4:0:0:0: [sda] Attached SCSI removable disk
usb 1-1: USB disconnect, address 3
option: option_instat_callback: error -143
option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
option 1-1:1.0: device disconnected
option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
option 1-1:1.1: device disconnected
usb 1-1: new high speed USB device using ehci_hcd and address 4
usb 1-1: configuration #1 chosen from 1 choice
scsi5 : SCSI emulation for USB Mass Storage devices
usb 1-1: USB disconnect, address 4
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usb 1-1: new high speed USB device using ehci_hcd and address 5
usb 1-1: configuration #1 chosen from 1 choice
option 1-1:1.0: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
option 1-1:1.1: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
scsi8 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
scsi9 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
scsi 8:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
scsi 9:0:0:0: Direct-Access HUAWEI MMC Storage 2.31 PQ: 0 ANSI: 2
usb-storage: device scan complete
sd 9:0:0:0: [sda] 248320 512-byte logical blocks: (127 MB/121 MiB)
usb-storage: device scan complete
sd 9:0:0:0: [sda] Write Protect is off
sd 9:0:0:0: [sda] Mode Sense: 0f 0e 00 00
sd 9:0:0:0: [sda] Assuming drive cache: write through
sd 9:0:0:0: [sda] Assuming drive cache: write through
sda:
sd 9:0:0:0: [sda] Assuming drive cache: write through
sd 9:0:0:0: [sda] Attached SCSI removable disketc/config/fstab
config 'global' 'automount'
option 'from_fstab' '1'
option 'anon_mount' '1'
config 'global' 'autoswap'
option 'from_fstab' '1'
option 'anon_swap' '0'
config 'mount'
option 'target' '/home'
option 'options' 'rw,sync'
option 'enabled_fsck' '0'
option 'enabled' '1'
option 'fstype' 'fat32'
option 'device' '/dev/sda1'
config 'swap'
option 'device' '/dev/sda2'
option 'enabled' '0'Luci w rozwijanym wyborze w sekcji mount points podaje że jest to /dev/sda (121 MB)
wydając komendy dla odpowiednich fstab:
root@OpenWrt:~# mount /dev/sda1
mount: cannot read /etc/fstab: No such file or directory
root@OpenWrt:~# mount /dev/sda
mount: cannot read /etc/fstab: No such file or directoryA po skopiowaniu fstab do /etc
root@OpenWrt:~# mount /dev/sda
mount: can't find /dev/sda in /etc/fstab
root@OpenWrt:~# mount /dev/sda1
mount: can't find /dev/sda1 in /etc/fstabZwykły pendrive montuje się normalnie do /mnt/sdb
Po włożeniu modemu sprawę załatwia usbmodeswitch - przełącza urządzenie w tryb modemu czyli dev/ttyUSB0 i dev/ttyUSB1, nie ma dev/sdx. Kiedyś gdy nie używałem przełączania w 8.09 2.4 było tak że modem po włożeniu identyfikował się jako jeden serial tty, potem jako mass storage a potem jako cztery serial tty.
Po zainstalowaniu pakietów od pamięci masowych router wykrył kartę w modemie i jest połączenie i dev/sda - teraz jak to automatycznie montować bo ciężko mi się połapać w sekcjach automount i mount.
Log poniżej:
Aug 9 15:02:13 OpenWrt user.info kernel: ohci_hcd ssb0:2: new USB bus registered, assigned bus number 2
Aug 9 15:02:13 OpenWrt user.info kernel: ohci_hcd ssb0:2: irq 2, io mem 0x18003000
Aug 9 15:02:13 OpenWrt user.notice usb-modeswitch: 1-1:1.2: Manufacturer=HUAWEI_Technology Product=HUAWEI_Mobile Serial=?
Aug 9 15:02:13 OpenWrt user.notice usb-modeswitch: 1-1:1.2: Selecting /etc/usb_modeswitch.d/12d1:1003 for mode switching
Aug 9 15:02:13 OpenWrt user.info kernel: usb usb2: configuration #1 chosen from 1 choice
Aug 9 15:02:13 OpenWrt user.info kernel: hub 2-0:1.0: USB hub found
Aug 9 15:02:13 OpenWrt user.info kernel: hub 2-0:1.0: 2 ports detected
Aug 9 15:02:13 OpenWrt user.info kernel: uhci_hcd: USB Universal Host Controller Interface driver
Aug 9 15:02:13 OpenWrt user.warn kernel: PCI: Enabling device 0000:00:03.0 (0000 -> 0001)
Aug 9 15:02:13 OpenWrt user.info kernel: PCI: Fixing up device 0000:00:03.0
Aug 9 15:02:13 OpenWrt user.info kernel: uhci_hcd 0000:00:03.0: UHCI Host Controller
Aug 9 15:02:13 OpenWrt user.info kernel: uhci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 3
Aug 9 15:02:13 OpenWrt user.info kernel: uhci_hcd 0000:00:03.0: irq 6, io base 0x00000400
Aug 9 15:02:13 OpenWrt user.info kernel: usb usb3: configuration #1 chosen from 1 choice
Aug 9 15:02:13 OpenWrt user.info kernel: hub 3-0:1.0: USB hub found
Aug 9 15:02:13 OpenWrt user.info kernel: hub 3-0:1.0: 2 ports detected
Aug 9 15:02:13 OpenWrt user.warn kernel: PCI: Enabling device 0000:00:03.1 (0000 -> 0001)
Aug 9 15:02:13 OpenWrt user.info kernel: PCI: Fixing up device 0000:00:03.1
Aug 9 15:02:13 OpenWrt user.info kernel: uhci_hcd 0000:00:03.1: UHCI Host Controller
Aug 9 15:02:13 OpenWrt user.info kernel: uhci_hcd 0000:00:03.1: new USB bus registered, assigned bus number 4
Aug 9 15:02:13 OpenWrt user.info kernel: uhci_hcd 0000:00:03.1: irq 6, io base 0x00000420
Aug 9 15:02:13 OpenWrt user.info kernel: usb usb4: configuration #1 chosen from 1 choice
Aug 9 15:02:13 OpenWrt user.info kernel: hub 4-0:1.0: USB hub found
Aug 9 15:02:13 OpenWrt user.info kernel: hub 4-0:1.0: 2 ports detected
Aug 9 15:02:14 OpenWrt user.info kernel: usbcore: registered new interface driver usbserial
Aug 9 15:02:14 OpenWrt user.info kernel: USB Serial support registered for generic
Aug 9 15:02:14 OpenWrt user.info kernel: usbcore: registered new interface driver usbserial_generic
Aug 9 15:02:14 OpenWrt user.info kernel: usbserial: USB Serial Driver core
Aug 9 15:02:14 OpenWrt user.notice usb-modeswitch: 1-1:1.3: Manufacturer=HUAWEI_Technology Product=HUAWEI_Mobile Serial=?
Aug 9 15:02:14 OpenWrt user.notice usb-modeswitch: 1-1:1.3: Selecting /etc/usb_modeswitch.d/12d1:1003 for mode switching
Aug 9 15:02:14 OpenWrt user.info kernel: Initializing USB Mass Storage driver...
Aug 9 15:02:14 OpenWrt user.notice usb-modeswitch: Not handling usb2
Aug 9 15:02:14 OpenWrt user.info kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Aug 9 15:02:14 OpenWrt user.debug kernel: usb-storage: device found at 2
Aug 9 15:02:14 OpenWrt user.debug kernel: usb-storage: waiting for device to settle before scanning
Aug 9 15:02:14 OpenWrt user.info kernel: scsi3 : SCSI emulation for USB Mass Storage devices
Aug 9 15:02:14 OpenWrt user.info kernel: usbcore: registered new interface driver usb-storage
Aug 9 15:02:14 OpenWrt user.info kernel: USB Mass Storage support registered.
Aug 9 15:02:14 OpenWrt user.debug kernel: usb-storage: device found at 2
Aug 9 15:02:14 OpenWrt user.debug kernel: usb-storage: waiting for device to settle before scanning
Aug 9 15:02:14 OpenWrt user.info kernel: USB Serial support registered for GSM modem (1-port)
Aug 9 15:02:14 OpenWrt user.info kernel: option 1-1:1.0: GSM modem (1-port) converter detected
Aug 9 15:02:14 OpenWrt user.info kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
Aug 9 15:02:14 OpenWrt user.info kernel: option 1-1:1.1: GSM modem (1-port) converter detected
Aug 9 15:02:14 OpenWrt user.info kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
Aug 9 15:02:14 OpenWrt user.info kernel: usbcore: registered new interface driver option
Aug 9 15:02:14 OpenWrt user.info kernel: option: v0.7.2:USB Driver for GSM modems
Aug 9 15:02:14 OpenWrt user.notice usb-modeswitch: 2-0:1.0: Manufacturer=Linux_2.6.32.16_ssb-usb-ohci Product=SSB_OHCI_Controller Serial=ssb0:2
Aug 9 15:02:14 OpenWrt user.notice usb-modeswitch: 2-0:1.0: Device does not seem to need mode switching
Aug 9 15:02:15 OpenWrt user.notice usb-modeswitch: Not handling usb3
Aug 9 15:02:15 OpenWrt user.notice usb-modeswitch: 3-0:1.0: Manufacturer=Linux_2.6.32.16_uhci_hcd Product=UHCI_Host_Controller Serial=0000:00:03.0
Aug 9 15:02:15 OpenWrt user.notice usb-modeswitch: 3-0:1.0: Device does not seem to need mode switching
Aug 9 15:02:15 OpenWrt user.notice usb-modeswitch: Not handling usb4
Aug 9 15:02:16 OpenWrt user.notice usb-modeswitch: 4-0:1.0: Manufacturer=Linux_2.6.32.16_uhci_hcd Product=UHCI_Host_Controller Serial=0000:00:03.1
Aug 9 15:02:16 OpenWrt user.notice usb-modeswitch: 4-0:1.0: Device does not seem to need mode switching
Aug 9 15:02:18 OpenWrt user.info kernel: b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
Aug 9 15:02:18 OpenWrt user.info kernel: b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
Aug 9 15:02:18 OpenWrt user.info kernel: device wlan0 entered promiscuous mode
Aug 9 15:02:18 OpenWrt user.info kernel: br-lan: port 2(wlan0) entering forwarding state
Aug 9 15:02:19 OpenWrt user.notice kernel: scsi 2:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
Aug 9 15:02:19 OpenWrt user.notice kernel: scsi 3:0:0:0: Direct-Access HUAWEI MMC Storage 2.31 PQ: 0 ANSI: 2
Aug 9 15:02:19 OpenWrt user.notice kernel: sd 3:0:0:0: [sda] 248320 512-byte logical blocks: (127 MB/121 MiB)
Aug 9 15:02:19 OpenWrt user.debug kernel: usb-storage: device scan complete
Aug 9 15:02:19 OpenWrt user.notice kernel: sd 3:0:0:0: [sda] Write Protect is off
Aug 9 15:02:19 OpenWrt user.debug kernel: sd 3:0:0:0: [sda] Mode Sense: 0f 0e 00 00
Aug 9 15:02:19 OpenWrt user.err kernel: sd 3:0:0:0: [sda] Assuming drive cache: write through
Aug 9 15:02:19 OpenWrt user.debug kernel: usb-storage: device scan complete
Aug 9 15:02:19 OpenWrt user.err kernel: sd 3:0:0:0: [sda] Assuming drive cache: write through
Aug 9 15:02:19 OpenWrt user.info kernel: sda:
Aug 9 15:02:19 OpenWrt user.err kernel: sd 3:0:0:0: [sda] Assuming drive cache: write through
Aug 9 15:02:19 OpenWrt user.notice kernel: sd 3:0:0:0: [sda] Attached SCSI removable disk
Aug 9 15:02:22 OpenWrt user.info kernel: device wlan0 left promiscuous mode
Aug 9 15:02:22 OpenWrt user.info kernel: br-lan: port 2(wlan0) entering disabled state
Aug 9 15:02:22 OpenWrt user.info kernel: device wlan0 entered promiscuous mode
Aug 9 15:02:22 OpenWrt user.info kernel: br-lan: port 2(wlan0) entering forwarding state
Aug 9 15:02:23 OpenWrt user.info sysinit: Loading defaults
Aug 9 15:02:23 OpenWrt user.info sysinit: Loading synflood protection
Aug 9 15:02:24 OpenWrt user.info sysinit: Adding custom chains
Aug 9 15:02:24 OpenWrt user.info sysinit: Loading zones
Aug 9 15:02:25 OpenWrt user.info sysinit: Loading forwarding
Aug 9 15:02:25 OpenWrt user.info sysinit: Loading redirects
Aug 9 15:02:25 OpenWrt user.info sysinit: Loading rules
Aug 9 15:02:25 OpenWrt user.info sysinit: Loading includes
Aug 9 15:02:25 OpenWrt user.info sysinit: Loading zone defaults
Aug 9 15:02:26 OpenWrt user.notice root: adding lan (br-lan) to firewall zone lan
Aug 9 15:02:27 OpenWrt authpriv.info dropbear[1119]: Running in background
Aug 9 15:02:27 OpenWrt user.info sysinit: WARNING: the specified certificate and key files do not exist and the px5g generator is not available, skipping SSL setup.
Aug 9 15:02:28 OpenWrt user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Aug 9 15:02:31 OpenWrt daemon.info dnsmasq[1149]: started, version 2.55 cachesize 150
Aug 9 15:02:31 OpenWrt daemon.info dnsmasq[1149]: compile time options: IPv6 GNU-getopt no-DBus no-I18N DHCP TFTP
Aug 9 15:02:31 OpenWrt daemon.info dnsmasq-dhcp[1149]: DHCP, IP range 192.168.1.100 -- 192.168.1.250, lease time 12h
Aug 9 15:02:31 OpenWrt daemon.info dnsmasq[1149]: using local addresses only for domain lan
Aug 9 15:02:31 OpenWrt daemon.warn dnsmasq[1149]: no servers found in /tmp/resolv.conf.auto, will retry
Aug 9 15:02:31 OpenWrt daemon.info dnsmasq[1149]: read /etc/hosts - 1 addresses
Aug 9 15:02:31 OpenWrt daemon.info dnsmasq-dhcp[1149]: read /etc/ethers - 0 addresses
Aug 9 15:02:50 OpenWrt user.info sysinit: SIM ready
Aug 9 15:02:50 OpenWrt user.info sysinit: PIN set successfully
Aug 9 15:02:51 OpenWrt daemon.notice pppd[1240]: pppd 2.4.4 started by root, uid 0
Aug 9 15:02:52 OpenWrt local2.info chat[1246]: abort on (BUSY)
Aug 9 15:02:52 OpenWrt local2.info chat[1246]: abort on (NO CARRIER)
Aug 9 15:02:52 OpenWrt local2.info chat[1246]: abort on (ERROR)
Aug 9 15:02:52 OpenWrt local2.info chat[1246]: report (CONNECT)
Aug 9 15:02:52 OpenWrt local2.info chat[1246]: timeout set to 10 seconds
Aug 9 15:02:52 OpenWrt local2.info chat[1246]: send (AT&F^M)
Aug 9 15:02:52 OpenWrt local2.info chat[1246]: expect (OK)
Aug 9 15:02:52 OpenWrt local2.info chat[1246]: AT&F^M^M
Aug 9 15:02:52 OpenWrt local2.info chat[1246]: OK
Aug 9 15:02:52 OpenWrt local2.info chat[1246]: -- got it
Aug 9 15:02:52 OpenWrt local2.info chat[1246]: send (ATE1^M)
Aug 9 15:02:52 OpenWrt local2.info chat[1246]: expect (OK)
Aug 9 15:02:52 OpenWrt local2.info chat[1246]: ^M
Aug 9 15:02:52 OpenWrt local2.info chat[1246]: ATE1^M^M
Aug 9 15:02:52 OpenWrt local2.info chat[1246]: OK
Aug 9 15:02:52 OpenWrt local2.info chat[1246]: -- got it
Aug 9 15:02:52 OpenWrt local2.info chat[1246]: send (AT+CGDCONT=1,"IP","internet"^M)
Aug 9 15:02:52 OpenWrt local2.info chat[1246]: timeout set to 30 seconds
Aug 9 15:02:52 OpenWrt local2.info chat[1246]: expect (OK)
Aug 9 15:02:52 OpenWrt local2.info chat[1246]: ^M
Aug 9 15:02:52 OpenWrt local2.info chat[1246]: AT+CGDCONT=1,"IP","internet"^M^M
Aug 9 15:02:52 OpenWrt local2.info chat[1246]: OK
Aug 9 15:02:52 OpenWrt local2.info chat[1246]: -- got it
Aug 9 15:02:52 OpenWrt local2.info chat[1246]: send (ATD*99***1#^M)
Aug 9 15:02:53 OpenWrt local2.info chat[1246]: expect (CONNECT)
Aug 9 15:02:53 OpenWrt local2.info chat[1246]: ^M
Aug 9 15:02:53 OpenWrt local2.info chat[1246]: ATD*99***1#^M^M
Aug 9 15:02:53 OpenWrt local2.info chat[1246]: CONNECT
Aug 9 15:02:53 OpenWrt local2.info chat[1246]: -- got it
Aug 9 15:02:53 OpenWrt local2.info chat[1246]: send ( ^M)
Aug 9 15:02:53 OpenWrt daemon.info pppd[1240]: Serial connection established.
Aug 9 15:02:53 OpenWrt daemon.info pppd[1240]: Using interface 3g-wan
Aug 9 15:02:53 OpenWrt daemon.notice pppd[1240]: Connect: 3g-wan <--> /dev/ttyUSB0
Aug 9 15:02:56 OpenWrt daemon.warn pppd[1240]: Could not determine remote IP address: defaulting to 10.64.64.64
Aug 9 15:02:56 OpenWrt daemon.notice pppd[1240]: local IP address xxx.xxx.xxx.xxx
Aug 9 15:02:56 OpenWrt daemon.notice pppd[1240]: remote IP address 10.64.64.64
Aug 9 15:02:56 OpenWrt daemon.notice pppd[1240]: primary DNS address 89.108.195.20
Aug 9 15:02:56 OpenWrt daemon.notice pppd[1240]: secondary DNS address 89.108.195.21
Aug 9 15:02:58 OpenWrt user.notice root: adding wan (3g-wan) to firewall zone wan
Aug 9 15:02:58 OpenWrt daemon.info dnsmasq[1149]: reading /tmp/resolv.conf.auto
Aug 9 15:02:58 OpenWrt daemon.info dnsmasq[1149]: using nameserver 89.108.195.21#53
Aug 9 15:02:58 OpenWrt daemon.info dnsmasq[1149]: using nameserver 89.108.195.20#53
Aug 9 15:02:58 OpenWrt daemon.info dnsmasq[1149]: using local addresses only for domain lan
Sep 2 16:56:48 OpenWrt user.notice rdate: Synced with ptbtime2.ptb.de
Sep 2 16:56:48 OpenWrt daemon.info pppd[1240]: System time change detected.No i sprawa się rozwiązała wraz z zakupem zasilacza.
To teraz pytanie o czytnik kart w tym modemie Huawei - czy możliwe jest równoczesne działanie modemu i pamięci tak jak jest to w windows? Byłoby to ciekawe rozwiązanie podpięte do jednego usb.
Też o tym myślałem ale takowego w domu brak, zacznę od zasilacza. BTW jaki jest ~ pobór prądu przez taki router bez dodatkowych urządzeń?
ok, widać trzeba się wybrać do miasta powiatowego
i zainwestować, może pomoże.
Witam.
Po wielu bojach zwracam się o pomoc z moim Asusem.
Jako dostawca netu jest Play przez modem Huawei E-156G.
Ponad pół roku Asus z Kamikaze działał z tym modemem, jednak nagle przestał się łączyć lub rozłączał po krótkim czasie połączenia (max. kilka minut) - jako przyczynę logread podawał że nie ma łącza serial czy jakoś tak. Przeflaszowalem router na Backfire 10.03.1 rc 1 z dostępnym już wtedy pakietem usbmodeswitch_data i wszystko chulało około miesiąca.
Niestety razu pewnego zbrakło prądu i od tego czasu router ma dziwne objawy - po podłączeniu modemu zaświecają się wszystkie diody po czym następuje restart i tak w kółko (kernel 2.6). Na kernelu 2.4 po podłączeniu modemu jest połączenie ze światem (widać po diodzie na modemie) i router się restartuje po sekundzie, dwóch. Ciekawostka - tak jest wtedy gdy działa WiFi, gdy wyłączę WiFi (wl0 disable - broadcom) modem zazwyczaj załapuje połączenie i potrafi się nie zrestartować, niestety włączając WiFi znowu następuje restart. Próbowałem różnych edycji - 10.03, 10.03.1 rc1, 10.03.rc3 z różnymi jądrami ale efekty zawsze są mniej więcej takie jak opisałem. mtd erase nvram też stosowałem wielokrotnie. Router bez podłączonego modemu działa ok.
Co może być przyczyną restartów przy nawiązywaniu połączenia 3G? Zasilacz nie wyrabia prądowo? Jest fabryczny 2,5A, podłączenie pendrive z dość jasną diodą nie restartuje urządzenia. Ręce mi opadają bo to jedyny możliwy dostawca netu w mojej lokalizacji a netu potrzebuje na dwóch lapkach...
Witam
@ Pyjter
Czy postawienie serwera newcs na 8.09 jest takie samo jak na 7.09?
Czy działa Ci na 8.09 jakiś klient np sb4ls lub sssp czy masz tylko serwer?
Przydałby się krótki tutor dla nowego kamikaze... Sam z checią bym się przesiadł na najnowsze.
Pozdrawiam
No i działa, Spisałem dnsy jakie w kompie były przy połączeniu z netią, wklepałem je do asusa i zadziałało. Tak jakby łącząc się przez netię moje IP obsługiwały tylko te dnsy. Póki co nie wykasowałem wpisów dns, może to przyniosłoby podobny efekt. Na razie nie ruszam asusa, w końcu żona ma neta na laptopie ![]()
Później sprawdzę bez wpisów dns w /etc/network i skrypt startowy.
Nie, /etc/resolv.conf zawiera wpisy z dns
nameserver 208.67.222.222
nameserver 194.204.152.34
nameserver 208.67.222.222
nameserver 194.204.152.34
nameserver 127.0.0.1, to samo jest w /tmp/resolv.conf a w /tmp/resolv.conf.auto są dwa wpisy z dns
No właśnie dziwne to jest bo mam możliwość podpięcia się pod sieć osiedlową, i w trybie APC jako wan wszystko działa. Wtedy kasuję całą sekcję wan APC, a kopiuję tą z wiki dla ppp. Robię restart, ładuję moduły, firmware do modemu, odpalam połączenie i objawy są takie jakby dnsmasq nie działało bo pingi po IP chodzą i na www po IP mogę wejść
. Nic w dnsmasq ani w firewall nie zmieniałem.
ping 208.67.222.222 odpowiada, zarówno z konsoli jak i z kompa
Na kompie odpalone jest skype i gg i oba chodzą, ale www już nie, chyba ze w adresie wpisze nie np http://google.com tylko http://74.125.67.100
Dodałem ' w option dns, zmieniłem nameserwer na ten który mi podałeś, dopisałem dns do sekcji wan, dopisywałem do resolv.conf.auto i nic.
Przy restarcie dnsmasq logread pokazuje błąd:
Jan 1 00:05:52 (none) daemon.info dnsmasq[796]: using local addresses only for domain lan
Jan 1 00:05:52 (none) daemon.info dnsmasq[796]: reading /tmp/resolv.conf.auto
Jan 1 00:05:52 (none) daemon.info dnsmasq[796]: using nameserver 194.204.152.34#53
Jan 1 00:05:52 (none) daemon.info dnsmasq[796]: using nameserver 208.67.222.222#53
Jan 1 00:05:52 (none) daemon.info dnsmasq[796]: using local addresses only for domain lan
Jan 1 00:05:52 (none) daemon.info dnsmasq[796]: read /etc/hosts - 1 addresses
Jan 1 00:05:52 (none) daemon.err dnsmasq[796]: failed to read /etc/ethers:No such file or directoryOkazuje się, że chyba coś jest nie tak z DNS. Modem łączy się z ISP na modułach od 2.4.30 dostępnych w opisie na wiki, pinguje po IP różne serwery np. 74.125.45.100 (google.com), ale wpisując zwykłą nazwę strony nie wyszukuje jej IP w DNS. Próbowałem robić restart dnsmasq (etc/init.d/dnsmasq restart), ale nic nie pomogło. Plik network wygląda tak:
#### VLAN configuration
config switch eth0
option vlan0 "1 2 3 4 5*"
option vlan1 "0 5"
#### Loopback configuration
config interface loopback
option ifname "lo"
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#### LAN configuration
config interface lan
option type bridge
option ifname "eth0.0 wl1"
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
option dns 194.204.159.1 194.204.152.34
option gateway 192.168.1.1
#### WAN configuration
config interface wan
option ifname "ppp0"
option proto pppoa
option encaps llc
option vpi 0
option vci 35
option username "name@webnet24.pl"
option password "passwd"DNS na kompie mam też na sztywno ustawiane i nic...
root@asus:~# ipkg list_installed
base-files-brcm-2.4 - 10-12557 -
bridge - 1.0.6-1 -
busybox - 1.4.2-2 -
dnsmasq - 2.39-1 -
dropbear - 0.50-2 -
haserl - 0.8.0-2 -
iptables - 1.3.7-1 -
kernel - 2.4.34-brcm-1 -
kmod-brcm-wl - 2.4.34+4.80.53.0-1 -
kmod-diag - 2+2.4.34-brcm-1 -
kmod-ipt-nathelper - 2.4.34-brcm-1 -
kmod-ppp - 2.4.34-brcm-1 -
kmod-pppoe - 2.4.34-brcm-1 -
kmod-switch - 2.4.34-brcm-1 -
kmod-usb-acm - 2.4.34-brcm-1 -
kmod-usb-core - 2.4.34-brcm-1 -
kmod-usb-uhci - 2.4.34-brcm-1 -
kmod-usb2 - 2.4.34-brcm-1 -
kmod-wlcompat - 2.4.34+brcm-6 -
libgcc - 3.4.6-10 -
mtd - 5 -
nas - 4.80.53.0-1 -
nvram - 1 -
ppp - 2.4.3-8 -
ppp-mod-pppoe - 2.4.3-8 -
uclibc - 0.9.28-10 -
webif - 0.3-12 -
wireless-tools - 29-1 -
wlc - 4.80.53.0-1 -
Done.lsmod
Module Size Used by Tainted: P
n_hdlc 7120 0 (unused)
atm 35616 0 (unused)
ppp_mppe_mppc 13412 0 (unused)
ppp_synctty 6348 0 (unused)
acm 6172 0 (unused)
wlcompat 14944 0 (unused)
ehci-hcd 20556 0 (unused)
uhci 29044 0 (unused)
ip_conntrack_tftp 1712 0 (unused)
ip_nat_irc 2336 0 (unused)
ip_conntrack_irc 3128 1
ip_nat_ftp 2960 0 (unused)
ip_conntrack_ftp 4272 1
ppp_async 7884 0 (unused)
ppp_generic 22300 0 [ppp_mppe_mppc ppp_synctty ppp_async]
slhc 6064 0 [ppp_generic]
wl 630776 0 (unused)
usbcore 71296 1 [acm ehci-hcd uhci]
switch-robo 4540 0 (unused)
switch-core 4864 0 [switch-robo]
diag 25520 0 (unused)To w takim razie co zrobić dokładnie?
W jaki sposób na modułach z 2.4.30 modem się łączy z ISP?
I dalej nie wiem co jest, ale nie mogę się połączyć z internetem.
Ładuję moduły, firmware, modem się synchronizuje, łączy się z serwerem, dostaje IP, ale nie mogę nawet pinga puścić z konsoli w świat.
Tu wszystko po kolei co i jak z palca na kamikaze 7.09 z 2.4.34
root@asus:~# insmod slhc
insmod: a module named slhc already exists
root@asus:~# insmod ppp_generic
insmod: a module named ppp_generic already exists
root@asus:~# insmod ppp_synctty
root@asus:~# insmod ppp_async
insmod: a module named ppp_async already exists
root@asus:~# insmod ppp_mppe_mppc
root@asus:~# insmod atm
root@asus:~# insmod n_hdlc
root@asus:~# /usr/local/modem_run -v 1 -f /usr/local/ZZZL_3.012
Info modem_run version 1.3.1 started by root uid 0
Info Found SpeedTouch USB modem
Info Modem revision: 0400
Info Best offset 32 with probability 100%
Info Best offset 927 with probability 100%
Info Firmware info (CRC:0x69636579, Size:935, Checked: Yes, Alcatel/Thomson Boot block (new))
Info Best offset 967 with probability 100%
Info Best offset 775537 with probability 100%
Info Firmware info (CRC:0x41d4143c, Size:775545, Checked: Yes, 0.0.0 - testing firmware from Thomson)
Info BLOCK1 : 935 bytes uploaded : OK
Info BLOCK2 : 511 bytes downloaded : OK
Info BLOCK3 : 775545 bytes uploaded : OK
Info BLOCK4 : 511 bytes downloaded : OKInfo Modem reference : 35720370......
Info ADSL synchronization has been obtained
Info ADSL line is up (1312 kbit/s down | 320 kbit/s up)
root@asus:~# /etc/init.d/firewall restart
root@asus:~# route del default gw 192.168.1.1
root@asus:~# pppd call neostrada-pppoa
root@asus:~# logread
n 1 00:08:03 (none) daemon.notice pppd[537]: remote IP address 195.114.190.150
Jan 1 00:08:03 (none) daemon.debug pppd[537]: Script /etc/ppp/ip-up started (pid 549)
Jan 1 00:08:03 (none) daemon.debug pppd[537]: Script /etc/ppp/ip-up finished (pid 549), status = 0x1
root@asus:~# ifconfig ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:77.253.105.31 P-t-P:195.114.190.150 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:468 errors:0 dropped:0 overruns:0 frame:0
TX packets:490 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:42040 (41.0 KiB) TX bytes:52395 (51.1 KiB)
root@asus:~# killall dnsmasq
root@asus:~# /etc/init.d/dnsmasq start
root@asus:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
195.114.190.150 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br-lan
0.0.0.0 195.114.190.150 0.0.0.0 UG 0 0 0 ppp0
root@asus:~# ping google.com
root@asus:~# ping 64.233.167.99
PING 64.233.167.99 (64.233.167.99): 56 data bytes
--- 64.233.167.99 ping statistics ---
7 packets transmitted, 0 packets received, 100% packet lossJak widać dostaje IP, ppp0 jest, ale ping na IP nie wychodzą, a na nazwę w ogóle nie rozpoznaje IP.
Jedynie logread po połączeniu ppp ma tylko 3 linijki, jakby urwany był.
plik network ma treść jak dla 8.09
config interface wan
option ifname "ppp0"
option proto pppoa
option encaps llc
option vpi 0
option vci 35
option username "moja nazwa w netii"
option password "hasło"DNSy w sekcji LAN
Może to wina tego że moduły skompilowane dla 2.4.30 i whiterussian, a ja mam kamikaze 7.09 z 2.4.34?
Ale jak skompilować moduły/pakiety i czy w ogóle są dla st330?
Ok, tylko nie wiem co ma być w kamikaze w tym miejscu:
nvram set wan_device=ppp0
nvram set wan_ifname=ppp0
nvram set lan_dns="194.204.152.34 217.98.63.164" # jesli jest juz ustawione, to mozna nie zmieniać
nvram commitco zamiast tego ma być w pliku network?
Jak pisałem zrobiłem to wg tego opisu dla Whiterussian i modem się połączył z netem po wydaniu polecenia pppd call neostrada-pppoa dostałem IP od netii ale nie miałem neta na LANie
eko.one.pl → Posty przez janosick
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc