Re: [gentoo-user] samba problem

2005-05-11 Thread Zhendong Zhou \(Kyle\)
Another strange thing happens is
I try to mount /dev/hdb5 (a NTFS logical drive) to /home/samba/public using:
mount /dev/hdb5 /home/samba/public
and then stop and start samba.
Now I cannot browse the public dir on samba from my XP. My goddess!

- Original Message - 
From: "Ow Mun Heng" <[EMAIL PROTECTED]>
To: "gentoo" 
Sent: Thursday, May 12, 2005 4:15 PM
Subject: Re: [gentoo-user] samba problem


> On Thu, 2005-05-12 at 16:05 +1000, Zhendong Zhou (Kyle) wrote:
> > Hi,
> > After installing samba with conf. attached below, I connected from XP
Home
> > ed. I can browse the directory public, but when I tried to copy some
files
> > in public to my local XP directory, it failed with 'wrong network path'.
> > What happened?
>
> This sound weird. It's definately not a permission issue as far as I can
> tell. since you're on the XP box and you're copying to the XP Box. Samba
> permissions should not have anything to do with it.
>
> What about permissions on the XP directory?
>
> Are you using the netbios name or the IP address? Try the IP address.
>
>
>
>
> >
> > /etc/samba/smb.conf
> > [global]
> > workgroup = WORKGROUPserver string = Samba Server %v
> > log file = /var/log/samba/log.%m
> > max log size = 50
> > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> > interfaces = lo ath0
> > bind interfaces only = yes
> > security = share
> > guest account = samba
> > guest ok = yes[public]
> > comment = Public Files
> > browseable = yes
> > public = yes
> > create mode = 0766
> > guest ok = yes
> > path = /home/samba/public
> > Thanks
>
> -- 
> Ow Mun Heng
> Gentoo/Linux on DELL D600 1.4Ghz
> 98% Microsoft(tm) Free!!
> Neuromancer 14:13:04 up 15:45, 10 users, load average: 1.59, 1.08, 0.71
>
>
> -- 
> gentoo-user@gentoo.org mailing list
>
>
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] samba problem

2005-05-11 Thread Zhendong Zhou \(Kyle\)
Hi, Ow Mun
That shouldn't be a problem with permission on my XP dir since I can do
anything on that dir except copying files from samba server to it.
I am using 'my network place' to browse that 'public' directory on samba.
Since browsing shows all right, I don't think using IP address will be the
way out. But anyway I will try tonight when I get back to my lovely PC :p
Thanks anyway
Kyle
- Original Message - 
From: "Ow Mun Heng" <[EMAIL PROTECTED]>
To: "gentoo" 
Sent: Thursday, May 12, 2005 4:15 PM
Subject: Re: [gentoo-user] samba problem


> On Thu, 2005-05-12 at 16:05 +1000, Zhendong Zhou (Kyle) wrote:
> > Hi,
> > After installing samba with conf. attached below, I connected from XP
Home
> > ed. I can browse the directory public, but when I tried to copy some
files
> > in public to my local XP directory, it failed with 'wrong network path'.
> > What happened?
>
> This sound weird. It's definately not a permission issue as far as I can
> tell. since you're on the XP box and you're copying to the XP Box. Samba
> permissions should not have anything to do with it.
>
> What about permissions on the XP directory?
>
> Are you using the netbios name or the IP address? Try the IP address.
>
>
>
>
> >
> > /etc/samba/smb.conf
> > [global]
> > workgroup = WORKGROUPserver string = Samba Server %v
> > log file = /var/log/samba/log.%m
> > max log size = 50
> > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> > interfaces = lo ath0
> > bind interfaces only = yes
> > security = share
> > guest account = samba
> > guest ok = yes[public]
> > comment = Public Files
> > browseable = yes
> > public = yes
> > create mode = 0766
> > guest ok = yes
> > path = /home/samba/public
> > Thanks
>
> -- 
> Ow Mun Heng
> Gentoo/Linux on DELL D600 1.4Ghz
> 98% Microsoft(tm) Free!!
> Neuromancer 14:13:04 up 15:45, 10 users, load average: 1.59, 1.08, 0.71
>
>
> -- 
> gentoo-user@gentoo.org mailing list
>
>
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] samba problem

2005-05-11 Thread Zhendong Zhou \(Kyle\)
Hi,
After installing samba with conf. attached below, I connected from XP Home
ed. I can browse the directory public, but when I tried to copy some files
in public to my local XP directory, it failed with 'wrong network path'.
What happened?

/etc/samba/smb.conf
[global]
workgroup = WORKGROUPserver string = Samba Server %v
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = lo ath0
bind interfaces only = yes
security = share
guest account = samba
guest ok = yes[public]
comment = Public Files
browseable = yes
public = yes
create mode = 0766
guest ok = yes
path = /home/samba/public
Thanks
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] wpa_supplicant + dhcp net.ath0 script ?

2005-05-09 Thread Zhendong Zhou \(Kyle\)



Hi,
I am using madwifi & wpa_supplicant. after 
installing them and configured, I can manually start wpa_supplicant by 
'wpa_supplicant -w -c/etc/wpa_supplicant.conf -Dmadwifi' and 'dhcpcd ath0'. 
However, my problem is how to make them start automatically when the system 
boot?
It seems that I have to write something in net.ath0 
or /etc/init.d/net ...
but how? I am really new to linux. 
thanks
Kyle