Re: [newbie] 9.2: 1st boot eth0 connects to LAN, 2nd boot etc. not - dhcp assigns loopback

2003-11-02 Thread Cliff Skoog


Brian Parish wrote

I'll be delighted to try static again, so fire away.
appreciatively,
cliff
 

OK.  Run DrakConnect and click on the wizard.  Let it detect the network
card.  Enter a name for your machine, an IP address in the same range as
your W$ machines and the same subnet they are using and you are
basically good to go.
You haven't mentioned how your internet access is organized so I'll
assume you are using dial-up directly from the linux box, but if not
you'll need to also tell DrakConnect the IP address of your gateway and
enter the DNS addresses in /etc/resolv.conf
That's a quick and dirty explanation.  If it falls short on detail, just
ask.
cheers
Brian
 

Bingo. Thanks so much Brian,

I think the problem with trying static before was that the
subnets didn't match between the machines, and I was
mesmerized by incredulity at the second boot dhcp issue.
I wish I could return a favor, wherever in the Commonwealth
you are (the 'cheers' gives that away, I think). I'm in the
left-wing part of crazy Arnold's state (that narrows it down).
Maybe a laugh: Before you criticize someone, you should walk
a mile in their shoes. That way, you'll be a mile away and you'll
have their shoes.
Thanks again,
Cliff


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] 9.2: 1st boot eth0 connects to LAN, 2nd boot etc. not - dhcp assigns loopback

2003-11-02 Thread Adolfo Bello
On Sun, 2003-11-02 at 05:33, Cliff Skoog wrote:
 Bingo. Thanks so much Brian,
 
 I think the problem with trying static before was that the
 subnets didn't match between the machines, and I was
 mesmerized by incredulity at the second boot dhcp issue.

Hi there:

I was following this thread very closely.

Could you, please, post the IP you got from DHCP and the static IP that
you have setup to solve your problem?

Regards,

Adolfo


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] 9.2: 1st boot eth0 connects to LAN, 2nd boot etc. not - dhcp assigns loopback

2003-11-02 Thread Brian Parish
On Sun, 2003-11-02 at 21:53, Adolfo Bello wrote:
 On Sun, 2003-11-02 at 05:33, Cliff Skoog wrote:
  Bingo. Thanks so much Brian,
  
  I think the problem with trying static before was that the
  subnets didn't match between the machines, and I was
  mesmerized by incredulity at the second boot dhcp issue.
 
 Hi there:
 
 I was following this thread very closely.
 
 Could you, please, post the IP you got from DHCP and the static IP that
 you have setup to solve your problem?
 
 Regards,
 
 Adolfo
 
Cliff will probably respond, but in case he doesn't...you can use a
number of address ranges, but the most frequently used is probably
192.168.0.x where x is between 1 and 254 with a subnet mask of
255.255.255.0

It depends a bit on what else is in your network.  For example, one of
the standard addresses used by routers is 10.0.0.138 (same subnet). 
If you have one of these it's just as easy to use the 10.0.0.x range so
you don't have to change the router's address.

Doesn't really matter as long as the range used is consistent and the
subnets match.

The advantage of using these particular numbers is that they are in
defined ranges that do not get routed across the internet, so they'll
stay private to your LAN no matter how you manage to screw up your
router/firewall/whatever.

HTH
Brian


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] 9.2: 1st boot eth0 connects to LAN, 2nd boot etc. not - dhcp assigns loopback

2003-11-02 Thread Cliff Skoog


Brian Parish wrote:

On Sun, 2003-11-02 at 21:53, Adolfo Bello wrote:
 

Hi there:

I was following this thread very closely.

Could you, please, post the IP you got from DHCP and the static IP that
you have setup to solve your problem?
Regards,

Adolfo

   

Cliff will probably respond, but in case he doesn't...you can use a
number of address ranges, but the most frequently used is probably
192.168.0.x where x is between 1 and 254 with a subnet mask of
255.255.255.0
It depends a bit on what else is in your network.  For example, one of
the standard addresses used by routers is 10.0.0.138 (same subnet). 
If you have one of these it's just as easy to use the 10.0.0.x range so
you don't have to change the router's address.

Doesn't really matter as long as the range used is consistent and the
subnets match.
The advantage of using these particular numbers is that they are in
defined ranges that do not get routed across the internet, so they'll
stay private to your LAN no matter how you manage to screw up your
router/firewall/whatever.
HTH
Brian
 

Hi Adolfo,
Brian's got the goods here really. My machines have IPs set in the 
169.254.xxx.xxx
range, just because when it worked with dhcp, that had been the address 
assigned.

When dchp failed it kept setting 127.255.255.255, which I think is in 
the loopback range.

The subnet I now use is 255.255.0.0  which is somewhat arbitrary also, 
as I understand.

Good luck

Cliff


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] 9.2: 1st boot eth0 connects to LAN, 2nd boot etc. not - dhcp assigns loopback

2003-11-02 Thread Adolfo Bello
On Sun, 2003-11-02 at 18:32, Cliff Skoog wrote:
 Brian Parish wrote:
 
 On Sun, 2003-11-02 at 21:53, Adolfo Bello wrote:
   
 
  Hi there:
 
 I was following this thread very closely.
 
 Could you, please, post the IP you got from DHCP and the static IP that
 you have setup to solve your problem?
 
 Regards,
 
 Adolfo
 
 
 
 Cliff will probably respond, but in case he doesn't...you can use a
 number of address ranges, but the most frequently used is probably
 192.168.0.x where x is between 1 and 254 with a subnet mask of
 255.255.255.0
 
 It depends a bit on what else is in your network.  For example, one of
 the standard addresses used by routers is 10.0.0.138 (same subnet). 
 If you have one of these it's just as easy to use the 10.0.0.x range so
 you don't have to change the router's address.
 
 Doesn't really matter as long as the range used is consistent and the
 subnets match.
 
 The advantage of using these particular numbers is that they are in
 defined ranges that do not get routed across the internet, so they'll
 stay private to your LAN no matter how you manage to screw up your
 router/firewall/whatever.
 
 HTH
 Brian
 
   
 
 Hi Adolfo,
 Brian's got the goods here really. My machines have IPs set in the 
 169.254.xxx.xxx
 range, just because when it worked with dhcp, that had been the address 
 assigned.
 
 When dchp failed it kept setting 127.255.255.255, which I think is in 
 the loopback range.
 
 The subnet I now use is 255.255.0.0  which is somewhat arbitrary also, 
 as I understand.
 
 Good luck
 
 Cliff

Thank you, Cliff.

I don't have any problem with my network settings. I just was intrigued
by your problem.

As I understand it, the IP range 169.254.x.x is self assigned by the
DHCP client when a DHCP server could not be contacted. It indicates an
unsuccessful DHCP request.

From
http://www.ietf.org/internet-drafts/draft-ietf-zeroconf-ipv4-linklocal-10.txt

This document describes a method by which a host may automatically
configure an interface with an IPv4 address in the 169.254/16 prefix
that is valid for Link-Local communication on that interface.  This is
especially valuable in environments where no other configuration
mechanism is available.  The IPv4 prefix 169.254/16 is registered with
the IANA for this purpose.

I would recommend changing the static assigned IP addresses from
169.254.x.x to another subnet, like 192.168.0.x with mask=255.255.255.0

Regards,

Adolfo


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] 9.2: 1st boot eth0 connects to LAN, 2nd boot etc. not - dhcp assigns loopback

2003-11-01 Thread Cliff Skoog
Hello wise ones,
I had 9.1 running (Dell Precision 420 MT dual processor).
Installed 9.2  (and reinstalled several times - same thing),
and my Win95 shares showed up the 1st time I booted.
And the address was pingable. All boots thereafter,  eth0
was assigned to 127.255.255.255 on boot through dchp,
the shares were gone (thought my hub lights blink).
I ping the Windows IP and get 'network unreachable.'
Much net searching has led to a better understanding
of networking, but no solution. I'm now keeping a copy of
the 9.2 virgin install on a 2nd partition so I can keep
trying without the hour of reinstallation each time.
HELP

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] 9.2: 1st boot eth0 connects to LAN, 2nd boot etc. not - dhcp assigns loopback

2003-11-01 Thread Brian Parish
On Sat, 2003-11-01 at 23:44, Cliff Skoog wrote:
 Hello wise ones,
 I had 9.1 running (Dell Precision 420 MT dual processor).
 Installed 9.2  (and reinstalled several times - same thing),
 and my Win95 shares showed up the 1st time I booted.
 And the address was pingable. All boots thereafter,  eth0
 was assigned to 127.255.255.255 on boot through dchp,
 the shares were gone (thought my hub lights blink).
 I ping the Windows IP and get 'network unreachable.'
 Much net searching has led to a better understanding
 of networking, but no solution. I'm now keeping a copy of
 the 9.2 virgin install on a 2nd partition so I can keep
 trying without the hour of reinstallation each time.
 HELP

What happens when you do (as root):

ifconfig
ifdown eth0
ifup eth0
ifconfig

Does it change address?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] 9.2: 1st boot eth0 connects to LAN, 2nd boot etc. not - dhcp assigns loopback

2003-11-01 Thread Cliff Skoog


Brian Parish wrote:

What happens when you do (as root):

ifconfig
ifdown eth0
ifup eth0
ifconfig
Does it change address?

The same address is assigned, and the
rest of the info is pretty much the same
too. The only thing is, as during boot,
it takes a long time for eth0 to be 
assigned an IP. It does on the first
boot too, when it always does connect to 
the shares, but not quite as long that
the next times when it doesn't connect.
-cliff




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] 9.2: 1st boot eth0 connects to LAN, 2nd boot etc. not - dhcp assigns loopback

2003-11-01 Thread Brian Parish
On Sun, 2003-11-02 at 08:13, Cliff Skoog wrote:
 Brian Parish wrote:
 
 What happens when you do (as root):
 
 ifconfig
 ifdown eth0
 ifup eth0
 ifconfig
 
 Does it change address?
 
 The same address is assigned, and the
 rest of the info is pretty much the same
 too. The only thing is, as during boot,
 it takes a long time for eth0 to be 
 assigned an IP. It does on the first
 boot too, when it always does connect to 
 the shares, but not quite as long that
 the next times when it doesn't connect.
 -cliff
 
Sounds like your DHCP server is not serving too well.  What device is
providing the addresses?

In any case, it's probably easiest just to go to static addresses and
bypass all this.  Particularly if you only have a couple of nodes, it's
not exactly a major issue to maintain a static setup.

If you want to go this way and are unclear about what settings to use,
just post again.

cheers
Brian


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] 9.2: 1st boot eth0 connects to LAN, 2nd boot etc. not - dhcp assigns loopback

2003-11-01 Thread Cliff Skoog


Brian Parish wrote:

On Sun, 2003-11-02 at 08:13, Cliff Skoog wrote:
 

Brian Parish wrote:

   

What happens when you do (as root):

ifconfig
ifdown eth0
ifup eth0
ifconfig
Does it change address?

 

The same address is assigned, and the
rest of the info is pretty much the same
too. The only thing is, as during boot,
it takes a long time for eth0 to be 
assigned an IP. It does on the first
boot too, when it always does connect to 
the shares, but not quite as long that
the next times when it doesn't connect.
-cliff

   

Sounds like your DHCP server is not serving too well.  What device is
providing the addresses?
In any case, it's probably easiest just to go to static addresses and
bypass all this.  Particularly if you only have a couple of nodes, it's
not exactly a major issue to maintain a static setup.
If you want to go this way and are unclear about what settings to use,
just post again.
cheers
Brian
 

Hello again,

Thanks for looking into this.
I've tried setting to static from the drake network tool,
several times, trying to follow info I found. No joy on
pinging Win95 either. Those Win machines have static
IPs set, and can talk to each other, which I don't want
to lose, so I'm reluctant to mess too much on that side,
especially since the  thing always works  with dchp
from a virgin install.  Maybe I should go back to 9.1.
But I'll be delighted to try static again, so fire away.
appreciatively,
cliff

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] 9.2: 1st boot eth0 connects to LAN, 2nd boot etc. not - dhcp assigns loopback

2003-11-01 Thread Brian Parish
On Sun, 2003-11-02 at 11:35, Cliff Skoog wrote:
 Brian Parish wrote:
 
 On Sun, 2003-11-02 at 08:13, Cliff Skoog wrote:
   
 
 Brian Parish wrote:
 
 
 
 What happens when you do (as root):
 
 ifconfig
 ifdown eth0
 ifup eth0
 ifconfig
 
 Does it change address?
 
   
 
 The same address is assigned, and the
 rest of the info is pretty much the same
 too. The only thing is, as during boot,
 it takes a long time for eth0 to be 
 assigned an IP. It does on the first
 boot too, when it always does connect to 
 the shares, but not quite as long that
 the next times when it doesn't connect.
 -cliff
 
 
 
 Sounds like your DHCP server is not serving too well.  What device is
 providing the addresses?
 
 In any case, it's probably easiest just to go to static addresses and
 bypass all this.  Particularly if you only have a couple of nodes, it's
 not exactly a major issue to maintain a static setup.
 
 If you want to go this way and are unclear about what settings to use,
 just post again.
 
 cheers
 Brian
 
   
 
 Hello again,
 
 Thanks for looking into this.
 I've tried setting to static from the drake network tool,
 several times, trying to follow info I found. No joy on
 pinging Win95 either. Those Win machines have static
 IPs set, and can talk to each other, which I don't want
 to lose, so I'm reluctant to mess too much on that side,
 especially since the  thing always works  with dchp
 from a virgin install.  Maybe I should go back to 9.1.
 
 But I'll be delighted to try static again, so fire away.
 appreciatively,
 cliff
 
OK.  Run DrakConnect and click on the wizard.  Let it detect the network
card.  Enter a name for your machine, an IP address in the same range as
your W$ machines and the same subnet they are using and you are
basically good to go.

You haven't mentioned how your internet access is organized so I'll
assume you are using dial-up directly from the linux box, but if not
you'll need to also tell DrakConnect the IP address of your gateway and
enter the DNS addresses in /etc/resolv.conf

That's a quick and dirty explanation.  If it falls short on detail, just
ask.

cheers
Brian


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com