 |
08-23-2003, 04:35 PM
|
#1 (permalink)
| | Registered User
Join Date: Aug 2003
Posts: 6
| » 
After 2 days of endless pain, I would like to ask for your help....
I have been trying to get a Linksys USB100M Compact USB 10/100 Ethernet Adapter running under Mandrake 9.1 without any luck. I have found the following instruction on how to get it up and running, but since I am a total newbie in Linux, is it possible for someone to give me more detailed instructions on how to proceed.?
Any help will be greatly appreciated...
Thanks!
-----------------------------------------------------------------
The LinksysUSB100MLinux is a page describing the Linksys USB100M Compact USB 10/100 Ethernet Adapter, and running it under Linux. It does work under Linux properly. Using the RTL8150 module.
# modprobe rtl8150
In your kernel compile .config you will need to have:
CONFIG_USB_RTL8150=m
Also, RTL8150 is not in the standard 2.4.18 Linux Kernel. You will need to use a newer kernel or patch your kernel to get the RTL8150 module. I'm using 2.4.19-pre10. The RTL8150 module is included in 2.4.19
After you have inserted your module, you should be able to do an:
# ifconfig -a
and see an eth0 to dhcp an address
# dhclient eth0
The Linksys USB100M is not a Pegasus chip, so don't try to load that driver for this USB NIC.
|
| |
08-23-2003, 04:36 PM
|
#2 (permalink)
| | Registered User
Join Date: Aug 2003
Posts: 6
|
For example where should I look for :
CONFIG_USB_RTL8150=m ? Where it is located in Mandrake 9.1?
Thanks
|
| |
08-23-2003, 05:36 PM
|
#3 (permalink)
| | Registered User
Join Date: Oct 2001 Location: Sunny, smogy Southern California
Posts: 5,350
|
2 days of endless pain? thou has not yet suffered enough
------kidding....
If you are running that kernel and the device is connected and you have done
#modprobe rtl8150 (as root of course)
you should be able to configure the device easily using the network applet in the Mandrake Control Center
|
| |
08-23-2003, 07:04 PM
|
#4 (permalink)
| | Registered User
Join Date: Aug 2003
Posts: 6
|
Thanks for taking the time...
...but still no luck... Here is what I do:
1. As root in GNOME Terminal -----> modprobe rtl8150 ( Enter )
2. Notinh happens, just I get my root prompt again.
3. Mandrake Control Center
4. Internet and Network connections
5.DrakConnect
6.Wizard
7.Use auto detection
8Choose the connection you want to configure ----> ADSL Connection
9. use pppoe
10.I fill in account name and password and here is where the problems starts:
I get a list of network driver to choose from but unfortunately the rtl8150 is not there.
Any toughts?
|
| |
08-23-2003, 08:19 PM
|
#5 (permalink)
| | Registered User
Join Date: Oct 2001 Location: Sunny, smogy Southern California
Posts: 5,350
|
after you do the modprob do an lsmod and see if the module is running
then do an ifconfig and let us know what the results are
Linksys USB100M is simply an ethernet/USB interface, and I take it you are connected directly to an adsl modem running pppoe? it might be easier to configure if there were a router between the dsl modem and the Linksys USB100M -that is once we can verify it is working.
You might find it less frustrating however, to add a Linux compatible $10 PCI ethernet NIC to your box. Any NIC with a Realtek 8139 chip should work quite well. If you lived within driving distance I'd give you one.
BTW - On Caldera OpenLinux 1.3 back in 1998 it took me the better part of 3-weeks to get a sound card working. Back then I thought Linux should be bundled with Tylenol.
Last edited by CMonster; 08-23-2003 at 08:39 PM.
|
| |
08-23-2003, 08:53 PM
|
#6 (permalink)
| | Registered User
Join Date: Aug 2003
Posts: 6
|
OK. Here we go....
[root@localhost root]# modprobe rtl8150
[root@localhost root]# lsmod
Module Size Used by Not tainted
lp 6720 0 (unused)
parport_pc 21672 1
parport 23936 1 [lp parport_pc]
sg 31276 0 (autoclean) (unused)
st 26740 0 (autoclean) (unused)
sr_mod 15096 0 (autoclean) (unused)
sd_mod 11788 0 (autoclean) (unused)
scsi_mod 90372 4 (autoclean) [sg st sr_mod sd_mod]
ide-cd 28712 0 (autoclean)
cdrom 26848 0 (autoclean) [sr_mod ide-cd]
floppy 49340 0 (autoclean)
rtl8150 8180 0 (unused)
via82cxxx_audio 19036 0
uart401 6628 0 [via82cxxx_audio]
ac97_codec 9928 0 [via82cxxx_audio]
sound 55732 0 [via82cxxx_audio uart401]
soundcore 3780 0 [via82cxxx_audio sound]
ds 6828 1
yenta_socket 9728 1
pcmcia_core 42272 0 [ds yenta_socket]
af_packet 13000 0 (autoclean)
nls_iso8859-1 2844 2 (autoclean)
nls_cp850 3580 2 (autoclean)
vfat 9588 2 (autoclean)
fat 31864 0 (autoclean) [vfat]
supermount 14340 2 (autoclean)
usb-uhci 21676 0 (unused)
usbcore 58304 1 [rtl8150 usb-uhci]
rtc 6560 0 (autoclean)
ext3 74004 1
jbd 38452 1 [ext3]
[root@localhost root]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1088 errors:0 dropped:0 overruns:0 frame:0
TX packets:1088 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:88018 (85.9 Kb) TX bytes:88018 (85.9 Kb)
[root@localhost root]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:10:60:E7:2E:9B
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1104 errors:0 dropped:0 overruns:0 frame:0
TX packets:1104 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:89330 (87.2 Kb) TX bytes:89330 (87.2 Kb)
-------------------------------
How does it look?
Last edited by batkata; 08-24-2003 at 09:50 AM.
|
| |
08-23-2003, 08:55 PM
|
#7 (permalink)
| | Registered User
Join Date: Aug 2003
Posts: 6
|
Yes, you are correct. The Linksys USB Adaptor is connected to dsl modem running
pppoe.
The machine I am trying to install it, is a Compaq Presario notebook, so I guess I don't have much choice...
Last edited by batkata; 08-23-2003 at 08:59 PM.
|
| |
08-25-2003, 03:29 AM
|
#8 (permalink)
| | Registered User
Join Date: Oct 2001 Location: Sunny, smogy Southern California
Posts: 5,350
|
I'm better at doing this "hands-on" so don't blame me for any inacurate information here -okay?
Looks like the driver is working and Linux can see your ethernet device -that is good news. If you run the Mandrake Control Center/Hardware/HardDrake detection tool is the NIC listed? Using the DrakConnect "Wizard," is there an entry for eth0? Regardless, attempt to run through the connection setup for adsl entering in all the necessary information, and at the point where it asks for a driver (if it asks) try NE2000 (a generic driver) -it's a shot in the dark but may be acceptable enough for the utility to complete the task of generating your config scripts.
(if the Wizard completes okay)
it may ask to restart your network -don't dispare if it doesn't work (but it may) -you may also still have to manually modprobe the driver and possibly ifconfig up eth0 and ppp0 -AND- you will probably need your DNS IP addresses in the /etc/resolv.conf file as follows:
nameserver 123.123.123.123 (usually a good idea anyway)
Alternatives:
A cheap ethernet router between the adsl modem and the usb nic would make configuration of your Linux box easier since a LAN connection is a snap to setup compared to pppoe. You could configure the router to connect pppoe and authenticate with your ISP (this would also increase your security) and simply configure the ethernet connection as a LAN to the router using dhcp or by setting an IP address, default gateway, subnet mask, and DNS
I guess your notebook doesn't have a built in ethernet port but I imagine it does have PCMCIA slots -most PCMCIA ethernet adapters are supported in Linux and easy to configure, although not as cheap as some PCI NICs you could probably still find a good one for about $20 (be sure to check the hardware compatibility lists). So in case you get disgusted with your USB device you could probably get it working with relative ease using a PCMCIA ethernet card (not wireless - another can of worms)
Sorry the Drake tools aren't working the way they should with that USB interface. Best of luck,
George
Last edited by CMonster; 08-26-2003 at 02:42 PM.
|
| |
08-26-2003, 02:45 AM
|
#9 (permalink)
| | Registered User
Join Date: Oct 2001 Location: Sunny, smogy Southern California
Posts: 5,350
|
Did you alaready succumb to the pain and die? I feel for you.
I was thinking that after you boot into Linux, and before you modprob any driver you should do an lsmod -it may be that your driver is loaded automatically and you don't have to do the modprob after all.
|
| |
08-31-2003, 11:05 AM
|
#10 (permalink)
| | Registered User
Join Date: Aug 2003
Posts: 6
|
Thanks man......
I appreciate your help. I tryed reinstalling Mandrake but the nstall quit on me in the middle of the installation proces. So, I had to format my C: and reinstall Windows.
However, I have a desktop that is running Mandrake 9.1 without any problems....
Cheers!
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | Most Active Discussions  | | | | | Recent Discussions  | | | | | |