Linux - NetworkingThis 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.
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.
Hello,
I start by saying that I am somewhat a novice when it comes to Linux.
Please, if possible, could your reference your aid more coherently, and with avid detail! Thank you! I really appriciate it.
And so:
I've recently installed Slackware 12.0.
All is well, execept for the Internet connection.
I have on my system, an Enthernet Card(eth0) which Slackware recognizes, and has declared it, fully operational.
Next comes my method of linking to my ISP.
I have a 756 KB/s Cable connection(Should that be of any use to you).
I've received a script(From my ISP, Ready and functional), With which I connect.
The Scripts, Remarkably, purports that I am CONNECTED! That's right, my attempt to connect has been successful!
The only problem is: I can't surf the Web!
Furthermore, when I try to ping any website(including a few IPs my ISP had given me) they all return failed;
As in:
"Results from ... pinging google.com
...
3 packets sent, 0 packets received, 100% packet loss, time" something(Varies).
I've attempted to access familir websits:Yahoo, Google, MSN...
Nothing!
The Tech personal is baffled at my ISP.(Well firstly, they've never dealt 'honestly' with Linux, so they've told me).
You're my only hope!
Thank you so much again,
With apologies for this over-durating monologue,
Thanks again,
Thank you!
Daniel
Last edited by danielakkerman; 01-29-2008 at 12:11 PM.
First of all, since this is your first post, let me be the first one to welcome you to LQ.org. Could you open a terminal and type "ifconfig -a" and post the results here?. Also, try this just for testing sake. Open a browser and type the following IP address:
64.179.4.146
This is LQ.org's IP. I ask you to do this just to make sure that you don't actually have a routing problem, but a naming. In that case, we need to configure your DNS.
Good luck
Last edited by Mega Man X; 01-29-2008 at 12:27 PM.
This is with myself connected.
P.S
My ISP's dialer already has DNSes configured in it(At Least so I've been told by the support team).
And, as you may have guessed, the website didn't work.
FireFox gave me the standard "Unable to connect",
Konqueror excused it self by Timing out.
Thank you again!
@me99: Sorry I didn't reply to your other thread. I've been searching a solution, but did not find any. But with luck, we will kill both problems, yours and danielakkerman's here
Well, I must say... I am puzzled. It looks like Internet is correctly configured, but not naming correctly. Try posting the following if you can (again, goes for both of you, since you apparently have the same problems). Make backup of the files before you edit them as well, because if something can goes wrong, it probably will
Post the contents of your /etc/resolv.conf. This is mine
This file should not be empty, as far as I know. If it is, then this is most likely the problem. You will need to enter your DNS manually. If you don't know the actual DNS server, you may need to contact your ISP to obtain them. I had a similar problem years ago with Solaris. Also, leave one empty line at the end of that file...
Another file to look at is /etc/nsswitch.conf. This is what my looks like. Make sure that the word in bold is found on your file:
Quote:
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
If it is not, add it and save the file. That should resolve any naming problems you are having. Next step is to cross your fingers and restart the computer just to be sure (you don't have to. You could simply restart the process, but let's keep it simple... hehe).
If the above does not work, I will have to pass the ball to another LQ fellow. Networking is not something that I am good at. Looking forward for any feedback on this too
# Generated by dhcpcd for interface eth0
nameserver 192.168.101.101
nameserver 192.168.101.102
"
Also, My Nsswitch does indeed have a "DNS" in "hosts" line.
But, the DNSes adhere mentioned, don't correspond with those given by my ISP.
I've tried changing them, but they're rewinded after each restart.
Where to further?
Thank you so much again,
Thanks,
Daniel
Last edited by danielakkerman; 01-30-2008 at 11:37 AM.
Those numbers are your router IPs. They should not be there. Like Mega Man X, his are of the provider server. Get rid-off them. If you run “ipconfig /all” on windows it should tell you what the IPs of your provider are. But, if you get connected to Internet then they should be installed by the system and not by you. What is your NIC manufacturer?
I found my problem so let’s see if you might have same problem. In you devices should be ONLY the NIC that is installed on your system. Any other will create a conflict.
I am not ready to temper much with nsswitch.conf, I still do not know much about that.
As I've said before, I can't save the changes I make in Resolv.conf.
No matter what I do, they're always reset.
I am going to need more assistance.
Any other ideas?
Thank you so much again,
Thanks,
Daniel
Folks,
You're not going to believe this!
I decided to switch OSes.
Apparently, From some reason, Slackware couldn't deal with Networking.
So I transited to openSuse.
It all has been sorted out!
Thank you so much again,
Thank you!
For all your help,
Thanks,
Daniel
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.