26

Odp: WL-500GP + OpenWRT + konfiguracja Dysku zewnętrznego + USB + rTorrent

Co do "otoczenia sieciowego" - samba się to nazywa. Moje howto lub doinstaluj sobie luci-app-samba i działaj.

rtorrent to nie to samo co ctorrent. Oba są konsolowe, ale instalując coś dodatkowego można uzyskać dostęp przez www.
_Cokolwiek_ jest lepsze od tego oryginalnego Download Managera, ale i tak polecam transmission.

Wszystko do poczytania na u mnie (eko.one.pl)

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

27

Odp: WL-500GP + OpenWRT + konfiguracja Dysku zewnętrznego + USB + rTorrent

Wszystko działa doskonale. Nie wiem, skad Ty masz taka wiedze na ten temat, ale szczerze gratuluje i naprawde dziekuje smile

Udostepnianie dysku dziala, postawilem serwer FTP w uproszczonej wersji (anonymous / haslo), do torrentow zaraz siade, ale mam poki co pytanie. Chcialbym zrobic tak, aby serwer FTP byl przypiety do konkretnego adresu, ale mam dynamicznie przydzielane ip. Na oryginalnym sofcie wl-500gp v2 byla taka mozliwosc, chociaz nazwy teraz nie pamietam. Czy mozna w jakis sposob, aby uniknac ciaglego pytania mnie o adres IP?

Druga pytanie dotyczy konfiguratora ustawien FTP. Chcialbym stworzyc konta uzytkownikow i poustawiac inne "bajery", co konfigurator swietnie pokazuje. Czy to, co konfigurator generuje jest JEDYNA zawartoscia poszczegolnych plikow? Probowalem tak zrobic, jak bylo napisane, ale cos poszlo nie tak, bo nie dzialalo. Sprobuje zaraz raz jeszcze, ale pytam przy okazji, nie chce spamowac, ale pewnosc, czy sie dobrze robi jest czasem bezcenna smile

z gory dziekuje za pomoc smile
pozdrawiam

28

Odp: WL-500GP + OpenWRT + konfiguracja Dysku zewnętrznego + USB + rTorrent

Pierwsze pytanie: http://eko.one.pl/index.php?page=openwr … dynamicdns , usługa nazywa się DDNS (Dynamic DNS)
Drugie: nie, to wszystko trzeba dopisać do istniejących plików (lub je zrobić jak ich nie ma). W szczególności uważaj z /etc/passwd, żebyś mógł się później zalogować smile

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

29 (edytowany przez Haamish 2009-07-06 14:25:08)

Odp: WL-500GP + OpenWRT + konfiguracja Dysku zewnętrznego + USB + rTorrent

Pewnie Cie to nie zaskoczy, ale znow dziala... Dzieki smile

Co plikow konfiguracji z generatora to najbardziej chodzilo mi o plik /etc/vsftpd.conf. Tam sa wpisy, ktorych tylko kilka sie powtarza, ale jest mnooostwo nowych. Rozsadek nakazuje nadpisac zawartosc... dobrze? A co do pliku z haslami to pamietam, wspomniales w howto, zeby dopisac. Faktycznie, bylby wtedy niezly problem smile

A powiedz mi, jesli chodzi o katalog publiczny (prywatnego nie planuje poki co) do FTP to jesli na dysku znajduje sie katalog "Files" i do niego chce logowac to wpis w tym polu powinien wygladac tak: "/hdd/Files" ?? Postepowalem wg Twojego howto, dlatego u mnie zasoby podpietego dysku widnieja pod nazwa "/hdd". To pierwsze "ale" do tego, drugie to czy trzeba utworzyc te katalogi "/etc/vsftpd_users"? Cos ich nie widze teraz tylko nie jestem pewien, czy to dlatego, ze zle szukam, czy tez naprawde ich nie ma... smile

Dla pewnosci, czy firewall dziala na regulach iptables (a jesli tak, to w jakiej postaci ma tablice na poczatku? wszystko DROP?) no i czy raz skonfigurowany po "grzebaniu" w plikach ftp wymaga ponownego ustawiania? Nie chce na slepo tego wpisywac, chcialbym to zrozumiec, a pozniej wykorzystac do przekierowania portow na swoj komputer w jakims innym programie zalozmy.

Ostatnia rzecz teraz, ktora mi przychodzi do glowy... Widzialem tez, ze wyjasniles, jak latwo zrobic serwer www na openwrt. Tylko czy on obsluguje wtedy tylko zwyklego html'a, czy tez radzi sobie np. z php? da sie go zmusic do obslugi bazy danych np w mysql?

aa i jeszcze jedno, przepraszam, to tym razem ostatnie... Zauwazylem, ze przy korzystaniu z DDNS moge sie logowac do strony administracyjnej LuCI z "zewnatrz", przez WAN. To nie jest takie pozadane zachowanie, zeby nie powiedziec, ze bardzo mi sie nie podoba... Da sie to wylaczyc jednoczesnie zostawiajac wlaczony dostep do FTP przez WAN?

30

Odp: WL-500GP + OpenWRT + konfiguracja Dysku zewnętrznego + USB + rTorrent

Haamish napisał/a:

Co plikow konfiguracji z generatora to najbardziej chodzilo mi o plik /etc/vsftpd.conf. Tam sa wpisy, ktorych tylko kilka sie powtarza, ale jest mnooostwo nowych. Rozsadek nakazuje nadpisac zawartosc... dobrze? A co do pliku z haslami to pamietam, wspomniales w howto, zeby dopisac. Faktycznie, bylby wtedy niezly problem

W tym pliku masz oczywiście nadpisać. Plik z generatora jest kompletnym plikiem konfiguracyjnym, nic więcej mu do szczęścia nie potrzeba. Ale moze być, bo opcji konfiguracyjnych jest oczywiście dużo więcej.

A powiedz mi, jesli chodzi o katalog publiczny (prywatnego nie planuje poki co) do FTP to jesli na dysku znajduje sie katalog "Files" i do niego chce logowac to wpis w tym polu powinien wygladac tak: "/hdd/Files" ?? Postepowalem wg Twojego howto, dlatego u mnie zasoby podpietego dysku widnieja pod nazwa "/hdd". To pierwsze "ale" do tego, drugie to czy trzeba utworzyc te katalogi "/etc/vsftpd_users"? Cos ich nie widze teraz tylko nie jestem pewien, czy to dlatego, ze zle szukam, czy tez naprawde ich nie ma...

Nie, nie ma ich. Masz ten katalog zrobić. Czasami jako katalogu domowego w /etc/passwd nie ustawiłeś /hdd? Bo pewnie tak.

Haamish napisał/a:

Dla pewnosci, czy firewall dziala na regulach iptables (a jesli tak, to w jakiej postaci ma tablice na poczatku? wszystko DROP?) no i czy raz skonfigurowany po "grzebaniu" w plikach ftp wymaga ponownego ustawiania? Nie chce na slepo tego wpisywac, chcialbym to zrozumiec, a pozniej wykorzystac do przekierowania portow na swoj komputer w jakims innym programie zalozmy.

iptables -v -L  lub cat /etc/config/firewall zobacz sobie jakią masz politykę domyślną. Specjalnie Ci nie napisze, żebyś wiedział na przyszłosć jak szukać smile.

Haamish napisał/a:

Ostatnia rzecz teraz, ktora mi przychodzi do glowy... Widzialem tez, ze wyjasniles, jak latwo zrobic serwer www na openwrt. Tylko czy on obsluguje wtedy tylko zwyklego html'a, czy tez radzi sobie np. z php? da sie go zmusic do obslugi bazy danych np w mysql?

Nie, busybox nie wspiera php. Musisz lighttpd z php zainstalować.

Haamish napisał/a:

aa i jeszcze jedno, przepraszam, to tym razem ostatnie... Zauwazylem, ze przy korzystaniu z DDNS moge sie logowac do strony administracyjnej LuCI z "zewnatrz", przez WAN. To nie jest takie pozadane zachowanie, zeby nie powiedziec, ze bardzo mi sie nie podoba... Da sie to wylaczyc jednoczesnie zostawiajac wlaczony dostep do FTP przez WAN?

To przeciez kwestia firewalla jest. Zrób politykę domyślną na DROP, otwórz tylko ftp i ew. ssh i to wszystko.

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

31

Odp: WL-500GP + OpenWRT + konfiguracja Dysku zewnętrznego + USB + rTorrent

Jeszcze troche, jeszcze kilka pytan i bede znal cale openwrt i linuxa tak jak Ty smile Ale dziekuje za pomoc. Jak tak wszystko tlumaczysz, a ja czytam te Twoje wszystkie howto, idzie naprawde jak z platka. No prawie...

Zainstalowalem sobie transmission dokladnie tak, jak napisales, ale w momencie logowania dostaje komunikat:

404: Not Found

Couldn't find Transmission's web interface files!

Users: to tell Transmission where to look, set the TRANSMISSION_WEB_HOME environment variable to the folder where the web interface's index.html is located.

Package Builders: to set a custom default at compile time, #define PACKAGE_DATA_DIR in libtransmission/platform.c or tweak tr_getClutchDir() by hand.

Co takiego schrzanilem? smile

32

Odp: WL-500GP + OpenWRT + konfiguracja Dysku zewnętrznego + USB + rTorrent

Tego nie wiem, Ty go instalowałeś.

w /etc/init.d/transmission przez wywołaniem transmission-daemon dodaj

export TRANSMISSION_WEB_HOME=/usr/share/transmission/web

Oczywiście transmission-web zainstalowałeś, prawda?

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

33

Odp: WL-500GP + OpenWRT + konfiguracja Dysku zewnętrznego + USB + rTorrent

I znow miales racje... Trzeba bylo dodac ten wpis i teraz dziala.

Jednak to, jaki ja jestem problematyczny i w ogole przechodzi ludzkie pojecie. Sciagnalem program Transmission Remote GUI i po malych klopotach zwiazanych z polaczeniem udalo sie. Dodalem jednego torrenta do sciagania program sie "odcial". O ile przed dodaniem moglem sie polaczyc przez strone (adres: 192.168.1.1:9091) oraz przez w/w program, o tyle pozniej juz nic. Nic nie zmienilem, a do programu podlaczyc sie, czy wejsc z poziomu strony nie moge. Tak, jakby sie zablokowal. Co dziwniejsze, w liscie procesow z w LuCI widac lacznie 3 dotyczace wlasnie Transmission.

Wiem Cezary, że malo kto trul Ci tylek tak, jak ja, ale wygladasz mi na jedyna osobe, ktora orientuje sie tak swietnie w temacie i chociaz ja nie mam pojecia, o co chodzi, Ty juz pewnie wiesz... smile

34

Odp: WL-500GP + OpenWRT + konfiguracja Dysku zewnętrznego + USB + rTorrent

A kiedy to zrobiłeś? Jeżeli "przed chwilą" i plik ma kilka gb to ruter jest właśnie tak bardzo zajęty tworzeniem tego pliku (w sensie rezerwacji miejsca) że nie ma czasu rozmawiać z Tobą (asus nie jest wydajną maszynką i cokolwiek większego z USB zabija go).

Natomiast jeżeli stan trwa już jakiś czas - zabij procesy i uruchom go jeszcze raz, ale tym razem ręcznie z konsoli. może kilka informacji wypisać.

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

35

Odp: WL-500GP + OpenWRT + konfiguracja Dysku zewnętrznego + USB + rTorrent

Z tym, kiedy to zrobilem to dobre pytanie. Pierwsze podejscie bylo okolo godziny 12-13. Potem wylaczylem i wlaczylem transmission ponownie. Pozniej mialem przerwe, bo inne sprawy, ale zrobilem to samo teraz. Zauwazylem co prawda, ze na liscie procesow go nie ma, wlaczylem go wiec z konsoli, jak radziles, jednak zadne bledy sie nie pojawily. Co wiecej, po wlaczeniu wyglada na to, ze router faktycznie rezerwuje miejsce, bo chyba nie pozwolilem mu na to wczesniej, a ze sciagany torrent ma rozmiar okolo 100 MB zajmuje to kilka minut. Zaskoczylo mnie jednak to, ze po tych paru minutach wszystkie procesy dotyczace transmission zniknely z listy procesow...

Pomyslalem sobie, ze moze wyczytasz cos z tych logow. Ja nic nie widze, moim zdaniem nie bardzo jest tutaj cos podejrzanego...

Na poczatku log Kernela.

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.35.4 (nbd@baustelle) (gcc version 3.4.6 (OpenWrt-2.0)) #51 Sat Feb 14 23:44:13 CET 2009
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... 263.78 BogoMIPS
Memory: 30468k/32768k available (1425k kernel code, 2300k reserved, 100k data, 84k 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:22:15:0b:8d:b4
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=0x1814cb
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x007f0000 : "linux"
0x000bb000-0x00240000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x007f0000-0x00800000 : "nvram"
0x00240000-0x007f0000 : "rootfs_data"
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)
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: 84k 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.
roboswitch: 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: add 01:00:5e:00:00:01 mcast address to master interface
SCSI subsystem driver Revision: 1.00
eth0.0: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
device eth0.0 entered promiscuous mode
br-lan: port 1(eth0.0) entering learning state
br-lan: port 1(eth0.0) entering forwarding state
br-lan: topology change detected, propagating
eth0.1: del 01:00:5e:00:00:01 mcast address from vlan interface
eth0.1: del 01:00:5e:00:00:01 mcast address from master interface
eth0.1: add 01:00:5e:00:00:01 mcast address to master interface
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
br-lan: port 1(eth0.0) entering disabled state
br-lan: port 1(eth0.0) entering learning state
br-lan: port 1(eth0.0) entering forwarding state
br-lan: topology change detected, propagating
PCI: Setting latency timer of device 01:02.0 to 64
PCI: Enabling device 01:02.0 (0004 -> 0006)
PCI/DMA
wl0: wlc_attach: chiprev 2 coreunit 0 corerev 9 cccap 0x640009 maccap 0x0 band 2.4G, phy_type 2 phy_rev 7 ana_rev 3
wl0: Broadcom BCM4318 802.11 Wireless Controller 4.150.10.5
Journalled Block Device driver loaded
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (5953 buckets, 5953 max) - 360 bytes per conntrack
usb-uhci.c: $Revision: 1.275 $ time 06:14:26 Jan 11 2009
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 c023c000
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
usb.c: registered new driver usblp
printer.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
hub.c: connect-debounce failed, port 1 disabled
hub.c: new USB device 01:03.2-2, assigned address 2
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: ST350032  Model: 0AS               Rev:     
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 976773168 512-byte hdwr sectors (500108 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
hub.c: new USB device 01:03.0-1, assigned address 2
printer.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04F9 pid 0x01CF
scsi1 : SCSI emulation for USB Mass Storage devices
  Vendor: Brother   Model: DCP-150C          Rev: 1.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 0
sdb: Unit Not Ready, sense:
Current 00:00: sns = 70  2
ASC=3a ASCQ= 0
Raw sense data:0x70 0x00 0x02 0x00 0x00 0x00 0x00 0x0c 0x00 0x00 0x00 0x00 0x3a 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
sdb : READ CAPACITY failed.
sdb : status = 1, message = 00, host = 0, driver = 08 
Current sd00:00: sns = 70  2
ASC=3a ASCQ= 0
Raw sense data:0x70 0x00 0x02 0x00 0x00 0x00 0x00 0x0c 0x00 0x00 0x00 0x00 0x3a 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
sdb : block size assumed to be 512 bytes, disk size 1GB.  
 /dev/scsi/host1/bus0/target0/lun0: I/O error: dev 08:10, sector 0
 I/O error: dev 08:10, sector 0
 unable to read partition table
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended

Log systemowy, ale tutaj raczej nic nie ma...

Feb  6 02:49:00 OpenWrt user.notice kernel: cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Feb  6 02:49:00 OpenWrt user.notice kernel: Flash device: 0x800000 at 0x1c000000
Feb  6 02:49:00 OpenWrt user.notice kernel: bootloader size: 262144
Feb  6 02:49:00 OpenWrt user.info kernel: Physically mapped flash: Filesystem type: squashfs, size=0x1814cb
Feb  6 02:49:00 OpenWrt user.notice kernel: Creating 5 MTD partitions on "Physically mapped flash":
Feb  6 02:49:00 OpenWrt user.notice kernel: 0x00000000-0x00040000 : "cfe"
Feb  6 02:49:00 OpenWrt user.notice kernel: 0x00040000-0x007f0000 : "linux"
Feb  6 02:49:00 OpenWrt user.notice kernel: 0x000bb000-0x00240000 : "rootfs"
Feb  6 02:49:00 OpenWrt user.warn kernel: mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
Feb  6 02:49:00 OpenWrt user.notice kernel: 0x007f0000-0x00800000 : "nvram"
Feb  6 02:49:00 OpenWrt user.notice kernel: 0x00240000-0x007f0000 : "rootfs_data"
Feb  6 02:49:00 OpenWrt user.info kernel: Initializing Cryptographic API
Feb  6 02:49:00 OpenWrt user.info kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Feb  6 02:49:00 OpenWrt user.info kernel: IP Protocols: ICMP, UDP, TCP, IGMP
Feb  6 02:49:00 OpenWrt user.info kernel: IP: routing cache hash table of 512 buckets, 4Kbytes
Feb  6 02:49:00 OpenWrt user.info kernel: TCP: Hash tables configured (established 2048 bind 4096)
Feb  6 02:49:00 OpenWrt user.info kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Feb  6 02:49:00 OpenWrt user.info kernel: NET4: Ethernet Bridge 008 for NET4.0
Feb  6 02:49:00 OpenWrt user.info kernel: 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
Feb  6 02:49:00 OpenWrt user.info kernel: All bugs added by David S. Miller <davem@redhat.com>
Feb  6 02:49:00 OpenWrt user.warn kernel: VFS: Mounted root (squashfs filesystem) readonly.
Feb  6 02:49:00 OpenWrt user.info kernel: Mounted devfs on /dev
Feb  6 02:49:00 OpenWrt user.info kernel: Freeing unused kernel memory: 84k freed
Feb  6 02:49:00 OpenWrt user.warn kernel: Algorithmics/MIPS FPU Emulator v1.5
Feb  6 02:49:00 OpenWrt user.warn kernel: diag: Detected 'ASUS WL-500g Premium'
Feb  6 02:49:00 OpenWrt user.info kernel: b44: eth0: Link is up at 100 Mbps, full duplex.
Feb  6 02:49:00 OpenWrt user.info kernel: b44: eth0: Flow control is off for TX and off for RX.
Feb  6 02:49:00 OpenWrt user.info kernel: roboswitch: Probing device eth0: found!
Feb  6 02:49:00 OpenWrt user.info kernel: mini_fo: using base directory: /
Feb  6 02:49:00 OpenWrt user.info kernel: mini_fo: using storage directory: /jffs
Feb  6 02:49:00 OpenWrt user.warn kernel: jffs2.bbc: SIZE compression mode activated.
Feb  6 02:49:01 OpenWrt user.info kernel: b44: eth0: Link is up at 100 Mbps, full duplex.
Feb  6 02:49:01 OpenWrt user.info kernel: b44: eth0: Flow control is off for TX and off for RX.
Feb  6 02:49:03 OpenWrt user.debug kernel: eth0.0: add 01:00:5e:00:00:01 mcast address to master interface
Feb  6 02:49:03 OpenWrt user.debug kernel: eth0.1: add 01:00:5e:00:00:01 mcast address to master interface
Feb  6 02:49:03 OpenWrt user.info kernel: SCSI subsystem driver Revision: 1.00
Feb  6 02:49:03 OpenWrt user.info kernel: eth0.0: dev_set_promiscuity(master, 1)
Feb  6 02:49:03 OpenWrt user.info kernel: device eth0 entered promiscuous mode
Feb  6 02:49:03 OpenWrt user.info kernel: device eth0.0 entered promiscuous mode
Feb  6 02:49:03 OpenWrt user.info kernel: br-lan: port 1(eth0.0) entering learning state
Feb  6 02:49:03 OpenWrt user.info kernel: br-lan: port 1(eth0.0) entering forwarding state
Feb  6 02:49:03 OpenWrt user.info kernel: br-lan: topology change detected, propagating
Feb  6 02:49:04 OpenWrt user.debug kernel: eth0.1: del 01:00:5e:00:00:01 mcast address from vlan interface
Feb  6 02:49:04 OpenWrt user.debug kernel: eth0.1: del 01:00:5e:00:00:01 mcast address from master interface
Feb  6 02:49:04 OpenWrt user.debug kernel: eth0.1: add 01:00:5e:00:00:01 mcast address to master interface
Feb  6 02:49:04 OpenWrt user.info kernel: usb.c: registered new driver usbdevfs
Feb  6 02:49:04 OpenWrt user.info kernel: usb.c: registered new driver hub
Feb  6 02:49:05 OpenWrt user.info kernel: br-lan: port 1(eth0.0) entering disabled state
Feb  6 02:49:05 OpenWrt user.info kernel: br-lan: port 1(eth0.0) entering learning state
Feb  6 02:49:05 OpenWrt user.info kernel: br-lan: port 1(eth0.0) entering forwarding state
Feb  6 02:49:05 OpenWrt user.info kernel: br-lan: topology change detected, propagating
Feb  6 02:49:07 OpenWrt user.debug kernel: PCI: Setting latency timer of device 01:02.0 to 64
Feb  6 02:49:07 OpenWrt user.warn kernel: PCI: Enabling device 01:02.0 (0004 -> 0006)
Feb  6 02:49:07 OpenWrt user.emerg kernel: PCI/DMA
Feb  6 02:49:07 OpenWrt user.emerg kernel: wl0: wlc_attach: chiprev 2 coreunit 0 corerev 9 cccap 0x640009 maccap 0x0 band 2.4G, phy_type 2 phy_rev 7 ana_rev 3
Feb  6 02:49:07 OpenWrt user.warn kernel: wl0: Broadcom BCM4318 802.11 Wireless Controller 4.150.10.5
Feb  6 02:49:07 OpenWrt user.info : Warning: loading wl will taint the kernel: non-GPL license - Proprietary
Feb  6 02:49:07 OpenWrt user.info :   See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Feb  6 02:49:07 OpenWrt user.info kernel: Journalled Block Device driver loaded
Feb  6 02:49:08 OpenWrt user.info kernel: CSLIP: code copyright 1989 Regents of the University of California
Feb  6 02:49:08 OpenWrt user.info kernel: PPP generic driver version 2.4.2
Feb  6 02:49:08 OpenWrt user.warn kernel: ip_tables: (C) 2000-2002 Netfilter core team
Feb  6 02:49:08 OpenWrt user.warn kernel: ip_conntrack version 2.1 (5953 buckets, 5953 max) - 360 bytes per conntrack
Feb  6 02:49:09 OpenWrt user.info kernel: usb-uhci.c: $Revision: 1.275 $ time 06:14:26 Jan 11 2009
Feb  6 02:49:09 OpenWrt user.info kernel: usb-uhci.c: High bandwidth mode enabled
Feb  6 02:49:09 OpenWrt user.warn kernel: PCI: Enabling device 01:03.0 (0000 -> 0001)
Feb  6 02:49:09 OpenWrt user.info kernel: UHCI: Enabling VIA 6212 workarounds
Feb  6 02:49:09 OpenWrt user.info kernel: usb-uhci.c: USB UHCI at I/O 0x100, IRQ 2
Feb  6 02:49:09 OpenWrt user.warn kernel: usb-uhci.c: Detected 2 ports
Feb  6 02:49:09 OpenWrt user.info kernel: usb.c: new USB bus registered, assigned bus number 1
Feb  6 02:49:09 OpenWrt user.info kernel: hub.c: USB hub found
Feb  6 02:49:09 OpenWrt user.info kernel: hub.c: 2 ports detected
Feb  6 02:49:09 OpenWrt user.warn kernel: PCI: Enabling device 01:03.1 (0000 -> 0001)
Feb  6 02:49:09 OpenWrt user.info kernel: UHCI: Enabling VIA 6212 workarounds
Feb  6 02:49:09 OpenWrt user.info kernel: usb-uhci.c: USB UHCI at I/O 0x120, IRQ 2
Feb  6 02:49:09 OpenWrt user.warn kernel: usb-uhci.c: Detected 2 ports
Feb  6 02:49:09 OpenWrt user.info kernel: usb.c: new USB bus registered, assigned bus number 2
Feb  6 02:49:09 OpenWrt user.info kernel: hub.c: USB hub found
Feb  6 02:49:09 OpenWrt user.info kernel: hub.c: 2 ports detected
Feb  6 02:49:09 OpenWrt user.info kernel: usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
Feb  6 02:49:09 OpenWrt user.warn kernel: PCI: Enabling device 01:03.2 (0000 -> 0002)
Feb  6 02:49:09 OpenWrt user.info kernel: ehci_hcd 01:03.2: PCI device 1106:3104
Feb  6 02:49:09 OpenWrt user.info kernel: ehci_hcd 01:03.2: irq 2, pci mem c023c000
Feb  6 02:49:09 OpenWrt user.info kernel: usb.c: new USB bus registered, assigned bus number 3
Feb  6 02:49:09 OpenWrt user.info kernel: EHCI: Enabling VIA 6212 workarounds
Feb  6 02:49:09 OpenWrt user.info kernel: ehci_hcd 01:03.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
Feb  6 02:49:09 OpenWrt user.info kernel: hub.c: USB hub found
Feb  6 02:49:09 OpenWrt user.info kernel: hub.c: 4 ports detected
Feb  6 02:49:10 OpenWrt user.info kernel: usb.c: registered new driver usblp
Feb  6 02:49:10 OpenWrt user.info kernel: printer.c: v0.13: USB Printer Device Class driver
Feb  6 02:49:10 OpenWrt user.info kernel: Initializing USB Mass Storage driver...
Feb  6 02:49:10 OpenWrt user.info kernel: usb.c: registered new driver usb-storage
Feb  6 02:49:10 OpenWrt user.info kernel: USB Mass Storage support registered.
Feb  6 02:49:10 OpenWrt user.err kernel: hub.c: connect-debounce failed, port 1 disabled
Feb  6 02:49:11 OpenWrt user.info kernel: hub.c: new USB device 01:03.2-2, assigned address 2
Feb  6 02:49:11 OpenWrt user.info kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Feb  6 02:49:11 OpenWrt user.warn kernel:   Vendor: ST350032  Model: 0AS               Rev:     
Feb  6 02:49:11 OpenWrt user.warn kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Feb  6 02:49:11 OpenWrt user.warn kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Feb  6 02:49:11 OpenWrt user.warn kernel: SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
Feb  6 02:49:11 OpenWrt user.info kernel: Partition check:
Feb  6 02:49:11 OpenWrt user.info kernel:  /dev/scsi/host0/bus0/target0/lun0:
Feb  6 02:49:11 OpenWrt user.info kernel:  p1
Feb  6 02:49:11 OpenWrt user.debug kernel: WARNING: USB Mass Storage data integrity not assured
Feb  6 02:49:11 OpenWrt user.debug kernel: USB Mass Storage device found at 2
Feb  6 02:49:11 OpenWrt user.notice root: usb device is mass storage
Feb  6 02:49:11 OpenWrt user.notice root: waiting on usb drive 0 ...
Feb  6 02:49:11 OpenWrt user.info kernel: hub.c: new USB device 01:03.0-1, assigned address 2
Feb  6 02:49:11 OpenWrt user.info kernel: printer.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04F9 pid 0x01CF
Feb  6 02:49:12 OpenWrt user.info kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Feb  6 02:49:12 OpenWrt user.warn kernel:   Vendor: Brother   Model: DCP-150C          Rev: 1.00
Feb  6 02:49:12 OpenWrt user.warn kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Feb  6 02:49:12 OpenWrt user.warn kernel: Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 0
Feb  6 02:49:12 OpenWrt user.notice kernel: sdb: Unit Not Ready, sense:
Feb  6 02:49:12 OpenWrt user.warn kernel: Current 00:00: sns = 70  2
Feb  6 02:49:12 OpenWrt user.warn kernel: ASC=3a ASCQ= 0
Feb  6 02:49:12 OpenWrt user.warn kernel: Raw sense data:0x70 0x00 0x02 0x00 0x00 0x00 0x00 0x0c 0x00 0x00 0x00 0x00 0x3a 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
Feb  6 02:49:12 OpenWrt user.warn kernel: sdb : READ CAPACITY failed.
Feb  6 02:49:12 OpenWrt user.warn kernel: sdb : status = 1, message = 00, host = 0, driver = 08 
Feb  6 02:49:12 OpenWrt user.warn kernel: Current sd00:00: sns = 70  2
Feb  6 02:49:12 OpenWrt user.warn kernel: ASC=3a ASCQ= 0
Feb  6 02:49:12 OpenWrt user.warn kernel: Raw sense data:0x70 0x00 0x02 0x00 0x00 0x00 0x00 0x0c 0x00 0x00 0x00 0x00 0x3a 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
Feb  6 02:49:12 OpenWrt user.warn kernel: sdb : block size assumed to be 512 bytes, disk size 1GB.  
Feb  6 02:49:12 OpenWrt user.info kernel:  /dev/scsi/host1/bus0/target0/lun0: I/O error: dev 08:10, sector 0
Feb  6 02:49:12 OpenWrt user.warn kernel:  I/O error: dev 08:10, sector 0
Feb  6 02:49:12 OpenWrt user.warn kernel:  unable to read partition table
Feb  6 02:49:12 OpenWrt user.debug kernel: WARNING: USB Mass Storage data integrity not assured
Feb  6 02:49:12 OpenWrt user.debug kernel: USB Mass Storage device found at 2
Feb  6 02:49:12 OpenWrt user.notice root: usb device is mass storage
Feb  6 02:49:12 OpenWrt user.notice root: waiting on usb drive 0 ...
Feb  6 02:49:12 OpenWrt user.notice root: waiting on usb drive 1 ...
Feb  6 02:49:13 OpenWrt user.notice root: waiting on usb drive 2 ...
Feb  6 02:49:13 OpenWrt user.notice root: waiting on usb drive 1 ...
Feb  6 02:49:14 OpenWrt user.notice root: waiting on usb drive 3 ...
Feb  6 02:49:14 OpenWrt user.notice root: waiting on usb drive 2 ...
Feb  6 02:49:15 OpenWrt user.notice root: waiting on usb drive 4 ...
Feb  6 02:49:15 OpenWrt user.notice root: waiting on usb drive 3 ...
Feb  6 02:49:16 OpenWrt user.notice root: waiting on usb drive 5 ...
Feb  6 02:49:16 OpenWrt user.notice root: waiting on usb drive 4 ...
Feb  6 02:49:17 OpenWrt user.notice root: waiting on usb drive 6 ...
Feb  6 02:49:17 OpenWrt user.notice root: waiting on usb drive 5 ...
Feb  6 02:49:18 OpenWrt user.notice root: waiting on usb drive 7 ...
Feb  6 02:49:19 OpenWrt user.notice root: waiting on usb drive 6 ...
Feb  6 02:49:20 OpenWrt user.notice root: waiting on usb drive 8 ...
Feb  6 02:49:20 OpenWrt user.notice root: waiting on usb drive 7 ...
Feb  6 02:49:20 OpenWrt user.warn kernel: EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
Feb  6 02:49:20 OpenWrt user.info : 'wl0' is disabled
Feb  6 02:49:21 OpenWrt user.notice root: waiting on usb drive 9 ...
Feb  6 02:49:21 OpenWrt user.notice root: waiting on usb drive 8 ...
Feb  6 02:49:21 OpenWrt user.info : 'wl0' is disabled
Feb  6 02:49:21 OpenWrt user.info : Loading defaults
Feb  6 02:49:22 OpenWrt user.notice root: waiting on usb drive 10 ...
Feb  6 02:49:22 OpenWrt user.notice root: waiting on usb drive 9 ...
Feb  6 02:49:22 OpenWrt user.info : Loading synflood protection
Feb  6 02:49:23 OpenWrt user.info : Adding custom chains
Feb  6 02:49:23 OpenWrt user.notice root: waiting on usb drive 10 ...
Feb  6 02:49:23 OpenWrt user.info : Loading zones
Feb  6 02:49:25 OpenWrt user.info : Loading rules
Feb  6 02:49:25 OpenWrt user.info : Loading forwarding
Feb  6 02:49:25 OpenWrt user.info : Loading redirects
Feb  6 02:49:25 OpenWrt user.info : Loading includes
Feb  6 02:49:26 OpenWrt user.notice root: adding lan (br-lan) to firewall zone lan
Feb  6 02:49:27 OpenWrt user.notice root: adding wan (eth0.1) to firewall zone wan
Feb  6 02:49:29 OpenWrt authpriv.info dropbear[887]: Running in background
Feb  6 02:49:34 OpenWrt daemon.info dnsmasq[990]: started, version 2.46 cachesize 150
Feb  6 02:49:34 OpenWrt daemon.info dnsmasq[990]: compile time options: IPv6 GNU-getopt no-DBus no-I18N TFTP
Feb  6 02:49:34 OpenWrt daemon.info dnsmasq[990]: DHCP, IP range 192.168.1.100 -- 192.168.1.250, lease time 12h
Feb  6 02:49:34 OpenWrt daemon.info dnsmasq[990]: using local addresses only for domain lan
Feb  6 02:49:34 OpenWrt daemon.info dnsmasq[990]: reading /tmp/resolv.conf.auto
Feb  6 02:49:34 OpenWrt daemon.info dnsmasq[990]: using nameserver 62.179.1.62#53
Feb  6 02:49:34 OpenWrt daemon.info dnsmasq[990]: using nameserver 62.179.1.63#53
Feb  6 02:49:34 OpenWrt daemon.info dnsmasq[990]: using local addresses only for domain lan
Feb  6 02:49:34 OpenWrt daemon.info dnsmasq[990]: read /etc/hosts - 3 addresses
Feb  6 02:49:34 OpenWrt daemon.info dnsmasq[990]: read /etc/ethers - 0 addresses
Feb  6 03:49:20 OpenWrt user.notice root: removing wan (eth0.1) from firewall zone wan
Feb  6 03:49:22 OpenWrt user.notice root: adding wan (eth0.1) to firewall zone wan
Feb  6 03:49:23 OpenWrt daemon.info dnsmasq[990]: reading /tmp/resolv.conf.auto
Feb  6 03:49:23 OpenWrt daemon.info dnsmasq[990]: using nameserver 62.179.1.62#53
Feb  6 03:49:23 OpenWrt daemon.info dnsmasq[990]: using nameserver 62.179.1.63#53
Feb  6 03:49:23 OpenWrt daemon.info dnsmasq[990]: using local addresses only for domain lan
Feb  6 04:14:32 OpenWrt authpriv.info dropbear[1277]: Child connection from 192.168.1.101:4249
Feb  6 04:14:38 OpenWrt authpriv.warn dropbear[1277]: login attempt for nonexistent user from 192.168.1.101:4249
Feb  6 04:14:40 OpenWrt authpriv.warn dropbear[1277]: login attempt for nonexistent user from 192.168.1.101:4249
Feb  6 04:14:43 OpenWrt authpriv.warn dropbear[1277]: login attempt for nonexistent user from 192.168.1.101:4249
Feb  6 04:14:47 OpenWrt authpriv.warn dropbear[1277]: login attempt for nonexistent user from 192.168.1.101:4249
Feb  6 04:14:52 OpenWrt authpriv.warn dropbear[1277]: login attempt for nonexistent user from 192.168.1.101:4249
Feb  6 04:14:53 OpenWrt authpriv.info dropbear[1277]: exit before auth: Max auth tries reached - user 'is invalid' from 192.168.1.101:4249
Feb  6 04:15:02 OpenWrt authpriv.info dropbear[1278]: Child connection from 192.168.1.101:4250
Feb  6 04:15:07 OpenWrt authpriv.notice dropbear[1278]: password auth succeeded for 'root' from 192.168.1.101:4250

36

Odp: WL-500GP + OpenWRT + konfiguracja Dysku zewnętrznego + USB + rTorrent

Masz jakieś błędy in/out na dysku. Może podłącz do innego portu USB? Przejedź też partycje e2fsck.

37

Odp: WL-500GP + OpenWRT + konfiguracja Dysku zewnętrznego + USB + rTorrent

Dokładnie.

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

38

Odp: WL-500GP + OpenWRT + konfiguracja Dysku zewnętrznego + USB + rTorrent

Pozwole sobie spytac w tym temacie, bo i tak już w wiekszosci poswiecony jest moim "problemom" smile

Mam drukarke Brother DCP-150C, ktora dzialala bezproblemowo na oryginalnym sofcie. Zainstalowalem sobie zgodnie z "howto" printerserver'a, ale w logu przy drukowaniu dostaje komunikat:

Feb  6 02:56:07 OpenWrt lpr.err p9100d[1048]: /dev/lp0: No such file or directory
Feb  6 02:56:07 OpenWrt lpr.err p9100d[1048]: /dev/lp0: No such file or directory, will try opening later

Oczywiscie wiem, co tu jest napisane, ale nasuwa sie pytanie...  Skoro "/dev/lp0" to zawartosc pola "device", a pole "port" ma wartosc tak, jak powinno, czyli "/dev/usb/lp0"... Czemu czegos tutaj brakuje?

39

Odp: WL-500GP + OpenWRT + konfiguracja Dysku zewnętrznego + USB + rTorrent

Ha! brawo! Znalazłeś pomyłkę, a każdy widzi cmoka i mówi że działa.

port 0 device /dev/usb/lp0 oczywiście. Już poprawiłem.

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

40

Odp: WL-500GP + OpenWRT + konfiguracja Dysku zewnętrznego + USB + rTorrent

Cezary napisał/a:

Ha! brawo! Znalazłeś pomyłkę, a każdy widzi cmoka i mówi że działa.

port 0 device /dev/usb/lp0 oczywiście. Już poprawiłem.

Ustawilem, jak mowisz, ale wciaz mi nie idzie. Tym razem w logu pusto, brak jakis innych wpisow. Przeinstalowalem drukarke w systemie, ale jak dam drukowanie jednego dokumentu to nic nie idzie, a po chwili wywala mi systemowy blad drukowania.

41

Odp: WL-500GP + OpenWRT + konfiguracja Dysku zewnętrznego + USB + rTorrent

Sorry, pisałem. Nie każda chce tak działać.

Sprawdź konfigurację jeszcze raz. Masz /dev/usb/lp0? W konfiguracji drivera drukarki masz 9100 i raw?

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

42

Odp: WL-500GP + OpenWRT + konfiguracja Dysku zewnętrznego + USB + rTorrent

Dobra, jest. Łopatologicznie zrobione od poczatku do konca wg poprawionego howto dziala. Tak sie tylko zastanawiam, bo na oryginalnym sofcie byl port LPR a tutaj RAW. Oczywiscie nie musisz na to odpowiadac, bo to pytanie w stylu "czemu po srodzie jest czwartek?". Wazne, ze dziala.

Jakis czas temu w tym temacie pisalem o problemach Transmission i o tym, ze nie chce mi sie polaczyc po dodaniu jednego torrenta. Zasugerowaliscie, aby sprawdzic dysk w poszukiwaniu bledow, ale czy da sie to zrobic, jesli nie ustawilo sie "partycjowego" swapa? Bo czy dla 500 GB plik starczy?

43

Odp: WL-500GP + OpenWRT + konfiguracja Dysku zewnętrznego + USB + rTorrent

Bo widoczne w oryginale był właśnie demon lpr. Prawdę mówiąc nie wiem, bo oryginał wytrzymał może z godzinę u mnie.

Problem w tym że ruter ma mało pamięci i przy sprawdzaniu większej partycji może się wyspać.

Ale - ściągnij sobie i uruchom dowolne livecd (SystemRescueCd do takich spraw może być przydatne lub po prostu płyta z ubuntu), podłącz dysk na usb do kompa i sprawdź. Będzie i szybciej i sprawniej.

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

44 (edytowany przez Haamish 2009-07-19 16:45:03)

Odp: WL-500GP + OpenWRT + konfiguracja Dysku zewnętrznego + USB + rTorrent

Ale teraz bedzie wtopa, wstyd i w ogole, ale musze...

Mam plytke ubuntu 8.10, odpalilem ja jako livecd, ale nie moge sprawdzic systemu plikow. Swoj dysk z etykieta znalazlem w katalogu "media", ale jak wpisze to w polaczeniu e2fsck to nie idzie. Krzyczy, ze jest to folder i dupa. To akurat jest oczywiste w koncu, calkowicie sie z tym zgadzam i nie do tego mam pytanie. Katalog /mnt/ mam pusty, wiec gdzie jest w takim razie podpiety ten dysk abym mogl go odmountowac i sprawdzic?

EDIT:
Dobra, to powyzej raczej nieaktualne. Wszedzie pisza, ze to bedzie w /dev/sda1/ wiec tak zrobilem. Wpisalem

umount /dev/sda1/

poszlo, ale po wpisaniu

fsck /dev/sda1

dostaje komunikat:

fsck 1.41.3 (12-Oct-2008)
fsck: fsck.ntfs: nie znaleziono
fsck: Błąd 2 podczas wykonywania fsck.ntfs dla /dev/sda1

natomiast wpisanie

e2fsck /dev/sda1/

wykrzykuje mi to:

e2fsck 1.41.3 (12-Oct-2008)
e2fsck: Superblok błędny, podczas próby wykonania kopii zapasowej bloków...
e2fsck: Bad magic number in super-block podczas próby otworzenia /dev/sda1

superblok nie mógł być odczytany lub nie opisuje prawidłowego systemu
plików ext2. Jeżeli urządzenie jest prawidłowe i naprawdę zawiera
system plików ext2 (nie jest swapem, ufs-em ani niczym innym),
to superblok jest uszkodzony - można próbować uruchomić e2fsck z innym
superblokiem:
    e2fsck -b 8193 <urządzenie>

Masz moze Cezary jakis pomysl? smile z gory dzieki smile

EDIT2:
W Partition Magic 8.0 nie moge kurde sprawdzic dysku. Po wybraniu opcji "Check for errors" dostaje komunikat:

Error #1201
Ext2 superblock contains illegal information

Myslalem wyodrebnic swapa w postaci partycji, aby nie stracic danych, ale to przestaje byc zabawne... smile
Czy da sie jakos naprawic ten caly superblock dla ext2 bez formatowania, czyli utraty danych? smile

45

Odp: WL-500GP + OpenWRT + konfiguracja Dysku zewnętrznego + USB + rTorrent

e2fsck jest dla ext2/ext3. A Ty masz tam ntfs jak rozumiem. Więc co chcesz sprawdzić tym programem...

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

46

Odp: WL-500GP + OpenWRT + konfiguracja Dysku zewnętrznego + USB + rTorrent

PS. Jesteś pewien że /dev/sda1? Bo zapewne to jest Twój dysk z windowsem.

ten pendrive to jako /dev/sdb1 lub jeszcze dalej jeżeli masz kilka dysków.

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

47 (edytowany przez Haamish 2009-07-19 18:51:31)

Odp: WL-500GP + OpenWRT + konfiguracja Dysku zewnętrznego + USB + rTorrent

Cezary napisał/a:

e2fsck jest dla ext2/ext3. A Ty masz tam ntfs jak rozumiem. Więc co chcesz sprawdzić tym programem...

Nie, nie, nie. Nie mam tam ntfs'a, tylko ext2. Jak go kupilem, wsadzilem go do obudowy Welland'a, sformatowalem przy uzyciu Partition Magic do ext2 i tak go uzywalem przez dlugi okres czasu podpietego do wl500gp na oryginalnym sofcie. Chodzil bez problemu, chociaz lampka parametrow SMART cos mi wariowala. Czasem pokazywala dysk w kiepskim stanie, chociaz sprawdzony z poziomu Windowsa przy uzyciu chocby Seatool byl w porzadku. Ale to szczegol, dysk mam sformatowany do ext2, bo musialem nawet instalowac cos jak sterowniki, aby w ogole byl widziany w Windowsie. Partition Magic teraz tez mowi, ze to ext2, wiec moge smialo powiedziec, ze jestem tego pewien. Stad wlasnie cale to moje pytanie w poprzednim poscie.

Cezary napisał/a:

PS. Jesteś pewien że /dev/sda1? Bo zapewne to jest Twój dysk z windowsem.

ten pendrive to jako /dev/sdb1 lub jeszcze dalej jeżeli masz kilka dysków.

Tego juz w ogole nie rozumiem. Jak to dysk z windowsem? To, co mam podpiete do routera to specjalnie do tego kupiiony 500 gigowy dysk, ktorego do kompa podlaczam naprawde sporadycznie. On ma byc wpiety do routera i sluzyc jako taka domowa baza plikow. Nie ma tam zadnego systemu, tylko chyba 3 katalogi i plik swap, ale to pewnie z poprzedniego softu jeszcze.

EDIT:
Czekaj, nie odpisuj, bo cos sprawdze pierw smile Chyba sie nie zrozumielismy smile

48

Odp: WL-500GP + OpenWRT + konfiguracja Dysku zewnętrznego + USB + rTorrent

Jeżeli odpaliłeś livecd na kompie to /dev/sda to pierwszy dysk. Pewnie systemowy, a sda1 to partycja windziana.

A ntfs bo tak właśnie fsck wykryło na sda1...

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

49

Odp: WL-500GP + OpenWRT + konfiguracja Dysku zewnętrznego + USB + rTorrent

Masz racje, moje niedopatrzenie. Zaraz wskocze znow na livecd i sprawdze, ale powiedz mi jedno. Jak odpalam Partition Magic i chce cokolwiek zrobic z tym dyskiem na ext2 to dostaje komunikat w stylu

Error #1200
Ext2 filesystem is corrupt

No i inne tego typu. Mam wierzyc w to, co mi tu krzyczy program, czy jednak to "przesada"? Powinienem sie tym martwic? smile

50

Odp: WL-500GP + OpenWRT + konfiguracja Dysku zewnętrznego + USB + rTorrent

fsck.ext2 Ci prawdę powie...

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