LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-25-2005, 11:27 AM   #1
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Rep: Reputation: 47
I can't go to the Internet.


I have installed Mandriva 2006 version. It works fine except I can’t go to the Internet. I first installed Windows XP and installed the Partition Magic program. Using the PM I created a partition for Linux and a swap partition.
So I could install Mandriva 2006 which I downloaded from a FTP site.



The problem is that I can't go to the Internet. I talked to my ISP. In first place they don't support Linux. They support Bill Gates. However, the man I talked to knew some Linux. He asked me to use the ping command. It was not successful. The ' ifconfig' command didn't work either. I could see their DNS server's ip address. The connection was there. The browsers can't go to the Internet. I am hooked to the ISP; browsers can't go to the Internet. There is an icon to indicate that I am connected to the Internet.

They couldn't do anything. There is a problem with the network card. If the network card is not working, how on earth I am connected to the ISP?

A friend of mine suggested buying a netword card and sees the reaction from the system. The built in network card works fine for Windows XP. I wouldn’t say there is a problem of drivers here. I am connected to the ISP. My ISP told me that the existence of a connection is there. Configuration of the network card worked smoothly.

I am connected to the ISP; however, I can’t go to the Internet. On the Mandriva package there are 3 browsers. They are Konqueror, Epiphany and Mozilla Firefox.
I looked at the settings of the browsers. There is nothing to alter in the settings.

I tried with all the 3 browsers.
I can go to the Internet on Windows XP side.

Your thoughts are welcome.

Last edited by Gins; 11-25-2005 at 11:31 AM.
 
Old 11-25-2005, 12:04 PM   #2
nephish
Member
 
Registered: Jun 2005
Distribution: arch, ubuntu
Posts: 456

Rep: Reputation: 30
ok , as root, do an lsmod and see what modules it loaded for you network card. very few onboard network cards are not ok with linux. if you can get online with windows, you really should be able to in linux.
try doing an ifconfig as root. some distros only allow ifconfig as the root user.
also, try to ping an ip address on the internet by its ip address instead of its host name.
are you connecting by dsl, cable, wireless?

also do this

dmesg | grep eth0

and let us know what it gives you.
 
Old 11-25-2005, 12:53 PM   #3
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
nephish
Thanks for the reply.

I have a cable modem.
I wrote the following:

ping www.google.com and pressed enter.

The reply was 'unknown host'

I will try the other commands and come back to you soon.

[I am writing here on the Windows XP side. I must reboot the computer and go back to the Linux side to try the commands you have mentioned.]
 
Old 11-25-2005, 01:06 PM   #4
nephish
Member
 
Registered: Jun 2005
Distribution: arch, ubuntu
Posts: 456

Rep: Reputation: 30
ok, try this and we will see if the problem is your DNS information
ping -c 3 216.239.39.99

if you dont get the same error, open your browser and type
216.239.39.99 in the url

let us know what happens
 
Old 11-25-2005, 01:39 PM   #5
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
I logged on as a root user and wrote the following command.


# ifconfig

etho Link encap: Ethernet Hwaddr 00:0B: 6A: C2: 93: EC

inet addr: 83.250.88.97 Bcast: 255.255.255.255 Mask: 255.255.248.0

inet6 addr: fe80::20b:6aff:fec2:93ec/64 Scope:Link

UP BROADCAST MULTICAST MTU: 1500 Metric:1

RX packets: 667 errors:0 dropped:0 overruns:0 frame:0

TX packets: 0 errors:3 dropped:0 overruns:0 carrier: 3

Collisions: 0 txqueuelen: 1000

RX bytes: 40327 (39.3KiB) TX bytes:0 (0.0 b)

Interrupt: 209 Base address: 0xe400





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: 1028 errors: 0 dropped: 0 overruns: 0 frame:0

TX packets: 1028 errors: 0 dropped: 0 overruns:0 carrier:0

collisions: 0 txqueuelen:0

RX bytes: 83607 ( 81.6 KiB ) TX bytes: 83607 ( 81.6 KiB)






# dmesg | grep eth0

Eth0: Uli M5261/M5263 rev 64 at 000000000001e400, 00:0B:6A:C2:93:EC, IRQ 209.

Eth0: Invalid media table selection 128.

Etho: no IPv6 routers present


# ping www.google.com

Ping: unknown host www.google.com

[You want me to try some other commands. I must go back to the Linux side and let you know the results again.]

Last edited by Gins; 11-25-2005 at 01:42 PM.
 
Old 11-25-2005, 02:29 PM   #6
nephish
Member
 
Registered: Jun 2005
Distribution: arch, ubuntu
Posts: 456

Rep: Reputation: 30
ok , we are doing good.
i think its your dns servers.

open your browser and type
216.239.39.99 in the url

if it fails, type this in a terminal
ping -c 3 216.239.39.99

your ifconfig shows that you have an internet address. cool. so you are on line in linux. just need to narrow the last bit down
 
Old 11-25-2005, 02:36 PM   #7
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
I logged on as a root user and wrote the following:

# ping -c 3 216.239.39.99 and pressed enter.

The message was:

PING 216.239.39.99 (216.239.39.99 ) 56(84) bytes of data

--- 216.239.39.99

3 packets transmitted, 0 received, 100% packet loss, time 1999ms
----------------------------------------------------------------------------

I opened the Mozilla Firefox browsr and wrote the following:

http:// 216.239.39.99

The message was.

The operation time out when attempting to contact 216.239.39.99

--------------------------------------------------------------------------------------

[ You want me to try some other commands again. I must reboot the system and go back to the Linux side now. I will write the output here.]
 
Old 11-25-2005, 02:50 PM   #8
nephish
Member
 
Registered: Jun 2005
Distribution: arch, ubuntu
Posts: 456

Rep: Reputation: 30
rats, may not be your DNS servers after all.
check your ifconfig again and write down the ip number right after inet addr:

then try to ping that number ( this is pinging your own network interface in your computer. like this
ping -c 3 xxx.xxx.xxx.xxx
and see what it gives you. look at where the cable plugs in. most interfaces have little LED lights that will be on when you are connected to something, and they should blink when you ping.

let us know what happens.

the reason you need to write the number down is that its very likely to be different everytime you reboot, if you are getting your ip from dhcp provided by your isp.

one last thing. if all this fails, ask your isp for their ip address, and try to ping that.

we will get thru this !
 
Old 11-25-2005, 03:26 PM   #9
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
In Windows command prompt, I wrote the following command:

ipconfig /all


IP Routing Enabled : No
WINS Proxy Enabled: No


Dhcp enabled: Yes
Auto configuration enabled: Yes

Ip addreess: 83.250.92.194

Subnet mask: 25.255.248.0

Default gateway: 83.250.88.1

DHCP Server: 10.15.1.11

DNS servers: 83.250.245.10
: 83.250.249.10

[I will go back to the Linux side try again and let you know the outcome.]
 
Old 11-25-2005, 03:59 PM   #10
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
It worked, as far as I can see. Still I can't go to the Internet with a browser.
-------------------------------------------------------------------------------------------
[The command 'ifconfig' gave me the IP address.]
# ping -c 3 83.250.88.97


64 bytes from 83.250.88.97: icmp_seq=1 ttl=64 time=0.025ms

64 bytes from 83.250.88.97: icmp_seq=2 ttl=64 time=0.023ms

64 bytes from 83.250.88.97: icmp_seq=3 ttl=64 time=0.021ms

3 packets transmitted, 3 received, 0 packets loss, time 1991 ms


Why can't I go to the Internet?

I would agree with you to say the IP address comes from a DHCP server. So it is
different from time to time.

I don't think I have to ask the ISP about the IP address. I got it from the Windows side.



Why can't I go to the Internet?
 
Old 11-25-2005, 04:08 PM   #11
nephish
Member
 
Registered: Jun 2005
Distribution: arch, ubuntu
Posts: 456

Rep: Reputation: 30
well this is really ..... wierd.

ok, i would burn the latest stable release of knoppix. its a live CD, good for auto configuring and troubleshooting.
i am wondering if you got a bad install on mandriva. mandriva is famous for being easy to configure. So that kinda does not make sense that it did not work right out of the box.
sorry about all this headache.
 
Old 11-25-2005, 04:46 PM   #12
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
nephish

Thanks for all the help. You did your best. Sometimes such problems appears on
computers. I have experienced similar problems.

It is not your fault. There is a strange problem.


By the way, what is the following command:

ping -c 3 216.239.39.99

I know the ping command. This ' ping -c 2 xxxx xxxx xxxx xxxx

The portion '' -c 3 '' look strange. What is it?

What is 'c' ? What is '' 3 '' ?

Last edited by Gins; 11-25-2005 at 04:49 PM.
 
Old 11-25-2005, 05:00 PM   #13
nephish
Member
 
Registered: Jun 2005
Distribution: arch, ubuntu
Posts: 456

Rep: Reputation: 30
3 means three packets and i think the c means count (but dont hold me to that one) if you want to check your NIC lights try a ping -c 10
 
Old 11-26-2005, 04:00 PM   #14
babysparrow
Member
 
Registered: Nov 2005
Location: Worcestershire,UK
Distribution: Used nearly all but now just using Lubuntu 18.04lts and 20.04 lts
Posts: 94

Rep: Reputation: 19
In your post#7 your subnet mask is 25.255.248.0. I assume this is a typo.

Your dmesg hints that no ipv6 router is available at boot. This will affect the "default route".

# su - root
# route

This will show your routing info. You should see an entry like "default * 83.nn.nn.nn" or something similar.

If there is no default entry then it may be because your system did not find any suitable transport at boot (as dmesg indicates).

You could try add the default route (man route for how - it's easy). I guess you must use the public IP given by the isp.

If you are connecting (and maybe i've missed something here) via a NIC in your PC then I assume you have an ADSL Modem/Router connected to your PC via an RJ45 cable. (??) What brand/product_id is it?

What is the ip address of your router? (I actually don't understand how you're getting a public IP set on your PC NIC - and maybe someone can bump me off this thread if I'm all at sea here). :-)
 
Old 11-26-2005, 04:58 PM   #15
Basslord1124
Member
 
Registered: Jun 2004
Location: KY
Distribution: Debian, Mint, Puppy
Posts: 507

Rep: Reputation: 51
What does Linux display your default gateway as?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Internet Connection when Connecting to Internet on Browsers lennysokol Linux - Networking 8 04-09-2011 04:29 PM
Nic card -> cable internet modem no internet connection zeshan_b Mandriva 21 09-26-2004 11:48 AM
My internet apps cannot detect my internet connection esthon_wood Mandriva 5 08-30-2004 08:38 PM
iptables. Can ping through to internet side nic but can't get to internet gonus Linux - Networking 19 07-15-2004 01:27 PM
can't connect to the internet:linux dont read my internet address droplsh Linux - General 1 02-29-2004 07:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:29 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