LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   suddenly stopped network (https://www.linuxquestions.org/questions/linux-networking-3/suddenly-stopped-network-634765/)

giesbert 04-11-2008 05:06 PM

suddenly stopped network
 
Hello,
My network suddenly stopped working. And I really don't understand why.
- I tried a sudo ifconfig eth0 down and up.
- my computer still had a ip-address and dns by dhcp.
- My adsl modem still had an ip-address and dns-anddresses.
- I was able to do a dns lookup on my modem.
- I tried to reboot my modem.
- I stopped my firewall.
But none had any effect.
When I rebooted my system, everything was working again. Isn't this very strange? Does anyone understand what had caused the network fault?
A reboot shouldn't be the only solution. What else could I have done?
Please, some advice.
Kind regards,
Bart Verbeek

Kubuntu 7.10, 2.6.22-14-generic

mhymn 04-12-2008 11:32 AM

hi, sometimes modem is responsible for this kind of problems but I think you have changed your configuration of network in modem or PC manually and that cuased the problem, Anyway I use this commands to refresh my whole network:
-sudo /etc/init.d/networking stop|start
-sudo ifconfig eth0 down|up
-sudo ifdown|ifup eth0

in many cases above commands(specially the firest one) will make changes without reboot.

Good Luck.


All times are GMT -5. The time now is 06:28 PM.