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 |
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.
|
 |
|
11-25-2005, 11:27 AM
|
#1
|
Senior Member
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,666
Rep:
|
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.
|
|
|
11-25-2005, 12:04 PM
|
#2
|
Member
Registered: Jun 2005
Distribution: arch, ubuntu
Posts: 456
Rep:
|
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.
|
|
|
11-25-2005, 12:53 PM
|
#3
|
Senior Member
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,666
Original Poster
Rep:
|
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.]
|
|
|
11-25-2005, 01:06 PM
|
#4
|
Member
Registered: Jun 2005
Distribution: arch, ubuntu
Posts: 456
Rep:
|
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
|
|
|
11-25-2005, 01:39 PM
|
#5
|
Senior Member
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,666
Original Poster
Rep:
|
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.
|
|
|
11-25-2005, 02:29 PM
|
#6
|
Member
Registered: Jun 2005
Distribution: arch, ubuntu
Posts: 456
Rep:
|
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
|
|
|
11-25-2005, 02:36 PM
|
#7
|
Senior Member
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,666
Original Poster
Rep:
|
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.]
|
|
|
11-25-2005, 02:50 PM
|
#8
|
Member
Registered: Jun 2005
Distribution: arch, ubuntu
Posts: 456
Rep:
|
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 !
|
|
|
11-25-2005, 03:26 PM
|
#9
|
Senior Member
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,666
Original Poster
Rep:
|
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.]
|
|
|
11-25-2005, 03:59 PM
|
#10
|
Senior Member
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,666
Original Poster
Rep:
|
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?
|
|
|
11-25-2005, 04:08 PM
|
#11
|
Member
Registered: Jun 2005
Distribution: arch, ubuntu
Posts: 456
Rep:
|
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.
|
|
|
11-25-2005, 04:46 PM
|
#12
|
Senior Member
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,666
Original Poster
Rep:
|
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.
|
|
|
11-25-2005, 05:00 PM
|
#13
|
Member
Registered: Jun 2005
Distribution: arch, ubuntu
Posts: 456
Rep:
|
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
|
|
|
11-26-2005, 04:00 PM
|
#14
|
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:
|
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). :-)
|
|
|
11-26-2005, 04:58 PM
|
#15
|
Member
Registered: Jun 2004
Location: KY
Distribution: Debian, Mint, Puppy
Posts: 507
Rep:
|
What does Linux display your default gateway as?
|
|
|
All times are GMT -5. The time now is 05:52 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
|
|