Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-13-2006, 02:58 PM
|
#1
|
LQ Newbie
Registered: Aug 2006
Posts: 7
Rep:
|
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.
|
|
|
08-14-2006, 02:48 AM
|
#2
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
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.
|
|
|
08-14-2006, 10:38 AM
|
#3
|
LQ Newbie
Registered: Aug 2006
Posts: 7
Original Poster
Rep:
|
As far as I know, I am using an LAN cable to connect to a router, which is connected to a cable modem.
|
|
|
08-14-2006, 10:46 AM
|
#4
|
Member
Registered: Oct 2002
Location: Halifax, NS
Distribution: Ubuntu, Mepis, Debian
Posts: 130
Rep:
|
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?
|
|
|
08-14-2006, 03:24 PM
|
#5
|
LQ Newbie
Registered: Aug 2006
Posts: 7
Original Poster
Rep:
|
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:A01A3: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
Last edited by Joe_User; 08-14-2006 at 03:31 PM.
|
|
|
08-14-2006, 10:47 PM
|
#6
|
LQ Newbie
Registered: Jul 2006
Location: Ferndale WA USA
Distribution: MEPIS 6
Posts: 20
Rep:
|
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.
|
|
|
08-15-2006, 10:15 AM
|
#7
|
LQ Newbie
Registered: Aug 2006
Posts: 7
Original Poster
Rep:
|
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.
|
|
|
08-15-2006, 12:05 PM
|
#8
|
LQ Newbie
Registered: Jul 2006
Location: Ferndale WA USA
Distribution: MEPIS 6
Posts: 20
Rep:
|
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.
|
|
|
08-15-2006, 04:31 PM
|
#9
|
LQ Newbie
Registered: Aug 2006
Posts: 7
Original Poster
Rep:
|
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 02:43 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|