PDA

View Full Version : network fun and samba


MechCD
25th July 2001, 14:33
First off, heres my /etc/hosts
27.0.0.1 localhost.localdomain localhost
192.168.0.2 penguin penguin localhost
192.168.0.4 amdjr amdjr
192.168.0.3 crunchin crunchin
192.168.0.6 genome genome500

Penguin (linux box) can ping everyone by nicknames and of course by IP. All the Windows boxes can ping all other WINDOWS boxes by nickname, but not penguin. They can ping everyone by IP.

Whats with that? It makes vncserver not work right either, like I can start the server but nobody sees it except for the linux box (fun, login as root, start vncserver, log in as mechcd and vnc to root's desktop :))

Now samba is a whole 'nother friggin' story

I installed it ans swat (via rpm). www.linuxplanet.com says linuxconf will have options for samba, well it doesn't. Swat doesn't work either, but i don't have apache installed. Any SAMBA HOWTO files i find are in german, and I can only speak and read english

X-Calibur
25th July 2001, 14:37
Originally posted by MechCD
Any SAMBA HOWTO files i find are in german, and I can only speak and read english

May I suggest a Babelfish operation? I hope the translation will be sufficient and not too confusing.... then again, I'm sure dnar as a link up his sleeve... AGAIN !!!

X-Calibur
25th July 2001, 14:43
Ooppsss didn't mean to quote myself... that was a missed Edit.... [/QUOTE]

Let"s see if I learned the lesson well:

Networking (http://linuxdoc.org/HOWTO/HOWTO-INDEX/networking.html)

http://www.ibiblio.org/penguinsmall.gif

gotta love bookmarks !!!!

MechCD
25th July 2001, 16:04
Originally posted by X-Calibur

Ooppsss didn't mean to quote myself... that was a missed Edit....

Let"s see if I learned the lesson well:

Networking (http://linuxdoc.org/HOWTO/HOWTO-INDEX/networking.html)

http://www.ibiblio.org/penguinsmall.gif

gotta love bookmarks !!!! [/QUOTE]

Der......... none of that really helped. Its all set up ok (i think) its just the stooopid Windows boxes can't find the nickname for 192.168.0.2 (linux box, nickname "penguin"), but they can ping it ok via the actual number

Do I need to edit c:\windows\hosts?

X-Calibur
25th July 2001, 22:35
Originally posted by MechCD

Der......... none of that really helped. Its all set up ok (i think) its just the stooopid Windows boxes can't find the nickname for 192.168.0.2 (linux box, nickname "penguin"), but they can ping it ok via the actual number

Do I need to edit c:\windows\hosts?

Yup, find the HOSTS.sam file

save as... HOSTS with NO extension

edit the file to be


127.0.0.1 localhost #yer machine
127.0.0.1 nicknameoflocalmachine #yer machine again
192.168.0.2 somemachine #I'm sure you get it from then on


It supposed to work.. you may have to edit the lmhosts file too depending on your setup....

Good luck

MechCD
25th July 2001, 22:51
Okey dokey! Copied over parts from penguin's /etc/hosts to c:\windows\hosts and now it works! Of course i modified it after I caopied it :) Now everyone can ping everyone via nickname. I gotta try VNC now

vncviewer has worked from the linux box always

dnar
26th July 2001, 06:32
Well I can see I am out of a job! Well done lads! Yep those "nicknames" or ALIASes as they are really known must be setup in yer WiNbloat boxen....

MechCD
26th July 2001, 12:29
Der, I still can't get samba werkin'. It still doesn't show up in linuxconf (the only reason i installed it) Is there some other config app for samba (not swat)?

dnar
26th July 2001, 12:38
Webmin (http://www.webmin.com/webmin/) :cool:

MechCD
26th July 2001, 15:28
Woohoo! RPMs = good

I'll try it after my blasted windows g@h client finishes its wu

MechCD
27th July 2001, 11:43
OK, webmin is awesome!








Now samba is set up, except it doesn't start the daemon on bootup, what runlevel should i put it in? 3 or 5?





I can see the Penguin share on my other puters, but it says it requires a password. i have share level access and null passwords allowed set. I never typed in a password anywhere for samba........... Did I miss something (again)





Geez, my title should be Linux Guru in training :rolleyes: :p

dnar
27th July 2001, 12:16
Originally posted by MechCD

OK, webmin is awesome!














Now samba is set up, except it doesn't start the daemon on bootup, what runlevel should i put it in? 3 or 5?






What runlevel do you have the system set to at boot? I would imagine 5.



Check: /etc/inittab, if booting to level 5, first line will be:



id:5:initdefault:






I can see the Penguin share on my other puters, but it says it requires a password. i have share level access and null passwords allowed set. I never typed in a password anywhere for samba........... Did I miss something (again)









Geez, my title should be Linux Guru in training :rolleyes: :p



Or "Linux Grasshopper" :D (Wax on, wax off)

MechCD
27th July 2001, 18:45
Yer right about that, level 5 is default. What about this password thing? I never set a password for samba?