LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Ethernet Troubles in trixbox (https://www.linuxquestions.org/questions/linux-hardware-18/ethernet-troubles-in-trixbox-719458/)

evilmonkey 04-15-2009 10:15 PM

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!

asymptote 04-16-2009 03:09 AM

Check lsmod to see if there is a driver loaded for your ethernet card.

evilmonkey 04-16-2009 08:08 AM

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!)

farslayer 04-16-2009 10:35 AM

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

evilmonkey 04-16-2009 01:10 PM

Quote:

Originally Posted by farslayer (Post 3511092)

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! :)

farslayer 04-16-2009 03:25 PM

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.

evilmonkey 04-16-2009 03:50 PM

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.

farslayer 04-16-2009 08:18 PM

Err yeah that's a valid point obviously if neither interface is working.. Not sure how I overlooked that fact.. :)

asymptote 04-18-2009 01:04 AM

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.

evilmonkey 04-18-2009 11:39 AM

Quote:

Originally Posted by asymptote (Post 3512916)
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!

evilmonkey 04-18-2009 07:26 PM

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. =))

farslayer 04-20-2009 11:40 AM

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 ?

evilmonkey 04-20-2009 06:26 PM

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.

farslayer 04-20-2009 06:41 PM

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.

evilmonkey 04-24-2009 04:24 PM

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. :)


All times are GMT -5. The time now is 04:57 PM.