LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-27-2007, 05:23 PM   #1
mr-flibble
LQ Newbie
 
Registered: Mar 2007
Posts: 4

Rep: Reputation: 0
NIC not configured properly


I'm running LFS 6.2 and trying to setup internet access.
eth0 activates just fine during boot and I can ping my static IP but can't ping an outside host or even my router.

I'm running solely off the command prompt, can't use any other network tools.

I used the kernel config from the LFS live cd so I assume everything I'd need the kernel to include is there since internet works on the live cd.

I'd read an article on the /etc/module.conf and needing to put the driver in there. Not sure.

How do I get the kernel to call up the right nic module/driver?

The other problem is that I'm not sure which nic module I need. I assume I can do a modprobe or a grep to find out what it is under suse and use that. Just not sure of the command.

Thanks for any and all help.

the output from ifconfig under lfs is:
eth0 Link encap:UNSPEC HWaddr 00-10-DC-00-00-7C-CA-4E-00-00-00-00-00-00-00-00 <-----the problem
inet addr:192.168.1.73 Bcast:255.255.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

the output under SuSE is:
eth0 Link encap:Ethernet HWaddr 00:11:09:DD:56:BE
inet addr:192.168.1.73 Bcast:255.255.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:139 errors:0 dropped:0 overruns:0 frame:0
TX packets:182 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:49832 (48.6 Kb) TX bytes:34277 (33.4 Kb)
Interrupt:217 Base address:0x8000

Last edited by mr-flibble; 03-27-2007 at 06:42 PM.
 
Old 03-27-2007, 06:13 PM   #2
kcorupe
Member
 
Registered: Nov 2004
Location: Arizona
Distribution: Arch
Posts: 107

Rep: Reputation: 15
have you setup a route for your gateway?


route add 192.168.1.1 default gw #replace with whatever ur gatways ip is
 
Old 03-27-2007, 06:38 PM   #3
mr-flibble
LQ Newbie
 
Registered: Mar 2007
Posts: 4

Original Poster
Rep: Reputation: 0
The gateway isn't the problem. It's the network card. It's not configured/installed properly.
 
Old 03-27-2007, 06:44 PM   #4
kcorupe
Member
 
Registered: Nov 2004
Location: Arizona
Distribution: Arch
Posts: 107

Rep: Reputation: 15
take a look at dmesg and see what comes up about your card, and if its getting set to an interface.

if not, you'll need to include the kernel module, see what one its using on google. and you might have to recompile your kernel with the module enabled.

check out lspci too.
 
Old 03-28-2007, 12:19 AM   #5
mr-flibble
LQ Newbie
 
Registered: Mar 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Oy.. Every other os I've installed on this machine has never shown more than one eth device. I did a grep to find all mac addresses. Sure enough there was the mac I recognized. It ended up being eth1 and I just had to move the ifconfig.eth0 to ifconfig.eth1 and it worked.
 
  


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
Finding out if your NIC is configured properly rwescoat Linux - Networking 1 10-16-2004 03:38 PM
no screens found but X configured properly??? Lbtg43 Linux - Newbie 3 10-11-2004 01:04 AM
ATI tv wonder ve not properly configured? jimMC Linux - Hardware 4 07-23-2004 04:21 AM
maya crashes; opengl not properly configured. qanopus Linux - Software 1 03-31-2004 10:23 AM
Help!!! My monitor is not getting configured Properly in Mandrake 9.1 arun79 Linux - Newbie 2 05-13-2003 07:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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