WRT160NL und USB HDD via Samba

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC basierende Hardware
Author Message
kalle_karlsson
DD-WRT Novice


Joined: 21 Jul 2010
Posts: 24

PostPosted: Wed Jul 21, 2010 8:29    Post subject: WRT160NL und USB HDD via Samba Reply with quote
Hallo, als Neuling was DD-WRT und Linux angeht habe ich wahrscheinlich irgendwas verkehrt gemacht. Es will mir nicht gelingen, eine externe USB Festplatte von Windows aus anzusprechen. Ich habe die Platte mit 3 Partitionen erstellt (opt/swap/data) und Slim samba2 installiert. Die Platte wird als USB erkannt:

Quote:
--- /dev/discs/disc0/disc
Block device, size 1.365 TiB (1500301910016 bytes)
DOS/MBR partition map
Partition 1: 509.8 MiB (534610944 bytes, 1044162 sectors from 63)
Type 0x83 (Linux)
Ext3 file system
Volume name "Optware"
UUID F6C40B5C-A510-4F43-BCF4-C5AFF4B7A42D (DCE, v4)
Volume size 509.8 MiB (534609920 bytes, 522080 blocks of 1 KiB)
Partition 2: 62.75 MiB (65802240 bytes, 128520 sectors from 1044225)
Type 0x82 (Linux swap / Solaris)
Linux swap, version 2, subversion 1, 4 KiB pages, little-endian
Swap size 62.75 MiB (65794048 bytes, 16063 pages of 4 KiB)
Partition 3: 1.364 TiB (1499698851840 bytes, 2929099320 sectors from 1172745)
Type 0x83 (Linux)
Ext3 file system
Volume name "Data"
UUID 0DD51473-ABDC-412A-ABBD-5A385405DFB1 (DCE, v4)
Volume size 1.364 TiB (1499698851840 bytes, 366137415 blocks of 4 KiB)
Status: Mounted on /mnt


und anscheinend auch richtig eingebunden:

Quote:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 5632 5632 0 100% /
/dev/discs/disc0/part1
505604 18915 460585 4% /mnt
/dev/discs/disc0/part1
505604 18915 460585 4% /opt
/dev/discs/disc0/part3
1441569152 202364 1368139308 0% /mnt/data


Wenn ich jedoch darauf zugreifen möchte (\\192.168.2.1) kann ich keine Verbindung erhalten. Firewall ist abgestellt, daran sollte es nicht liegen. Hat jemand Hinweise wo der Fehler steckt?

Mfg Karlsson

Ergänzung: Beim Starten von samba2.usb erhalte ich folgendes log

Quote:
root@Routertouille:/mnt# ./samba2.usb
.
Welcome to Slim Samba2 v.5
sh: -m: unknown operand
Checking to see if /mnt is mounted
Checking to see if /mnt is mounted
Checking to see if /opt is mounted
Three partitions found, so mounting data drive /mnt/data onto partition3
mount: mounting /dev/discs/disc0/part3 on /mnt/data failed: Device or resource b usy
Copy DD-WRT IP settings to smb.conf
cp: cannot stat '.conf': No such file or directory
Start Samba
mkdir: cannot create directory '/tmp/samba': File exists
Starting smbd:
/opt/sbin/smbd: line 15: syntax error: "(" unexpected
Starting nmbd:
/opt/sbin/nmbd: line 1: syntax error: "(" unexpected
Start ProFTPd
- setting default address to 192.168.2.1

Your current workgroup name is: WORKGROUP
You may change the workgroup name with the command: samba2.cwg

Done

Before unplugging USB drive from a live router,
run command: sh /tmp/unplug.usb


Hilft das? Mir leider nicht.

/Karlsson
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC basierende Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum