OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => C1000/3x00 General discussions => Topic started by: Howard Roark on April 14, 2005, 03:23:34 pm

Title: Newbie Trying To Understand Samba Setup
Post by: Howard Roark on April 14, 2005, 03:23:34 pm
I am sure i am not alone with this problem...

Is there a guide anywhere on how to set up Samba with a Windows box.  I have been trying many different things and reading posts and am now quite confused.

I have downloaded and installed the Samba ipks, modified the smb.conf for wireless as well and added the windows workgroup name.

Not sure what to do now?? Is it running?

What runs on the Win box?

I can see the devide DHCP address on my router and email/net works fine. How does Samba now see the Win box?

Any help appreciated!
Title: Newbie Trying To Understand Samba Setup
Post by: slackwaresupport on April 14, 2005, 05:11:24 pm
nothing runs on windows as far as samba, samba is the unix version of file and printer sharing.  check out this http://www.tldp.org/HOWTO/SMB-HOWTO.html (http://www.tldp.org/HOWTO/SMB-HOWTO.html)
for general configuration.
you would access the zaurus through your network neighborhood.
Title: Newbie Trying To Understand Samba Setup
Post by: Howard Roark on April 14, 2005, 05:37:05 pm
Thanks i have been reading their site and i'll check this one two.

What  I find strange is that noone has written a package that can do all this ie. setup easy access to your zaurus when plugged. There is obvioulsy a huge need for it but no interest i guess from developers.
Title: Newbie Trying To Understand Samba Setup
Post by: Stubear on April 14, 2005, 09:01:34 pm
When I plug my C760 into my windows box at work (Z is on tcp over usb) then samba start automatically on the Z and the SD, CF and Home are available via network places.

Don't have to do a thing on the XP side, or on the Z after its put into usb netork mode.

No need fro any extra packages or any setup

Stu
Title: Newbie Trying To Understand Samba Setup
Post by: Howard Roark on April 14, 2005, 09:50:51 pm
Thanks Stu. Still struggling but as soon as I solve it  will post a how-to for others like me.
Title: Newbie Trying To Understand Samba Setup
Post by: wiredog on April 15, 2005, 08:46:44 am
Samba Over non-USB (https://www.oesf.org/index.php?title=Samba_over_non-USB) has instructions for getting your Z to do wireless networking,  

Be aware that the configuration file is /usr/lib/samba/smb.conf NOT /etc/samba/smb.conf.

Works very well.
Title: Newbie Trying To Understand Samba Setup
Post by: wiredog on April 15, 2005, 08:48:13 am
Quote
Samba Over non-USB (https://www.oesf.org/index.php?title=Samba_over_non-USB) has instructions for getting your Z to do wireless networking,   

Be aware that the configuration file is /usr/lib/samba/smb.conf NOT /etc/samba/smb.conf.

Works very well.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75351\"][{POST_SNAPBACK}][/a][/div]

Forgot to add this:  Get SSH, if also works well 'out of the box' on the Z.  I've been toying with the idea of running Samba over SSH for security reasons.
Title: Newbie Trying To Understand Samba Setup
Post by: mtnkill on April 15, 2005, 01:49:12 pm
Hi all, Z-newbie here also.  I'm having a similar problem.  I can't get my WinXP laptop to recognize my Z via drive mapping, or search.  I can telnet/ping the USB IP address, but can't get to it via a drive share.  

I've added netbios-ssn and netbios-ns entries to my inetd.conf, and smbd appears to be running on the Z.

I've tried setting PC-Link to both USB -I/O and USB -TCP/IP, neither works.  

I must be missing something simple, but I've read just about everything I can find...

Thanks for any ideas!
Title: Newbie Trying To Understand Samba Setup
Post by: kenko on March 13, 2006, 04:10:43 am
I also have problem on samba. I'm sure the Wifi working as I can ping from desktop. I chang the smb.conf as for the allowable host and interface. But still doesn't work. I try to start the Samba servies manually but then I found no samba under the path /etc/rc.d/init.d/ Is it the problem? I'm using C3100 with Cacko 1.23. Am I suppose to get the samba somewhere else?
Title: Newbie Trying To Understand Samba Setup
Post by: Meanie on March 13, 2006, 04:20:53 am
Quote
I also have problem on samba. I'm sure the Wifi working as I can ping from desktop. I chang the smb.conf as for the allowable host and interface. But still doesn't work. I try to start the Samba servies manually but then I found no samba under the path /etc/rc.d/init.d/ Is it the problem? I'm using C3100 with Cacko 1.23. Am I suppose to get the samba somewhere else?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118306\"][{POST_SNAPBACK}][/a][/div]

cacko runs samba directly from inetd. restart inetd instead
Title: Newbie Trying To Understand Samba Setup
Post by: kenko on March 14, 2006, 05:29:37 am
Thanks again Meanie. I still can't get it work. I typed 'inetd start' under /etc/rc.d/init.d/ and nothing seem happen. I can still ping but not smb...
Title: Newbie Trying To Understand Samba Setup
Post by: Meanie on March 14, 2006, 06:08:40 am
Quote
I also have problem on samba. I'm sure the Wifi working as I can ping from desktop. I chang the smb.conf as for the allowable host and interface. But still doesn't work. I try to start the Samba servies manually but then I found no samba under the path /etc/rc.d/init.d/ Is it the problem? I'm using C3100 with Cacko 1.23. Am I suppose to get the samba somewhere else?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118306\"][{POST_SNAPBACK}][/a][/div]

you need to restart it, ie stop and then start
Title: Newbie Trying To Understand Samba Setup
Post by: Snappy on June 13, 2006, 09:11:56 am
I don't know if mine case is the exception or the norm. But by default samba is not installed on my Akita Cacko 1.23 full. When I installed sambaserver_2.0.7-1_arm.ipk, it didn't complain of anything, so I presume it was not installed prior to that.

I also did a search for it and found samba directories in the some /usr/*.rom directories ... but no binaries that I can run.

Anyway, I installed:

sambaserver_2.0.7-1_arm.ipk
smbmount_0.1_arm.ipk
smbmounter_0.1-2_arm.ipk
smbpasswd_0.1-1_arm.ipk

and configured smb.conf, added user using smbpasswd and it works.

I do find that somehow samba does not show chinese filenames correctly while USB storage shows correctly.
Title: Newbie Trying To Understand Samba Setup
Post by: bluedevils on June 13, 2006, 09:22:44 am
samba is included in the cacko full.  It would not be listed as a separate package or complain when trying to install another samba package.  It is part of the rom and should generally be available from the start.  I seem to remember having to disable it (locking the Z down for internet use on the bluetooth phone)
Title: Newbie Trying To Understand Samba Setup
Post by: Snappy on June 13, 2006, 07:49:02 pm
Quote
samba is included in the cacko full.  It would not be listed as a separate package or complain when trying to install another samba package.  It is part of the rom and should generally be available from the start.  I seem to remember having to disable it (locking the Z down for internet use on the bluetooth phone)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=130974\"][{POST_SNAPBACK}][/a][/div]

ic ... but the command to run it is not the typical samba start/stop is it? From above posts, I get the impression it is inetd  xxx? yes?

Confusing ...       did I miss the documentation somewhere?  
Title: Newbie Trying To Understand Samba Setup
Post by: Meanie on June 13, 2006, 09:11:14 pm
Quote
Quote
samba is included in the cacko full.  It would not be listed as a separate package or complain when trying to install another samba package.  It is part of the rom and should generally be available from the start.  I seem to remember having to disable it (locking the Z down for internet use on the bluetooth phone)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=130974\"][{POST_SNAPBACK}][/a][/div]

ic ... but the command to run it is not the typical samba start/stop is it? From above posts, I get the impression it is inetd  xxx? yes?

Confusing ...       did I miss the documentation somewhere?  
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131042\"][{POST_SNAPBACK}][/a][/div]

all the network related services in linux can be either run as standalone daemons or from inetd/xinetd hence samba, ssh, telnet, ftp, etc.. can all be run and controlled from inetd or have their own daemons. cacko uses inetd for everything.

samba is one of those services that require additional codepages to be installed in order to recognise and deal with other language settings. simply configuring it to use utf8 won't work unless you also install the appropriate codepage module as well.
Title: Newbie Trying To Understand Samba Setup
Post by: Snappy on June 19, 2006, 10:10:00 pm
Quote
Quote
Quote
samba is included in the cacko full.  It would not be listed as a separate package or complain when trying to install another samba package.  It is part of the rom and should generally be available from the start.  I seem to remember having to disable it (locking the Z down for internet use on the bluetooth phone)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=130974\"][{POST_SNAPBACK}][/a][/div]

ic ... but the command to run it is not the typical samba start/stop is it? From above posts, I get the impression it is inetd  xxx? yes?

Confusing ...       did I miss the documentation somewhere?  
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131042\"][{POST_SNAPBACK}][/a][/div]

all the network related services in linux can be either run as standalone daemons or from inetd/xinetd hence samba, ssh, telnet, ftp, etc.. can all be run and controlled from inetd or have their own daemons. cacko uses inetd for everything.

samba is one of those services that require additional codepages to be installed in order to recognise and deal with other language settings. simply configuring it to use utf8 won't work unless you also install the appropriate codepage module as well.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131053\"][{POST_SNAPBACK}][/a][/div]

Any idea what and where these modules are? Thanks!
Title: Newbie Trying To Understand Samba Setup
Post by: desertrat on June 20, 2006, 05:24:58 am
Quote
Any idea what and where these modules are? Thanks!
With pdaXrom there are separate IPKs for the various codepages, but for Cacko and OZ - well you'll have to check their feeds or ask on the appropriate forum.

-- cheers
Title: Newbie Trying To Understand Samba Setup
Post by: Snappy on June 20, 2006, 07:05:43 am
Quote
Quote
Any idea what and where these modules are? Thanks!
With pdaXrom there are separate IPKs for the various codepages, but for Cacko and OZ - well you'll have to check their feeds or ask on the appropriate forum.

-- cheers
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131970\"][{POST_SNAPBACK}][/a][/div]

You know, this is one thing that I have to salute Sashz ... it seems like besides oz, pdaXrom has the most complete local ipks ...