LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   slow activation (https://www.linuxquestions.org/questions/linux-networking-3/slow-activation-551149/)

munna_dude 05-03-2007 11:15 PM

slow activation
 
hi all
i am using Fedora5 AMD
i have some doubts about networking
terminal->neat->activate or deactivate.
when i deactivate the network, it will work fast(means it will quickly deactivate). but when i activated. it will take few seconds..
why it is happening like this.

is there any way to activate the network, fast.

help me

thank you in advance.

nadroj 05-03-2007 11:19 PM

if your using DHCP on a router maybe its taking afew seconds to get the IP, or maybe its just running some scripts to bring up the network interface. it will probably always be quicker to disconnect than the connect.

if you have a requirement to have it connect faster, then have it connect automatically on boot, and dont deactivate it.

munna_dude 05-03-2007 11:44 PM

thank you for quick replay
 
Quote:

Originally Posted by nadroj
if your using DHCP on a router maybe its taking afew seconds to get the IP, or maybe its just running some scripts to bring up the network interface. it will probably always be quicker to disconnect than the connect.

if you have a requirement to have it connect faster, then have it connect automatically on boot, and dont deactivate it.

hi
why i need this is.
in my program am opening a browser when net is activated.at this time
my browser some times not loading,coz of slow activation.
i am doing this manually,i.e ifup eth0 and ifdown eth0.

can u help me how can i get my browser without error window.(i.e www.xxxxxx.com not found)

thank you in advance

nadroj 05-03-2007 11:54 PM

i would again suggest having the device start when you boot the computer. in linux there is a file that you can make executable (/etc/rc.d/rc.local) and add your commands to it (ifup eth0) and it will run when the computer boots. im sure there are networking scripts for your distro that will do the equivalent--search around. or is there an option in your GUI for networking/system configuration that specifies you want it to be enabled automatically at boot?

crabboy 05-04-2007 12:26 AM

Moved: This thread is more suitable in Linux - Networking and has been moved accordingly to help your thread/question get the exposure it deserves.

munna_dude 05-04-2007 01:01 AM

thank you for quick replay
 
Quote:

Originally Posted by nadroj
i would again suggest having the device start when you boot the computer. in linux there is a file that you can make executable (/etc/rc.d/rc.local) and add your commands to it (ifup eth0) and it will run when the computer boots. im sure there are networking scripts for your distro that will do the equivalent--search around. or is there an option in your GUI for networking/system configuration that specifies you want it to be enabled automatically at boot?

boss.
my network is fine.am asking about,
i am doing program with the help of network.
i wrote a small program for browser.
when the net is down it have to show a blank page. and when the net is up it have to reload the prevouse browser.

so, when net is up some times my browser not reloading. coz for net up it is taking few seconds.

help me .

thank you in advance


All times are GMT -5. The time now is 05:38 PM.