LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   No internet after installing Debian (https://www.linuxquestions.org/questions/linux-networking-3/no-internet-after-installing-debian-785888/)

miros84 01-30-2010 05:01 PM

No internet after installing Debian
 
Hello
I just installed debian lenny in one computer, and after installing, I noted that I havenot got internet. (wire internet, by LAN card)
And this computer does have internet with windows and Ubuntu.
During the instalation I havenot got access to internet and I miss internet autpmatic configuration, and I think the problem is there.
So, now I have finished the instalation, how can I activate internet in my debian? (wire internet by LAN card)

minrich 01-30-2010 05:31 PM

Add something like:

Quote:

allow-hotplug eth0
iface eth0 inet dhcp

# address 192.168.1.3
# netmask 255.255.255.0
# network 192.168.1.0
# broadcast 192.168.1.255
# gateway 192.168.1.1
# dns-* options are implemented by the resolvconf package, if installed
# dns-nameservers 192.168.1.1
in your /etc/network/interfaces file. The (#) - commented out lines will only apply if you change the "iface eth0 inet dhcp" line above to "iface eth0 inet static", you can check what your exact settings are in windows by running: ipconfig /all.

then:

Quote:

sudo /etc/init.d/networking restart
if that doesn't work you may have to start/restart your dhcp client.

Espere que esto le ayude

miros84 01-31-2010 03:33 AM

THank you very much.
Now I have internet!


All times are GMT -5. The time now is 03:01 PM.