Re: [gentoo-user] Host, Schmost!

2005-04-03 Thread John Lowell
Jason Stubbs wrote:
 On Sunday 03 April 2005 03:10, John Lowell wrote:
 # For setting the default gateway
 #
 gateway=192.168.1.1

 On Sunday 03 April 2005 11:34, Mike Williams wrote:
 # For setting the default gateway
 #
 #gateway=eth0/192.168.0.1
 #gateway=eth0/192.168.128.1

 ie. You need the eth0/ prepending your gateway setting.

 Regards,
 Jason Stubbs

Hi Jason,

You fixed it for me, Jason, thanks, I'm grateful. I'd  dispaired of a
solution as you know. Isn't this prepend something new? I can't recall
editing /etc/conf.d/net this way the last time I installed.

jlowell


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Host, Schmost!

2005-04-02 Thread John Lowell
Nick Rout wrote:



 yeah for god's sake ifconfig and route -n 



 --
 gentoo-user@gentoo.org mailing list

 --
 Nick Rout [EMAIL PROTECTED]

Nick, Kashani and the everyone else,

Sorry for the delay in replying. A business emergency has caused it. I'll
write later today. Thanks for your concern and help. I'm grateful.

jlowell




--
gentoo-user@gentoo.org mailing list



[gentoo-user] Host, Schmost!

2005-04-02 Thread John Lowell
Nick, Kashani, jstubbs and others,
OK, *ifconfig *...
eth0  Link encap:Ethernet  HWaddr 00:04:75:DC:B8:4E  
 inet addr:192.168.1.44  Bcast:192.168.0.255  Mask:255.255.255.0
 UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 RX packets:110 errors:0 dropped:0 overruns:1 frame:0
 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:1000 
 RX bytes:37007 (36.1 Kb)  TX bytes:0 (0.0 b)
 Interrupt:9 Base address:0xfc00 

loLink encap:Local Loopback  
 inet addr:127.0.0.1  Mask:255.0.0.0
 UP LOOPBACK RUNNING  MTU:16436  Metric:1
 RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:0 
 RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b

and *route -n *...
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
192.168.1.0 0.0.0.0 255.255.255.0   U 0  00 eth0
127.0.0.0   127.0.0.1   255.0.0.0   UG0  00 lo
There is very clearly a problem with the Gateway number and, perhaps, the 
Destination as well? A kernel problem, perhaps?
Thoughts?
jlowell
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Host, Schmost!

2005-04-02 Thread Mike Williams
On Saturday 02 April 2005 22:26, John Lowell wrote:
 and *route -n *...

 Kernel IP routing table
 Destination     Gateway         Genmask         Flags Metric Ref    Use
 Iface 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0      
  0 eth0 127.0.0.0       127.0.0.1       255.0.0.0       UG    0      0    
    0 lo

 There is very clearly a problem with the Gateway number and, perhaps, the
 Destination as well? A kernel problem, perhaps?

I ignored the original thread, but have read your original message.
The problem is clear. You have no default route. Nowhere for the kernel to 
send packets to which match no other route.

Set the gateway variable in /etc/conf.d/net

-- 
Mike Williams


pgpQxeoHIsAbd.pgp
Description: PGP signature


RE: [gentoo-user] Host, Schmost!

2005-04-02 Thread Kris
your broadcast needs to be 192.168.1.255 ... what's in /etc/resolv.conf ???
can you ping any of the ip's in it ???

 
 
 
Kristopher W. Baker
[EMAIL PROTECTED]
 
 
 

-Original Message-
From: John Lowell [mailto:[EMAIL PROTECTED] 
Sent: Saturday, April 02, 2005 3:26 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [gentoo-user] Host, Schmost!

Nick, Kashani, jstubbs and others,

OK, *ifconfig *...

eth0  Link encap:Ethernet  HWaddr 00:04:75:DC:B8:4E  
  inet addr:192.168.1.44  Bcast:192.168.0.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:110 errors:0 dropped:0 overruns:1 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:37007 (36.1 Kb)  TX bytes:0 (0.0 b)
  Interrupt:9 Base address:0xfc00 

loLink encap:Local Loopback  
  inet addr:127.0.0.1  Mask:255.0.0.0
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0 
  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b


and *route -n *...

Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse
Iface
192.168.1.0 0.0.0.0 255.255.255.0   U 0  00 eth0
127.0.0.0   127.0.0.1   255.0.0.0   UG0  00 lo

There is very clearly a problem with the Gateway number and, perhaps, the
Destination as well? A kernel problem, perhaps?

Thoughts?

jlowell


--
gentoo-user@gentoo.org mailing list


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Host, Schmost!

2005-04-02 Thread John Lowell
Mike Williams wrote:
On Saturday 02 April 2005 22:26, John Lowell wrote:
 

and *route -n *...
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse
Iface 192.168.1.0 0.0.0.0 255.255.255.0   U 0  0  
0 eth0 127.0.0.0   127.0.0.1   255.0.0.0   UG0  0
  0 lo

There is very clearly a problem with the Gateway number and, perhaps, the
Destination as well? A kernel problem, perhaps?
   

I ignored the original thread, but have read your original message.
The problem is clear. You have no default route. Nowhere for the kernel to 
send packets to which match no other route.

Set the gateway variable in /etc/conf.d/net
 

Mike,
I have set the gateway variable in /etc/conf.d/net properly, that's the 
problem!

I lost, believe me.
jlowell
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Host, Schmost!

2005-04-02 Thread Nick Rout
On Sat, 2005-04-02 at 16:26 -0500, John Lowell wrote:
 Nick, Kashani, jstubbs and others,
 
 OK, *ifconfig *...
 
 eth0  Link encap:Ethernet  HWaddr 00:04:75:DC:B8:4E  
   inet addr:192.168.1.44  Bcast:192.168.0.255  Mask:255.255.255.0
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:110 errors:0 dropped:0 overruns:1 frame:0
   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000 
   RX bytes:37007 (36.1 Kb)  TX bytes:0 (0.0 b)
   Interrupt:9 Base address:0xfc00 
 
 loLink encap:Local Loopback  
   inet addr:127.0.0.1  Mask:255.0.0.0
   UP LOOPBACK RUNNING  MTU:16436  Metric:1
   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0 
   RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b
 
 
 and *route -n *...
 
 Kernel IP routing table
 Destination Gateway Genmask Flags Metric RefUse Iface
 192.168.1.0 0.0.0.0 255.255.255.0   U 0  00 eth0
 127.0.0.0   127.0.0.1   255.0.0.0   UG0  00 lo
 
 There is very clearly a problem with the Gateway number and, perhaps, the 
 Destination as well? A kernel problem, perhaps?
 

user problem I think. Someone pointed out to you at the start of ther
thread that you have the broadcast address wrong and you still haven't
fixed it.

and then set gateway in the config file.

then restart the net.eth0 service.

 Thoughts?
 
 jlowell
 
 
 --
 gentoo-user@gentoo.org mailing list
 
-- 
Nick Rout [EMAIL PROTECTED]

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Host, Schmost!

2005-04-02 Thread John Lowell
Nick Rout wrote:
On Sat, 2005-04-02 at 16:26 -0500, John Lowell wrote:
 

Nick, Kashani, jstubbs and others,
OK, *ifconfig *...
eth0  Link encap:Ethernet  HWaddr 00:04:75:DC:B8:4E  
 inet addr:192.168.1.44  Bcast:192.168.0.255  Mask:255.255.255.0
 UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 RX packets:110 errors:0 dropped:0 overruns:1 frame:0
 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:1000 
 RX bytes:37007 (36.1 Kb)  TX bytes:0 (0.0 b)
 Interrupt:9 Base address:0xfc00 

loLink encap:Local Loopback  
 inet addr:127.0.0.1  Mask:255.0.0.0
 UP LOOPBACK RUNNING  MTU:16436  Metric:1
 RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:0 
 RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b

and *route -n *...
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
192.168.1.0 0.0.0.0 255.255.255.0   U 0  00 eth0
127.0.0.0   127.0.0.1   255.0.0.0   UG0  00 lo
There is very clearly a problem with the Gateway number and, perhaps, the 
Destination as well? A kernel problem, perhaps?
   

user problem I think. Someone pointed out to you at the start of ther
thread that you have the broadcast address wrong and you still haven't
fixed it.
and then set gateway in the config file.
then restart the net.eth0 service.
 

Thoughts?
jlowell
--
gentoo-user@gentoo.org mailing list
   

Nick,
I've solved the problem but it has nothing to do with the broadcast 
number and setting the gateway. Initially, changing broadcast to 
192.168.1.255 and leaving the gateway setting where it has always been 
in /etc/conf.d/net, 192.168.1.1, gives no relief. Still can't ping the 
outside world. But running route add default gw 192.168.1.1 and pinging 
the web works. I've never had to do this before to get this box to the 
outside. The gateway address in /etc/conf.d/net has always been right, 
and frankly, I doubt  if changing broadcast would have made any 
difference either. I can test that if you'd like. The way I read it, 
somehow the installation program isn't doing what it did the last time I 
installed gentoo.

I'd appreciate knowing why it was necessary for me to run this command 
to fix the problem when /etc/conf.d/net was edited properly. Is this a bug?

jlowell
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Host, Schmost!

2005-04-02 Thread Nick Rout
On Sat, 2005-04-02 at 18:08 -0500, John Lowell wrote:
 Nick Rout wrote:
 
 On Sat, 2005-04-02 at 16:26 -0500, John Lowell wrote:
   
 
 Nick, Kashani, jstubbs and others,
 
 OK, *ifconfig *...
 
 eth0  Link encap:Ethernet  HWaddr 00:04:75:DC:B8:4E  
   inet addr:192.168.1.44  Bcast:192.168.0.255  Mask:255.255.255.0
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:110 errors:0 dropped:0 overruns:1 frame:0
   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000 
   RX bytes:37007 (36.1 Kb)  TX bytes:0 (0.0 b)
   Interrupt:9 Base address:0xfc00 
 
 loLink encap:Local Loopback  
   inet addr:127.0.0.1  Mask:255.0.0.0
   UP LOOPBACK RUNNING  MTU:16436  Metric:1
   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0 
   RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b
 
 
 and *route -n *...
 
 Kernel IP routing table
 Destination Gateway Genmask Flags Metric RefUse 
 Iface
 192.168.1.0 0.0.0.0 255.255.255.0   U 0  00 eth0
 127.0.0.0   127.0.0.1   255.0.0.0   UG0  00 lo
 
 There is very clearly a problem with the Gateway number and, perhaps, the 
 Destination as well? A kernel problem, perhaps?
 
 
 
 
 user problem I think. Someone pointed out to you at the start of ther
 thread that you have the broadcast address wrong and you still haven't
 fixed it.
 
 and then set gateway in the config file.
 
 then restart the net.eth0 service.
 
   
 
 Thoughts?
 
 jlowell
 
 
 --
 gentoo-user@gentoo.org mailing list
 
 
 
 Nick,
 
 I've solved the problem but it has nothing to do with the broadcast 
 number and setting the gateway. Initially, changing broadcast to 
 192.168.1.255 and leaving the gateway setting where it has always been 
 in /etc/conf.d/net, 192.168.1.1, gives no relief. Still can't ping the 
 outside world. But running route add default gw 192.168.1.1 and pinging 
 the web works. I've never had to do this before to get this box to the 
 outside. The gateway address in /etc/conf.d/net has always been right, 
 and frankly, I doubt  if changing broadcast would have made any 
 difference either. I can test that if you'd like. The way I read it, 
 somehow the installation program isn't doing what it did the last time I 
 installed gentoo.
 
 I'd appreciate knowing why it was necessary for me to run this command 
 to fix the problem when /etc/conf.d/net was edited properly. Is this a bug?
 
 jlowell

Stuffed if I know, but could you give us the exact gateway line
from /etc/conf.d/net?



 
 
 --
 gentoo-user@gentoo.org mailing list
 
-- 
Nick Rout [EMAIL PROTECTED]

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Host, Schmost!

2005-04-02 Thread John Lowell
Nick Rout wrote:
On Sat, 2005-04-02 at 18:08 -0500, John Lowell wrote:
 

Nick Rout wrote:
   

On Sat, 2005-04-02 at 16:26 -0500, John Lowell wrote:
 

Nick, Kashani, jstubbs and others,
OK, *ifconfig *...
eth0  Link encap:Ethernet  HWaddr 00:04:75:DC:B8:4E  
inet addr:192.168.1.44  Bcast:192.168.0.255  Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:110 errors:0 dropped:0 overruns:1 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000 
RX bytes:37007 (36.1 Kb)  TX bytes:0 (0.0 b)
Interrupt:9 Base address:0xfc00 

loLink encap:Local Loopback  
inet addr:127.0.0.1  Mask:255.0.0.0
UP LOOPBACK RUNNING  MTU:16436  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0 
RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b

and *route -n *...
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
192.168.1.0 0.0.0.0 255.255.255.0   U 0  00 eth0
127.0.0.0   127.0.0.1   255.0.0.0   UG0  00 lo
There is very clearly a problem with the Gateway number and, perhaps, the 
Destination as well? A kernel problem, perhaps?
  

   

user problem I think. Someone pointed out to you at the start of ther
thread that you have the broadcast address wrong and you still haven't
fixed it.
and then set gateway in the config file.
then restart the net.eth0 service.

 

Thoughts?
jlowell
--
gentoo-user@gentoo.org mailing list
  

   

Nick,
I've solved the problem but it has nothing to do with the broadcast 
number and setting the gateway. Initially, changing broadcast to 
192.168.1.255 and leaving the gateway setting where it has always been 
in /etc/conf.d/net, 192.168.1.1, gives no relief. Still can't ping the 
outside world. But running route add default gw 192.168.1.1 and pinging 
the web works. I've never had to do this before to get this box to the 
outside. The gateway address in /etc/conf.d/net has always been right, 
and frankly, I doubt  if changing broadcast would have made any 
difference either. I can test that if you'd like. The way I read it, 
somehow the installation program isn't doing what it did the last time I 
installed gentoo.

I'd appreciate knowing why it was necessary for me to run this command 
to fix the problem when /etc/conf.d/net was edited properly. Is this a bug?

jlowell
   

Stuffed if I know, but could you give us the exact gateway line
from /etc/conf.d/net?

 

--
gentoo-user@gentoo.org mailing list
   

Hi Nick,
Here's the whole of /etc/conf.d/net. Other than the 1 in broadcast 
it's been the same since the beginning. But changing the broadcast 
number hasn't meant a hill of beans of difference.

# /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 
19:39:22 azarah Exp $
# Global config file for net.* rc-scripts
# This is basically the ifconfig argument without the ifconfig $iface
#
iface_eth0=192.168.1.44 broadcast 192.168.1.255 netmask 255.255.255.0
#iface_eth1=207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0
# For DHCP set iface_eth? to dhcp
# For passing options to dhcpcd use dhcpcd_eth?
#
#iface_eth0=dhcp
#dhcpcd_eth0=...
# For adding aliases to a interface
#
#alias_eth0=192.168.0.3 192.168.0.4
# NB:  The next is only used for aliases.
#
# To add a custom netmask/broadcast address to created aliases,
# uncomment and change accordingly.  Leave commented to assign
# defaults for that interface.
#
#broadcast_eth0=192.168.0.255 192.168.0.255
#netmask_eth0=255.255.255.0 255.255.255.0
# For setting the default gateway
#
gateway=192.168.1.1
As you can see, the gateway number was entered correctly yet it's not 
being read that way by the system. I mean I'm perfectly happy to take 
the blame for this problem but I can't see what I've done wrong to 
justly  acknowledge wrong-doing. I've installed gentoo probably 25 times 
over the last three years on various machines and have never encountered 
a need to use the route command to fix something. It may help to know 
that I ran the Feather Linux livecd with boot options set in such a way 
as to exclude a network configuration, configuring it with their 
graphical tool once I'd reached their desktop. Feather works using the 
self same configuration which leads me to conclude what is becoming more 
and more clear: That the problem is with gentoo, which worries me. One 
last question, might this be a kernel problem, a failure to check 
something in menuconfig?

Thanks for your attention to my questions, Nick.
jlowell
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Host, Schmost!

2005-04-02 Thread Mike Williams
On Sunday 03 April 2005 03:10, John Lowell wrote:
 # For setting the default gateway
 #
 gateway=192.168.1.1

gimli root # tail /etc/conf.d/net
#
#broadcast_eth0=192.168.0.255 192.168.0.255
#netmask_eth0=255.255.255.0 255.255.255.0


# For setting the default gateway
#
#gateway=eth0/192.168.0.1
#gateway=eth0/192.168.128.1

(I use DHCP)

-- 
Mike Williams


pgpBmeBl64fsC.pgp
Description: PGP signature


Re: [gentoo-user] Host, Schmost!

2005-04-02 Thread Jason Stubbs
 On Sunday 03 April 2005 03:10, John Lowell wrote:
  # For setting the default gateway
  #
  gateway=192.168.1.1

On Sunday 03 April 2005 11:34, Mike Williams wrote:
 # For setting the default gateway
 #
 #gateway=eth0/192.168.0.1
 #gateway=eth0/192.168.128.1

ie. You need the eth0/ prepending your gateway setting.

Regards,
Jason Stubbs
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Host, Schmost!

2005-04-01 Thread John Lowell



I just completed a stage1 install from the minimal 
2005.0 livecd on a box that will be used as a web server. I boot without 
incident, run ifconfig and get a 
perfectly suitable response, can ping my router successfully but, attempting to 
reach the web, get unknown host errors. The setup here is almost trite: 
Three workstations with dynamic addresses behind an ADSL router/switch which 
doubles as a dhcp server, and the webserver mentioned earlier with a static 
address outside the range authorized for dynamic service and with port 80 
forwarded. I have /etc/conf.d/net with iface_eth0="192,168.1.44 Broadcast 
192.168.0.255 NetMask 255.255.255.0" and gateway enabled at 192.168.1.1. 
/etc/resolv.conf shows proper nameserver numbers. I don't get it. The 
workstations all reach the web without difficulty. But the webserver, nothing 
but unknown host errors. This same machine was working just fine before the 
latest install with the very same configuration. Some help please. 
jlowell


Re: [gentoo-user] Host, Schmost!

2005-04-01 Thread Nick Rout
On Fri, 2005-04-01 at 03:03 -0800, John Lowell wrote:
 I just completed a stage1 install from the minimal 2005.0 livecd on a
 box that will be used as a web server. I boot without incident, run
 ifconfig and get a perfectly suitable response, can ping my router
 successfully but, attempting to reach the web, get unknown host
 errors. 
 
 The setup here is almost trite: Three workstations with dynamic
 addresses behind an ADSL router/switch which doubles as a dhcp server,
 and the webserver mentioned earlier with a static address outside the
 range authorized for dynamic service and with port 80 forwarded. I
 have /etc/conf.d/net with iface_eth0=192,168.1.44 Broadcast
 192.168.0.255 NetMask 255.255.255.0 and gateway enabled at
 192.168.1.1. /etc/resolv.conf shows proper nameserver numbers. 
 
 I don't get it. The workstations all reach the web without difficulty.
 But the webserver, nothing but unknown host errors. This same machine
 was working just fine before the latest install with the very same
 configuration. Some help please. 

sounds like s dns problem.

on the webserver what does /etc/resolv.conf say? I should include some
nameserver lines.

dhcp sets the nameserver lines in /etc/resolv.conf, a manula setup does
not. I suspect thats the problem. copy the nameserver lines from one of
the dhcp workstations.

If that doesn't fix it try pinging an ip address on the net by number,
eg ping 123.123.123.123 and let us know the results.

 
 jlowell
-- 
Nick Rout [EMAIL PROTECTED]

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Host, Schmost!

2005-04-01 Thread Jason Stubbs
On Friday 01 April 2005 20:03, John Lowell wrote:
 I just completed a stage1 install from the minimal 2005.0 livecd on a box
 that will be used as a web server. I boot without incident, run ifconfig
 and get a perfectly suitable response, can ping my router successfully but,
 attempting to reach the web, get unknown host errors.

 The setup here is almost trite: Three workstations with dynamic addresses
 behind an ADSL router/switch which doubles as a dhcp server, and the
 webserver mentioned earlier with a static address outside the range
 authorized for dynamic service and with port 80 forwarded. I have
 /etc/conf.d/net with iface_eth0=192,168.1.44 Broadcast 192.168.0.255
 NetMask 255.255.255.0 and gateway enabled at 192.168.1.1. /etc/resolv.conf
 shows proper nameserver numbers.

Your broadcast address is wrong there. You also have a comma between 192 and 
168. Not sure if the capitalization matters either.

 I don't get it. The workstations all reach the web without difficulty. But
 the webserver, nothing but unknown host errors. This same machine was
 working just fine before the latest install with the very same
 configuration. Some help please.

`route -n` output on the box makes sense?

Regards,
Jason Stubbs
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Host, Schmost!

2005-04-01 Thread Uwe Thiem
On Friday 01 April 2005 13:03, John Lowell wrote:
 I just completed a stage1 install from the minimal 2005.0 livecd on a box
 that will be used as a web server. I boot without incident, run ifconfig
 and get a perfectly suitable response, can ping my router successfully but,
 attempting to reach the web, get unknown host errors.

 The setup here is almost trite: Three workstations with dynamic addresses
 behind an ADSL router/switch which doubles as a dhcp server, and the
 webserver mentioned earlier with a static address outside the range
 authorized for dynamic service and with port 80 forwarded. I have
 /etc/conf.d/net with iface_eth0=192,168.1.44 Broadcast 192.168.0.255
 NetMask 255.255.255.0 and gateway enabled at 192.168.1.1. /etc/resolv.conf
 shows proper nameserver numbers.

Your broadcast is wrong. Should be 192.168.1.255.

Uwe

-- 
95% of all programmers rate themselves among the top 5% of all software 
developers. - Linus Torvalds

http://www.uwix.iway.na (last updated: 20.06.2004)
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Host, Schmost!

2005-04-01 Thread Neil Bothwick
On Fri, 1 Apr 2005 03:03:46 -0800, John Lowell wrote:

 This same machine was working just fine before the latest install with
 the very same configuration.

Why did you reinstall if it was working fine?

If it ain't broke, etc...


-- 
Neil Bothwick

For every action, there is an equal and opposite malfunction.


pgp5Nlku04FL4.pgp
Description: PGP signature


Re: [gentoo-user] Host, Schmost!

2005-04-01 Thread John Lowell
Neil,

Terribly sorry, Neil. I'll make absolutely sure next time to check with you
first before reinstalling, I promise.

jlowell

- Original Message -
From: Neil Bothwick [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 01, 2005 2:43 AM
Subject: Re: [gentoo-user] Host, Schmost!




--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Host, Schmost!

2005-04-01 Thread John Lowell
Nick Rout wrote:
 On Fri, 2005-04-01 at 03:03 -0800, John Lowell wrote:
 I just completed a stage1 install from the minimal 2005.0 livecd on a
 box that will be used as a web server. I boot without incident, run
 ifconfig and get a perfectly suitable response, can ping my router
 successfully but, attempting to reach the web, get unknown host
 errors.

 The setup here is almost trite: Three workstations with dynamic
 addresses behind an ADSL router/switch which doubles as a dhcp
 server, and the webserver mentioned earlier with a static address
 outside the range authorized for dynamic service and with port 80
 forwarded. I have /etc/conf.d/net with iface_eth0=192,168.1.44
 Broadcast 192.168.0.255 NetMask 255.255.255.0 and gateway enabled at
 192.168.1.1. /etc/resolv.conf shows proper nameserver numbers.

 I don't get it. The workstations all reach the web without
 difficulty. But the webserver, nothing but unknown host errors. This
 same machine was working just fine before the latest install with
 the very same configuration. Some help please.

 sounds like s dns problem.

 on the webserver what does /etc/resolv.conf say? I should include some
 nameserver lines.

 dhcp sets the nameserver lines in /etc/resolv.conf, a manula setup
 does not. I suspect thats the problem. copy the nameserver lines from
 one of the dhcp workstations.

 If that doesn't fix it try pinging an ip address on the net by number,
 eg ping 123.123.123.123 and let us know the results.


 jlowell
 --
 Nick Rout [EMAIL PROTECTED]

Hi Nick,

Thanks for the reply.

The DNS entries were, in fact, entered during installation via dhcp, which
is the way the livecd read my network. Checking /etc/resolv.conf, the
nameserver entries there are perfectly correct for this machine. Unless the
style used to enter them needs to be revised in some way, which I would
doubt, they're fine. Id tried your suggestion of pinging by number rather
than address and it doesn't make any difference.

Again thanks for your reply.

jlowell

jlowell  .


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Host, Schmost!

2005-04-01 Thread John Lowell
Jason Stubbs wrote:
 On Friday 01 April 2005 20:03, John Lowell wrote:
 I just completed a stage1 install from the minimal 2005.0 livecd on
 a box that will be used as a web server. I boot without incident,
 run ifconfig and get a perfectly suitable response, can ping my
 router successfully but, attempting to reach the web, get unknown
 host errors.

 The setup here is almost trite: Three workstations with dynamic
 addresses behind an ADSL router/switch which doubles as a dhcp
 server, and the webserver mentioned earlier with a static address
 outside the range authorized for dynamic service and with port 80
 forwarded. I have /etc/conf.d/net with iface_eth0=192,168.1.44
 Broadcast 192.168.0.255 NetMask 255.255.255.0 and gateway enabled
 at 192.168.1.1. /etc/resolv.conf shows proper nameserver numbers.

 Your broadcast address is wrong there. You also have a comma between
 192 and 168. Not sure if the capitalization matters either.

 I don't get it. The workstations all reach the web without
 difficulty. But the webserver, nothing but unknown host errors. This
 same machine was working just fine before the latest install with
 the very same configuration. Some help please.

 `route -n` output on the box makes sense?

 Regards,
 Jason Stubbs

Hi Jason,

Thanks for the reply.

Interesting point about the 0 vs. a 1 in broadcast. I, too, thought that
changing to 1 might make a difference but it doesn't. The 0 is default for
/etc/conf.d/net, of course, and I've never understood why it's set that way
in Gentoo. The comma is a typo and the caps the result of transcribing by
hand to the mail message.

Will I have access to the route command? This is a fresh install with, so
far, only system packages.

Again, thanks for your reply.

jlowell






--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Host, Schmost!

2005-04-01 Thread John Lowell
Uwe Thiem wrote:
 On Friday 01 April 2005 13:03, John Lowell wrote:
 I just completed a stage1 install from the minimal 2005.0 livecd on
 a box that will be used as a web server. I boot without incident,
 run ifconfig and get a perfectly suitable response, can ping my
 router successfully but, attempting to reach the web, get unknown
 host errors.

 The setup here is almost trite: Three workstations with dynamic
 addresses behind an ADSL router/switch which doubles as a dhcp
 server, and the webserver mentioned earlier with a static address
 outside the range authorized for dynamic service and with port 80
 forwarded. I have /etc/conf.d/net with iface_eth0=192,168.1.44
 Broadcast 192.168.0.255 NetMask 255.255.255.0 and gateway enabled
 at 192.168.1.1. /etc/resolv.conf shows proper nameserver numbers.

 Your broadcast is wrong. Should be 192.168.1.255.

 Uwe

 --
 95% of all programmers rate themselves among the top 5% of all
 software developers. - Linus Torvalds

 http://www.uwix.iway.na (last updated: 20.06.2004)

Uwe,

Thanks for writing.

Broadcast with 0 is default in /etc/conf.d/net. I've tried it both ways with
no difference being made.

Regards.

jlowell


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Host, Schmost!

2005-04-01 Thread Kashani
John Lowell wrote:
  Thanks for writing.
Broadcast with 0 is default in /etc/conf.d/net. I've tried it both ways with
no difference being made.
Why don't we clear this up and have you post your ifconfig and netstat -rn
kashani
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Host, Schmost!

2005-04-01 Thread Neil Bothwick
On Fri, 1 Apr 2005 10:04:34 -0800, John Lowell wrote:

 Terribly sorry, Neil. I'll make absolutely sure next time to check with
 you first before reinstalling, I promise.

What's your problem? I only asked a question. There's no reason to get
sarcy, even less reason to do it twice.


-- 
Neil Bothwick

Forgive your enemies. But hit them a few times first.


pgp7WDq2y0LZI.pgp
Description: PGP signature


Re: [gentoo-user] Host, Schmost!

2005-04-01 Thread John Lowell

- Original Message -
From: Kashani [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 01, 2005 7:58 AM
Subject: Re: [gentoo-user] Host, Schmost!


 John Lowell wrote:
Thanks for writing.
 
  Broadcast with 0 is default in /etc/conf.d/net. I've tried it both ways
with
  no difference being made.
 

 Why don't we clear this up and have you post your ifconfig and netstat -rn

 kashani
 --
 gentoo-user@gentoo.org mailing list





Hi Kashani,

I certainly can post ifconfig and will but the netstat -rn is a problem. The
command is not available to me with just the basic packages installed. This
was a fresh stage1. I'll need to reconfigure /etc/conf.d/net for dhcp
service to get the appropriate e-builld. Before I do that, have you any
other thoughts or recommendations?

jlowell


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Host, Schmost!

2005-04-01 Thread Kashani
John Lowell wrote:
  I certainly can post ifconfig and will but the netstat -rn is a 
problem. The
command is not available to me with just the basic packages installed. This
was a fresh stage1. I'll need to reconfigure /etc/conf.d/net for dhcp
service to get the appropriate e-builld. Before I do that, have you any
other thoughts or recommendations?

Yes I've got a recommendation. Post the ifconfig already. And since you 
have the ifconfig command I'd suggest posting the netstat -rn 
immediately after it since it's part of the same package.

support root # qpkg -f /sbin/ifconfig
sys-apps/net-tools *
support root # qpkg -f /bin/netstat
sys-apps/net-tools *
kashani
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Host, Schmost!

2005-04-01 Thread Nick Rout
On Fri, 2005-04-01 at 10:23 -0800, John Lowell wrote:
 Uwe,
 
 Thanks for writing.
 
 Broadcast with 0 is default in /etc/conf.d/net. I've tried it both
 ways with
 no difference being made.
 
 Regards.
 
 jlowell

John, how about giving us the output of ifconfig and route -n on the
offending machine.



-- 
Nick Rout [EMAIL PROTECTED]

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Host, Schmost!

2005-04-01 Thread Nick Rout
On Fri, 2005-04-01 at 11:15 -0800, John Lowell wrote:
 - Original Message -
 From: Kashani [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, April 01, 2005 7:58 AM
 Subject: Re: [gentoo-user] Host, Schmost!
 
 
  John Lowell wrote:
 Thanks for writing.
  
   Broadcast with 0 is default in /etc/conf.d/net. I've tried it both ways
 with
   no difference being made.
  
 
  Why don't we clear this up and have you post your ifconfig and netstat -rn
 
  kashani
  --
  gentoo-user@gentoo.org mailing list
 
 
 
 
 
 Hi Kashani,
 
 I certainly can post ifconfig and will but the netstat -rn is a problem. The
 command is not available to me with just the basic packages installed. This
 was a fresh stage1. I'll need to reconfigure /etc/conf.d/net for dhcp
 service to get the appropriate e-builld. Before I do that, have you any
 other thoughts or recommendations?


yeah for god's sake ifconfig and route -n 



 
 jlowell
 
 
 --
 gentoo-user@gentoo.org mailing list
 
-- 
Nick Rout [EMAIL PROTECTED]

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Host, Schmost!

2005-04-01 Thread Walter Dnes
On Fri, Apr 01, 2005 at 03:03:46AM -0800, John Lowell wrote
 
 The setup here is almost trite: Three workstations with dynamic
 addresses behind an ADSL router/switch which doubles as a dhcp
 server, and the webserver mentioned earlier with a static address
 outside the range authorized for dynamic service and with port 80
 forwarded. I have /etc/conf.d/net with iface_eth0=192,168.1.44
 Broadcast 192.168.0.255 NetMask 255.255.255.0 and gateway enabled
 at 192.168.1.1. /etc/resolv.conf shows proper nameserver numbers.

  Two items

192,168.1.44
You have 192 comma 168 dot 1 dot 44
Should be 192  dot 168 dot 1 dot 44

Broadcast 192.168.0.255
Should be 192.168.1.255

-- 
Walter Dnes [EMAIL PROTECTED]
An infinite number of monkeys pounding away on keyboards will
eventually produce a report showing that Windows is more secure,
and has a lower TCO, than linux.
--
gentoo-user@gentoo.org mailing list