LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-24-2003, 05:33 PM   #1
cj_thomas
LQ Newbie
 
Registered: May 2003
Posts: 7

Rep: Reputation: 0
Trying to connect to my windows WORKGROUP...


Hi, i just installed Red Hat 7.2 a few days ago, and have had no real experience with using any form of Linux.

I am having trouble connecting to my workgroup. I have my Samba server running, and i have internet connectivity, and can also ping my linux computer from a windows machine on my network.

The one thing i cannot do is view the network. I try to go to the Local Network in Konquerer, and an error comes up saying "Could not connect to host localhost"

I can see a computer named Localhost in network neighborhood, and when i try and view it i get an error in windows saying "\\Localhost is not accessible. A duplicate exists on the network."

I know this is probably because windows is getting confused because the loopback is named localhost, but i cant figure out how to change the host name in Red Hat.


If anyone could point me in the right direction, i would greatly appreciate it.

Thanks
 
Old 05-24-2003, 05:40 PM   #2
manthram
Member
 
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

Rep: Reputation: 31
you can put this line in '/etc/sysconfig/network'

HOSTNAME=yourhostname


also you can add your linux machines name in the hosts file of windows so that it can see it easily

and your windoz machine name in '/etc/hosts' in Linux
 
Old 05-24-2003, 05:42 PM   #3
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,749

Rep: Reputation: 71
Do you want to change it in samba or the PC name in on the system? You can change it locually by editing the /etc/hostname file. In samba you need to change or make the line "netbios name =" in your /etc/samba/smb.conf file.
 
Old 05-25-2003, 08:32 PM   #4
linux_pioneer
Member
 
Registered: May 2003
Distribution: Solaris 10, Solaris 8.0, Fedora Core 3
Posts: 203

Rep: Reputation: 30
Sounds like you just need to configure /etc/samba/smb.conf as tangle mentioned. Here is a link to a site that can help you configure it: http://k12linux.mesd.k12.or.us/using_samba/ch02_04.html
If you go with redhat 9.0 samba is configured automatically. When I was using 8.0 I had to edit the smb.conf file. Before doing a clean install of 9.0 I saved the file so I could use it again. I didn't even need it. It was automatic. You should still check out the smb.conf file to see how it is set up. By the way, why 7.2?
 
Old 05-26-2003, 01:28 AM   #5
cj_thomas
LQ Newbie
 
Registered: May 2003
Posts: 7

Original Poster
Rep: Reputation: 0
I burned the 7.2 CDs way back when, and i didnt really want to download the new version because im low on CDR's.

So Red Hat 7.2 it was...


I think im going to go to Red Hat 9 now though, because im having alot of trouble configuring Samba by myself.

Thanks for all your help
 
Old 05-26-2003, 05:59 AM   #6
rh8
LQ Newbie
 
Registered: May 2003
Distribution: Red Hat 8.0
Posts: 2

Rep: Reputation: 0
I tried to connect to my other computers on the network using the advice stated here but it didnt work.
Quote:
you can put this line in '/etc/sysconfig/network'

HOSTNAME=yourhostname
It kept on saying /etc/sysconfig/network
bash: /etc/sysconfig/network: Permission denied


Can anyone help?

Last edited by rh8; 05-26-2003 at 06:01 AM.
 
Old 05-26-2003, 09:53 AM   #7
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,749

Rep: Reputation: 71
log in as root to edit the file.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Workgroup between Mandrake 10.0 and Windows ME adrianos Linux - Networking 1 02-12-2005 06:36 AM
LInux-- to Windows WORKGROUP fritz001 Slackware 4 09-15-2004 06:01 AM
smb4k failing to connect to windows workgroup fitzy85 Linux - Software 0 05-29-2004 01:13 PM
Can't see Windows workgroup cb8100 Linux - Networking 3 04-16-2004 06:04 PM
Is there a way to connect a pc to linux through just a workgroup and not a domain? duel Linux - Networking 1 09-21-2001 11:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration