View previous topic :: View next topic |
Author |
Message |
Ego n00b
Joined: 25 Sep 2004 Posts: 8
|
Posted: Mon Oct 04, 2004 9:35 am Post subject: [resolved] undoing a domain? |
|
|
i installed gentoo using the handbook pretty much word for word.
Now i want to config it to allow me to let my XP boxes see a share on my linux box.
i used
Code: | # echo homenetwork > /etc/dnsdomainname
# rc-update add domainname default
# nano -w /etc/hosts
127.0.0.1 localhost
192.168.0.5 xp1.homenetwork xp1
192.168.0.6 xp2.homenetwork xp2
192.168.0.7 linuxbox.homenetwork linuxbox
|
now i need to remove the domain as i only wish to use workgroup access, how do i tell linux to not use a domain?
Last edited by Ego on Mon Oct 04, 2004 6:12 pm; edited 1 time in total |
|
Back to top |
|
|
hds Advocate
Joined: 21 Aug 2004 Posts: 2629 Location: Sprockhoevel [GER]
|
Posted: Mon Oct 04, 2004 9:45 am Post subject: |
|
|
i am not sure if i understand you correctly.. the domain has nothing to do with your shares. if you want your XP machines to access your share, you need to install samba. |
|
Back to top |
|
|
Ego n00b
Joined: 25 Sep 2004 Posts: 8
|
Posted: Mon Oct 04, 2004 10:01 am Post subject: |
|
|
ye i've done that, but the prob i have is that alltho i'm 99.9999% sure i've set samba up correctly none of my XP boxes can see the linuxbox (i can ping it but thats it, it won't show up on the network list under workgroup). I don't specify a domain on my XP boxes and i have never managed to get a network working using a domain on XP. Does gentoo NEED to use a domain? i used mandrake up until a couple of weeks ago and had no prob with that even tho i didn't bother with domain. |
|
Back to top |
|
|
hds Advocate
Joined: 21 Aug 2004 Posts: 2629 Location: Sprockhoevel [GER]
|
Posted: Mon Oct 04, 2004 10:09 am Post subject: |
|
|
ping has nothing to do with samba.
did you set the workgroup correctly in smb.conf:
Code: |
[global]
workgroup = your_workgroup
kernel oplocks = false
socket options = TCP_NODELAY
keep alive = 30
netbios name = whatever
printing = bsd
guest account = nobody
load printers = yes
map to guest = Bad User
os level = 2
printcap name = /etc/printcap
security = user
encrypt passwords = yes
|
|
|
Back to top |
|
|
Ego n00b
Joined: 25 Sep 2004 Posts: 8
|
Posted: Mon Oct 04, 2004 10:32 am Post subject: |
|
|
wooahhh
i can see it on my XP box now, if i try to access its asking for a user/pass which i don't know atm (root and my user login don't work)
thanx for help, now i'm really getting some where |
|
Back to top |
|
|
hds Advocate
Joined: 21 Aug 2004 Posts: 2629 Location: Sprockhoevel [GER]
|
Posted: Mon Oct 04, 2004 11:16 am Post subject: |
|
|
well, i think you should have a look at the samba.conf documentation, there should be samples as well how to set things up. here are my home and group shares:
Code: |
[homes]
comment = home-directory
browseable = no
read only = no
create mode = 0700
|
Code: |
[data]
comment = data
path = /mnt/data
browseable = yes
read only = no
create mode = 0770
|
|
|
Back to top |
|
|
Ego n00b
Joined: 25 Sep 2004 Posts: 8
|
Posted: Mon Oct 04, 2004 6:12 pm Post subject: |
|
|
thanx for the help, much appreciated |
|
Back to top |
|
|
|