PDA

Bekijk de volledige versie : Samba Option ?



Twisterchen
10-01-2005, 15:02
Could their to me please say which I with the option Samba in 1.9.2.7-3 make can.

Do I need its own Linuxserver there?

As much I still white is Samba nevertheless only one connection between Linux and Windowssystemen or?

Antiloop
10-01-2005, 17:44
Could their to me please say which I with the option Samba in 1.9.2.7-3 make can.

Do I need its own Linuxserver there?

As much I still white is Samba nevertheless only one connection between Linux and Windowssystemen or?
I have no idea what you are willing to ask, but samba can just be enabled in webinterface

Twisterchen
10-01-2005, 17:49
Yes i have enable Samba on Webinterface but what is it exactly or what can i doo with it.

when i have a usb stick or External Harddisk can i connect du the Harddisk with samba on it

or What can i do with Samba

Twisterchen

Antiloop
10-01-2005, 18:05
you can access it like shares
for example
e.g. enter \\192.168.1.1\share$\
to access your usbhd/stick

Twisterchen
10-01-2005, 19:24
Hi

how i can release a listing on USB Device?

must it i do with telnet on Asus router or must i do on another Computer ?

What Partition i have must Fat32 or NTFS?

Twisterchen :confused:

Blackfire
10-01-2005, 19:46
Is this only ntfs that will work and do u have to make 1 or 2 partitions on the disk ?

Samba will work slowly on this wl500g with his USB 1.0 ?!!?

Blackfire
10-01-2005, 20:52
What am i doing wrong ??

Enable Samba Demo mode? YES
Enable hidden read-write share? YES
Workgroup name: Home

these are my setting bud it not possible to see the drive "\\192.168.1.1\share$\"

With telnet its possible to see harddisk with data on it :confused:

Oleg
10-01-2005, 20:57
Have you specified LAN hostname?

Blackfire
10-01-2005, 21:02
U mean => LAN IP Setting => Host Name: wl500g ?

Oleg
10-01-2005, 21:06
yes.
if it does not work, then telnet to wl500g and type this


cat /etc/hosts
cat /etc/smb.conf
cat /var/log/smb

Blackfire
10-01-2005, 21:24
Thanks Oleg, i see the problem now.
[global]
workgroup = Home
guest account = nobody
security = share
browseable = yes
guest ok = yes
guest only = yes
log level = 1
max log size = 100
encrypt passwords = no
preserve case = yes
short preserve case = yes

[share]
path = /tmp/harddisk

[share$]
path = /tmp/harddisk
writable = yes
force user = Blackfire
browseable = no


Will search now how to edit the file ;)
VI or something else.

Twisterchen
10-01-2005, 21:41
OK
What must i do to
must i connect with telnet and then configure or what must i do
configure /etc/smb.conf with hand or can i configure with a webinterface

Thanks for Help

Oleg
10-01-2005, 22:03
Thanks Oleg, i see the problem now.

Really? What do you see exactly? Everything looks fine to me and it should work fine.
You have not posted hosts and /var/log/smb files.
Also, I would like to see /etc/passwd, there should be Blackfire entry.

Blackfire
10-01-2005, 22:17
Correct Oleg, i tought i see a fault on Browsable = No "change to Yes" bud that doesn't change a thing :rolleyes: still not working.

[Blackfire@telenetPC root]$ cat /etc/passwd
Blackfire:$1$$Rxh1MgE5IcGAXtc0YkIJz.:0:0:root:/usr/local/root:/bin/sh
nobody:x:99:99:nobody:/:/sbin/nologin

[Blackfire@telenetPC root]$ cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.1.1 wl500g my.router my.WL500g

[Blackfire@telenetPC root]$ cat /var/log/smb
Get_Hostbyname: Unknown host telenetPC.
Get_Hostbyname: Unknown host telenetPC.
No interface found for address 164.132.200.42
Get_Hostbyname: Unknown host. telenetPC

Oleg
10-01-2005, 22:22
Where is "telenetPC" is specified?

Blackfire
10-01-2005, 22:37
Special Requirement from ISP => Host Name "blank" i renamed to "wl500g"
My ISP puts a name in it when its blank i gues.

Works great now thanks alot Oleg

Twisterchen
11-01-2005, 07:21
you can access it like shares
for example
e.g. enter \\192.168.1.1\share$\
to access your usbhd/stick

in the evening after the work i test it and then i response

Thanks

Twisterchen

Twisterchen
11-01-2005, 16:52
Hi
ok when i do this enter \\192.168.100.50\share$\
then come nothing but i think i must configure my smb.conf but how i can
with windows Telnet or what

Thanks for Help

Twisterchen

PS:
I forgut one question
how i can gange the name of router not my.router in ??????

Oleg
11-01-2005, 17:03
to access share$ you need to enable "hidden share", otherwise you need to access \\192.168.1.1\share

As for hostname - you need to specify it for samba to work - this is on the IP Config Page | LAN IP Settings | Host Name

Oleg
11-01-2005, 18:17
Hi
ok when i do this enter \\192.168.100.50\share$\

What is 192.168.100.50? Is it LAN ip address of your wl500g? Does it work in Home Gateway mode?

Twisterchen
11-01-2005, 18:37
What is 192.168.100.50? Is it LAN ip address of your wl500g? Does it work in Home Gateway mode?

my router does work it in AP mode and 192.168.100.50 is the adress from my WL500g router


\\192.168.100.50\share it come the same nothing

but i say again I must configure not first my smb.conf but how


Thanks for Help

Twisterchen

Twisterchen
11-01-2005, 18:44
command back after I the host names of rout had changed could I connecten only as can I my smb.conf configure now

it gives perhaps which like Webmin (http://www.webmin.com) over samba to configure




Thanks
Twisterchen

Kanga
11-01-2005, 18:46
Useful (or not so useful) hint for those of you who are experiencing problems accessing the share using Samba to save hours of frustrating configuring. Check that your software firewall (e.g. Zone Alarm) allows access to the share on the router, if not add the IP to the list of trusted IP addresses. I spent a good couple of hours wondering why I could see the share but was not allowed to access it.

Twisterchen
12-01-2005, 16:41
No idea any one

Gives no Tool to Configure a smb.conf
and how i can upload to my router ?


Thanks
Twisterchen

Oleg
12-01-2005, 17:00
Most likely it will not work in the AP mode.
Could you please telnet to it and type


cat /proc/sys/kernel/hostname
cat /etc/hosts
cat /etc/smb.conf

Post results here.

Twisterchen
12-01-2005, 18:06
cat /proc/sys/kernel/hostname
cat /etc/hosts
cat /etc/smb.conf



[twister@Twisterchen root]$ cat /proc/sys/kernel/hostname
Twisterchen
[twister@Twisterchen root]$ cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.100.50 Twisterchen my.router my.WL500g
[twister@Twisterchen root]$ cat /etc/smb.conf
cat: /etc/smb.conf: No such file or directory
[twister@Twisterchen root]$

thats come!

What is the differnets between AP and HomeGateWay


Thanks
Twisterchen

Twisterchen
12-01-2005, 18:28
Sorry my mistace my router not in AP mode he is in Home Gateway not AP


Twisterchen

Oleg
12-01-2005, 19:10
Please execute


mount
nvram get usb_smbenable_x


Also


nvram get lan_hostname

Twisterchen
12-01-2005, 20:50
[twister@Twisterchen root]$ 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)
[twister@Twisterchen root]$ nvram get usb_smbenable_x
1
[twister@Twisterchen root]$

Thats the Answer

and what must i do now

Thanks Twisterchen :)

Oleg
12-01-2005, 20:56
You need plug usb drive or flash to the wl500g. That's all...

Twisterchen
13-01-2005, 08:34
yes i can connect to \\192.168.100.50\share

but how i can configure smb.conf change Useres and Passworts ........


Thanks Twisterchen

Oleg
13-01-2005, 09:47
Sorry, I spent TOO many time, figuring WHY it does not work for you and the reason was that you've just not plugged USB drive! I've no time to play your games.
This is unacceptable, I'm do not want to help you anymore.

Technik
13-01-2005, 11:24
yes i can connect to \\192.168.100.50\share

but how i can configure smb.conf change Useres and Passworts ........


Thanks Twisterchen
http://wiki.wl500g.info/index.php/PackageSamba
Use vi editor for making changes.
http://www.yolinux.com/TUTORIALS/LinuxTutorialAdvanced_vi.html

Antiloop
13-01-2005, 13:18
anyway this board is not about configuring linux and stuff only

and thus I refer you to http://www.samba.org/samba/docs/ for documentation about Samba software and configuration

hereby I close this topic for obvious reasons