General Problems with Gentoox

Ask questions regarding Gentoox, Gentoo and Linux in general in these forums and we'll do our best to help you!
Post Reply
brucett
Novice
Posts: 20
Joined: Sun Dec 26, 2004 12:31 pm

General Problems with Gentoox

Post by brucett »

Small problem i am having at the moment with my Linux server.

When i reset the linux server just by turning off and on again, it seems to kick all the computers and other xbox's off the network for a short time, (like disconnect and then reconnect) which can be annoying if the computers are downloading etc....

the setup is illustrated best in the diagram below. any ideas on what could be causing this would be appreciated.

NETWORK SET UP:-
Incoming line into router, which is then split into three rooms, one which links directly into a PC, one which goes into a hub and has an xbox, the gentoox xbox and a pc running. The other room has a hub too and an xbox and a pc.


Also the reason for me turning the xbox on and off is that when copying files over to the Xbox using the Samba files sharing system, the xbox suddenly becomes write protected for no apparent reason?? even though the setting in samba is writeable = yes.

Any help is appreciated on the situation .
brucett
Novice
Posts: 20
Joined: Sun Dec 26, 2004 12:31 pm

Post by brucett »

sorted the problem about the network conflict but the writeable problem is still there!
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX »

[sharename]
valid users = root,@root
invalid users = guest,@guest
user = root
path = /path/to/share
write list = root
only user = yes

That seems to work for me
The original Xbox adaptation of Gentoo
brucett
Novice
Posts: 20
Joined: Sun Dec 26, 2004 12:31 pm

Post by brucett »

do you mind showing me your whole smb.conf because that didnt seem to work.

thanks
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX »

My conf is generated with webmin.
The original Xbox adaptation of Gentoo
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle »

brucett, could you post your smb.conf (without comments)

Also are your hubs, hubs or switches, do you have this problem with any of your other xboxes.
If you keep an open mind, will your brain fall out?
brucett
Novice
Posts: 20
Joined: Sun Dec 26, 2004 12:31 pm

Post by brucett »

No i dont have a problem with any of my other xbox's. The linux xbox is still readable but just not able to copy stuff over to it when mapping the drives in windows or when accessing it in my network places on any pc.

right my smb.conf is as follows.

[global]
server string = Samba Server %v
log file = /var/log/samba3/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
dns proxy = no
workgroup = workgroup
netbios name = xbox
secutiy = user

[Music]
path = /mnt/fatx/f/music/
guest ok = yes
writeable = yes
write list = root

I then have another 6 like the above just going to different folders like films and stuff like that.

thanks.
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle »

if you have
guest ok = yes
windows will connect as guest but you also have
write list = root
which means only root can write to the partition.

You can either use the connect as option in windows and connect to the share as root or just have
writeable = yes
and get rid of the write list also add
map to guest = bad user
in your global section and make sure that the folder you are trying to write to is writeable by the nobody user.

If you are not bothered about security add
guest user = root
to the global section
If you keep an open mind, will your brain fall out?
brucett
Novice
Posts: 20
Joined: Sun Dec 26, 2004 12:31 pm

Post by brucett »

still no success. after doing what you said. any ideas or someone kindly show me there working samba share smb.conf

thanks,
Bruce
Post Reply