|
Home > Archive > Red Hat Networking > July 2005 > //Localhost isn't accessible. you might not have permission.
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
//Localhost isn't accessible. you might not have permission.
|
|
| ColaLord 2005-07-21, 2:52 am |
| Hi,
i'm very new to this linux stuff. i downloaded red hat 9 shrike about
3 weeks ago and finally started to play with it the past week end. i
have always been a windows user up till now and am a little confused
by the layout of red hat. i was able to get my linux box logged onto
the work group but every time i try to access it from one of my
windows based pc's it gives me the message stating the "//localhost
is not accessible. you might not have permission to use this
resource." how would i give permission to access this resource from
other computers?
one other question. how would i change the name of the computer from
//localhost to //something_else or something? thanx!
| |
| Moe Trin 2005-07-21, 6:02 pm |
| In the Usenet newsgroup redhat.networking.general, in article
<UvudnfAHBe38zELfRVn_vQ@giganews.com>, ColaLord wrote:
>i'm very new to this linux stuff. i downloaded red hat 9 shrike about
>3 weeks ago and finally started to play with it the past week end.
For playing, on an isolated network, that might be OK, but RH9 which
was originally released in April 2003, is obsolete. If you wish to stick
with Red Hat, look for 'Fedora Core 4' which was released about a month
ago. Otherwise, see http://www.distrowatch.com/
>i have always been a windows user up till now and am a little confused
>by the layout of red hat.
Not surprising - you are comparing apples with tomatoes. They are _quite_
different. Start with the documentation - there is tons of it on the web
for free. Try http://ibiblio.org/pub/linux/docs/linux-doc-project/ or
http://tldp.org/guides.html - and look for
drwxrwsr-x 3 gferg ldp 4096 Feb 19 1999 install-guide
drwxrwxr-x 2 gferg ldp 4096 May 25 08:31 intro-linux
drwxrwsr-x 3 gferg ldp 4096 Jan 5 2001 nag2
drwxrwsr-x 4 gferg ldp 4096 Dec 5 2003 system-admin-guide
drwxrwsr-x 3 gferg ldp 4096 Feb 14 1999 users-guide
That's the directory listing from ibiblio.org, and each of those
directories has a book in several formats.
>i was able to get my linux box logged onto the work group but every time
>i try to access it from one of my windows based pc's it gives me the
>message stating the "//localhost is not accessible. you might not have
>permission to use this resource."
OK - I don't do Samba, as I stopped using windoze in 1992 before they
invented networking. The two slashes are illegal in a hostname, and
the name 'localhost' refers to "this computer", not any remote. In fact,
ALL computers know localhost means themselves.
>how would i give permission to access this resource from other computers?
Give it a unique name - with dots in it. If you haven't got a registered
domain name, use 'something.invalid' (the "invalid" domain will never exist
in the real world, so there will be no chance of mistaking it for a real
domain).
>one other question. how would i change the name of the computer from
>//localhost to //something_else or something? thanx!
Edit /etc/sysconfig/network - the hostname is defined there.
[compton ~]$ cat /etc/sysconfig/network
NETWORKING=yes
FORWARD_IPV4=false
HOSTNAME=compton.phx.az.us
DOMAINNAME=house.network
GATEWAY=192.168.1.2
GATEWAYDEV=eth0
[compton ~]$
NOTE: Only define the GATEWAY and GATEWAYDEV if that host has a DIRECT
connection to the Internet. Also - the DOMAINNAME is the NFS Domain
(something similar to the windoze workgroup concept), not the domain
portion of the HOSTNAME.
Then, edit /etc/hosts and see that the hostname ties to an IP address.
[compton ~]$ cat /etc/hosts
127.0.0.1 localhost
192.168.1.54 compton.phx.az.us compton
[compton ~]$
If you are not running a local DNS server, you should also include the
name/IP address for all other computers on your LAN that might connect to
this host. The name change will take effect on next boot, although there
are ways to have it take effect now (more complicated than you need to be
doing at this point).
"redhat.networking.general" is a _REALLY_ dead Usenet newsgroup averaging
about 5 articles per month. Try the regular Usenet newsgroups - this would
be appropriate to comp.os.linux.setup. You can also get answers to just
about any question by searching the google archive at
http://groups.google.com.
Old guy
| |
| Jan Gerrit Kootstra 2005-07-26, 7:58 am |
| Moe Trin wrote:
> In the Usenet newsgroup redhat.networking.general, in article
> <UvudnfAHBe38zELfRVn_vQ@giganews.com>, ColaLord wrote:
>
>
>
>
> For playing, on an isolated network, that might be OK, but RH9 which
> was originally released in April 2003, is obsolete. If you wish to stick
> with Red Hat, look for 'Fedora Core 4' which was released about a month
> ago. Otherwise, see http://www.distrowatch.com/
>
>
>
>
> Not surprising - you are comparing apples with tomatoes. They are _quite_
> different. Start with the documentation - there is tons of it on the web
> for free. Try http://ibiblio.org/pub/linux/docs/linux-doc-project/ or
> http://tldp.org/guides.html - and look for
>
> drwxrwsr-x 3 gferg ldp 4096 Feb 19 1999 install-guide
> drwxrwxr-x 2 gferg ldp 4096 May 25 08:31 intro-linux
> drwxrwsr-x 3 gferg ldp 4096 Jan 5 2001 nag2
> drwxrwsr-x 4 gferg ldp 4096 Dec 5 2003 system-admin-guide
> drwxrwsr-x 3 gferg ldp 4096 Feb 14 1999 users-guide
>
> That's the directory listing from ibiblio.org, and each of those
> directories has a book in several formats.
>
>
>
>
> OK - I don't do Samba, as I stopped using windoze in 1992 before they
> invented networking. The two slashes are illegal in a hostname, and
> the name 'localhost' refers to "this computer", not any remote. In fact,
> ALL computers know localhost means themselves.
>
>
>
>
> Give it a unique name - with dots in it. If you haven't got a registered
> domain name, use 'something.invalid' (the "invalid" domain will never exist
> in the real world, so there will be no chance of mistaking it for a real
> domain).
>
>
>
>
> Edit /etc/sysconfig/network - the hostname is defined there.
>
> [compton ~]$ cat /etc/sysconfig/network
> NETWORKING=yes
> FORWARD_IPV4=false
> HOSTNAME=compton.phx.az.us
> DOMAINNAME=house.network
> GATEWAY=192.168.1.2
> GATEWAYDEV=eth0
> [compton ~]$
>
> NOTE: Only define the GATEWAY and GATEWAYDEV if that host has a DIRECT
> connection to the Internet. Also - the DOMAINNAME is the NFS Domain
> (something similar to the windoze workgroup concept), not the domain
> portion of the HOSTNAME.
>
> Then, edit /etc/hosts and see that the hostname ties to an IP address.
>
> [compton ~]$ cat /etc/hosts
> 127.0.0.1 localhost
> 192.168.1.54 compton.phx.az.us compton
> [compton ~]$
>
> If you are not running a local DNS server, you should also include the
> name/IP address for all other computers on your LAN that might connect to
> this host. The name change will take effect on next boot, although there
> are ways to have it take effect now (more complicated than you need to be
> doing at this point).
>
> "redhat.networking.general" is a _REALLY_ dead Usenet newsgroup averaging
> about 5 articles per month. Try the regular Usenet newsgroups - this would
> be appropriate to comp.os.linux.setup. You can also get answers to just
> about any question by searching the google archive at
> http://groups.google.com.
>
> Old guy
Dear Moe Trin,
NFS=Network filesystem.
NIS=Network Information Service
(this more like a primitive Windows Domain)
Regards,
Jan Gerrit Kootstra
|
|
|
|
|