LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-15-2009, 11:15 PM   #1
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Rep: Reputation: 30
Ethernet Troubles in trixbox


Hi all,

I just installed the trixbox disto on an eeepc (for my purposes, the eeepc is more than enough). However, the distro (which is based on CentOS 5.2) doesn't seem to have drivers for my ethernet card. The eth0 interface doesn't exist, in fact, when I run ifconfig, all I get is info for lo. iwconfig also gives me lo and some foolishness named sit0.

The following is the (relevant) output for lspci:

Quote:
01:00.0 Ethernet controller: Atheros Communication Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
03:00.0 Ethernet controller: Attansic Technology Corp. L2 100 Mbit Ethernet Adapter (rev a0)
I don't really care about the wireless one, but I do need the wired one to work. Any help is appreciated, but please keep in mind that I am (for all intents an purposes) a newbie. I've run kubuntu that did everything for me (like mount stuff!) and I've never touched an rpm-based system.

Thank you!
 
Old 04-16-2009, 04:09 AM   #2
asymptote
Member
 
Registered: Mar 2008
Posts: 236

Rep: Reputation: 37
Check lsmod to see if there is a driver loaded for your ethernet card.
 
Old 04-16-2009, 09:08 AM   #3
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Original Poster
Rep: Reputation: 30
Hi,

Thanks for that. lsmod doesn't seem to give any info about ethernet, but I can only see the latter part of it because the rest runs away to the top of the screen. How can I scroll up in the terminal? (See, I said I'm a newbie!)

Last edited by evilmonkey; 04-16-2009 at 09:15 AM.
 
Old 04-16-2009, 11:35 AM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,243
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Attansic Ethernet
http://www.centos.org/modules/newbb/...19236&forum=40


Atheros Wifi
Tthe OpenHal 10.5.6 driver from madwifi-project.org is used for this card, (The older kernel in RHEL/CENTOS, may be an issue here..)
http://madwifi-project.org/ticket/1192
 
Old 04-16-2009, 02:10 PM   #5
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by farslayer View Post
Thank you for that. The second post has a link to an FTP site with a bunch of files (ftp://ftp.hogchain.net/pub/linux/att...tl2/centos5.2/). Any idea which of these rpms I need? Am I going to get rpm hell for my trouble? Thank you!
 
Old 04-16-2009, 04:25 PM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,243
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Don't know.. I saw repository names mentioned that you could add to your sources, so updates for the driver will automatically work.. re-read the posts in that thread. I think you will find it.
 
Old 04-16-2009, 04:50 PM   #7
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Original Poster
Rep: Reputation: 30
The problem with that is I don't have internet...it's kind of hard to rely on a repo to install drivers for a network card. Anyway, I'll test out some of those RPMs and will report back. Thanks.
 
Old 04-16-2009, 09:18 PM   #8
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,243
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Err yeah that's a valid point obviously if neither interface is working.. Not sure how I overlooked that fact..
 
Old 04-18-2009, 02:04 AM   #9
asymptote
Member
 
Registered: Mar 2008
Posts: 236

Rep: Reputation: 37
Once you do get everything working, research on how to make a backup image of your installation so if you ever need to start over you'll have an install cd with all your drivers loaded.
 
Old 04-18-2009, 12:39 PM   #10
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by asymptote View Post
Once you do get everything working, research on how to make a backup image of your installation so if you ever need to start over you'll have an install cd with all your drivers loaded.
Yeah, definitely! I'm a bit busy right now and I put the eeepc away for a couple of weeks. I'll get back to this after my exams!
 
Old 04-18-2009, 08:26 PM   #11
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Original Poster
Rep: Reputation: 30
Hi everyone,
I decided to take a break from studying and got back to this. I installed the ceeentos rpms and moved the resulting atl2.ko to my /lib/modules/2.6.18-92.1.18.el5/kernel/drivers/net/atl2.ko (for some reason, the rpm shoved it into /lib/modules/2.6.18-92.el5/extra/atl2/atl2.ko). insmod atl2 tells me that the file already exists. Here are some relevant outputs (this will get lengthy):


modprobe -l...too long to post the whole thing, but I did a search on atl2 and only found this:
Quote:
/lib/modules/2.6.18-92.1.18.el5/weak-updates/atl2/atl2.ko
contents of /etc/rc5.d:
Quote:
K02avahi-daemon K85mdmpd S14nfslock
K02avahi-dnsconfd K85zebra S15mdmonitor
K02dhcdbd K87mcstrans S18rpcidmapd
K02NetworkManager K87multipathd S19rpcgssd
K02NetworkManagerDispatcher K87named S22messagebus
K02oddjobd K88pcscd S25netfs
K05conman K88wpa_supplicant S26apmd
K05saslauthd K89dund S26lm_sensors
K10dc_server K89hidd S28autofs
K10psacct K89netplugd S34mDNSResponder
K12dc_client K89pand S44acpid
K20nfs K89rdisc S55sshd
K24irda K90bluetooth S56xinetd
K35dhcpd K91capi S58ntpd
K35dhcrelay K91isdn S60vsftpd
K50ibmasm K92ip6tables S64mysqld
K50netconsole K92iptables S80memcached
K50snmpd S00microcode_ctl S80postfix
K50snmptrapd S02lvm2-monitor S85httpd
K60asterisk S04readahead_early S90crond
K69rpcsvcgssd S05kudzu S95anacron
K73ypbind S09zaptel S95atd
K74nscd S10network S96readahead_later
K84bgpd S11auditd S97yum-updatesd
K84ospf6d S12restorecond S98haldaemon
K84ospfd S12syslog S99firstboot
K84ripd S13irqbalance S99local
K84ripngd S13portmap S99smartd
and finally, ifconfig (same old same old, still no eth):
Quote:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2863 errors:0 dropped:0 overruns:0 frame:0
TX packets:2863 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:209019 (204.1 KiB) TX bytes:209019 (204.1 KiB)
As you can see, I'm still struggling. Any help greatly appreciated. =))
 
Old 04-20-2009, 12:40 PM   #12
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,243
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
part of the issue could also be related to that old kernel trixbox is running... 2.6.18..

Why not try a more up to date distro, that will fully support your hardware, then install asterisk manually ?
 
Old 04-20-2009, 07:26 PM   #13
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Original Poster
Rep: Reputation: 30
Yeah, that's my next plan of attack: install ubuntu server and asterisk and freepbx (asterisk + freepbx = trixbox). I hear installing asterisk can be a real butt pain though (forget about doing it through apt or any equivalent), which is why I wanted a distro with everything pre-installed.
 
Old 04-20-2009, 07:41 PM   #14
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,243
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Only problem I had installing asterisk was that we bought Interface cards other than the Digium cards, and had to custom compile the drivers.. which of course didn't go smoothly. Other than that the install was not that painful.
 
Old 04-24-2009, 05:24 PM   #15
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Original Poster
Rep: Reputation: 30
Installed ubuntu jaunty this morning and asterisk + freepbx using this wonderful script. Network card worked out of the box due to the newer kernel. Configuration of asterisk is the hard part now, for some reason it hangs up all my calls...

EDIT: okay, everything works like a charm now.

Last edited by evilmonkey; 04-24-2009 at 08:47 PM.
 
  


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
Ethernet Troubles Cyric Slackware 1 10-20-2004 06:20 PM
ethernet troubles rosssax Mandriva 1 08-05-2004 07:16 PM
ethernet troubles using gentoo 1.4 Aman9090 Linux - Networking 19 11-16-2003 08:22 PM
Ethernet Troubles ZeratulsAvenger Linux - Hardware 2 07-21-2003 04:18 AM
Ethernet troubles lasalsademuerte Linux - Hardware 5 02-25-2003 10:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:35 PM.

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