Hi, the smb.conf that I show you is the smb.conf from my Linksys that works great. I edit it, but it also don't work.
Hi Hugo,
when I boot the WL-HDD new, then is the edit smb.conf delete. This means, I make the smb.conf with the vi. When I reboot the ASUS there is no smb.conf. I dont know what happend.
Hi, the smb.conf that I show you is the smb.conf from my Linksys that works great. I edit it, but it also don't work.
You have to do some special operation to keep the smb.conf after reboot. We will see that afterward. For now, just keep your wl-hdd on until we finish. Please use my smb.conf and no other, using vi, and start smbd -D and nmbd -D as you were doing.
you will seee the share if you connect on your pc with \\192.168.1.1\usb
don't forget to mount the disk on /tmp/harddisk as you were doing before
why connect with 192.168.1.1
my asus have 192.168.1.220 and the pc 192.168.1.14
ok then it is \\192.168.1.220\usb
did you set it to this adress by yourself?
shit,
network was not found
I'm in with telnet 192.168.1.200
I can't anderstand this.
not 192.168.200
I have 192.168.1.220
type the 3 following command and post result here:
Code:psCode:cat /etc/smb.confCode:mount
[admin@ASUS WL-HDD etc]$ ps
PID Uid VmSize Stat Command
1 admin 448 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 304 S telnetd
46 admin 492 S httpd
49 admin 356 S syslogd -m 0 -O /tmp/syslog.log -S -l 7
51 admin 316 S klogd
52 admin SW [khubd]
58 admin 244 S lpd
60 admin 236 S p9100d -f /dev/usb/lp0 0
63 admin 360 S waveservermain
65 admin 364 S rcamdmain
70 admin 304 S infosvr br0
71 admin 488 S watchdog
73 admin 360 S ntp
84 admin SW [kjournald]
103 admin SW [usb-storage-0]
104 admin SW [scsi_eh_0]
130 admin 516 S -sh
163 admin 360 S httpd eth1 7776
170 admin 372 R ps
[admin@ASUS WL-HDD etc]$ cat /etc/smb.conf
[global]
workgroup = WORKGROUP
netbios name = ASUS WL-HDD
guest account = admin
security = share
browsable = yes
guest ok = yes
log level = 1
max log size = 100
encrypt passwords = no
dns proxy = yes
deadtime = 1
browse list = yes
wins support = yes
domain master = yes
syslog = 1
[sys]
path = /tmp/hd
writable = yes
browsable = yes
force user = admin
[share]
path = /tmp/hd2/
writable = yes
browsable = yes
force user = admin
[c$]
path= /
writable = yes
force user = admin
browsable = no
[usb]
path = /tmp/harddisk
writable = yes
browsable = yes
force user = admin
[admin@ASUS WL-HDD etc]$ mount
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/discs/disc0/part1 on /tmp/hd1 type ext3 (rw)
/dev/ide/host0/bus0/target0/lun0/part1 on /tmp/harddisk type ext3 (rw)
/dev/ide/host0/bus0/target0/lun0/part1 on /tmp/hd2 type ext3 (rw)
/dev/ide/host0/bus0/target0/lun0/part1 on /tmp/hd3 type ext3 (rw)
/dev/ide/host0/bus0/target0/lun0/part1 on /tmp/usb type ext3 (rw)
/dev/discs/disc0/part1 on /tmp/harddisk/part1 type ext3 (rw)
[admin@ASUS WL-HDD etc]$
Does "ASUS WL-HDD" is the host name? It will never work this way, do not use spaces, etc in hostnames. use something like "wlhdd".
Juhu, now my shares are here. I can transfer the mediaserfer in share/part1.
But when I now reboot then is the smb.conf empty and nothing ist mounted.
hehe, I told you not to reboot until we finish.
Now when you have everything reset to a working state, you will have to edit a file called post-boot.
and another one called .files
It is explained in Oleg's page.
For you, you have to do this when your smb.conf is properly set up:
I suppose your mediaserver file is at the root of your harddisk, otherwise, please change the path.
Code:echo /etc/smb.conf >> /usr/local/.filesCode:mkdir -p /usr/local/sbin/ echo "#!/bin/sh" >> /usr/local/sbin/post-boot chmod +x /usr/local/sbin/post-boot echo "mount /dev/ide/host0/bus0/target0/lun0/part1 /tmp/harddisk" >> /usr/local/sbin/post-boot echo "smbd -D" >> /usr/local/sbin/post-boot echo "nmbd -D" >> /usr/local/sbin/post-boot echo "/tmp/harddisk/mediaserver" >> /usr/local/sbin/post-boot
after that, do a
reboot, you are set.Code:flashfs save flashfs commit flashfs enable
You can now edit the twonkyvision-mediserver.ini file in your hd root to your liking.
It should be the end my friend
My god, you really wanted to mount your harddisk, didn't youOriginally Posted by stefan9113