1

Temat: WR1043ND z FTP i kamerą IP - nie działa..

podpiąłem 4GB pendrive do WR1043ND
po kablu podłączona jest kamera IP M204W

katalog /tmp/usb_mount

użytkownik, hasło - dostęp ustawiony na Odczyt/zapis

pod IE mnie wpuszcza /ftp://192.168.1.1/

Jak ustawić kamerę, żeby zapisywała na nim?
FTP Server: 192.168.1.1
FTP Port: ?? 21? 22?
user i password znam
FTP Upload Folder: (/tmp/usb_mount) ?? czy inny?
FTP Mode: PORT czy PASV? /zresztą na obu wywala mi błąd../
podłączony jestem do routera po kablu.

2

Odp: WR1043ND z FTP i kamerą IP - nie działa..

Port 21 to ftp
upload to / jak zrobisz katalog /tmp/usb_mount/dev_sda1/pliki to upload jest /pliki. Dysk jest zamontowany pod  /tmp/usb_mount/dev_sda1
Mode PASV (pasywny).

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3 (edytowany przez nicko 2012-02-26 05:42:27)

Odp: WR1043ND z FTP i kamerą IP - nie działa..

dlaczego po chwilowym zaniku zasilania znika mu ten katalog z pendrive`a...? (wraz z zawartością)
Musze wszystko od nowa ustawiać :]
(4GB bezpośrednio w router wpięty)

4

Odp: WR1043ND z FTP i kamerą IP - nie działa..

Gargoyle tym zarządza - jak wykryje dysk to automatem montuje. Jak z jakiegoś powodu nie - nie masz i katalogu. Więc zobacz czy faktycznie po tym zaniku zasilania wykrył dysk.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5 (edytowany przez nicko 2012-02-28 21:23:22)

Odp: WR1043ND z FTP i kamerą IP - nie działa..

ok - mialem chwilowy zanik napiecia, router sie zresetowal -
wpuscil po FTP a tam tylko dwa katalogi dev_sda1 i e2f29cbd-c763-4ab2-977e-0b2867f1e22
powinien nagrywać do katalogu CAM (utworzony pod winscp).
Wiec pendrive`a wykrywa ale why znika mu ten katalog..?

6

Odp: WR1043ND z FTP i kamerą IP - nie działa..

Gdzie ten CAM utworzyłeś? Jeżeli w /tmp/usb_mount to jest to pamięć ram, więc nic dziwnego że ci po restarcie znika. Dysk masz montowany pod e2f29cbd-c763-4ab2-977e-0b2867f1e22, dev_sda1 jest linkiem do iego. Tam powinieneś katalog CAM zrobić.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: WR1043ND z FTP i kamerą IP - nie działa..

aha... utworzyłem wiec w RAMie.. - na głównym - widać wtedy trzy katalogi.
Do dev_sda1 nie wpuszcza /failed to change directory/
Do e2f29cbd-c763-4ab2-977e-0b2867f1e22 wpuscil /widac te same katalogi ale jak daje mu, zeby utworzył katalog to wywala "Create directory operation failed." - i otwiera okno z katalogiem lost+found.
e2f29cbd-c763-4ab2-977e-0b2867f1e22 ma aktualnie rwxr-xr-x

a i przy okazji, na jakim porcie wpuszcza zdalnie do routera..?
Pamiętam, ze włączyłem tą opcje..

8

Odp: WR1043ND z FTP i kamerą IP - nie działa..

21, tak jak ftp słucha.

Ustawiłeś żeby miał prawa do zapisu? Jeżeli tak to jeszcze nadaj prawa do zapisu dla tego użytkownika na którym się łączysz.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

9 (edytowany przez nicko 2012-04-04 20:22:04)

Odp: WR1043ND z FTP i kamerą IP - nie działa..

Ok, temat tego pendrive`a zakończył się sukcesem ale dziś mam z czymś innym problem:
Kieszeń Revoltec External Case, 3,5", Alu-Line EX301, SATA-USB2.0
Dysk WDC WD50 00AAKS-00A7B0

FTP włączone, przeglądarka jak i Total Commander wpuszczają ale pusto mam...
kilka poleceń mu wklepałem:




df -h

root@Gargoyle:~$ df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 4.0M      4.0M         0 100% /rom
tmpfs                    14.3M    296.0K     14.1M   2% /tmp
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock3            2.6M    276.0K      2.4M  10% /overlay
mini_fo:/overlay          4.0M      4.0M         0 100% /

mount

rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=14692k)
tmpfs on /dev type tmpfs (rw,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/mtdblock3 on /overlay type jffs2 (rw,relatime)
mini_fo:/overlay on / type mini_fo (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)

logread


Apr  4 20:35:33 Gargoyle [url=ftp://ftp.info]ftp.info[/url] vsftpd[29217]: [login] OK LOGIN: Client "192.168.1.42"
Apr  4 20:35:34 Gargoyle [url=ftp://ftp.info]ftp.info[/url] vsftpd[29220]: [login] OK LOGIN: Client "192.168.1.42"
Apr  4 20:35:35 Gargoyle [url=ftp://ftp.info]ftp.info[/url] vsftpd[29223]: [login] OK LOGIN: Client "192.168.1.42"

dmesg

Linux version 2.6.32.27 (cezary@eko.one.pl) (gcc version 4.3.3 (GCC) ) #65 Fri Feb 3 18:04:03 CET 2012
prom: fw_arg0=00000007, fw_arg1=a1f77fb0, fw_arg2=a1f78440, fw_arg3=00000008
MyLoader: sysp=23011208, boardp=2602a282, parts=220020ab
bootconsole [early0] enabled 
CPU revision is: 00019374 (MIPS 24Kc)
Atheros AR9132 rev 2, CPU:400.000 MHz, AHB:200.000 MHz, DDR:400.000 MHz
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00002000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00002000
On node 0 totalpages: 8192
free_area_init_node: node 0, pgdat 802e9200, node_mem_map 81000000
  Normal zone: 64 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 8128 pages, LIFO batch:0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: rootfstype=squashfs,yaffs,jffs2 noinitrd console=ttyS0,115200 board=TL-WR1043ND
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 29228k/32768k available (2175k kernel code, 3540k reserved, 423k data, 152k init, 0k highmem)
SLUB: Genslabs=7, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:56
Calibrating delay loop... 266.24 BogoMIPS (lpj=1331200)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
MIPS: machine is TP-LINK TL-WR1043ND
bio: create slab <bio-0> at 0
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  Š 2001-2006 Red Hat, Inc.
yaffs Feb  3 2012 15:25:40 Installing.
msgmni has been set to 57
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
console [ttyS0] enabled, bootconsole disabled
Atheros AR71xx SPI Controller driver version 0.2.4
m25p80 spi0.0: s25sl064a (8192 Kbytes)
spi0.0: searching for MyLoader partition table at offset 0x10000
spi0.0: searching for MyLoader partition table at offset 0x20000
spi0.0: searching for MyLoader partition table at offset 0x30000
spi0.0: searching for MyLoader partition table at offset 0x40000
spi0.0: no MyLoader partition table found
Searching for RedBoot partition table in spi0.0 at offset 0x7e0000
Searching for RedBoot partition table in spi0.0 at offset 0x7f0000
No RedBoot partition table detected in spi0.0
spi0.0: no WRT160NL signature found
Creating 5 MTD partitions on "spi0.0":
0x000000000000-0x000000020000 : "u-boot"
0x000000020000-0x000000160000 : "kernel"
0x000000160000-0x0000007f0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=550000, len=2A0000
0x000000550000-0x0000007f0000 : "rootfs_data"
0x0000007f0000-0x000000800000 : "art"
0x000000020000-0x0000007f0000 : "firmware"
Realtek RTL8366RB ethernet switch driver version 0.2.4
rtl8366rb rtl8366rb: using GPIO pins 18 (SDA) and 19 (SCK)
rtl8366rb rtl8366rb: RTL5937 ver. 3 chip found
rtl8366rb: probed
eth0: Atheros AG71xx at 0xb9000000, irq 4
eth0: using fixed link parameters
Atheros AR71xx hardware watchdog driver version 0.1.0
ar71xx-wdt: timeout=15 secs (max=21)
TCP westwood registered
NET: Registered protocol family 17
Bridge firewalling registered
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 152k freed
Please be patient, while OpenWrt loads ...
input: gpio-buttons as /devices/platform/gpio-buttons/input/input0
Button Hotplug driver version 0.3.1
ar71xx: pll_reg 0xb8050014: 0x1a000000
eth0: link up (1000Mbps/Full duplex)
Registered led device: tl-wr1043nd:green:usb
Registered led device: tl-wr1043nd:green:system
Registered led device: tl-wr1043nd:green:qss
Registered led device: tl-wr1043nd:green:wlan
mini_fo: using base directory: /
mini_fo: using storage directory: /overlay
eth0: link down
ar71xx: pll_reg 0xb8050014: 0x1a000000
eth0: link up (1000Mbps/Full duplex)
device eth0.1 entered promiscuous mode
device eth0 entered promiscuous mode
br-lan: port 1(eth0.1) entering forwarding state
Compat-wireless backport release: compat-wireless-2011-11-29
Backport based on wireless-testing.git master-2011-12-01
PPP generic driver version 2.4.2
NET: Registered protocol family 24
cfg80211: Calling CRDA to update world regulatory domain
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:
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
ath: EEPROM regdomain: 0x0
ath: EEPROM indicates default country code should be used
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x3a
ath: Country alpha2 being used: US
ath: Regpair used: 0x3a
ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
ieee80211 phy0: Atheros AR9100 MAC/BB Rev:7 AR2133 RF Rev:a2 mem=0xb80c0000, irq=2
cfg80211: Calling CRDA for country: US
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
cfg80211: Regulatory domain changed to country: US
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
ip_tables: (C) 2000-2006 Netfilter Core Team
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ar71xx-ehci ar71xx-ehci: Atheros AR91xx built-in EHCI controller
ar71xx-ehci ar71xx-ehci: new USB bus registered, assigned bus number 1
ar71xx-ehci ar71xx-ehci: irq 3, io mem 0x1b000000
ar71xx-ehci ar71xx-ehci: 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: 1 port detected
nf_conntrack version 0.5.0 (459 buckets, 1836 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 ar71xx-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
xt_time: kernel timezone is -0000
        Hooked IMQ after mangle on PREROUTING
        Hooked IMQ after nat on POSTROUTING
IMQ driver loaded successfully.
Ebtables v2.0 registered
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver usblp
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
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
usbcore: registered new interface driver ums-alauda
usbcore: registered new interface driver ums-cypress
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-isd200
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-karma
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
usbcore: registered new interface driver ums-usbat
USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
USB Serial support registered for Sierra USB modem
usbcore: registered new interface driver sierra
sierra: v.1.3.8:USB Driver for Sierra Wireless USB modems
fuse init (API version 7.13)
device wlan0 entered promiscuous mode
br-lan: port 2(wlan0) entering forwarding state
scsi 0:0:0:0: Direct-Access     WDC WD50 00AAKS-00A7B0    0200 PQ: 0 ANSI: 4
sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 38 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
usb-storage: device scan complete
sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda:
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
 sda1 sda2
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI disk
ar71xx-wdt: enabling watchdog timer
ipt_bandwidth: timezone shift of 120 minutes detected, adjusting
               old minutes west=0, new minutes west=-120
usb 1-1: USB disconnect, address 2
usb 1-1: new high speed USB device using ar71xx-ehci and address 3
usb 1-1: configuration #1 chosen from 1 choice
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
scsi 1:0:0:0: Direct-Access     WDC WD50 00AAKS-00A7B0    0200 PQ: 0 ANSI: 4
usb-storage: device scan complete
sd 1:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Mode Sense: 38 00 00 00
sd 1:0:0:0: [sda] Assuming drive cache: write through
sd 1:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1 sda2
sd 1:0:0:0: [sda] Assuming drive cache: write through
sd 1:0:0:0: [sda] Attached SCSI disk
usb 1-1: USB disconnect, address 3
usb 1-1: new high speed USB device using ar71xx-ehci and address 4
usb 1-1: configuration #1 chosen from 1 choice
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
scsi 2:0:0:0: Direct-Access     WDC WD50 00AAKS-00A7B0    0200 PQ: 0 ANSI: 4
usb-storage: device scan complete
sd 2:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Mode Sense: 38 00 00 00
sd 2:0:0:0: [sda] Assuming drive cache: write through
sd 2:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1 sda2
sd 2:0:0:0: [sda] Assuming drive cache: write through
sd 2:0:0:0: [sda] Attached SCSI disk
usb 1-1: USB disconnect, address 4
Linux version 2.6.32.27 (cezary@eko.one.pl) (gcc version 4.3.3 (GCC) ) #65 Fri Feb 3 18:04:03 CET 2012
prom: fw_arg0=00000007, fw_arg1=a1f77fb0, fw_arg2=a1f78440, fw_arg3=00000008
MyLoader: sysp=23011208, boardp=2602a282, parts=220020ab
bootconsole [early0] enabled 
CPU revision is: 00019374 (MIPS 24Kc)
Atheros AR9132 rev 2, CPU:400.000 MHz, AHB:200.000 MHz, DDR:400.000 MHz
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00002000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00002000
On node 0 totalpages: 8192
free_area_init_node: node 0, pgdat 802e9200, node_mem_map 81000000
  Normal zone: 64 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 8128 pages, LIFO batch:0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: rootfstype=squashfs,yaffs,jffs2 noinitrd console=ttyS0,115200 board=TL-WR1043ND
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 29228k/32768k available (2175k kernel code, 3540k reserved, 423k data, 152k init, 0k highmem)
SLUB: Genslabs=7, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:56
Calibrating delay loop... 266.24 BogoMIPS (lpj=1331200)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
MIPS: machine is TP-LINK TL-WR1043ND
bio: create slab <bio-0> at 0
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  Š 2001-2006 Red Hat, Inc.
yaffs Feb  3 2012 15:25:40 Installing.
msgmni has been set to 57
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
console [ttyS0] enabled, bootconsole disabled
Atheros AR71xx SPI Controller driver version 0.2.4
m25p80 spi0.0: s25sl064a (8192 Kbytes)
spi0.0: searching for MyLoader partition table at offset 0x10000
spi0.0: searching for MyLoader partition table at offset 0x20000
spi0.0: searching for MyLoader partition table at offset 0x30000
spi0.0: searching for MyLoader partition table at offset 0x40000
spi0.0: no MyLoader partition table found
Searching for RedBoot partition table in spi0.0 at offset 0x7e0000
Searching for RedBoot partition table in spi0.0 at offset 0x7f0000
No RedBoot partition table detected in spi0.0
spi0.0: no WRT160NL signature found
Creating 5 MTD partitions on "spi0.0":
0x000000000000-0x000000020000 : "u-boot"
0x000000020000-0x000000160000 : "kernel"
0x000000160000-0x0000007f0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=550000, len=2A0000
0x000000550000-0x0000007f0000 : "rootfs_data"
0x0000007f0000-0x000000800000 : "art"
0x000000020000-0x0000007f0000 : "firmware"
Realtek RTL8366RB ethernet switch driver version 0.2.4
rtl8366rb rtl8366rb: using GPIO pins 18 (SDA) and 19 (SCK)
rtl8366rb rtl8366rb: RTL5937 ver. 3 chip found
rtl8366rb: probed
eth0: Atheros AG71xx at 0xb9000000, irq 4
eth0: using fixed link parameters
Atheros AR71xx hardware watchdog driver version 0.1.0
ar71xx-wdt: timeout=15 secs (max=21)
TCP westwood registered
NET: Registered protocol family 17
Bridge firewalling registered
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 152k freed
Please be patient, while OpenWrt loads ...
input: gpio-buttons as /devices/platform/gpio-buttons/input/input0
Button Hotplug driver version 0.3.1
ar71xx: pll_reg 0xb8050014: 0x1a000000
eth0: link up (1000Mbps/Full duplex)
Registered led device: tl-wr1043nd:green:usb
Registered led device: tl-wr1043nd:green:system
Registered led device: tl-wr1043nd:green:qss
Registered led device: tl-wr1043nd:green:wlan
mini_fo: using base directory: /
mini_fo: using storage directory: /overlay
eth0: link down
ar71xx: pll_reg 0xb8050014: 0x1a000000
eth0: link up (1000Mbps/Full duplex)
device eth0.1 entered promiscuous mode
device eth0 entered promiscuous mode
br-lan: port 1(eth0.1) entering forwarding state
Compat-wireless backport release: compat-wireless-2011-11-29
Backport based on wireless-testing.git master-2011-12-01
PPP generic driver version 2.4.2
NET: Registered protocol family 24
cfg80211: Calling CRDA to update world regulatory domain
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:
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
ath: EEPROM regdomain: 0x0
ath: EEPROM indicates default country code should be used
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x3a
ath: Country alpha2 being used: US
ath: Regpair used: 0x3a
ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
ieee80211 phy0: Atheros AR9100 MAC/BB Rev:7 AR2133 RF Rev:a2 mem=0xb80c0000, irq=2
cfg80211: Calling CRDA for country: US
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
cfg80211: Regulatory domain changed to country: US
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
ip_tables: (C) 2000-2006 Netfilter Core Team
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ar71xx-ehci ar71xx-ehci: Atheros AR91xx built-in EHCI controller
ar71xx-ehci ar71xx-ehci: new USB bus registered, assigned bus number 1
ar71xx-ehci ar71xx-ehci: irq 3, io mem 0x1b000000
ar71xx-ehci ar71xx-ehci: 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: 1 port detected
nf_conntrack version 0.5.0 (459 buckets, 1836 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 ar71xx-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
xt_time: kernel timezone is -0000
        Hooked IMQ after mangle on PREROUTING
        Hooked IMQ after nat on POSTROUTING
IMQ driver loaded successfully.
Ebtables v2.0 registered
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver usblp
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
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
usbcore: registered new interface driver ums-alauda
usbcore: registered new interface driver ums-cypress
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-isd200
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-karma
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
usbcore: registered new interface driver ums-usbat
USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
USB Serial support registered for Sierra USB modem
usbcore: registered new interface driver sierra
sierra: v.1.3.8:USB Driver for Sierra Wireless USB modems
fuse init (API version 7.13)
device wlan0 entered promiscuous mode
br-lan: port 2(wlan0) entering forwarding state
scsi 0:0:0:0: Direct-Access     WDC WD50 00AAKS-00A7B0    0200 PQ: 0 ANSI: 4
sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 38 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
usb-storage: device scan complete
sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda:
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
 sda1 sda2
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI disk
ar71xx-wdt: enabling watchdog timer
ipt_bandwidth: timezone shift of 120 minutes detected, adjusting
               old minutes west=0, new minutes west=-120
usb 1-1: USB disconnect, address 2
usb 1-1: new high speed USB device using ar71xx-ehci and address 3
usb 1-1: configuration #1 chosen from 1 choice
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
scsi 1:0:0:0: Direct-Access     WDC WD50 00AAKS-00A7B0    0200 PQ: 0 ANSI: 4
usb-storage: device scan complete
sd 1:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Mode Sense: 38 00 00 00
sd 1:0:0:0: [sda] Assuming drive cache: write through
sd 1:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1 sda2
sd 1:0:0:0: [sda] Assuming drive cache: write through
sd 1:0:0:0: [sda] Attached SCSI disk
usb 1-1: USB disconnect, address 3
usb 1-1: new high speed USB device using ar71xx-ehci and address 4
usb 1-1: configuration #1 chosen from 1 choice
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
scsi 2:0:0:0: Direct-Access     WDC WD50 00AAKS-00A7B0    0200 PQ: 0 ANSI: 4
usb-storage: device scan complete
sd 2:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Mode Sense: 38 00 00 00
sd 2:0:0:0: [sda] Assuming drive cache: write through
sd 2:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1 sda2
sd 2:0:0:0: [sda] Assuming drive cache: write through
sd 2:0:0:0: [sda] Attached SCSI disk
usb 1-1: USB disconnect, address 4

Po zalogowaniu się po SSH w root@Gargoyle:/mnt/hdd1$ mam katalog cam ale jest on pusty.. :]
a może źle wpisuje ścieżkę do katalogu w ustawieniach kamery..?

10

Odp: WR1043ND z FTP i kamerą IP - nie działa..

W ogóle nie masz dysku zamontowanego.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

11

Odp: WR1043ND z FTP i kamerą IP - nie działa..

ale why..?
podlaczylem, zobaczył, z GUI go sformatowałem... no i d**a :]
Da się coś z tym zrobić? mam chwilowo do niego dostęp tylko po SSH

12

Odp: WR1043ND z FTP i kamerą IP - nie działa..

Why tego nie wiem. Zamontuj go z palca i zobacz czy się uda.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

13

Odp: WR1043ND z FTP i kamerą IP - nie działa..

próbowałem montować wg. tego:

http://openrouter.info/index.php?option=com_content&view=article&id=249

i nic.. nie ma. :-]

Dysk wyjęty z kompa - NTFS ale router sobie go formatował. Jedna partycja.

Jak tylko bede mial fizyczny dostęp do niego chyba z kompa sformatuje na ext4 i się zobaczy wtedy..
bo póki co pomysły mi sie skonczyly :-]
Pamiętam jeszcze, ze po tym formacie, który ponoć zakończył się sukcesem w zakładce "Nośniki USB" w GUI info, że nie podłączono żadnego nośnika USB.

14

Odp: WR1043ND z FTP i kamerą IP - nie działa..

Jeżeli go formatowałeś z gui  to on ma ext4 tam, nie ntfs. Ale system sam powinien zobaczyć ten dysk i zamontować go ponownie po formacie. Coś poszło nie tak - w logach pokazałeś że partycje wykrywa, więc po prostu zrób format jeszcze raz.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

15 (edytowany przez nicko 2012-04-07 15:36:34)

Odp: WR1043ND z FTP i kamerą IP - nie działa..

wgrałem dziś najświeższą ver na TL-WR1043ND
Wszystko ustawiłem - PPPOE, login/hasło do neostrady, DDNS, przekierowanie portu /88/ do kamery, podpiąłem dysk, który sformatowałem bez problemów i nawet przez chwile zapisywało się na nim... ale:
FTP a dokładniej pole "włącz FTP" zaznaczam zatwierdzam przechodzę do innej zakładki z Gargoyle i po powrocie pole to odznaczone :]
Tak samo z dostępem po SSH i HTTP/HTTPS - nie daje się zaznaczyć na stałe.
W wyniku tego znowu nie działa mi zapis z cam na dysku
najpierw nie montował HDD a teraz to...
próbowałem włączyć zdalny dostęp i chyba po tym to mu się stało.. /chociaż głowy nie dam/
Nie modyfikowałem niczego przez SSH /tylko GUI/
Cała reszta poza zdalnym dostępem działa.
Why?

Coś gdzieś jeszcze powinno być włączone..?
Na ver. z lutego działało zdalnie SSH

16 (edytowany przez LiO 2012-04-07 15:36:18)

Odp: WR1043ND z FTP i kamerą IP - nie działa..

TL-WR1043ND  Neostrada o.O Chyba ze Ethernet podłączyłeś do WAN. PPPOE nie ma sensu ustawiać jak modem od tepsy daje sam IP Tylko ustaw Dynamic IP smile
Włączone, może porty przekierowane na modemo/routerze tepsy?

http://klatka.ovh - CABANA PUBLIC SERVER
http://klatka.ovh/psi/ - phpsysinfo
http://temp.klatka.ovh/ - pogodynka

17

Odp: WR1043ND z FTP i kamerą IP - nie działa..

jako modem robi jakiś routero-modem TP-Link /nie pamiętam dokladnie/ ustawiony w trybie bridge /działał tak przez 2l z Linksysem WRT54GL/. Gdyby nie to, że mam do niego 50km to pewnie wrzucilbym mu raz jeszcze to FW ale czy to coś zmieniłoby..? nie wiem.
Modem 192.168.1.1 dodany do strefy zdemilitaryzowanej w routerze (i w drugą stronę też/ IP TL`a to 192.168.1.2/)

18

Odp: WR1043ND z FTP i kamerą IP - nie działa..

Dobra, więc jaki jest stan teraz?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

19 (edytowany przez nicko 2012-04-15 12:53:29)

Odp: WR1043ND z FTP i kamerą IP - nie działa..

coś mi się w nim zwiesiło /doszło do tego, ze musiałem failsafe/ ale już teraz zapisuje i pamięta wszystko jak trzeba.
Wrzuciłem też mu inny dysk bo tamten pojawiał się i znikał (na kompie miałem z nim takie same problemy ale myślałem, że to przez uszkodzony kabel).

 fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xc05fb0e3

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               2       60801   488376000    f  W95 Ext'd (LBA)
/dev/sda5               2       60801   488375968+   7  HPFS/NTFS
 mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size
tmpfs on /dev type tmpfs (rw,relatime,size=512k,mode=75
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/mtdblock3 on /overlay type jffs2 (rw,relatime)
mini_fo:/overlay on / type mini_fo (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda5 on /tmp/usb_mount/01CD1AD8D881412 type fusebl                                group_id=0,allow_other,blksize=4096)
 uci show samba
samba.@samba[0]=samba
samba.@samba[0].workgroup=Mshome
samba.0_sda5=sambashare
samba.0_sda5.name=sda5
samba.0_sda5.path=/tmp/usb_mount/dev_sda5
samba.0_sda5.read_only=no
samba.0_sda5.create_mask=0777
samba.0_sda5.dir_mask=0777
samba.0_sda5.browseable=yes
samba.0_sda5.guest_ok=yes
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 4.0M      4.0M         0 100% /rom
tmpfs                    14.3M      2.1M     12.3M  15% /tmp
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock3            2.6M    284.0K      2.3M  11% /overlay
mini_fo:/overlay          4.0M      4.0M         0 100% /
/dev/sda5               465.8G    100.3M    465.7G   0% /tmp/usb_mount/01CD1AD8D881412

Dysk jest podpięty bez formatowania.

Jak z poziomu SSH utworzyć katalog dla kamery?
Bo aktualnie wchodząc na FTP mam pusto.. - a chyba nie wystarczy utworzyć przez np. WinSCP.

coś w stylu

"mkdir -p /mnt/sda5
mount -t ntfs /dev/sda5 /mnt/sda5"

?

A potem mkdir kamera/sda5?

20

Odp: WR1043ND z FTP i kamerą IP - nie działa..

tak.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

21

Odp: WR1043ND z FTP i kamerą IP - nie działa..

mkdir, mount i ponowne mkdir zrobione ale pod WinSCP wciąż pusto.
Bez podania katalogu kamera mi zapisuje do "tmpfs" i to widzę na WinSCP.
Może powinienem zmienić "samba.0_sda5.path=/tmp/usb_mount/dev_sda5" ?

A może coś innego...? zielony z linuxa jestem jak widać :-]

22

Odp: WR1043ND z FTP i kamerą IP - nie działa..

Jeżeli dysk masz zamontowany /tmp/usb_mount/dev_sda5 (czyli   /tmp/usb_mount/01CD1AD8D881412) ta na nim masz udostępnion zasób na sambie. Zróbisz katalog /tmp/usb_mount/dev_sda/kamera to wg samby będzie to \\192.168.1.1\sda5\kamera (sda5 - bo tam masz w sambie nazwę zasobu).

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

23

Odp: WR1043ND z FTP i kamerą IP - nie działa..

mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=14692k)
tmpfs on /dev type tmpfs (rw,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/mtdblock3 on /overlay type jffs2 (rw,relatime)
mini_fo:/overlay on / type mini_fo (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda5 on /tmp/usb_mount/01CD1AD8D881412 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
uci show samba
samba.@samba[0]=samba
samba.@samba[0].workgroup=Mshome
samba.0_sda5=sambashare
samba.0_sda5.name=sda5
samba.0_sda5.path=/tmp/usb_mount/dev_sda5
samba.0_sda5.read_only=no
samba.0_sda5.create_mask=0777
samba.0_sda5.dir_mask=0777
samba.0_sda5.browseable=yes
samba.0_sda5.guest_ok=yes
root@Gargoyle:/tmp/usb_mount/dev_sda5$ ls
01CD1AD8D881412  pliki
root@Gargoyle:/tmp/usb_mount/01CD1AD8D881412$ ls
System Volume Information  pliki

tak to powinno wyglądać..?

kombinuje ze ścieżką w ustawieniach cam ale nic nie bierze..
o chmod 777 raczej nie zapomniałem nigdzie

24

Odp: WR1043ND z FTP i kamerą IP - nie działa..

\\192.168.1.1\sda1\pliki

Otwórz sobie to w explorerze windows i będziesz widział jak się zasoby nazywają. PS. Wcześniej pisałeś o ftp, teraz sambę pokazujesz. To w końcu po czym ta kamera potrafi gadać?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

25 (edytowany przez nicko 2012-04-15 19:24:46)

Odp: WR1043ND z FTP i kamerą IP - nie działa..

kamera gada po FTP.
A z tym explorerem się nie da bo chwilowo mam do niego dostęp tylko po SSH


vsftpd.@vsftpd[0]=vsftpd
vsftpd.@vsftpd[0].anonymous_write=no
vsftpd.@vsftpd[0].anonymous_root=/tmp/usb_mount
vsftpd.@vsftpd[0].anonymous=no
vsftpd.user_0=user
vsftpd.user_0.username=xxx
vsftpd.user_0.password=xxx
vsftpd.user_0.write=yes
vsftpd.user_0.root=/tmp/usb_mount/dev_sda5/pliki