Assistance in networking my Red Hat 9.0 with windows machine
Hey everyone,
I have just install Red Hat 9.0 and just connected my Red Hat 9.0 to the internet. And I am pretty excited that I have learn something new due to the fact that I am new to linux. What I want to do now is having my Red Hat 9.0 to talk to my windows machine. So, my question is.. 1. How would I go about in doing it? 2. How would I go about in connecting to my windows workgroup. i.e If my windows workgroup was to be called "home". 3. Is there somewhere in linux that something like network neighbourhood like windows where I can see what is been shared etc.. 4. What do I need to do to be able to see my linux sharing? It would be much appreciated if you could be of any assistance. Thanks in advance! Regards, tuannie |
I understand that u want to join ur machine to the HOME workgroup if this is the case then, install samba go to the /etc/samba/smb.conf
uncomment the following lines and adjust them to suite your network hosts allow = 192.168.1. 192.168.2. 127. interfaces = 192.168.12.2/24 192.168.13.2/24 also modify in [global] security=user encrypt passwords=yes smb passwd file = /etc/samba/smbusers unix password sync = Yes passwd program = /usr/bin/passwd %u username map = /etc/samba/smbusers modify in [homes] browseable=yes save the file and run "testparm". if everything is OK. create accounts using smbpasswd -a username restart smb and then try join the workgroup. Try type this in the nautilus location bar smb://xp-machine-name or smb://xp-ipaddress you need to have shared an xp folder to see anything |
When I try to type in what you have ask me "/etc/samba/smb.conf"
I get the following message in the terminal. [tuan@tuan tuan]$ /etc/samba/smb.conf bash: /etc/samba/smb.conf: Permission denied [tuan@tuan tuan]$ su Password: [root@tuan tuan]# /etc/samba/smb.conf bash: /etc/samba/smb.conf: Permission denied [root@tuan tuan]# |
/etc/samba/smb.conf is a text file you cant execute it. You have to edit it using either 'vi' or 'pico'
use the command as follows as root: vi /etc/samba/smb.conf -or- pico /etc/samba/smb.conf edit the file with whatever iamwilliam told you. Follow his steps as best you can then try connecting again. |
Hi Tuannie
sorry if I confused you. Open the smb.conf file with an editor such as vi or any of ur choice Quote:
|
how do I save a file in terminal?
I type vi /etc/samba/smb.conf and then edited the things, but i dont know how to save it |
I also click on the main menu >> Accessories >> Text editor and then open up smb.conf but it only open as read only.
|
you need to know 'vi' editor if you dont know it use pico its easier.
|
using vi as root:
open file using "vi filename" press "a" to go to insert mode make changes press "escape key" type ":wq!" to save then quit |
okay I save it and then type testparm
This is what it show up: Code:
[root@tuan root]# testpam |
is samba running "/etc/init.d/smb restart"?
have you created a samba account like in earlier post? go to windows machine and add it to the workgroup=WORKGROUP follow the first post it should work let me know how it goes |
Quote:
[root@tuan root]# smbpasswd -a tuan New SMB password: Retype new SMB password: Password changed for user tuan. [root@tuan root]# [root@tuan root]# /etc/init.d/smb restart Shutting down SMB services: [ OK ] Shutting down NMB services: [FAILED] Starting SMB services: [ OK ] Starting NMB services: [ OK ] [root@tuan root]# I created a workgroup in my windows machine WORKGROUP and comp name was xp-laptop Then I try typing in nautilus Nautilus cannot display "smb://xp-laptop" I get the following message: Couldn't display "smb://xp-laptop", because no host "xp-laptop" could be found. Check that the spelling is correct and that your proxy settings are correct. and then try it with smb://192.168.1.4 I get this message: Nautilus cannot display "smb://192.168.1.4" |
Anyone have the solutions to my problem that I have previously posted?
|
Quote:
which should be "192.168.1.x/24". As it should be on the same network with the windows machine. Good luck |
Quote:
and my windows ip is 192.168.1.4 Should it be something like the following? interfaces = 192.168.1.103/24 192.168.1.4/24 |
All times are GMT -5. The time now is 04:58 PM. |