LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   No network connection in debian. (https://www.linuxquestions.org/questions/debian-26/no-network-connection-in-debian-4175449192/)

rubankumars 02-08-2013 11:49 AM

No network connection in debian.
 
I installed debian squeeze without any network connection.Later ,I added a modem But it does not work in debian.If you manuall use dhcp -v eth0 internet works.It does not connect automatically on startup.Any help is welcome.Previously I installed with the same modem and internet connection.It is automatically configured.
So,How to make et0 auto configured on startup?

EDDY1 02-08-2013 12:16 PM

You an use dhcpclient to start network at boot
http://wiki.debian.org/DHCP_Client

jim_p 02-08-2013 03:45 PM

Do you use network manager or wicd? If NOT, add the following in your /etc/network/interfaces
Code:

iface eth0 inet dhcp
auto eth0

The first line is to set eth0 take ip and the rest from dhcp and the second line is to start the interface when the network service starts, i.e. on boot.


All times are GMT -5. The time now is 02:23 PM.