LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-10-2009, 07:47 PM   #1
trainee
Member
 
Registered: Dec 2004
Distribution: Slackware
Posts: 142

Rep: Reputation: 16
How to configure onboard ethernet


I am helping a friend with his desktop. I installed Slackware 13 for him on his desktop (32 bit). Everything seems to be OK, except for his ethernet stuff (sorry, I don't know how to call it).
He has a LAN port onboard.
When I type
ifconfig
it only shows the loopback interface.
When I type
iwconfig
it shows both his wireless and his LAN card as wlan0 and wmaster0.
When I specificly type ifconfig wmaster0, it showed the information of his wired port.
Moreover, when connected to the router, the card doesn't seem to pick up the IP address.

The motherboard he use is and ECS P45T-A.
The LAN controller is: Gigabit LAN,Athlos L1 PCIe GigaLAN controller.

Please let me know what I can do?

Thanks,
 
Old 09-11-2009, 12:28 AM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hi trainee,

Quote:
The LAN controller is: Gigabit LAN,Athlos L1 PCIe GigaLAN controller.
maybe this gadgets vendor is Atheros and google may help.

First with /sbin/lspci check if the LAN-adapter is known by the system, then try lsmod to find out if the adequate kernelmodule is loaded.

And if the required module is loaded you may go on to configure the network.

Markus
 
Old 09-11-2009, 08:58 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

You can use the 'ifconfig -a' to see all the devices that are recognized at boot.

You did run 'netconfig'? When you create a user for the install be sure to include in groups;
Code:
users floppy audio video cdrom plugdev power netdev
Post the output of 'dmesg|grep -i eth' and/or 'lspci -vv|grep -i eth', 'ifconfig -a' and 'route -n' to aid in diagnosis of the problem. This request is based on your LAN. If you are wanting wireless then adjust the command(s).

BTW, don't forget to place your ISP DNS in 'etc/resolv.conf';

Code:
example '/etc/resolv.conf' using 'Verizon' third level DNS;

nameserver 4.2.2.1
nameserver 4.2.2.2
nameserver 4.2.2.3
nameserver 4.2.2.4
 
Old 09-11-2009, 09:23 PM   #4
globaltree
Member
 
Registered: Oct 2007
Location: Oregon
Distribution: Slackware 12.2
Posts: 65

Rep: Reputation: 18
I second markush's thought: if you don't have the right kernel module, then your interfaces will not turn up in the output of ifconfig -a... you might have to rebuild your kernel and pay close call to the networking section to make sure that your Athlos Gigabit controller is enabled.
 
Old 09-11-2009, 10:12 PM   #5
trainee
Member
 
Registered: Dec 2004
Distribution: Slackware
Posts: 142

Original Poster
Rep: Reputation: 16
Thanks, everybody. Today, when I booted it up, everything just worked out mysteriously, without me having to do anything. I don't know if the udev took time to recognize the right module or something. Anyway, I'll bug you guys again if it causes trouble again.
 
Old 09-11-2009, 10:17 PM   #6
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Quote:
Originally Posted by trainee View Post
Thanks, everybody. Today, when I booted it up, everything just worked out mysteriously, without me having to do anything. I don't know if the udev took time to recognize the right module or something. Anyway, I'll bug you guys again if it causes trouble again.
Slackware works in mysterious ways!

But seriously, it'd be a good idea to learn what exactly made it work, vs what made it NOT work initially; this way, you can configure whatever may be necessary to KEEP it working, and not need to depend on 'magic' -- otherwise, if it decides to magically NOT work again one morning, you'll be back at square 1.

For now: congrats and happy Slacking.

Sasha
 
Old 09-12-2009, 07:07 AM   #7
trainee
Member
 
Registered: Dec 2004
Distribution: Slackware
Posts: 142

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by GrapefruiTgirl View Post
Slackware works in mysterious ways!

But seriously, it'd be a good idea to learn what exactly made it work, vs what made it NOT work initially; this way, you can configure whatever may be necessary to KEEP it working, and not need to depend on 'magic' -- otherwise, if it decides to magically NOT work again one morning, you'll be back at square 1.
Sasha
You're right. I would if it is my computer. But in this case, it's my friend's desktop and he is happy with it now, so, I can't poke my nose in there.
 
  


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
how to compare throughput between onboard ethernet and ethernet card shirishag75 Linux - Networking 1 01-31-2009 12:37 PM
Onboard ethernet wont detect vicky_me Red Hat 5 03-04-2007 02:13 PM
RedHat 9 Onboard Ethernet setup gwhunt23 Linux - Networking 3 04-27-2004 01:02 PM
ASUS A7N8X onboard ethernet Geoff Bickford Slackware 5 03-11-2003 03:10 AM
How to configure onboard ethernet? Janus Linux - Networking 1 08-15-2002 06:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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