LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problems with ethernet driver installation on Slackware 12.1 (ASUS P5Q PRO mobo) (https://www.linuxquestions.org/questions/linux-newbie-8/problems-with-ethernet-driver-installation-on-slackware-12-1-asus-p5q-pro-mobo-702838/)

stojadinovic 02-06-2009 06:06 PM

Problems with ethernet driver installation on Slackware 12.1 (ASUS P5Q PRO mobo)
 
I am really new on Linux. I tried to find the answer, but nothing i found worked for me. The Ethernet controller is Atheros, embedded on the ASUS P5Q PRO motherboard. I found the drivers on http://support.asus.com/download/dow...model=P5KPL-CM and i followed the instructions found there, and this is the output i get. Please help!

root@darkstar:~/LinuxDrivers/L1e/src# make install
make -C /lib/modules/2.6.24.5-smp/build SUBDIRS=/root/LinuxDrivers/L1e/src modules
make[1]: Entering directory `/usr/src/linux-2.6.24.5'
scripts/Makefile.build:46: *** CFLAGS was changed in "/root/LinuxDrivers/L1e/src/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make[1]: *** [_module_/root/LinuxDrivers/L1e/src] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24.5'
make: *** [default] Error 2
root@darkstar:~/LinuxDrivers/L1e/src#

Drakeo 02-10-2009 10:50 PM

those drivers are all ready in the kernel you just need to configure your wlan0 or ath0 net card ok. build this one all the scripts are there then install it from the tmp file. or see if the 12.2 wicd program works on 12.1 these are for only configuring the hardware,
linux puts all the drivers in the kernel there is a new kernel every six months athos chip has been supported sence the 2.6.18 kernel. The wicd program makes everything easy. You must reboot after installing wicd. now if your device is not detected now you will submit a thread to the network forum.

stojadinovic 02-11-2009 04:30 AM

I'm sorry to bother, but I have more problems, I don't know how to build the package. I downloaded 2 files, wicd.tar.gz and wicd-1.5.4.tar.gz. I first untarred both of them, and built wicd-1.5.4 by typing 'python setup.py configure' and then 'python setup.py install'. It seemed to me that the installation was ok. Then I rebooted the system and tried to build wicd.tar.gz, but here i have a problem. I tried to run 'sh ./doinst.sh' but i get this output:



gaga@darkstar:~/wicd$ sh ./doinst.sh
chmod: cannot access `etc/rc.d/rc.wicd.new': No such file or directory
mv: cannot stat `etc/rc.d/rc.wicd.new': No such file or directory
mv: cannot stat `etc/wicd/manager-settings.conf.new': No such file or directory

You need to kill the wicd client (tray icon),
then restart the wicd daemon (run '/etc/rc.d/rc.wicd restart'),
then restart the tray icon (run 'wicd-client &' as normal user).


Then I restarted the daemon, and when I run 'wicd-client &' I get this:


gaga@darkstar:~/wicd$ wicd-client &
[1] 3204
gaga@darkstar:~/wicd$ Traceback (most recent call last):
File "/usr/lib/wicd/wicd-client.py", line 50, in <module>
import wicd.gui as gui
File "/usr/lib/python2.5/site-packages/wicd/gui.py", line 2006, in <module>
setup_dbus()
File "/usr/lib/python2.5/site-packages/wicd/gui.py", line 174, in setup_dbus
proxy_obj = bus.get_object("org.wicd.daemon", '/org/wicd/daemon'
File "/usr/lib/python2.5/site-packages/dbus/bus.py", line 244, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 241, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python2.5/site-packages/dbus/bus.py", line 183, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python2.5/site-packages/dbus/bus.py", line 281, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python2.5/site-packages/dbus/connection.py", line 607, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.wicd.daemon was not provided by any .service files

I tried that both as root and a normal user. When i start wicd from the kde's start menu it starts loading and then it just stops, and i cannot see it loaded in the processes when i click ctrl-F1.
I have no idea what to try next, please help again!

brianL 02-11-2009 05:12 AM

Do this:
Code:

tar -xzvf wicd.tar.gz
Then move wicd-1.5.4.tar.gz into the resulting directory. Then:
Code:

cd wicd
su root
chmod +x wicd.SlackBuild
./wicd.SlackBuild

Then:
Code:

cd /tmp
installpkg wicd-1.5.4-i486-1_SBo.tgz

http://slackbuilds.org/howto/

Drakeo 02-14-2009 12:45 AM

thank you brianL for making that reply. do exactly like brianL said. you will be creating a package and the build scripts places it in the directory /tmp/ that is why you must cd change directories to /tmp run as root installpkg and the package will be the one you built wicd-1.5.4-i486-1_SBo.tgz.
Quote:

Or if running 12.2 just down load it and right click it open with system --> kpackage manager. OR cd to down loaded wicd-1.5.6-noarch-2 file and open a terminal cd to the folder and run installpkg wicd-1.5.6-noarch-2

stojadinovic 02-15-2009 06:35 AM

Thank you guys, it went well! Except that I had wicd-1.5.4-noarch_SBo.tgz instead of wicd-1.5.4-i486-1_SBo.tgz, but I hope it doesn't matter. Anyway, I managed to start the wicd, but - still no network connection. I set the parameters exactly like in Windows, and the network works in Windows. I tried to figure out what the problem is, and i started the KInfoCenter, and there I found this:

02:00.0 Ethernet controller: Attansic Technology Corp. Unknown device 1026 (rev b0)

Could it be that the Linux system didn't recognize my ethernet controller? This is the only unknown device in the info center, everything else seems ok.

brianL 02-15-2009 07:09 AM

I was just guessing the i486 part.

brianL 02-15-2009 07:47 AM

We might have been going about this all wrong. My laptop's an Asus F5RL, and to get an ethernet connection I needed an atl2 module. You need an atl1e. You'll want the source, google for it. Expand it, cd to the resulting directory, then run:
Code:

make
Then, as root:
Code:

cp atl1e.ko /lib/modules/`uname -r`/kernel/drivers/net/atl1e.ko
Then:
Code:

depmod -a
Then:
Code:

modprobe atl1e
Not sure if there are any more steps to take, my notes are a bit patchy. :)

brianL 02-15-2009 08:14 AM

Ignore previous post. I've just had a look at the LinuxDrivers/L1e_Lan/readme.


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