OESF Portables Forum
General Forums => General Discussion => Topic started by: wowdar on June 13, 2007, 01:38:41 am
-
I installed Mandriva 2007.1 on my PC. I added in rc.local the line "/sbin/modeprobe usbnet" and when I type lsmod there is usbnet.
I done the file ifconfig-usb0
DEVICE=usb0
BOOTPROTO=static
IPADDR=192.168.129.200
NETMASK=255.255.255.0
NETWORK=192.168.129.0
BROADCAST=192.168.129.255
ONBOOT=yes
METRIC=10
MII_NOT_SUPPORTED=no
PEERDNS=yes
I type in console:
[root@localhost dario]# ifconfig usb0 192.168.129.200 netmask 255.255.255.0 up
Now I can ping the zaurus at 192.168.129.201
In the Mandriva KDE browser I type "smb://zaurus" and I can see the home directory. I double click on home and I can see the two directory:
CF_Card and Main_Memory.
Now if i double clik on these directory I recieve a window error with this message:
"Tempo scaduto sul server zaurus" (Timeout on zaurus server)
This is my zaurus smb.conf
[global]
# workgroup is either a domain name or a workgroup name
workgroup = WORKGROUP
log file = /dev/null
#
# encrypt passwords is required for Win98, NT and Windows 2000
#
encrypt passwords = yes
coding system = utf8
client code page = 932
force create mode = 0755
strict sync = yes
sync always = yes
interfaces = usbd0
# wins support = yes
bind interfaces only = yes
[system]
comment = System Folder
path = /root/samba
read only = no
browseable = no
guest ok = yes
force user = root
[home]
comment = for User Data
path = /home/samba
short preserve case = no
read only = no
guest ok = yes
force user = zaurus
How can I do to resovel this problem?
Tanks Dario
-
you might want to check that Cf_card and Main_Mem are not symlinks to a dir hireachy that is outside of the export
ie if you are in /home/user you cant symlink to /home
its the only thing i can think off without looking into it too deaply
-
you might want to check that Cf_card and Main_Mem are not symlinks to a dir hireachy that is outside of the export
ie if you are in /home/user you cant symlink to /home
its the only thing i can think off without looking into it too deaply
[div align=\"right\"][a href=\"index.php?act=findpost&pid=163113\"][{POST_SNAPBACK}][/a][/div]
In home of the zaurus I have this directory /home/samba/
in this directory I have the links to this directory:
.root link to /
CF_Card link to /mnt/cf
Main_Memory link to /home/zaurus/Documents
SD_Card link to /mnt/card
I can navigate in smb://zaurus/home but if i click in .root, CF_Card, Main_Memory or SD_CArd i recieve an error
-
yep, sounds like i nailed it on the head
i will try and explain it again now that my head is clear, samab dosent resolve symlinks that are under a diffrent tree
/mnt/cf dosent reside under the /home/samba tree, so as a security mesure it will not allow you to go there, otherwise i could breach the security of any samab server by creating a symlink to /
if the cf card is mounteed at /home /samba/mnt/cf then it will work but not if its /mnt/cf as /mnt/cf dosent reside under /home/samba
hope that clears things up, same applies to nfs servers
-
Excuse to me baut I'am not expert.
Why when I connect the Zaurus with Windows XP all works?
Why In Mandriva 2006 with same configuration all works?
Tanks a lot
-
To be honest i am not sure, it shouldnt work under windows ethier
about the only thing i can recomend is to update to the latest version of samba
ethier that or its mindarva and the KIO or gnome VFS thats broken, i have had problems with gnome vfs before when contacting smb servers, so try updating the packages on your machine
-
To be honest i am not sure, it shouldnt work under windows ethier
about the only thing I can recomend is to update to the latest version of samba
ethier that or its mandarva and the KIO or gnome VFS thats broken, i have had problems with gnome vfs before when contacting smb servers, so try updating the packages on your machine
[div align=\"right\"][a href=\"index.php?act=findpost&pid=163232\"][{POST_SNAPBACK}][/a][/div]
I'm trying to navigate with command line. Below the output:
With Windows XP or mandriva 2006 I must wait about 4/5 minutes but I can navigaate in the zaurus.
There is the method for increase the 20000 milliseconds in mandriva 2007?
root@localhost dario]# smbclient -L zaurus
Password:
Anonymous login successful
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.0.7-ja-2.2]
Sharename Type Comment
--------- ---- -------
home Disk for User Data
IPC$ IPC IPC Service (Samba 2.0.7-ja-2.2)
Anonymous login successful
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.0.7-ja-2.2]
Server Comment
--------- -------
ZAURUS Samba 2.0.7-ja-2.2
Workgroup Master
--------- -------
MDKGROUP LOCALHOST
WORKGROUP ZAURUS
[root@localhost dario]# smbclient //zaurus/home
Password:
Anonymous login successful
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.0.7-ja-2.2]
smb: \> ls
. D 0 Wed Jun 13 07:14:20 2007
.. D 0 Wed Aug 2 08:19:59 2006
.root DH 0 Thu Jan 1 01:00:00 1970
CF_Card D 0 Tue Jun 12 11:44:11 2007
SD_Card D 0 Sat Jan 6 14:33:39 2007
Main_Memory D 0 Thu Jun 14 15:53:38 2007
64512 blocks of size 1024. 45460 blocks available
smb: \> cd Main_Memory
smb: \Main_Memory\> ls
Call timed out: server did not respond after 20000 milliseconds listing
\Main_Memory\*
Error in dskattr: Call timed out: server did not respond after 20000
milliseconds
smb: \Main_Memory\>
"