LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-29-2008, 12:10 PM   #1
danielakkerman
LQ Newbie
 
Registered: Jan 2008
Location: San-Diego, CA, USA
Distribution: Debian "Squeeze" 6.0
Posts: 15

Rep: Reputation: 0
Internet issues!


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.
 
Old 01-29-2008, 12:26 PM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Hi there danielakkerman!

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.
 
Old 01-29-2008, 01:08 PM   #3
me99
Member
 
Registered: Mar 2004
Location: Littleton, CO
Posts: 92
Blog Entries: 1

Rep: Reputation: 15
typing the IP Mega X suggested returns: Unable to connect with further details! What does it mean?
 
Old 01-29-2008, 02:00 PM   #4
danielakkerman
LQ Newbie
 
Registered: Jan 2008
Location: San-Diego, CA, USA
Distribution: Debian "Squeeze" 6.0
Posts: 15

Original Poster
Rep: Reputation: 0
Listed is what you've requested...

Thanks again for your quick reply!
Thanks!
"ifconfig -a:"
Code:
root@Comp:~/Desktop/cable/scripts# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:02:B3:2E:10:BF
          inet addr:172.23.40.84  Bcast:255.255.255.255  Mask:255.255.240.0
          inet6 addr: fe80::202:b3ff:fe2e:10bf/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1064 errors:0 dropped:0 overruns:0 frame:0
          TX packets:685 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1018137 (994.2 KiB)  TX bytes:60018 (58.6 KiB)
          Interrupt:17

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  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:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:87.68.4.213  P-t-P:212.199.5.224  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1460  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:40 (40.0 b)  TX bytes:46 (46.0 b)
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!
 
Old 01-29-2008, 03:38 PM   #5
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Hi again to both of you.

@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

Quote:
nameserver 195.58.103.130
nameserver 195.58.103.21
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

Best of luck!
 
Old 01-30-2008, 09:37 AM   #6
danielakkerman
LQ Newbie
 
Registered: Jan 2008
Location: San-Diego, CA, USA
Distribution: Debian "Squeeze" 6.0
Posts: 15

Original Poster
Rep: Reputation: 0
Data:

Here's my Resolv.Conf:
"
Code:
# 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.
 
Old 01-30-2008, 08:22 PM   #7
me99
Member
 
Registered: Mar 2004
Location: Littleton, CO
Posts: 92
Blog Entries: 1

Rep: Reputation: 15
Do you have a router?

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.
 
Old 02-01-2008, 07:37 AM   #8
danielakkerman
LQ Newbie
 
Registered: Jan 2008
Location: San-Diego, CA, USA
Distribution: Debian "Squeeze" 6.0
Posts: 15

Original Poster
Rep: Reputation: 0
More aid needed

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
 
Old 02-01-2008, 09:58 AM   #9
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Since you are running Slackware I would suggest running netconfig as root again.
 
Old 02-02-2008, 02:41 AM   #10
danielakkerman
LQ Newbie
 
Registered: Jan 2008
Location: San-Diego, CA, USA
Distribution: Debian "Squeeze" 6.0
Posts: 15

Original Poster
Rep: Reputation: 0
Will need more help!

Hey,
Thanks again.
However, netconfig was unsuccessful.
Meaning, it didn't help me.
Thank you though.
Any other suggestions?
Thanks,
Daniel
 
Old 02-03-2008, 09:34 AM   #11
danielakkerman
LQ Newbie
 
Registered: Jan 2008
Location: San-Diego, CA, USA
Distribution: Debian "Squeeze" 6.0
Posts: 15

Original Poster
Rep: Reputation: 0
I got it working!

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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
internet issues dbinc Ubuntu 1 03-05-2006 10:24 PM
Internet Issues andrewmilne Linux - Wireless Networking 2 10-24-2005 06:15 PM
Internet Connection Issues JediDB MEPIS 4 07-29-2005 08:47 PM
Internet Connection Issues ralexand88 Linux - General 1 11-23-2003 08:29 AM
Internet Issues X11 Linux - Networking 2 10-07-2002 01:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration