LinuxQuestions.org
Register a domain and help support LQ
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-20-2009, 08:01 PM   #1
R4ndom
LQ Newbie
 
Registered: Apr 2009
Posts: 7

Rep: Reputation: 0
Very basic network question


I am very new to Linux and have started reading a lot. I have backtrack 3 installed on a Dell XPS m1530 laptop dual booted with Windows XP.

In Windows, connecting to the internet was very easy; I simply plug the network cable into the back of my laptop, run Firefox and the internet magically appears.

In Linux...not so much. Obviously my network card has not been configured as Firefox says It cannot connect. Can someone just point me in the right direction to finding out the first steps to making this work? Like do I have to download a driver? Should Linux automatically see my NIC card or do I have to turn it on somehow?

ps. I cannot switch to wifi as my company only has it hard wired

Any help would be appreciated.

Random
 
Old 04-20-2009, 08:14 PM   #2
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,971
Blog Entries: 1

Rep: Reputation: 208Reputation: 208Reputation: 208
Quote:
Originally Posted by R4ndom View Post
I am very new to Linux and have started reading a lot. I have backtrack 3 installed on a Dell XPS m1530 laptop dual booted with Windows XP.

In Windows, connecting to the internet was very easy; I simply plug the network cable into the back of my laptop, run Firefox and the internet magically appears.

In Linux...not so much. Obviously my network card has not been configured as Firefox says It cannot connect. Can someone just point me in the right direction to finding out the first steps to making this work? Like do I have to download a driver? Should Linux automatically see my NIC card or do I have to turn it on somehow?

ps. I cannot switch to wifi as my company only has it hard wired

Any help would be appreciated.

Random
What is the output of...

Code:
ifconfig -a
FYI...

I don't recomend using Backtrack for "common" use...it's meant to be used as a Security Auditing Tool.

 
Old 04-20-2009, 08:37 PM   #3
R4ndom
LQ Newbie
 
Registered: Apr 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Yes, I know backtrack is harder than the average, but I eventually want to learn it so I decided to start with it, probably to my own detriment.


As far as ifconfig -a, here is the output (although I didn't put every last character in as I have to type it manually. Anything I removed is replaced with "..."):



lo Link encapLLocal Loopback
inet addr: 127.0.0.1 Mask:255.0.0.0
UP Loopback running MTU:16436 Metric:1
...
RX Bytes:0 (0.0 b) TX bytes:0 (0.0 b)


wlan0 Link encap:Ethernet HWaddr 00:1f:...
BROADCAST MULTICAST MTU:1500 Metric:1
...
RX 0 TX 0

wmaster0 Link encap:UNSPEC HWaddr 00-1f-...
BROADCAST MULTICAST MTU:1500 Metric:1
...
RX 0 TX 0
 
Old 04-20-2009, 10:32 PM   #4
hurry_hui
Member
 
Registered: Oct 2008
Location: Near Jakarta
Distribution: Slackware, Arch, Slax, Porteus, Tiny Core, Slitaz
Posts: 355
Blog Entries: 1

Rep: Reputation: 51
From the output it seems that your ethernet is not well detected. Please post following outputs:

Code:
 dmesg | grep -i network
and

Code:
#lspci -v | grep -i eth
Btw, it is easier for people in the forum when you post output in tags [code]...[/code] or use # button.
 
Old 04-20-2009, 11:12 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,684

Rep: Reputation: 2261Reputation: 2261Reputation: 2261Reputation: 2261Reputation: 2261Reputation: 2261Reputation: 2261Reputation: 2261Reputation: 2261Reputation: 2261Reputation: 2261
Backtrack isn't a user type of distro. Might start with a more newbie friendly distro.

As you can see there is no lan nic in ifconfig -a.

Might have to try another disto like knoppix to see if it see's your card to get info off if lspci doesn't show.

Last edited by jefro; 04-20-2009 at 11:14 PM. Reason: add on data
 
Old 04-20-2009, 11:29 PM   #6
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,971
Blog Entries: 1

Rep: Reputation: 208Reputation: 208Reputation: 208
Quote:
Originally Posted by R4ndom View Post
Yes, I know backtrack is harder than the average, but I eventually want to learn it so I decided to start with it, probably to my own detriment.
Learn to walk before you run...


Anyway; hurry_hui is right. Looks like your NIC isn't being detected...post the output of the commands that hurry_hui suggested...

-C
 
Old 04-21-2009, 01:29 PM   #7
R4ndom
LQ Newbie
 
Registered: Apr 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Yes, I know backtrack is not the most user friendly. But as it took me about 2 months just to get it to boot with windows, I really don't want to get bogged down in getting knoppix running right now.

As far as the outputs:

Code:
dmesg | grep -i network
does not give me anything.

Code:
lspci -v | grep -i eth
gives me

Code:
09.00.0 Ethernet controller: Marvell Technology Group ltd. 88E8040 PCI-E Fast Ethernet Controller.
 
Old 04-21-2009, 02:08 PM   #8
hurry_hui
Member
 
Registered: Oct 2008
Location: Near Jakarta
Distribution: Slackware, Arch, Slax, Porteus, Tiny Core, Slitaz
Posts: 355
Blog Entries: 1

Rep: Reputation: 51
Perhaps, you need newer kernel for Marvell Ethernet. It uses sky2 module. Since BT3 uses 2.6.22 kernel, I think this is the problem.

I got this on my config (2.6.27.3):


Code:
sabayon linux # cat config | grep -i sky
CONFIG_SKY2=m
The module is built-in for 2.6.27.3 kernel and newer.

Or you can download driver from www.marvell.com

Last edited by hurry_hui; 04-21-2009 at 02:11 PM.
 
Old 04-21-2009, 02:42 PM   #9
R4ndom
LQ Newbie
 
Registered: Apr 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Alright. I guess I am going to have to buckle down and install a new Linux OS. Can someone give me some advice on starting this endeaver? I guess I would reformat my linux partition (although I wouldn't need to reformat the swap drive, right?) and just install a different linux? What about Lilo? Do I have to go into the config file and delete the backtrack option and add whatever new distro I install? Speaking of which, which distro do you recommend for a beginner that has a lot of hardware support?
 
Old 04-21-2009, 03:31 PM   #10
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,971
Blog Entries: 1

Rep: Reputation: 208Reputation: 208Reputation: 208
Quote:
Originally Posted by R4ndom View Post
Speaking of which, which distro do you recommend for a beginner that has a lot of hardware support?
Ubuntu ot Linux Mint (which is Ubuntu...but better )
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic Linux Network csmall011 Linux - Networking 1 12-18-2006 01:57 PM
Basic network config tntcoder Linux - Networking 2 03-13-2006 03:35 PM
Very basic network settup question. Using CRUX? walterbyrd Linux - Networking 1 07-05-2005 08:09 PM
Basic network information dalraidia Linux - Newbie 7 12-16-2002 10:51 PM
basic network fstreed Linux - Networking 9 10-23-2002 11:01 AM


All times are GMT -5. The time now is 11:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration