MEPIS doesn't connect to the internet.
Okay, after a long string of linux distros, I've finally settled on MEPIS. But, it won't connect to the internet. I've looked at other topics that have the same problem, but I don't know how to implement the solutions (such as choosing which ethernet card that will connect to the internet). When I did a ping on my router IP address, it worked just fine. It seemed to connect just fine on the live CD, though. And this being the 4th Linux distro I've tried out, I don't want to change (Mandriva > Debian > Kubuntu > Mepis).
Help would be appreciated. |
Moved: This thread is more suitable in Linux Networking and has been moved accordingly to help your thread/question get the exposure it deserves.
You need to provide more info about your hardware e.g. type of network card, modem etc. |
As far as I know, I am using an LAN cable to connect to a router, which is connected to a cable modem.
|
You mentioned that you could ping your router no problem, so that's a good start. One thing I would post here would be the out put of your /sbin/ifconfig and your /etc/resolv.conf file. Also is this the only computer behind the router, or are the other computers on your network unable to get online as well?
|
No, other computers can connect to the internet using the router. Please note that it DID work just fine on the Live CD (and I installed all of the default packages).
I also ran the following commands, and got this (red = output): $ su Password: # cd /etc/ etc # ifconfig ath0 Link encap:Ethernet HWAddr 00:90:96:BA:CB:73 inet addr:192.168.0.103 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:68557 errors:97 dropped:0 overruns:0 frame:97 TX packets:5692 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:200 RX bytes:19569152 (18.6 MiB) TX bytes:447593 (437.1 KiB) Interrupt:193 Memory:ccd20000-ccd30000 eth0 Link encap:Ethernet HWAddr 00:A0:D1:DA:D3:6E inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:59742 errors:97 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:19060839 (18.1 MiB) TX bytes:684 (684.0 b) Interrupt:209 Base address:0x8000 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:1074 errors:0 dropped:0 overruns:0 frame:0 TX packets:1074 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:91429 (89.2 KiB) TX bytes:91429 (89.2 KiB) I got an access denied error for /etc/resolv.conf Also, if it helps, I am using SimplyMEPIS 6.0 |
try pinging Google
in terminal:
ping -c5 google.com if that fails ping -c5 64.233.167.99 if that suceeds then the problem is DNS resolution. Let us know what you get... Don't give up. Mepis 6 is great. |
Here is what I got...
$ ping -c5 google.com ping: unknown host google.com $ ping -c5 64.233.167.99 PING 64.233.167.99 (64.233.167.99): 56 data bytes 64 bytes from 64.233.167.99: icmp_seq=0 ttl=242 time=38.4 ms 64 bytes from 64.233.167.99: icmp_seq=1 ttl=242 time=33.4 ms 64 bytes from 64.233.167.99: icmp_seq=2 ttl=242 time=31.8 ms 64 bytes from 64.233.167.99: icmp_seq=3 ttl=242 time=33.4 ms 64 bytes from 64.233.167.99: icmp_seq=4 ttl=242 time=32.4 ms --- 64.233.167.99 ping statistics --- 5 packets transmitted, 5 packets received, 0% packet loss round-trip min/avg/max = 31.8/33.8/38.4 ms $ exit For some reason, it's able to ping the IP address, but not the hostname. |
Try changing DNS to static and point it to your router.
- Open MEPIS OS Center - Choose Network - Click on DNS - Check "Use Static DNS" - In "Primary DNS Server" Enter your router address - Click "Apply" button. close any browser you have open and then reopen them. Try surf. If still not working, try restart computer and see if it works. Let us know how it goes. |
Fixed
Thanks for all of your help...
Unfortunately, the issue had to do with some conflict with eth0 and ath0. (If you wanted to know how I found that out, I posted my issue onto the MEPIS forums) |
All times are GMT -5. The time now is 03:15 AM. |