Odp: Ap Client w Kamikaze
15 23 * * * /bin/mount -t vfat /dev/sda1 /hddO 23:15 montuje dysk. Wpis oczywiście do crontaba: http://pl.wikipedia.org/wiki/Crontab
Jak nie osiąga to ustawienie nic nie da.
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Oprogramowanie / Software → Ap Client w Kamikaze
Strony Poprzednia 1 2 3 4 5 6 7 Następna
Zaloguj się lub zarejestruj by napisać odpowiedź
15 23 * * * /bin/mount -t vfat /dev/sda1 /hddO 23:15 montuje dysk. Wpis oczywiście do crontaba: http://pl.wikipedia.org/wiki/Crontab
Jak nie osiąga to ustawienie nic nie da.
A jak to się ma do pliku w init.d na montowanie partycji? Usuwam go po prostu?
No tak, jak nie chcesz żeby się montował po starcie. Ale skoro to ma się montować przez crona, to kiedy będzie sie odmontowywało?
A nie można dodać do tables 2 poleceń z montowaniem i odinstalowaniem o 2 porach
Możesz, tam możesz zrobić dowolną ilość wpisów. Poczytaj o cronie i crontab
Nie rozumiem jeszcze tylko jednego. W twym opisie instalacji ctorrenta podałeś że trzeba dodać wpis do crona na przeglądanie kolejki po to żeby ctorrent "wyłapał" dodany plik i zaczął go ściągać. Kiedy wpisuje komendy wyskakuje
to co użytkownikowi zielony.
nie wiem tez czy to jest problem z samym cronem, wyglada to tak
root@OpenWrt:~# killall crond; /etc/init.d/S60cron start
killall: crond: no process killed
-ash: /etc/init.d/S60cron: not found
Mam wtedy zastosować :
/etc/init.d/cron stop
/etc/init.d/cron start
/etc/init.d/cron enable
Czy to ma jakiś związek z tym że po każdym restarcie torrenty wczytują mi się od nowa? Dlaczego u mnie tak się dzieje?
A czytałeś że opis dotyczył whiterussian 0.9 w którym po prostu jest inaczej z cronem?
W kamikaze masz zrobić tak jak napisałeś: stop/start/enable
Tak czytałem i nawet zastosowałem ale chodzi mi o to że bi mi klient zassysał odrazu od skończonego momentu a nie od zera. O ile się nie mylę chodzi o plik log który u mnie jest zawsze pusty razem z torrentami w .torrent w pliku var. Dzięki za wyrozumiałoś.
Plik z logiem nie ma nic wspólnego z tym. On zawiera tylko informacje o tym co ctorrent wypluwa.
Jeżeli uruchamiasz ponownie ctorrenta to sprawdza on dane które już są ściągnięte i dociąga resztę. To że ściąga Ci od nowa oznacza tylko tyle że ctorrent uznał to co już jest za nieprzydatne - i nie ma żadnego sposobu aby jakoś to na ctorrencie wymusić akceptacje tego co jest.
Zainstalowałem dctcs i nie mogę połączyć się z serwerem. Żeby do niego wejść muszę mieć zainstalowany serwer ftp? Przypuszczam, że oczywiście nie. Więc co robię źle tym razem? Wbijam się przez ftp://192.168.1.1/hdd/
#sample config file with compiled in default values
#change these according to your system
torrent-directory=/hdd/downloads/torrent/
download-directory=/hdd/
#change user name and password
user=me
password=just
exit-hours=168
exit-ratio=5.6
cache-size=1
restart-torrents=0
download-limit=0
upload-limit=0
#port=18000
#arbitrary arguments to ctorrent
#ctorrent-args=-a
#url to prepend in the details box
#detail-url=ftp://192.168.1.1/hdd/
#ctorrent=/usr/bin/ctorrent
#client-host=localhost:15000
#htmlroot-directory=/usr/share/dctcs/www/darkside.ctcs.gui/
Jak chcesz ftp://192.168.1.1/hdd/ to musisz miec serwer ftp zainstalowany
do dctcs dostajesz się przez http;//192.168.1.1:18000 ...
A żeby używać ctcs trzeba uruchomić getdownload.sh bo nie wiem czemu nie reaguje jak naciskam start.
Muszę użyć opcji client-host=localhost:15000? Głupie pytania ale wiesz Cezary, że jestem zielony.
Mój getdownload.sh nie ma nic wspólnego z dctcs.
Instalujesz TYLKO dctcs i ctorrenta, to wszsytko żeby mieć maszynkę do ściągania.
Ściągnąłem wersję na white russian po prostu i nie chciał działać. Tak czy owak ctcs jest o niebo lepsze od getdownloads.sh.
Witam
Zainstalowałem dziś twojego zmodyfikanego flasha i nie mogę zainstalować dysku z 2 partycjami w tym swapa. Przez "uci set fstab.cfg1.enabled=1..." instaluje się tylko swap. Przy próbie instalacji partycji ext3 wyskakuje komunikat "...part1 on hdd failed...". Czy ma znaczenie nr partycji i jej system? Nie mogę także wejść na ftp, wyrzuca że nie mam uprawnien.
Zobacz zawartość /etc/config/fstab, tam są definiowane partycje.
Jako kto wchodzisz na ftp? Nie root tylko anonymous/dowolne hasło
root@OpenWrt:~# uci set fstab.cfg1.enabled=1
root@OpenWrt:~# uci commit fstab
root@OpenWrt:~# /etc/init.d/fstab start
mount: mounting /dev/scsi/host0/bus0/target0/lun0/part1 on /hdd failed
root@OpenWrt:~#
Problem w tym że nie mogę wejść do strony logowania. Nie rozumiem też dlaczego nie mogę zapisac zmian
w vi - writte error
Pokaż wynik dmesg i mount
Jakiej strony logowania? ftp://192.168.1.1 i tyle.
CPU revision is: 00029006
Primary instruction cache 16kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 16kB, 2-way, linesize 16 bytes.
Linux version 2.4.34 (user@debian) (gcc version 3.4.6 (OpenWrt-2.0)) #9 Sun Mar 30 11:46:17 CEST 2008
Setting the PFC to its default value
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 init=/etc/preinit noinitrd console=ttyS0,115200
CPU: BCM4704 rev 9 at 264 MHz
Using 132.000 MHz high precision timer.
Calibrating delay loop... 262.96 BogoMIPS
Memory: 30432k/32768k available (1462k kernel code, 2336k reserved, 100k data, 80k init, 0k highmem)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
PCI: Initializing host
PCI: Fixing up bus 0
PCI: Fixing up bridge
PCI: Setting latency timer of device 01:00.0 to 64
PCI: Fixing up bus 1
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Registering mini_fo version $Id$
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
squashfs: version 3.0 (2006/03/15) Phillip Lougher
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 3) is a 16550A
b44.c:v0.93 (Mar, 2004)
PCI: Setting latency timer of device 00:01.0 to 64
eth0: Broadcom 47xx 10/100BaseT Ethernet 00:1d:60:46:92:15
PCI: Setting latency timer of device 00:02.0 to 64
eth1: Broadcom 47xx 10/100BaseT Ethernet 40:10:18:00:00:2d
Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
Amd/Fujitsu Extended Query Table v1.3 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x800000 at 0x1c000000
bootloader size: 262144
Physically mapped flash: Filesystem type: squashfs, size=0x1c3513
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x007f0000 : "linux"
0x000be400-0x00290000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x007f0000-0x00800000 : "nvram"
0x00290000-0x007f0000 : "rootfs_data"
sflash: found no supported devices
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
ip_conntrack version 2.1 (5953 buckets, 5953 max) - 360 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
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.
Mounted devfs on /dev
Freeing unused kernel memory: 80k freed
Algorithmics/MIPS FPU Emulator v1.5
diag: Detected 'ASUS WL-500g Premium'
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
Probing device eth0: found!
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
jffs2.bbc: SIZE compression mode activated.
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
eth0.0: add 01:00:5e:00:00:01 mcast address to master interface
eth0.1: Setting MAC address to 00 0e 8e 02 37 94.
device eth0 entered promiscuous mode
VLAN (eth0.1): Setting underlying device (eth0) to promiscious mode.
BFL_ENETADM not set in boardflags. Use force=1 to ignore.
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
eth0.1: add 01:00:5e:00:00:01 mcast address to master interface
PCI: Setting latency timer of device 01:02.0 to 64
PCI: Enabling device 01:02.0 (0004 -> 0006)
wl0: Broadcom BCM4318 802.11 Wireless Controller 4.80.53.0
Journalled Block Device driver loaded
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
usb-uhci.c: $Revision: 1.275 $ time 11:03:24 Mar 29 2008
usb-uhci.c: High bandwidth mode enabled
PCI: Enabling device 01:03.0 (0000 -> 0001)
UHCI: Enabling VIA 6212 workarounds
usb-uhci.c: USB UHCI at I/O 0x100, IRQ 2
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Enabling device 01:03.1 (0000 -> 0001)
UHCI: Enabling VIA 6212 workarounds
usb-uhci.c: USB UHCI at I/O 0x120, IRQ 2
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
PCI: Enabling device 01:03.2 (0000 -> 0002)
ehci_hcd 01:03.2: PCI device 1106:3104
ehci_hcd 01:03.2: irq 2, pci mem c01ec000
usb.c: new USB bus registered, assigned bus number 3
EHCI: Enabling VIA 6212 workarounds
ehci_hcd 01:03.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 4 ports detected
SCSI subsystem driver Revision: 1.00
hub.c: connect-debounce failed, port 2 disabled
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
hub.c: new USB device 01:03.2-2, assigned address 2
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: Initio Model: IC25N010ATDA04-0 Rev: 1.06
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 19640880 512-byte hdwr sectors (10056 MB)
Partition check:
/dev/scsi/host0/bus0/target0/lun0: p1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
mini_fo: nondir_unmod_to_mod: ERROR creating sto file.
mini_fo_open: ERROR creating storage file.
mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro)
none on /dev type devfs (rw)
none on /proc type proc (rw)
none on /tmp type tmpfs (rw,nosuid,nodev)
none on /dev/pts type devpts (rw)
/dev/mtdblock/4 on /jffs type jffs2 (rw)
mini_fo:/jffs on / type mini_fo (rw)
/dev/scsi/host0/bus0/target0/lun0/part1 on /hdd type vfat (rw)
none on /proc/bus/usb type usbfs (rw)
Na dysku masz jedną partycję, p1. Jest ona zamontowana /hdd
Natomiast wali Ci się jffs czyli ta cześć zapisywalna. Sugerowałbym bym zrobienie firstboot i skonfigurowanie wszystkiego od początku. To moze być przyczyna dla której nie możesz edytować plików.
OK dzięki tak zrobię ale nie wiem czemu nie mogę instalować dysku twoim sposobem uci set fstab.cfg1.enabled=1 a wywala że partycja 1 jest włączona a przecież nie ma w tym firmware automontowania.
to pokaz zawartość /etc/config/fstab
config mount
option target /hdd
option device /dev/scsi/host0/bus0/target0/lun0/part1
option fstype auto
option options rw
option enabled '1'
config swap
option device /dev/scsi/host0/bus0/target0/lun0/part2
option enabled 0
Masz włączone, więc montuje się po starcie...
Strony Poprzednia 1 2 3 4 5 6 7 Następna
Zaloguj się lub zarejestruj by napisać odpowiedź
eko.one.pl → Oprogramowanie / Software → Ap Client w Kamikaze
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc