Author Topic: Samba And Friends  (Read 10906 times)

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Samba And Friends
« Reply #15 on: February 14, 2007, 03:58:39 am »
I am reading The official Samba howto, and testing my configuration, but neither one of my Z's have "testparm"
command not found
Where can I find this tool, I couldn't find it in any feeds.
I have installed:
samba-client_2.2.9_armv5tel.ipk
samba-common_2.2.9_armv5tel.ipk
samba-mount_2.2.9_armv5tel.ipk
readline_4.3_armv5tel.ipk
« Last Edit: February 14, 2007, 04:07:47 am by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Samba And Friends
« Reply #16 on: February 14, 2007, 04:29:07 am »
Quote
I am reading The official Samba howto, and testing my configuration, but neither one of my Z's have "testparm"
command not found
Where can I find this tool, I couldn't find it in any feeds.
I have installed:
samba-client_2.2.9_armv5tel.ipk
samba-common_2.2.9_armv5tel.ipk
samba-mount_2.2.9_armv5tel.ipk
readline_4.3_armv5tel.ipk
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154026\"][{POST_SNAPBACK}][/a][/div]

I compiled samba 3.0.24 and have testparm in it.
Don't know if you need it to run pyNeighborhood, but I'll pack and upload it this evening.

Chero.
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Samba And Friends
« Reply #17 on: February 14, 2007, 08:22:34 am »
Sorry for replying to my own post, but I had to show it :


The Zaurus on my win2k.

Samba 3.0.24 is attached, but it's huge (and stripped)

Having fun,
Chero.
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Samba And Friends
« Reply #18 on: February 14, 2007, 11:21:03 am »
Thanks, I'll figure something else out to get samba working, that file is too big.
I had samba working on my Cacko Zaurus a couple times, but that was a while ago.
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Samba And Friends
« Reply #19 on: February 14, 2007, 01:30:18 pm »
Quote
Thanks, I'll figure something else out to get samba working, that file is too big.
I had samba working on my Cacko Zaurus a couple times, but that was a while ago.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154074\"][{POST_SNAPBACK}][/a][/div]

Just install the 2.2.9 packages from the feeds, change smb.conf as described earlier in this thread.
When you have changed the file, run

(disconnect from your lan)
Code: [Select]
/etc/rc.d/init.d/samba stop
/etc/rc.d/init.d/samba start
I don't think it has a restart option.
(reconnect to your lan)

command line worked for me using the standard packages.

Have fun,
Chero.
« Last Edit: February 14, 2007, 01:32:59 pm by Chero »
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Samba And Friends
« Reply #20 on: February 15, 2007, 03:34:54 pm »
I packed pyNeighborhood :

I added the samba ipks to the dependencies (common, client, server, mount) as well as pygtk and python-shell. I added python-shell cause the app needs "fnmatch" and I read in the forums it should be in python-shell. I have the full python(6Mb ipk) installed but I don't think you really need it all and thus don't want to add this to the dependencies.

Could somebody please test and report ?

Is there a launcher created in the "internet" section ?

Chero.
« Last Edit: February 15, 2007, 03:41:22 pm by Chero »
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
Samba And Friends
« Reply #21 on: February 15, 2007, 04:14:39 pm »
Tried pyNeighborhood and cannot get any results from a scan. Running beta 3 with full python and your 10mb samba ipk.

When using LinNeighborhood I can scan and browse all my hosts but when mounting I get the following error in the log window:

Code: [Select]
smbmount //NAUSICAA/gez /home/gez/mnt/NAUSICAA/gez/ -o username=gez%********,fmask=644,dmask=755,uid=500,gid=100,ip=,debug=0,workgroup=MIYAZAKI
Can't resolve address

It seems the "ip=" part is making the command fail, as this command works fine from the terminal when I remove ip=

any ideas?

thanks for the ipks btw

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Samba And Friends
« Reply #22 on: February 15, 2007, 04:27:56 pm »
Quote
Tried pyNeighborhood and cannot get any results from a scan. Running beta 3 with full python and your 10mb samba ipk.

When using LinNeighborhood I can scan and browse all my hosts but when mounting I get the following error in the log window:

Code: [Select]
smbmount //NAUSICAA/gez /home/gez/mnt/NAUSICAA/gez/ -o username=gez%********,fmask=644,dmask=755,uid=500,gid=100,ip=,debug=0,workgroup=MIYAZAKI
Can't resolve address

It seems the "ip=" part is making the command fail, as this command works fine from the terminal when I remove ip=

any ideas?

thanks for the ipks btw
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154281\"][{POST_SNAPBACK}][/a][/div]

try to copy your smb.conf file in "/usr/lib" and try pyNeighborhood again. I had the same error on LinNeighborhood. PyNeighborhood works for me.

Going to bed now,
More answers will be for tomorrow.
Chero.
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
Samba And Friends
« Reply #23 on: February 15, 2007, 05:45:49 pm »
I have symlinked my smb.conf to this location already.

Dicovered this faq link here: http://www.bnro.de/~schmidjo/faq/index.html#faq17

seems that the ip= bug is well known with this version of samba, I'm surprised noone else has this prob.

Is there any chance LinNeighborhood can be recompiled with the patch from that link? Something is broken on my system that is preventing me doing it myself.

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Samba And Friends
« Reply #24 on: February 15, 2007, 05:58:34 pm »
Quote
I have symlinked my smb.conf to this location already.

Dicovered this faq link here: http://www.bnro.de/~schmidjo/faq/index.html#faq17

seems that the ip= bug is well known with this version of samba, I'm surprised noone else has this prob.

Is there any chance LinNeighborhood can be recompiled with the patch from that link? Something is broken on my system that is preventing me doing it myself.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154289\"][{POST_SNAPBACK}][/a][/div]

my ipk of LinNeighborhood already has this patch applied. together with the samba packages from the beta1 feed, I can successfully connect to my windows shares...
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
Samba And Friends
« Reply #25 on: February 15, 2007, 06:31:18 pm »
I've installed the 4 samba ipks from the beta1 feed :
samba-common
samba-client
samba-server
samba-mount

but none have the file nmblookup that linneighborhood needs to scan the network. This is the reason why I installed Cheros superhuge samba before. Meanie, where did you get this file from?

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
Samba And Friends
« Reply #26 on: February 15, 2007, 06:52:14 pm »
ok I reinstalled the bigfat samba ipk and now LinNeighborhood is working great. Still no joy with pyNeighborhood but now I'm happy - thanks for the help

Chero- if you want me to try anything in pyneighborhood just let me know

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Samba And Friends
« Reply #27 on: February 15, 2007, 07:06:16 pm »
Quote
I've installed the 4 samba ipks from the beta1 feed :
samba-common
samba-client
samba-server
samba-mount

but none have the file nmblookup that linneighborhood needs to scan the network. This is the reason why I installed Cheros superhuge samba before. Meanie, where did you get this file from?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154296\"][{POST_SNAPBACK}][/a][/div]

samba-utils

i will upload it to my feed....
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Samba And Friends
« Reply #28 on: February 15, 2007, 07:08:24 pm »
Quote
Quote
Thanks, I'll figure something else out to get samba working, that file is too big.
I had samba working on my Cacko Zaurus a couple times, but that was a while ago.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154074\"][{POST_SNAPBACK}][/a][/div]

Just install the 2.2.9 packages from the feeds, change smb.conf as described earlier in this thread.
When you have changed the file, run

(disconnect from your lan)
Code: [Select]
/etc/rc.d/init.d/samba stop
/etc/rc.d/init.d/samba start
I don't think it has a restart option.
(reconnect to your lan)

command line worked for me using the standard packages.

Have fun,
Chero.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154093\"][{POST_SNAPBACK}][/a][/div]

there is a restart option if you have pdaXii13, but regular pdaXrom beta1/beta3 only have start/stop option
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Samba And Friends
« Reply #29 on: February 16, 2007, 01:44:25 am »
Quote
ok I reinstalled the bigfat samba ipk and now LinNeighborhood is working great. Still no joy with pyNeighborhood but now I'm happy - thanks for the help

Chero- if you want me to try anything in pyneighborhood just let me know
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154298\"][{POST_SNAPBACK}][/a][/div]

It's working great for me,

Could you try running it from command line and see what it says.
There should also be a log file in your home dir (in ~/.pyneighborhood) : what's in there ?

Chero.
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.