PDA

View Full Version : Need some help



Davide
18-10-2004, 10:56
I read the tuotorial, but i've never used linux before. I installed the latest custom firmware and i would like to configure samba to work with an usb hard disk. Can anyone help me with a step by step procedure for stupid people like me?

thanks

Davide

Styno
18-10-2004, 11:36
The tutorial is like a step-by-step procedure allready. You need to do stuff in Linux to get it going, so there's 'some' knowledge required. Read the tutorial a coupple of times and try to understand whats happening. Then execute the steps one-by-one, then if all goes well: Bob's your uncle m8!

Tutorials:
http://wl500g.dyndns.org

and

http://wiki.wl500g.info/index.php/PackageSamba

Davide
19-10-2004, 08:54
Just a few questions.

First step. Initialising the demons... I read:
Add the following lines to the /usr/local/init/post-boot script:
/usr/sbin/smbd -D
/usr/sbin/nmbd -D
How do this. Should I use VI?

Second step. Save it to flash fs:
flashfs save
flashfs commit
A question. With the latest custom firmware is my wl500g already in the Flashfs-boot method??

Third step. Editing /etc/smb.conf. With VI...right? Save it to flash fs.

Last question. I'm having trouble using VI is there a method to edit this files with for example notepad and then post it wl500g?

Antiloop
19-10-2004, 09:00
Just a few questions.

First step. Initialising the demons... I read:
Add the following lines to the /usr/local/init/post-boot script:
/usr/sbin/smbd -D
/usr/sbin/nmbd -D
How do this. Should I use VI?

Second step. Save it to flash fs:
flashfs save
flashfs commit
A question. With the latest custom firmware is my wl500g already in the Flashfs-boot method??

Third step. Editing /etc/smb.conf. With VI...right? Save it to flash fs.

Last question. I'm having trouble using VI is there a method to edit this files with for example notepad and then post it wl500g?

we have no idea what 'latest' means for you, so name numbers..

and yes use vi

Davide
19-10-2004, 10:46
It is 1.8.1.7-1

Oleg
19-10-2004, 13:47
Just a few questions.

First step. Initialising the demons... I read:
Add the following lines to the /usr/local/init/post-boot script:
/usr/sbin/smbd -D
/usr/sbin/nmbd -D
How do this. Should I use VI?

If you like it. Or just these commands:


mkdir -p /usr/local/sbin/
echo "#!/bin/sh" >> /usr/local/sbin/post-boot
echo "/usr/sbin/smbd -D" >> /usr/local/sbin/post-boot
echo "/usr/sbin/nmbd -D" >> /usr/local/sbin/post-boot
chmod +x /usr/local/sbin/post-boot



Second step. Save it to flash fs:
flashfs save
flashfs commit
A question. With the latest custom firmware is my wl500g already in the Flashfs-boot method??

If you read wl500g carefully, then you will notice, that flashfs is the only way to do this, and yes it's always use falshfs as described in the bootup sequence



Third step. Editing /etc/smb.conf. With VI...right? Save it to flash fs.

Sample /etc/smb.conf is already there.