Надо получить два файла. Если есть ftp, то где у него корень на диске? Просто данные нужно поместить туда, откуда их можно забрать.
неа...самбы нет...пока ничего нет =) есть только telnetd & httpd (не помню какой)...ну и есть ftp...а зачем самба? а что конкретно требуется?
Code:sh-3.00# ls -las /tmp/mnt/ 0 drwxr-xr-x 15 root root 0 Jan 1 2000 . 0 drwxr-xr-x 3 root root 0 Jan 1 2000 .. 4 drwxr-xr-x 11 root root 4096 Feb 1 01:31 disk1 0 drwxr-xr-x 2 root root 0 Jan 1 2000 disk2 0 drwxr-xr-x 2 root root 0 Jan 1 2000 disk3 0 drwxr-xr-x 2 root root 0 Jan 1 2000 disk4 0 drwxr-xr-x 2 root root 0 Feb 1 01:32 tmp 0 drwxr-xr-x 2 root root 0 Jan 1 2000 usb1 0 drwxr-xr-x 2 root root 0 Jan 1 2000 usb2 0 drwxr-xr-x 2 root root 0 Jan 1 2000 usb3 0 drwxr-xr-x 2 root root 0 Jan 1 2000 usb4 0 drwxr-xr-x 2 root root 0 Jan 1 2000 usb5 0 drwxr-xr-x 2 root root 0 Jan 1 2000 usb6 0 drwxr-xr-x 2 root root 0 Jan 1 2000 usb7 0 drwxr-xr-x 2 root root 0 Jan 1 2000 usb8
Остальные точки монтирования пустые =)Code:sh-3.00# ls -las /tmp/mnt/disk1 4 drwxr-xr-x 11 root root 4096 Feb 1 01:31 . 0 drwxr-xr-x 15 root root 0 Jan 1 2000 .. 4 drwxr-xr-x 2 tvixhd1 tvixhd1 4096 Mar 29 2008 bin 4 drwxr-xr-x 3 tvixhd1 tvixhd1 4096 Mar 29 2008 etc 4 drwxr-xr-x 3 root root 4096 Feb 1 01:31 movies 4 drwxr-xr-x 2 root root 4096 Mar 30 2008 usr 4 drwxr-xr-x 2 tvixhd1 tvixhd1 4096 Mar 29 2008 www
Надо получить два файла. Если есть ftp, то где у него корень на диске? Просто данные нужно поместить туда, откуда их можно забрать.
Блииин =))) Олег =))) Скажи просто какие именно нужны файлы...дальше я их выковырю =) уж это я догадаюсь как =) самое простое - ftp...еще вариант воткнуть твикс в USB роутера и там подмаунтить =) вариантов много =)
какие файлы нужны?
Я же написал на предыдущей странице пример командочек:
1)
dmesg > /tmp/mnt/disk1/dmesg.txt
2)
cat /dev/mtdblock0 > /tmp/mnt/disk1/mtdblock0.bin
мне нужен вывод dmesg и содержимое /dev/mtdblock0
Семён Семёныч =))) Не заметил =))) Гыг =)
ща все буит
Code:12 -rw-r--r-- 1 root root 8329 Feb 1 01:55 dmesg.txt 65604 -rw-r--r-- 1 root root 67108864 Feb 1 01:56 mtdblock0.bin
UPD: Готово =) http://home.judgin.ru/oleg/
Last edited by Judgin; 09-04-2008 at 19:08.
Всё, спасибо, слил. Можно убирать.
Поглядел на неё и понял, что нужен таки попкорн...
Эта слишком кучерявая - гигабитный лан порт и прочие радости...
Убрал
Да не за что =) всегда рад помочь =) Жалко что не особо помогло =(
Ну дык, что там надо делать с попкорном? Есть такая железка.
Телнет есть?
Вывод mount можно?
Такая проблема. Есть плеер, есть соединение, нет информации. Не могу ничего предпринять. Ввод в интернет-эксплорере строки "http://popcorn:8088/stream/file=/share/Scripts/filetest.php?cmd=echo Hello world" ничего не делает на плеере и выдаёт в эксплорере "невозможно отобразить страницу". Адрес я естессно вместо "popcorn" вставил.
Ссылки с http://lundman.net/wiki/index.php/NMT:telnetd на awardspace- мёртвые.
Last edited by Sorin_j; 10-04-2008 at 20:01.
Вот этот способ "Enabling telnetd via USB" не проходит?
Вот это распаковать в корень ЮСБ флешки:
http://erlis.se/PCH/telnetd-usb.zip
Now insert the USB device in the Popcorn Hour and navigate to it from the Media Source start page. Click on the telnet.html file and activate. If all goes well your TV screen turns white and reads "Telnetd started on port 23..........." .
Note that if you have previously inserted a USB device you might get the wrong path, e.g. USB_DRIVE_B-1. To avoid this, unplug all USB devices and reboot the Popcorn Hour previous to attempt this method. And beware of unplugging the USB device while executing.
Telnet заработал. Подключился через putty. Может проще через аську?
Попутно вопрос: как теперь отключить телнет?
Last edited by Sorin_j; 10-04-2008 at 20:33.
/ # mount
rootfs on / type rootfs (rw)
proc on /proc type proc (rw,nodiratime)
devpts on /dev/pts type devpts (rw)
tmpfs on /tmp type tmpfs (rw)
none on /sys type sysfs (rw)
/dev/hda1 on /mnt type ext3 (rw,data=ordered)
/dev/hda3 on /opt/sybhttpd/localhost.drives/HARD_DISK type ext3 (rw,noatime,nodiratime,data=ordered)
/dev/sda1 on /opt/sybhttpd/localhost.drives/USB_DRIVE_A-1 type vfat (rw,nodiratime,fmask=0000,dmask=0000,codepage=cp43 7,iocharset=utf8)
/ #
/ #
/ # dmesg
Linux version 2.6.15-sigma (whsaw@xeon4x) (gcc version 4.0.4) #2148 PREEMPT Wed Mar 12 21:30:54 MYT 2008
Configured for SMP8634 (revision ES6/RevA), detected SMP8635 (revision ES9/RevC).
SMP863x/SMP865x Enabled Devices under Linux/XENV 0x48000000 = 0x00023efe
BM/IDE PCIHost Ethernet IR FIP I2CM I2CS USB PCIDev1 PCIDev2 PCIDev3 PCIDev4 SCARD
Valid MEMCFG found at 0x10000fc0.
CPU revision is: 00019069
Determined physical RAM map:
memory: 05ee0000 @ 10020000 (usable)
On node 0 totalpages: 89856
DMA zone: 89856 pages, LIFO batch:15
DMA32 zone: 0 pages, LIFO batch:0
Normal zone: 0 pages, LIFO batch:0
HighMem zone: 0 pages, LIFO batch:0
Built 1 zonelists
Kernel command line:
Primary instruction cache 16kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 16kB, 2-way, linesize 16 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
PID hash table entries: 2048 (order: 11, 32768 bytes)
Using 148.500 MHz high precision timer.
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 86272k/97152k available (3578k kernel code, 10808k reserved, 573k data, 3228k init, 0k highmem)
Calibrating delay loop... 292.86 BogoMIPS (lpj=146432)
Mount-cache hash table entries: 512
Checking for 'wait' instruction... available.
NET: Registered protocol family 16
tangox: creating TLB mapping for 0x20000000 at 0xc0000000, size 0x08000000.
PCI: Initializing SMP863x/SMP865x PCI host controller
PCI: Remapped PCI I/O space 0x58000000 to 0xc8020000, size 64 kB
PCI: Remapped PCI config space 0x50000000 to 0xc8004000, size 10 kB
PCI: Configured SMP863x/SMP865x as PCI slave with 128MB PCI memory
PCI: Region size is 16384KB
PCI: Map DMA memory 0x10020000-0x15f00000 for PCI at 0x11000000
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
Created /proc/cpucache_info entry.
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
NTFS driver 2.1.25 [Flags: R/O].
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
interesno, eto kto-nibud chitaet?
SMP863x ir (254:0): driver loaded (wait_period = 200ms, buffer_size = 6)
SMP863x fip (253:0): driver loaded (buffer_size = 2)
Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=60 sec (nowayout= 0)
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x0 (irq = 9) is a 16550A
loop: loaded (max 8 devices)
tango2_enet: ethernet driver for SMP863x internal mac
tango2_enet: detected phy at address 0x01
tango2_enet: mac address 00:00:00:00:00:00
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
ide0: SMP863x/SMP865x Bus Mastering IDE controller
Probing IDE interface ide0...
hda: SAMSUNG HD400LD, ATA DISK drive
hda: no 80 conductors cable, falling back to lower udma mode
hda: set to Ultra DMA mode 2
ide0: DMA enabled for ATA DISK hda
ide0 at 0x223c0-0x223c7,0x22398 on irq 26
hda: max request size: 128KiB
hda: 781422768 sectors (400088 MB) w/8192KiB Cache, CHS=48641/255/63, UDMA(33)
hda: cache flushes supported
hda: hda1 hda2 hda3
physmap flash device CS2: 400000 at 48000000
CS2: Physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
CS2: Physically mapped flash: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
CS2: mymtds[cs]->size 2000000 f_sizes[cs] 400000
CS2: flash size mismatched, re-do probing/initialization.
physmap flash device CS2: 2000000 at 48000000 (remapped c8080000)
CS2: Physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
CS2: Physically mapped flash: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
add_mtd_device first cs 2 es 020000 sz 2000000 esregion 1 000000 020000
Using physmap partition definition
MTD CS2-Part1 (offset:0x0, size:0x20000)
MTD CS2-Part2 (offset:0x20000, size:0x20000)
MTD CS2-Part3 (offset:0x40000, size:0x40000)
MTD CS2-Part4 (offset:0x80000, size:0x360000)
MTD CS2-Part5 (offset:0x3e0000, size:0x20000)
Adding partition #1-#5
Creating 5 MTD partitions on "CS2: Physically mapped flash":
0x01fe0000-0x02000000 : "Setting 1fe0000"
0x00080000-0x01f80000 : "Kernel 32505856"
0x00880000-0x01f80000 : "App 24117248"
0x00040000-0x00080000 : "Yamon"
0x00000000-0x00040000 : "Zboot"
physmap flash device CS3: 4000000 at 4c000000
CFI: Found no CS3: Physically mapped flash device at location zero
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
USB Universal Host Controller Interface driver v2.3
driver tangox-ehci-hcd, 10 Dec 2004
TangoX USB initializing...
tangox-ehci-hcd tangox-ehci-hcd: TangoX USB 2.0
tangox-ehci-hcd tangox-ehci-hcd: new USB bus registered, assigned bus number 1
tangox-ehci-hcd tangox-ehci-hcd: irq 48, io mem 0xa0021500
tangox-ehci-hcd tangox-ehci-hcd: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
TangoX USB was initialized.
Initializing TangoX USB OHCI Controller Membase=0xa0021500, irq=47
tangox-ohci-hcd tangox-ohci-hcd: USB Host Controller
tangox-ohci-hcd tangox-ohci-hcd: new USB bus registered, assigned bus number 2
tangox-ohci-hcd tangox-ohci-hcd: irq 47, io mem 0xa0021500
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 4, 65536 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
Freeing unused kernel memory: 3228k freed
llad: module license 'LGPL' taints kernel.
NET: Registered protocol family 17
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
em8xxx: no version for "llad_open" found: kernel tainted.
mumk_register_tasklet: (0) tasklet c801e000 status @ce279e24
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda1, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev hda3.
NTFS-fs error (device hda3): read_ntfs_boot_sector(): Primary boot sector is invalid.
NTFS-fs error (device hda3): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.
NTFS-fs error (device hda3): ntfs_fill_super(): Not an NTFS volume.
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda3, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
Adding 506036k swap on /dev/hda2. Priority:-1 extents:1 across:506036k
ir: Enable NEC decoder (0x00000000)
ir: Enable RC5 decoder (0x00000000)
ir: Enable RC6 decoder
NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
NFSD: recovery directory /var/lib/nfs/v4recovery doesn't exist
NFSD: starting 90-second grace period
Algorithmics/MIPS FPU Emulator v1.5
kdmapool_release Buffer 0x105e0000 already released
user address out of range : 0x2be41000 (0) [0x2bc10000,0x2be10000[
kdmapool_release Buffer 0x105c0000 already released
kdmapool_release Buffer 0x10560000 already released
kdmapool_release Buffer 0x10540000 already released
usb 1-1: new high speed USB device using tangox-ehci-hcd and address 2
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
Vendor: JetFlash Model: TS1GJF150 Rev: 8.07
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 2007040 512-byte hdwr sectors (1028 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 2007040 512-byte hdwr sectors (1028 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
sda: sda1
sd 0:0:0:0: Attached scsi removable disk sda
sd 0:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
/ #
mtdblock0.bin 33Мб. размером.