Networking Forums

Networking Forums > Computer Networking > Linux Networking > My PC boots before Router comes up. to get IP addr, I have to reboot PC again, any alternative way?

Reply
Thread Tools Display Modes

My PC boots before Router comes up. to get IP addr, I have to reboot PC again, any alternative way?

 
 
GS
Guest
Posts: n/a

 
      10-05-2005, 01:07 AM
Recently I upgraded my Router firmware, since then whenever I power on
(I have one powerswitch for all computer related stuff), my PC boots
before my Router comesup(always happening, 2 minutes delay between
both). PC is not getting assigned IP addr, If I do "ifconfig down" and
"ifconfig up", nothing is happening, to get IP addr, I have to reboot
my PC again, Is there any alternate way to get IP addr for PC without
rebooting?. Thanks.

 
Reply With Quote
 
 
 
 
James Knott
Guest
Posts: n/a

 
      10-05-2005, 01:15 AM
GS wrote:

> Recently I upgraded my Router firmware, since then whenever I power on
> (I have one powerswitch for all computer related stuff), my PC boots
> before my Router comesup(always happening, 2 minutes delay between
> both). PC is not getting assigned IP addr, If I do "ifconfig down" and
> "ifconfig up", nothing is happening, to get IP addr, I have to reboot
> my PC again, Is there any alternate way to get IP addr for PC without
> rebooting?. Thanks.


It might help, if you mention what distro you're running.

 
Reply With Quote
 
Unruh
Guest
Posts: n/a

 
      10-05-2005, 01:18 AM
"GS" <(E-Mail Removed)> writes:

>Recently I upgraded my Router firmware, since then whenever I power on
>(I have one powerswitch for all computer related stuff), my PC boots
>before my Router comesup(always happening, 2 minutes delay between
>both). PC is not getting assigned IP addr, If I do "ifconfig down" and
>"ifconfig up", nothing is happening, to get IP addr, I have to reboot
>my PC again, Is there any alternate way to get IP addr for PC without
>rebooting?. Thanks.


(You have a dhcp router I assume. Is it wired or wireless?)

Sure, as root do
ifdown eth0
ifup eth0
(assuming your ethernet card is on eth0. Usewhatever else if it is not.)

Or
service network restart

or a number of other possibilities. Note that it is almost never necessary
to reboot to accomplish something on Linux.


 
Reply With Quote
 
GS
Guest
Posts: n/a

 
      10-05-2005, 10:47 AM
Thanks.

 
Reply With Quote
 
Martin Blume
Guest
Posts: n/a

 
      10-05-2005, 07:03 PM
"GS" schrieb
>
> [Re: My PC boots before Router comes up. to get IP addr,
> I have to reboot PC again, any alternative way?]
>

You might look for the script that starts your network
(somewhere in /etc/init.d probably)
and put in a
sleep 120
in the start) section so that the PC waits for the
router to come up.

HTH
Martin


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Alternative router? River Tarnell Broadband 36 12-29-2010 12:16 PM
Alternative Way to Open an Linksys Ver 3 Router or Wireless AccessPoint Keller Network Routers 1 05-12-2009 08:48 PM
Alternative Router Outage Solutions & Questions Tuco Windows Networking 0 06-10-2008 08:32 PM
More public (RIPE) addr. on the LAN side on a Linksys RVS4000 router Brian Vind Network Routers 1 11-13-2007 12:22 AM
Can I access a Router which is on private static ip addr from ISP using leased ethernet line? GS Linux Networking 7 10-30-2005 06:52 PM



1 2 3 4 5 6 7 8 9 10 11