cannot connect to internet
I installed debian 501 yesterday, used a netints and it worked fine. When install finished everything booted up fine but i get no internet.
when i hover over the network monitor it says i have a self-assigned address and i can only get to the debian homepage which i believed is cached i am obviously new to linux and any help would be greatly appreciated |
Can you please post the output from this command (run as root):
Code:
ifconfig -a |
And.....what is your internet connection?---eg DSL, Cable, etc.
Do you have a router? Open a terminal and enter: ping www.google.com If no reply, then try: ping 74.125.155.104 If the second one works, and the first does not, then you have a DNS issue. Depending on your setup, you may get DNS server addresses using DHCP, or you may have to enter them manually. |
I had the same problems with Fedora 10. But now it is solved. May be you would find your solutions in the following link.The link connects you to the solutions that I got from this forum. Hope it helps
http://www.linuxquestions.org/questi...ternet-720203/ Nirmalya. |
to janhe:
eth0 Link encap:Ethernet HWaddr 00:1b:38:68:d2:ee UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:39 errors:0 dropped:0 overruns:0 frame:0 TX packets:7 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:12918 (12.6 KiB) TX bytes:1576 (1.5 KiB) Interrupt:252 Base address:0xe000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:24 errors:0 dropped:0 overruns:0 frame:0 TX packets:24 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1616 (1.5 KiB) TX bytes:1616 (1.5 KiB) wlan0 Link encap:Ethernet HWaddr 00:1e:4c:23:53:4c BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) wmaster0 Link encap:UNSPEC HWaddr 00-1E-4C-23-53-4C-00-00-00-00-00-00-00-00-00-00 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) to pix: cable modem thru wireless router(wired, not even worried about wireless at the moment, thats next har har) but i have plugged laptop directly into modem and still have no connection ping www.google.com and i got unknown host www.google.com ping 74.125.155.104 and i got network is unreachable thing is i had my roomate who got me into linux to work with the laptop, i dont know what its called but the numbers are 255.255.255.255 when it should be 255.255.255.0 could that be the problem? |
nirmalya2006, i tried that link and only possiblilty would be
then you need to add the DNS from your provider in /etc/resolv.conf nameserver xxx.xxx.xxx If you don't know the DNS from your provider, you can use openDNS nameserver 208.67.222.222 nameserver 208.67.220.220 but how do i add to that folder? also there is an existing folder... update-lib.d/avahi-daemon... |
I may be incorrect, but from the looks of the ifconfig file, you may not even have an ip address. The command listed here will tell the network card to go out and get an ip address from the router or DSL modem.
If you have a wired connection, run as root: Code:
dhclient eth0 Code:
dhclient wlan0 |
The problem is you didn't get an IP address from the router.
You should check the contents of /etc/network/interfaces If you post the content of /etc/network/interfaces, please put [ code ] and [ / code ] tags around it (leave out the spaces) You can do that by clicking go advanced and using the # button. This is the reference I'm using: http://wiki.debian.org/DebianReference/Network It is very extended, maybe too much for a clueless newbie (not saying you are clueless). It does say your installation should have set up the network connection correctly. It also says what /etc/network/interfaces should contain, somewhere. EDIT: please say so if you can connect to the internet after you run the command joeseph0404 gave you. Put also post the contents of /etc/network/interfaces. Running dhclient every time you reboot isn't much of a solution IMHO |
I second what janhe says. The command I gave you is more of a temporary test to see if dhcp will work, but as janhe said, editing the interfaces file is a more permanent solution.
|
ok well no good, hes what i got:
dhclient eth0: thepugslo@debian:~$ sudo dhclient eth0 [sudo] password for thepugslo: Internet Systems Consortium DHCP Client V3.1.1 Copyright 2004-2008 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ wmaster0: unknown hardware address type 801 wmaster0: unknown hardware address type 801 Listening on LPF/eth0/00:1b:38:68:d2:ee Sending on LPF/eth0/00:1b:38:68:d2:ee Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 2 No DHCPOFFERS received. No working leases in persistent database - sleeping. thepugslo@debian:~$ dhclient wlan0: thepugslo@debian:~$ sudo dhclient wlan0 There is already a pid file /var/run/dhclient.pid with pid 3659 killed old client process, removed PID file Internet Systems Consortium DHCP Client V3.1.1 Copyright 2004-2008 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ wmaster0: unknown hardware address type 801 wmaster0: unknown hardware address type 801 Listening on LPF/wlan0/00:1e:4c:23:53:4c Sending on LPF/wlan0/00:1e:4c:23:53:4c Sending on Socket/fallback DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 18 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 16 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4 No DHCPOFFERS received. No working leases in persistent database - sleeping. thepugslo@debian:~$ and as for the /etc/network/interface: # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface iface eth0 inet dhcp auto eth0 so, what now, still no internet, i attempted to reinstall debian and when i got to the netints part of it auto-config of the inst it couldnt get wired nor wireless, now im more confused than before |
very strange...
can you post the output from the command iwconfig? |
thepugslo@debian:~$ sudo iwconfig
[sudo] password for thepugslo: lo no wireless extensions. eth0 no wireless extensions. wmaster0 no wireless extensions. wlan0 IEEE 802.11 ESSID:"" Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated Tx-Power=20 dBm Retry min limit:7 RTS thr:off Fragment thr=2352 B Encryption key:off Link Quality:0 Signal level:0 Noise level:0 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 thepugslo@debian:~$ |
SUCCESS!!!
i had to reinstall debian and it successfully worked and im actually typing this on the laptop. Thank you all for the help, hopefully everything goes well with the wireless connection, mabey ill see you in the help wireless isnt working lol pugslo |
All times are GMT -5. The time now is 07:41 PM. |