* Re: Confused on windows verses Linux networking
Confused on windows verses Linux networking Jared Stofflett
@ ` Luke Yelavich
` Gregory Nowak
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Luke Yelavich @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Hi
On Mon, Aug 16, 2004 at 08:30:41AM EST, Jared Stofflett wrote:
> I have two Linux boxes, both running fedora core 2. One is meant as a
> windows file server so runs samba, and has the line in smb.conf that reads
> something like
> Hostname=dataServer
You know you don't actually nee this. Samba will use the hostname set up in
the /etc/hosts file. This is only really needed IMO if you want the Samba
server to appear as a different name.
> I know that this creates a NetBIOS name which is used to brows networks in
> windows. I have another Linux box that I'm trying to run as a local web
> server, so it's really stripped down. All windows clients are going to be
> accessing it through internet explorer. I do not want to start to run samba,
> but would like to have an easier way to access it then having to type in
> 192.168.0.109
What you need to do is set up a local DNS server for your lan. The reason why
Samba machines are accessible with their name in Internet Explorer is because
Windows is using the NetBIOS name from Samba to resolve the IP address.
> I know I was able to access stuff on the box running samba by doing
> http://dataServer:901
> TO get to swatt, using the NetBIOS name as a fully qualified domain name.
> Unfortunately all the stuff I've read about hostnames under Linux is
> yourComputer.yourDomain.someOtherDomain.com
You don't have to do this, if everything is set up correctly. I have a simple
LAN domain name, but only have to enter a computer's hostname to access it.
> Is there a way to set the computer to ignore domains so that everything on
> the same subnet such as 192.168.0.xxx will be able to do the following
> http://webserver
> Where webserver is the Linux box that isn't running samba.
> Everything I've read says I'd have to do
> http://webserver.mydomain.com
> Which assumes I own a domain, which I do not, and am not going to.
> appreciate any help with this.
If you are using a Linux box as a gateway/firewall for your network, I would
check out dnsmasq. Do a google for it. I am using it on my Gateway, and it takes
care of DHCP, and DNS for my LAN, and also acts as a caching DNS server for
access to the net. This means that all the computers on the LAN only point to
it for DNS requests, and it then uses my ISP DNS servers. If my ISP DNS servers
change, I don't have to go round changing all my machines, as the DHCP for my
net connection will handle that, and dnsmasq will do the rest.
hth
Luke
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: Confused on windows verses Linux networking
Confused on windows verses Linux networking Jared Stofflett
` Luke Yelavich
@ ` Gregory Nowak
` Jared Stofflett
` Joseph C. Lininger
` Alex Snow
3 siblings, 1 reply; 7+ messages in thread
From: Gregory Nowak @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The way I understand things, you need to be on a domain of some sort,
be it a private one, since you can't just use host names. I use the
domain lan.lan, which works fine here. However, if you want to access
machines by name like you describe, you will need to either mess with
/etc/hosts, or setup a name server using bind for example.
Greg
On Sun, Aug 15, 2004 at 06:30:41PM -0400, Jared Stofflett wrote:
> I have two Linux boxes, both running fedora core 2. One is meant as a
> windows file server so runs samba, and has the line in smb.conf that reads
> something like
> Hostname=dataServer
> I know that this creates a NetBIOS name which is used to brows networks in
> windows. I have another Linux box that I'm trying to run as a local web
> server, so it's really stripped down. All windows clients are going to be
> accessing it through internet explorer. I do not want to start to run samba,
> but would like to have an easier way to access it then having to type in
> 192.168.0.109
> I know I was able to access stuff on the box running samba by doing
> http://dataServer:901
> TO get to swatt, using the NetBIOS name as a fully qualified domain name.
> Unfortunately all the stuff I've read about hostnames under Linux is
> yourComputer.yourDomain.someOtherDomain.com
> Is there a way to set the computer to ignore domains so that everything on
> the same subnet such as 192.168.0.xxx will be able to do the following
> http://webserver
> Where webserver is the Linux box that isn't running samba.
> Everything I've read says I'd have to do
> http://webserver.mydomain.com
> Which assumes I own a domain, which I do not, and am not going to.
> appreciate any help with this.
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
>
> !DSPAM:411fe431175869618070793!
>
>
- --
Free domains: http://www.eu.org/ or mail dns-manager@EU.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFBH/Fi7s9z/XlyUyARAg+QAJ9lxL5Lc7BWGx8DEzKCu7sEfqdW4gCgx/B9
WGS9OuYp9B9waThgNuJVRfA=
=jLgz
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread* RE: Confused on windows verses Linux networking
` Gregory Nowak
@ ` Jared Stofflett
0 siblings, 0 replies; 7+ messages in thread
From: Jared Stofflett @ UTC (permalink / raw)
To: 'Speakup is a screen review system for Linux.'
Ok, this makes things more interesting. This machine has to go onto a
network ran by windows 2000 server for dns, so hopefully I can just use
ifconfig to set the machine a static ip and the dns server on windows 2000
can give it a nice name.
-----Original Message-----
From: speakup-bounces@braille.uwo.ca [mailto:speakup-bounces@braille.uwo.ca]
On Behalf Of Gregory Nowak
Sent: Sunday, August 15, 2004 7:28 PM
To: Speakup is a screen review system for Linux.
Subject: Re: Confused on windows verses Linux networking
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The way I understand things, you need to be on a domain of some sort, be it
a private one, since you can't just use host names. I use the domain
lan.lan, which works fine here. However, if you want to access machines by
name like you describe, you will need to either mess with /etc/hosts, or
setup a name server using bind for example.
Greg
On Sun, Aug 15, 2004 at 06:30:41PM -0400, Jared Stofflett wrote:
> I have two Linux boxes, both running fedora core 2. One is meant as a
> windows file server so runs samba, and has the line in smb.conf that
> reads something like Hostname=dataServer I know that this creates a
> NetBIOS name which is used to brows networks in windows. I have
> another Linux box that I'm trying to run as a local web server, so
> it's really stripped down. All windows clients are going to be
> accessing it through internet explorer. I do not want to start to run
> samba, but would like to have an easier way to access it then having
> to type in
> 192.168.0.109
> I know I was able to access stuff on the box running samba by doing
> http://dataServer:901
> TO get to swatt, using the NetBIOS name as a fully qualified domain name.
> Unfortunately all the stuff I've read about hostnames under Linux is
> yourComputer.yourDomain.someOtherDomain.com
> Is there a way to set the computer to ignore domains so that
> everything on the same subnet such as 192.168.0.xxx will be able to do
> the following http://webserver Where webserver is the Linux box that
> isn't running samba.
> Everything I've read says I'd have to do http://webserver.mydomain.com
> Which assumes I own a domain, which I do not, and am not going to.
> appreciate any help with this.
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
>
> !DSPAM:411fe431175869618070793!
>
>
- --
Free domains: http://www.eu.org/ or mail dns-manager@EU.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFBH/Fi7s9z/XlyUyARAg+QAJ9lxL5Lc7BWGx8DEzKCu7sEfqdW4gCgx/B9
WGS9OuYp9B9waThgNuJVRfA=
=jLgz
-----END PGP SIGNATURE-----
_______________________________________________
Speakup mailing list
Speakup@braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Confused on windows verses Linux networking
Confused on windows verses Linux networking Jared Stofflett
` Luke Yelavich
` Gregory Nowak
@ ` Joseph C. Lininger
` Alex Snow
3 siblings, 0 replies; 7+ messages in thread
From: Joseph C. Lininger @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
The reason that the http://dataserver thing works is because samba registers
that name with netbios. Without netbios, the webserver name won't be
registered. However, you do have a work around. Simply add an entry to the
Windows hosts file to point the name webserver to the desired ip address.
--
Joseph C. Lininger
jbahm@pcdesk.net
Note, the following is used for automated processing. Please lieve intact if
quoting me in a reply.
Verification: 5eab38a77ac40416e075be8f50607ff7
----- Original Message -----
From: "Jared Stofflett" <jared-stofflett@twmi.rr.com>
To: "'Speakup is a screen review system for Linux.'"
<speakup@braille.uwo.ca>
Sent: Sunday, August 15, 2004 4:30 PM
Subject: Confused on windows verses Linux networking
> I have two Linux boxes, both running fedora core 2. One is meant as a
> windows file server so runs samba, and has the line in smb.conf that reads
> something like
> Hostname=dataServer
> I know that this creates a NetBIOS name which is used to brows networks in
> windows. I have another Linux box that I'm trying to run as a local web
> server, so it's really stripped down. All windows clients are going to be
> accessing it through internet explorer. I do not want to start to run
samba,
> but would like to have an easier way to access it then having to type in
> 192.168.0.109
> I know I was able to access stuff on the box running samba by doing
> http://dataServer:901
> TO get to swatt, using the NetBIOS name as a fully qualified domain name.
> Unfortunately all the stuff I've read about hostnames under Linux is
> yourComputer.yourDomain.someOtherDomain.com
> Is there a way to set the computer to ignore domains so that everything on
> the same subnet such as 192.168.0.xxx will be able to do the following
> http://webserver
> Where webserver is the Linux box that isn't running samba.
> Everything I've read says I'd have to do
> http://webserver.mydomain.com
> Which assumes I own a domain, which I do not, and am not going to.
> appreciate any help with this.
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Confused on windows verses Linux networking
Confused on windows verses Linux networking Jared Stofflett
` (2 preceding siblings ...)
` Joseph C. Lininger
@ ` Alex Snow
3 siblings, 0 replies; 7+ messages in thread
From: Alex Snow @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
try setting up a dnss erver on your local network...bind is pretty
easy to configure and even easier if you use webmin.
On Sun, Aug 15, 2004
at 06:30:41PM -0400, Jared Stofflett wrote:
> I have two Linux boxes, both running fedora core 2. One is meant as a
> windows file server so runs samba, and has the line in smb.conf that reads
> something like
> Hostname=dataServer
> I know that this creates a NetBIOS name which is used to brows networks in
> windows. I have another Linux box that I'm trying to run as a local web
> server, so it's really stripped down. All windows clients are going to be
> accessing it through internet explorer. I do not want to start to run samba,
> but would like to have an easier way to access it then having to type in
> 192.168.0.109
> I know I was able to access stuff on the box running samba by doing
> http://dataServer:901
> TO get to swatt, using the NetBIOS name as a fully qualified domain name.
> Unfortunately all the stuff I've read about hostnames under Linux is
> yourComputer.yourDomain.someOtherDomain.com
> Is there a way to set the computer to ignore domains so that everything on
> the same subnet such as 192.168.0.xxx will be able to do the following
> http://webserver
> Where webserver is the Linux box that isn't running samba.
> Everything I've read says I'd have to do
> http://webserver.mydomain.com
> Which assumes I own a domain, which I do not, and am not going to.
> appreciate any help with this.
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
- --
[In 'Doctor' mode], I spent a good ten minutes telling Emacs what I
thought of it. (The response was, 'Perhaps you could try to be less
abusive.')
-- Matt Welsh
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFBH/k29XVrM3ri110RAhJAAJ9o3Ae2yDR8PL6McIqZvhziocA6mACeNbAS
3EgzJRZkooBId1l/AeBzlkE=
=mxkf
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread