Linux - GeneralThis 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.
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.
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662
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.
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?
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.
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662
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.
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.
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). :-)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.