LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 10-29-2002, 04:10 PM   #1
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Rep: Reputation: 45
getting 10/100 usb network adapter to work


Hello there, if have just gotten cable internet. Now as you probably know the cable modem connetcs to the computer trough a network adapter or ethernet card. I don't have a ethernet card but there came a usb network adapter with the cable modem. Now I did some googling and I think usb network adapters are supported under linux. I just don't understand how to get them to work. Can any body help ?
The network I have is a sohoware NUB110 10/100 usb network adapter.

thanks in advance
 
Old 10-31-2002, 02:12 AM   #2
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Original Poster
Rep: Reputation: 45
Come on you people, can any one help me. I found out the pegasus driver suports this network adapter. So I did

insmod pegasus

which worked fine. But what next ?
 
Old 10-31-2002, 05:14 AM   #3
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
You should edit the file /etc/modules (as root) and simply add a new line to the end with pegasus on it... nothing else, just that line. If you want, reboot, if not, then type modprobe pegasus and you should be up and running.
 
Old 10-31-2002, 07:37 AM   #4
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Or just go and buy a 10/100 pci ethernet card.
 
Old 10-31-2002, 10:01 AM   #5
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Original Poster
Rep: Reputation: 45
Yes you are right Aussie, why bother with a usb adapter. It's not worth time and the headache. The money spend on a ethernet card is problebly realy worth it.
Thanks people.
 
Old 11-01-2002, 06:29 PM   #6
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
A PCI NIC is also cheaper. Don't forget to check for device compatibly of your selected NIC.

USB 10/100 NIC only outputs about three-quarters of a megabyte (~750 Kilobytes/sec) on an average. If LInux is able to handle USB version 2 cards or if your motherboard supports it then maybe try to set it up.
 
Old 11-02-2002, 07:54 AM   #7
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Original Poster
Rep: Reputation: 45
He there you guies (am I writing that rigjht ?). Guess what, I got the usb adapter to work ! :-) But I'm not out of trouble yet. Here is the situation ( I think)
When the driver for the adapter is inserted, a divice apears, "eth0". I'm getting all my network info via DHCP. At boot-up my computer tries to connect to the DHCP server, only the device driver isn't inserted at that time. So I get something like :

eth0 is not available at the moment ....... faild

So I don't have connection when my machine has booted. What sould I do about this. Any thoughts at all ?

Bey

P.S. I thought about giving up and beying a ethernet card. But I desided to give the usb adapter one last try

Last edited by qanopus; 11-02-2002 at 07:56 AM.
 
Old 11-02-2002, 04:20 PM   #8
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Original Poster
Rep: Reputation: 45
by the way, I did configure my /etc/modules.conf file, so the driver should be inserted at boot time
 
Old 11-02-2002, 10:05 PM   #9
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
A cable modem can also be connected to a router so more users can access the internet. Any web based router should do (Linksys, D-Link, Netgear, etc). Make sure you enable DHCP in the router if you don't feel like putting IP addresses on all your thousands of computers. Also DHCP makes it easy for novice users to add computers to their network. Routers does all the fun work that you are trying to do.

--> http://www.blackbox.com/
 
Old 11-03-2002, 04:44 AM   #10
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Original Poster
Rep: Reputation: 45
Thanks for your relpy electro, only I don't have a network, I just have single computer at home. Is it posible (or nessery) to install the router and the client on the same PC ?
What my problem basicly is, is that my computer can't connect to the DHCP server simply because at that stage in boot up, eth0 simply isn't there yet. To connet to the internet any way, I run YAST (SuSE setup tool) after the computer has booted. This isn't very practical.
 
Old 11-03-2002, 05:56 AM   #11
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Try adding '/sbin/modprobe pegasus' to the same script that loads all your other modules at boot, what you need to do is load the pegasus module before your dhcp client starts.
 
Old 11-04-2002, 03:23 PM   #12
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Routers can be hooked directly to a computer's NIC or can be hooked up to Bridges or Hubs. If you don't feel like installing firewall on your Linux box then you may want to get a router. A router makes it easier to expand your network without setting any more software up on the clients other than the network protcols.

Do what Aussie said. Remember that your USB NIC will not be as fast as internal NICs. USB version 1 will output and input about 6 megabits. USB version 2 will output and input 200 to 240 megabits. I hope you have a motherboard or an expansion card that has USB version 2 to take advantage of your USB NIC.
 
Old 11-04-2002, 05:38 PM   #13
Ich_hoffe
Member
 
Registered: Jun 2002
Posts: 68

Rep: Reputation: 15
Electro

A cable modem can also be connected to a router so more users can access the internet. Any web based router should do (Linksys, D-Link, Netgear, etc).
Also DHCP makes it easy for novice users to add computers to their network. Routers does all the fun work that you are trying to do.
Remember that your USB NIC will not be as fast as internal NICs. USB version 1 will output and input about 6 megabits. USB version 2 will output and input 200 to 240 megabits. I hope you have a motherboard or an expansion card that has USB version 2 to take advantage of your USB NIC.

Hi Electro your saying
USB version 2 will output and input 200 to 240 megabits. I hope you have a motherboard or an expansion card that has USB version 2 to take advantage of your USB NIC.
Which motherboard will support,does epox 8kta3-mainboard will support USB ver.2.0?

Ich_hoffe
 
Old 11-04-2002, 06:04 PM   #14
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Ich_hoffe, if you check either your manual or on-line it doesn't.

For EPOX motherboards (socket A) /w USB 2.0:
EP-8RGA+
EP-8RDA+
EP-8K5A2
EP-8K5A2+
EP-8K5A3+
EP-8K5A2+B1
EP-8K5A2+B2
EP-8K9A2+
EP-8K9A3+
EP-8K9AI
EP-8K9A

Please search through the motherboard companies (ASUS, Gigabyte, Soyo, Tyan, FIC, DFI, Supermicro, etc).
 
Old 11-06-2002, 05:11 AM   #15
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Original Poster
Rep: Reputation: 45
He you guys. Sorry for asking a stupid question but, what is a NIC ? Is that something that i call an adapter ?
So if get it right, I can better install a internal card because of seed issus. Is that right?
I asked a friend about the problem that I had trying to connect to my HDCP.
First of, I found out I can connect to the DHCP server with the "dhcpcd" command. So I don't have to run YAST no more.
Second, my friend told me that I could make a ramdisk image with "mkinitrd". This would make a ramdisk image that I can load when my machine boots up. Giffing a command like
"mkinitrd --with pegasus new_image" will make a ram disk image that will load the pegasus driver all the way at begining of the boot proses. I use lilo to boot my machine so I would have to edit my lilo.conf and add a line "image=new_image".
I tried editing my boot.local script by adding a line "/sbin/modprobe pegasus" but I still get the same faild message.
I have'nt tried my friends sugestion yet. What do you people think of my friends advice ?

Last edited by qanopus; 11-06-2002 at 05:17 AM.
 
  


Reply



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
Will any Network Adapter work? fakie_flip Linux - Networking 2 09-01-2005 02:49 PM
Why do I have to unplug my USB adapter to get it to work? JakeMH Linux - Wireless Networking 2 05-17-2005 04:25 PM
Microsoft 10/100 Ethernet USB adapter help ttuPirate Mandriva 0 02-13-2004 01:59 AM
internet connection with Accton USB 10/100 Series Adapter? mymojo Linux - Newbie 0 11-14-2003 06:22 PM
Linksys Etherfast USB 10/100 Network Adapter Linux_n00b_d00d Linux - Networking 3 01-07-2003 10:32 PM

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

All times are GMT -5. The time now is 12:18 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
Open Source Consulting | Domain Registration