Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have managed to install Slackware 12.2 on my sever after considerable trouble. Now I am stuck with trying to Setup my USB Ethernet/Lan Adaptor. I connected it to Windows Server 2003 and installed the drivers and it worked fine.
Now I have connected it to my Linux Slackware Server and am unable to pick it up. My guess is I have to install the Drivers.
Now my problem is how do I do that in Slackware 12.2, I have plugged in the USB LAN Adaptor connected my LAN/CAT5 cable and now am stuck in trying to install drivers and get the USB LAN Adaptor recognized by the server.
I need urgent help and I haven't been able to find anything in the forums.
oh and I am very new to Linux and Slackware.
Hi guys, no responses yet, oh well, after some reading I came across the command called lsusb, I believe it is suppose to list all USB Devices connected to the server.
I typed the command in and the list I got showed that is has detected my USB LAN Adaptor but why isnt it showing up in the network settings area, when I start the KDE GUI and try configure it from there?
well lsusb will retrieve device strings from a usb device. a phrase in there like "Network Adapter" means nothing, it's just a text string stored on the device. You'll need to load a driver for it, and as you've not told us what the kit is, or the lsusb entry, we can't comment on what driver that should be.
The Adaptor to which I have just says on its Box/Wrapper to which it came in USB LAN. It does not give any other information about Model or whether its a DLink or nvidia etc.
I have CD of drivers to which I tested the USB LAN Adaptor on a windows and when I plugged in the device the add hardware wizard appeared, I search the CD for drivers and it found one, and I installed it and it work. Now when I plugged the USB LAN device to my Linux PC no such hardware detected wizard appeared, but it has folders there for drivers for Linux Operating Systems.
Now in the CD there a couple of driver folders but only these two folders "RTL8150L" & "ST268" have a Linux folder in them plus other folders depicting a Windows OS.
RTL8150L folder -> Linux Folder -> inside that linux folder there are these files _desktop.ini , GUIDE.TXT , RTL8150.C
The file GUIDE.TXT has these contents
The procedure to activate rtl8150 on linux is as follows:
A SHANTOU ST268 USB Fast Ethernet driver for Linux.
Copyright (C) 1997 Sten Wang
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
A. Compiler command:
A-1: For normal single processor kernel
"gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/include -Wall
-Wstrict-prototypes -O6 -c ST268.c"
A-2: For single processor and set version info on all module symbol
"gcc -DMODULE -DMODVERSIONS -D__KERNEL__ -I/usr/src/linux/include
-Wall -Wstrict-prototypes -O6 -c ST268.c"
A-3: For multiple processors(SMP) and set ver. info. on all module symbol
"gcc -D__SMP__ -DMODULE -DMODVERSIONS -D__KERNEL__ -I/usr/src/linux
/include -Wall -Wstrict-prototypes -O6 -c ST268.c"
Note: O of -O6 is a capital "o", not a "0".
B. How to compile driver
B-1: Login by supervisor
B-2: Copy ST268.c and Makefile into your HD. You can make a new directoty
B-3: Keep driver source file name as "ST268.c" and makefile name as
B-4: You can type the following command to compile driver. Please according
to your system to pick one.
make org ;;Without SMP support
make mod ;;Set version info on all module symbol
make smp ;;symmetric multi-processing(SMP) support
make smp_mod ;;SMP & Set version info on module
Or you can type above compiler command to compile driver.
Note: Please check you must have the right kernel source on
C. The following steps teach you how to activate NIC:
C-1: A simple and temporary method
1. Used the upper compiler command to compile ST268.c
2. Insert ST268 module into kernel
"insmod ST268.o" ;;Auto Detection Mode (Suggest)
"insmod ST268.o mode=0" ;;Force 10M Half Duplex
"insmod ST268.o mode=1" ;;Force 100M Half Duplex
"insmod ST268.o mode=4" ;;Force 10M Full Duplex
"insmod ST268.o mode=5" ;;Force 100M Full Duplex
NOTE: You can type "man insmod" to see more description.
3. Config a ST268 network interface
"ifconfig eth0 172.22.3.18"
^^^^^^^^^^^ Your IP address
NOTE: 1. You can type "man ifconfig" to see more description.
2. If eth0 has been used, you should use eth1 instead.
4. Activate the IP routing table. For some distributions, it is not
necessary. You can type "route" to check.
"route add default netmask 255.255.255.0 eth0"
NOTE: 1. You can type "man route" to see more description.
2. If eth0 has been used, you should use eth1 instead.
5. Well done. Your ST268 adapter actived now.
Note. This is a temporary method. After you reboot the system, you
will lost the setting.
C-2: For Redhat, You can use the following to Activate NIC
1. login your system used the superuser.
2. copy ST268.o into /lib/modules/2.4.x/kernel/drivers/net/
3. add the new line with "alias eth0 ST268" in "/etc/module.conf".
4. execute "netconfig -d eth0".
5. Fill your IP address, netmask and gateway
6. press <ok> to confirm and exit this setting
Note. If eth0 has been used, you should use eth1 instead.
OK now based on these above information can anyone be able to help me, I think what I need to do is compile one of these *.c files. But since I now where close to Linux Guru and this is my first time in Linux, I get all kind of errors and just trying to install Linux was so much a problem for me. But am willing to learn, if your willing to teach.
guess what I changed the USB Ethernet Adaptor to a Belkin USB 10/100 Ethernet Adaptor and it picked up, was able to configure my IP address and tested it by pinging other PCs on the LAN.
A note maybe some can confirm I believe the more update Linux Kernel 2.6 has had improvements to it, like USB features, I have found a lot of treads on USB Wireless Devices but for the sake of those with a USB Etherent LAN Device, the kernel should be able to it up, as it comes with pre-installed drivers for the USB Ethernet Devices.
And I guess it would be wise to stick with Brands that are common and those that are Linux friendly.
Thanks, but I still dont know how to compile a program to install..
I dont know, actually have know idea at all, but charging from what I went through, it is better if your using such devices, to use the latest Linux kernel as this may really help with setup and installation.
Thanks, now I have to go complete my other posts on Slackware Setup to which I stumble across answers..