The other day i was happy to be moved from one @home backbone to another, much
faster one. As a result, my ip changed. Happily, none of my scripts (firewall,
etc) are statically set up ip-wise, and so everything adjusted perfectly. Of
course i'm using dhcp to obtain my ip, and that kept working too.

If DHCP was working before @home changed ips on you, then it would work after
also. Its functionality is absolutely not dependant on what ip it gets. It is
therefore a given that whatever you changed in the configuration is the root of
your problem (not that it's your fault, neccessarily, who knows, maybe some
config utility didn't work properly). Go back and check everything over with a
fine-tooth comb. And while you're at it, ask yourself why you had to change so
much due to simple ip-change (which is itself automatic).

In case it helps, i'll give you the shell code that grabs my current ip,
whatever it is, and puts it in a variable which i can then reference throughout
the script:
eth0ip=`/sbin/ifconfig eth0 | awk '/addr:(.+)[:space:]/{print $2}' | sed
's/addr://'`

There may well be a cleaner way of getting it. To be honest, i came up with
that code quite awhile ago, and it was a real struggle - so there almost
certainly is a cleaner, simpler way of getting it, but i just haven't had time
to do it :-)

By the way, doing "ifconfig" shows that your network card is not up, right? If
it doesn't hang on the dhcp request, then that shows that the card is not being
brought up properly - but it was before, right? So it's supported in your
kernel, and the only difference between then and now is that you fiddled your
configuation. Fiddle it back :-)

I hope that helps and i hope you sort it out :-)
j



--- [EMAIL PROTECTED] wrote:
> The other day I was annoyed to find that AT&T @Home cable had changed my IP 
> address without my knowledge.  I played around in Linuxconf and DrakProfile 
> to change system settings to reflect that.  Next time I booted up, my 
> internet connection didn't work.  Now whenever I try to make connections to 
> remote sites, I get "unknown host."  
> 
> Here's what bootup tells me:
> 
> network: Setting network parameters:  succeeded 
> ifup: SIOCADDRT: Network is unreachable 
> network: Bringing up interface lo:  succeeded 
> ifup: Delaying eth0 initialization. 
> network: Bringing up interface eth0:  failed 
> 
> I don't know why this would be.  I've checked my settings in Windows, and it 
> appears as if everything is the same in both systems.
> 
> Other notes:
> NIC is enabled, to use DHCP.
> (is it System Control, the thing that shows devices and related info?)- Shows
> 
> NIC to be properly configured
> HardDrak shows my card as it is, a Via-Rhine 10/100 PCI card.
> I tried running DrakProfile and getting that to set up my card.  It said 
> "loading drivers for via-rhine card" or something similar, then   complained 
> that my network card is not properly set up.
> 
> Comments:
> This is a big pain in the butt.  My system works great asides from this 
> annoying lack of connectivity.  I'm not going to make many Linux converts if 
> I can't show them a system that works with the internet.  I can also not read
> 
> my POP mail.  I miss KMail.  If you can think of *anything* at all that would
> 
> help, I would appreciate it.   Thanks.
> 
> Dan
> ICQ 4689648
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Reply via email to