LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-07-2004, 06:47 AM   #1
polopolo
LQ Newbie
 
Registered: Feb 2004
Posts: 18

Rep: Reputation: 0
Question Linux is hell!!! cant make cable connection! HELP!!


Hi guys!

I just installed red hat 8.0 version on my laptop but i am a bit confused as i was a windows user and was used that the computer recognize automatically the new software. With linux this do not happen at least is not visible.

Anyway, I have a cable connection and i try to make a new Ethernet connection (as it do not have a possibility in the wizard to make a cable connection). I have a usb microsoft ethernet adapter to which i connect the cable RJ45 that comes from a switch and router D-Link 710.

<motorola usb surfboard cable modem> -- <router Dlink-701> -- <swithch sufcom> -- <microsoft mn-110 usb adapter> -- <laptop>


The system hardware utility tells me that he found the adapter in the System section but I simply cant make the connection as in the install new ethernet connection wizard this usb adapter dont show up in the list.

All this is very confusing to a new peson in linux.

How can i connect to the internet with linux in my laptop??
thanks
Polo
 
Old 04-07-2004, 08:28 AM   #2
amber66
LQ Newbie
 
Registered: Apr 2004
Location: Italy
Distribution: Debian
Posts: 6

Rep: Reputation: 0
Well if you have an ETH port other than that adatper I would use that and forget about the usb device.
I you have no other eth port you have to install the appropriate driver for the device. But I doubt tha a microsoft device will have Linux drivers to download...

You can try to find out if the kernel you use supports the USB to ETH adapter you use.
Look at the system tracings
dmsg|grep -i usb
to start.

Last edited by amber66; 04-07-2004 at 08:30 AM.
 
Old 04-07-2004, 11:28 AM   #3
polopolo
LQ Newbie
 
Registered: Feb 2004
Posts: 18

Original Poster
Rep: Reputation: 0
I found a patch for Microsoft MN110 adapter that is:

Is this correct and how i install this in linux??


[PATCH] USB: pegasus driver update

This is a patch for pegasus driver. Nothing exciting, just 2 more devices
and a small fix.

correct handling of external PHYs;
better output to ethtool and suchlike;
two new vendors. one of them Microsoft


drivers/usb/pegasus.c | 5 +++--
drivers/usb/pegasus.h | 8 +++++++-
2 files changed, 10 insertions(+), 3 deletions(-)


diff -Nru a/drivers/usb/pegasus.c b/drivers/usb/pegasus.c
--- a/drivers/usb/pegasus.c Fri Dec 12 15:07:50 2003
+++ b/drivers/usb/pegasus.c Fri Dec 12 15:07:50 2003
@@ -54,7 +54,7 @@
BMSR_100FULL | BMSR_ANEGCAPABLE)

static int loopback = 0;
-static int mii_mode = 1;
+static int mii_mode = 0;
static int multicast_filter_limit = 32;

static struct usb_eth_dev usb_dev_id[] = {
@@ -486,7 +486,7 @@
if (linkpart & (ADVERTISE_100FULL | ADVERTISE_100HALF))
data[1] |= 0x10; /* set 100 Mbps */
if (mii_mode)
- data[1] = 0;
+ data[1] |= 1;
data[2] = (loopback & 1) ? 0x09 : 0x01;
memcpy(pegasus->eth_regs, data, sizeof(data));
set_registers(pegasus, EthCtrl0, 3, data);
@@ -900,6 +900,7 @@
info.cmd = ETHTOOL_GDRVINFO;
strncpy(info.driver, driver_name,
sizeof (info.driver) - 1);
+ strncpy(info.driver, DRIVER_DESC, ETHTOOL_BUSINFO_LEN);
strncpy(info.version, DRIVER_VERSION,
sizeof (info.version) - 1);
usb_make_path(pegasus->usb, info.bus_info,
diff -Nru a/drivers/usb/pegasus.h b/drivers/usb/pegasus.h
--- a/drivers/usb/pegasus.h Fri Dec 12 15:07:50 2003
+++ b/drivers/usb/pegasus.h Fri Dec 12 15:07:50 2003
@@ -133,8 +133,10 @@
#define VENDOR_LANEED 0x056e
#define VENDOR_LINKSYS 0x066b
#define VENDOR_MELCO 0x0411
+#define VENDOR_MICROSOFT 0x045e
#define VENDOR_MOBILITY 0x1342
#define VENDOR_NETGEAR 0x0846
+#define VENDOR_OCT 0x0b39
#define VENDOR_SMARTBRIDGES 0x08d1
#define VENDOR_SMC 0x0707
#define VENDOR_SOHOWARE 0x15e8
@@ -170,7 +172,7 @@
DEFAULT_GPIO_RESET | PEGASUS_II )
PEGASUS_DEV( "ADMtek ADM8511 \"Pegasus II\" USB Ethernet",
VENDOR_ADMTEK, 0x8511,
- DEFAULT_GPIO_RESET | PEGASUS_II )
+ DEFAULT_GPIO_RESET | PEGASUS_II | HAS_HOME_PNA )
PEGASUS_DEV( "ADMtek ADM8513 \"Pegasus II\" USB Ethernet",
VENDOR_ADMTEK, 0x8513,
DEFAULT_GPIO_RESET | PEGASUS_II )
@@ -255,7 +257,11 @@
DEFAULT_GPIO_RESET )
PEGASUS_DEV( "MELCO/BUFFALO LUA2-TX", VENDOR_MELCO, 0x0009,
DEFAULT_GPIO_RESET | PEGASUS_II )
+PEGASUS_DEV( "Microsoft MN-110", VENDOR_MICROSOFT, 0x007a,
+ DEFAULT_GPIO_RESET | PEGASUS_II )
PEGASUS_DEV( "NETGEAR FA101", VENDOR_NETGEAR, 0x1020,
+ DEFAULT_GPIO_RESET | PEGASUS_II )
+PEGASUS_DEV( "OCT Inc.", VENDOR_OCT, 0x0109,
DEFAULT_GPIO_RESET | PEGASUS_II )
PEGASUS_DEV( "smartNIC 2 PnP Adapter", VENDOR_SMARTBRIDGES, 0x0003,
DEFAULT_GPIO_RESET | PEGASUS_II )
 
Old 04-07-2004, 01:19 PM   #4
zegos
LQ Newbie
 
Registered: Apr 2004
Location: Michigan
Distribution: Mandrake, Red Hat
Posts: 18

Rep: Reputation: 0
Linuxconf

You should be able to run LinuxConf to graphicallly (from the shell, not x) to setup your ethernet interface. To setup your IP, subnet mask, gateway, DNS, and etc...

You can also view your ethernet config by using ifconfig.

Setting up Network in linux is really easier than it may sound. Red Hat should have auto detected your ethernet device.

If LinuxConf isn't installed, then read the man pages on ifconfig.

Cheers, Zegos!
 
  


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
Slow Cable connection in linux but not windows?! Guitarist88 Linux - Networking 1 08-19-2004 01:19 AM
direct connection to Linux through a serial cable 0perat0r Linux - Newbie 5 08-03-2004 02:04 PM
Need to connect Linux PC on a Mac Airport/cable connection tigerflag Linux - Networking 6 08-23-2002 12:18 PM
Linux Driver for COM21 Doxport Cable Modem with USB Connection deray Linux - Hardware 2 06-17-2002 03:52 PM
How to set up Linux with a cable connection? justin19fl Linux - Newbie 18 08-15-2001 08:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:15 AM.

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