LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-06-2011, 01:41 PM   #1
Chris Graves
LQ Newbie
 
Registered: Apr 2011
Posts: 3

Rep: Reputation: 0
Can't connect to internet


I have just installed Mandrake Linux and everything seems OK apart from the fact that I can't connect to the internet. I presume it's because I have not got the relevant driver (or have not configured it if it's there)

My machine was previously running Windows and all the disks I have are for Windows.

I have looked in my manual and it says I have a K8NBP GRAND (I think that's the motherboard, you'll see that I don't really know a lot!!) The manual also says Gigabit Ethernet LAN : NVIDIA Gigabit MAC + VITESSE Gigabit PHY - Supports 10/100/1000Base- T Ethernet/Fast Ethernet/Gigabit Ethernet.

When I was running Windows I just had a network cable running out of the back of the PC connected to one of the LAN sockets on my router.

I am currently having to use my wife's laptop (which runs on yet another OS but at least it connects to the internet or I'd be really stuffed).

I hope someone can point me in the right direction so that I can sort my PC out and regain my independence.

Thanks
 
Old 04-06-2011, 01:50 PM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
The best bet is to first find out if your LAN card has been detected instead of just guessing the things. What you can do is open a terminal, and type lspci -vv and then paste the output here in Code tags.
Also, paste the output of ifconfig in code tags.
This is what mine looks like
Code:
Link encap:Ethernet  HWaddr 00:17:7c:0a:a0:7c  
          inet addr:192.168.1.5  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::217:7cff:fe0a:a07c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12048 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5666 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2457717 (2.4 MB)  TX bytes:714414 (714.4 KB)
          Interrupt:17
You should also see something similar. And if you see so, you should have your card already detected with proper drivers. What you see in Bold is the ip address which you may or may not have depending on the presence or absence of DHCP in your router.

---------- Post added 7th Apr 2011 at 00:20 ----------

The best bet is to first find out if your LAN card has been detected instead of just guessing the things. What you can do is open a terminal, and type lspci -vv and then paste the output here in Code tags.
Also, paste the output of ifconfig in code tags.
This is what mine looks like
Code:
Link encap:Ethernet  HWaddr 00:17:7c:0a:a0:7c  
          inet addr:192.168.1.5  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::217:7cff:fe0a:a07c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12048 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5666 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2457717 (2.4 MB)  TX bytes:714414 (714.4 KB)
          Interrupt:17
You should also see something similar. And if you see so, you should have your card already detected with proper drivers. What you see in Bold is the ip address which you may or may not have depending on the presence or absence of DHCP in your router.

---------- Post added 7th Apr 2011 at 00:21 ----------

!@#$ why does this always double post????

---------- Post added 7th Apr 2011 at 00:21 ----------

!@#$ why does this always double post????
 
Old 04-06-2011, 01:52 PM   #3
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 614

Rep: Reputation: 32
Did you even think about NIC config and routing ? Do you use DHCP ? To less info!
 
Old 04-06-2011, 02:02 PM   #4
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,222

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Mandy is not too difficult to work with, if this is your first try with linux.

I will need some information. Open a konsole, and run the commands, one at a time, and post the results.

Please run 'lspci' this will list all the devices on your PCI bus, and will show the ethernet card(s) you have. I read what you posted, not sure if you have more than 1 card. If you have more than 1, which one is the cable in?

Also run the command '/sbin/lsmod' and post the results. This will show all modules you have loaded. I would bet the driver is loaded. All commands without the quotes.

Also, run the command 'ifconfig eth0' and post the output. I'm guessing your card is called eth0. This will show if you have an ip address.

If you connect to your router from a working machine, can you see the non-working system? You may have to poke through the menus, if you can post the make and model of the router, we may need that later.

Mandy has tools in MCC (Mandriva Control Centre) to configure nics. Have you been in there to configure?

Post as much as you know...
 
Old 04-06-2011, 02:10 PM   #5
Chris Graves
LQ Newbie
 
Registered: Apr 2011
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the very prompt replies. I'll go and see what I can find out. It may be a while before I get back as I'm going to France on Friday and won 't be back for a couple of weeks but I'll try and do something tomorrow. I'm a bit slow at these things so bear with me .

Thanks again every one.
 
Old 04-06-2011, 03:33 PM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
I have just installed Mandrake Linux and everything seems OK
Mandrake linux sadly folded a few years ago. It has been replaced by "Mandriva". It's a tribute to Mandrake that you are still able to boot it.

If you installed this from a book with a CD, please update yourself by downloading a more modern distro from http://distrowatch.com/

Scroll down, bottom right, to see "Page hit ranking". Then, just choose one.

Enjoy France.
 
  


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
Connect my netbook to wireless but it wont connect to the internet but it did . Haydn456MJW Linux - Newbie 7 01-26-2011 05:56 PM
Kubuntu - Can't connect to the internet, but can connect to the LAN KellyT Linux - Networking 1 11-12-2009 04:17 AM
Able to connect to default Gateway, Unable to connect to internet Dumb.Coder Linux - Newbie 11 04-14-2009 04:22 AM
connect to internet trough wireless others connect to me with lan Amir Menesy Linux - Wireless Networking 1 11-13-2007 08:28 PM
how i connect (bridging) two internet connection and how to use that both the connect karthi26 Linux - Newbie 1 08-26-2007 03:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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