Re: [newbie] Really small LAN of 2

2001-08-05 Thread Tim Holmes

I agree with Sridhar.  I think the fact that the machine's name is
localhost, is causing a bit of a problem.  It could very well be the
firewall as well.  But edit this file:

[root@r2d2 sysconfig]# cat network
NETWORKING=yes
FORWARD_IPV4=false
HOSTNAME=MACHINE-NAME-HERE
DOMAINNAME=DOMAIN.ORG-HERE

Edit that, restart the network, and other services.  I'm not sure if
bastille runs as a service or not. But just to be sure do a:

/etc/init.d/network restart

That must be done as root of course.  I'd edit the /etc/hosts and make
sure you fix the first line that holds the 127.0.0.1, since that seems
to get messed up quite often.  And add the correct names and IP address.
The basic form goes as follows.

127.0.0.1   localhost.DOMAIN.ORG localhost
192.168.0.1 router.DOMAIN.ORG router
192.168.0.2 aj.DOMAIN.ORG aj

The names can be switched around if you'd like, it will still work, I
actually have them switched so it shows the short name instead of the
long name when you do a `w` on the machine.

From there try running that ping. Going both ways of course.  Then try
and ping the outside world.

I'd suggest naming the Linux box something like ROUTER since that's what
it appears to do, or go with a theme.  A lot of people have network
themes and a lot of companies do.  My them would be StarWars.  (YODA,
R2D2, JEDI, CHEWBACCA)  At work we use various themes.  Elements, Greek
gods, and the ever so popular, cartoon names.
tdh

--
T. Holmes
-
UNIXTECHS.org
[EMAIL PROTECTED]
-
Real Men Use Vi!

Uptime:
  
   10:57am  up 3 days, 21:52,  4 users,  load average: 0.00, 0.00, 0.00
  

| On Mon, 30 Jul 2001 11:41, Dennis Myers wrote:
|  I have two computers connected via a hub. Localhost (linux) is the Samba
|  server and also a client, AJ is an windows box client.
|  Currently, AJ can connect to the internet through localhost using
|  localhost firewall also, AJ can ping 127.0.0.1 but can not ping the
|  localhost 192.168.0.1
|  Localhost can ping both the name AJ and the address 192,168.0.2
|  In network neighborhood on AJ, AJ shows up but not localhost, all are set
|  up on localgroup. I know, real original on the names ha.
|  So, does anyone know what I may have set up incorrectly to prevent AJ from
|  pinging the localhost address? Samba is so close to being configured I can
|  taste it.  TIA for any assistance.
| 
| localhost (and localhost.localdomain) is a name that is normally used by 
| a computer to refer to itself via a loopback interface. Perhaps this is 
| causing some kind of confusion on your network. Try renaming localhost to 
| something else.
| 
| -- 
| Sridhar Dhanapalan.
|   There are two major products that come from Berkeley:
|   LSD and UNIX. We don't believe this to be a coincidence.
|   -- Jeremy S. Anderson
| 
  -- 




[newbie] Really small LAN of 2

2001-07-29 Thread Dennis Myers

I have two computers connected via a hub. Localhost (linux) is the Samba 
server and also a client, AJ is an windows box client. 
Currently, AJ can connect to the internet through localhost using 
localhost firewall also, AJ can ping 127.0.0.1 but can not ping the 
localhost 192.168.0.1
Localhost can ping both the name AJ and the address 192,168.0.2
In network neighborhood on AJ, AJ shows up but not localhost, all are set 
up on localgroup. I know, real original on the names ha.  
So, does anyone know what I may have set up incorrectly to prevent AJ from 
pinging the localhost address? Samba is so close to being configured I can 
taste it.  TIA for any assistance.
-- 
Dennis M. registered linux user # 180842




Re: [newbie] Really small LAN of 2

2001-07-29 Thread Sridhar Dhanapalan

On Mon, 30 Jul 2001 11:41, Dennis Myers wrote:
 I have two computers connected via a hub. Localhost (linux) is the Samba
 server and also a client, AJ is an windows box client.
 Currently, AJ can connect to the internet through localhost using
 localhost firewall also, AJ can ping 127.0.0.1 but can not ping the
 localhost 192.168.0.1
 Localhost can ping both the name AJ and the address 192,168.0.2
 In network neighborhood on AJ, AJ shows up but not localhost, all are set
 up on localgroup. I know, real original on the names ha.
 So, does anyone know what I may have set up incorrectly to prevent AJ from
 pinging the localhost address? Samba is so close to being configured I can
 taste it.  TIA for any assistance.

localhost (and localhost.localdomain) is a name that is normally used by 
a computer to refer to itself via a loopback interface. Perhaps this is 
causing some kind of confusion on your network. Try renaming localhost to 
something else.

-- 
Sridhar Dhanapalan.
There are two major products that come from Berkeley:
LSD and UNIX. We don't believe this to be a coincidence.
-- Jeremy S. Anderson




Re: [newbie] Really small LAN of 2

2001-07-29 Thread Lanman

Are you using Linux-Mandrake 8.0? If so your firewall is probably preventing 
the ping from happeneing. Bastille automatically does not trust ANY incoming 
TCP/IP packets coming in on ANY network card in the Linux box (Localhost), 
therefore it thinks that AJ is a hacker trying to break in to Localhost. You 
may have to manually edit the config file. If you installed Bastille, it's 
running by the time your desktop comes up.

As root, open kwrite, and open /etc/Bastille/Bastille-Firewall.cfg . read 
through it as you edit. All will be understood. Pay attention to the line 
that says TRUSTED_IFACES . It probably states the lo is the only trusted 
interface (IFACES are actually the network card(s) in your Linux box).Then 
either restart bastille , /sbin/bastille-firewall start, (don't use the  
quotation marks) or reboot. Then restart samba, and make sure that you have 
set up your users smbadduser AJ:AJ for example, where AJ is the exact 
spelling (Upper or Lower case) of the username used on the windows box.. You 
should be in good shape after that. 


Dan LaBine

On July 29, 2001 09:41 pm, you wrote:
 I have two computers connected via a hub. Localhost (linux) is the Samba
 server and also a client, AJ is an windows box client.
 Currently, AJ can connect to the internet through localhost using
 localhost firewall also, AJ can ping 127.0.0.1 but can not ping the
 localhost 192.168.0.1
 Localhost can ping both the name AJ and the address 192,168.0.2
 In network neighborhood on AJ, AJ shows up but not localhost, all are set
 up on localgroup. I know, real original on the names ha.
 So, does anyone know what I may have set up incorrectly to prevent AJ from
 pinging the localhost address? Samba is so close to being configured I can
 taste it.  TIA for any assistance.