Correct me if I'm wrong, but shouldn't your [ext3] section have only one "path" line?
So probably, you should only have
and notCode:path=/tmp/harddisk/part1
Code:path=/tmp/harddisk/part1
path=/tmp/harddisk
Printable View
Correct me if I'm wrong, but shouldn't your [ext3] section have only one "path" line?
So probably, you should only have
and notCode:path=/tmp/harddisk/part1
Code:path=/tmp/harddisk/part1
path=/tmp/harddisk
Yes i know.. i have corrected that to.
That was why i keept endning up the same place.
Do u know if i can make one big ext3 partiton, maybe in partition magic.
and just use that. or do i have to format the hd by the router, for it to be reconizede by the router.
It´s stupid having a fat32 and a ext3 partition
Quote:
Originally Posted by lebeno
It is mentioned somewhere in this thread but I somehow missed it and it took me an hour to find out what was wrong. Your unit needs to have assigned a host name - you need Oleg´s 1.9.2.7-5a (or later, if available:-)) firmware for that (it is bugged in earlier versions, as I understood) and you can do it through the webinterface (IP Config >> WAN & LAN >> LAN IP Setting >> Host Name). You can tell the difference whether it is assigned or not from the telnet command line(or how to call it:-)) - if it is like this:
[admin@wl500g root]$ where wl500g stands for the name and admin for the user name, you ale alright, if it is like this: [admin@(none) root]$, you need to fix something up.
I hope this helps somebody, it would have saved some time to me:-).
seems to me that you only have one path (path=/tmp/harddisk) with a subdirectory in it (part1).
if you mount /tmp/harddisk as an ext3 partitiosn then /tmp/harddisk/part1 is a directoty in that partition
you should have something like this instead:
/tmp/harddisk/part1 (for ext3)
/tmp/harddisk/part2 (/for fat32)
Hello,
to anyone who uses an usb storage device on their asus with samba. Do you experience problems with writing 'big' (>100mb) files to the device? I tried all Oleg firmware versions without result. Currently running 1957-5a. I'm using an 80gb fat32 drive.
And what's more, as i aproach the drive through my asus, it's recognised as an 4gb hd? While when i connect it directly through usb on my pc, it's recognised as 80 gb. Anyone a hint? Should i try make an ext3 partition?
tnx
With the newer versions of samba (and the firmware), it's better to use
encrypt passwords = no
as default, otherwise you get errors.
You can also choose to create a password file for samba (search the forum).
I am also having a problem with writing big files to my hd with samba....
Does a newer firmware help? Or is this a reply to an other post :confused:Quote:
With the newer versions of samba (and the firmware), it's better to use
encrypt passwords = no
as default, otherwise you get errors.
You can also choose to create a password file for samba (search the forum).
sometimes during the tutorial i get "permission denied". do i need to change that? and if i need to, how?
tnx
Hi,
similar problem here. I use a 80GB drive formatted with ext3. When mounting from a Linux-PC only 4 GB are shown as available and 0 used. Actually perhaps 10GB are used. My first guess is that the samba version used in the Asus is old. But I couldn't find something on samba lists.
tatnat
Quote:
Originally Posted by sharky123
read my friendQuote:
Originally Posted by kuka
mkswap is the correct command, it is written some pages below me
i have managed to start samba and stuff, but now i have a problem...
i can acces the share$ folder, and i can copy stuff from it, but i cannot write/erase enything in windows?!?!
Can anyone tell me whats going on?
I have all the settings in smb.conf like it should be, so i really dont know why this thing dosent work!?!
Anyone?
Fresh :(
Thanks a lot hezik for this howto, ssh and samba work like a charm.
If only everything was this easy...
Great post, but it looks like I haven’t got a /post-boot dir.
When I try: “echo "/usr/sbin/smbd -D" >> /usr/local/sbin/post-boot” I receive the following error message:
-sh: cannot create /usr/local/sbin/post-boot: Directory nonexistent
Any ideas?
(firmware: WL500gx-1.9.2.7-6b)
post-boot is a file.
Make sure you use a recent firmware from Oleg and then execute (if the /usr/local/sbin dir doesn't exist):
- flashfs enable
- mkdir /usr/local/sbin
- touch post-boot
- touch pre-boot
- touch post-firewall
- touch post-mount
- flashfs save
- flashfs commit
Can't get the samba share working, what's going wrong?
I did try this tutorial to enable a samba share at my external usb harddisk, but i can't access it through a share. What's going wrong?
Here is all my information:
[admin@(none) root]$ cat /etc/smb.conf
workgroup = WERKGROEP
server string = OpenWRT Samba Server
wins support = no
dns proxy = no
name resolve order = lmhosts hosts bcast
log file = /opt/var/log/samba/log.%m
max log size = 1000
syslog = 0
security = share
encrypt passwords = true
obey pam restrictions = yes
guest account = nobody
passwd program = /usr/bin/passwd %u
load printers = no
[share]
comment = /tmp/harddisk
path = /tmp/harddisk
writeable = yes
browseable = yes
force user = admin
[admin@(none) root]$ ps
PID Uid VmSize Stat Command
1 admin 700 S /sbin/init
2 admin SW [keventd]
3 admin SWN [ksoftirqd_CPU0]
4 admin SW [kswapd]
5 admin SW [bdflush]
6 admin SW [kupdated]
7 admin SW [mtdblockd]
41 admin 292 S telnetd
46 admin 392 S httpd eth1
49 admin 340 S klogd
53 nobody 428 S dnsmasq
54 admin 388 S syslogd -m 0 -O /tmp/syslog.log -S -l 7
56 admin 500 S nas /tmp/nas.lan.conf /tmp/nas.lan.pid lan
59 admin SW [khubd]
69 admin 276 S lpd
71 admin 260 S p9100d -f /dev/usb/lp0 0
73 admin 260 S p9101d -f /dev/printers/0 1
76 admin 340 S waveservermain
78 admin 348 S rcamdmain
82 admin SW [usb-storage-0]
83 admin SW [scsi_eh_0]
93 admin 324 S infosvr br0
94 admin 480 S watchdog
96 admin 340 S ntp
104 admin 428 S dropbear
113 admin SW [kjournald]
115 admin 404 S stupid-ftpd
117 admin 744 R dropbear
118 admin 528 S -sh
124 admin 392 R ps
[admin@(none) root]$ cat /usr/local/sbin/post-boot
#!/bin/sh
dropbear
/usr/sbin/smbd -D
/usr/sbin/nmbd -D
What is going wrong? It look to me that Samba is not started, but howcome?
Any help apriciated.
Tnx,
Roland