You are not logged in.

#1 2012-12-03 14:53:01

prism
Member
Registered: 2012-12-03
Posts: 5

Usb lan is not connecting..

hi , i m new in arch .... i have an ADSL modem . i connect my laptop using usb port ...but after installing arch , network is not working , here is the lsusb output of my modem : Bus 003 Device 008: ID 12a7:3160 Trendchip Technologies Corp.  Now how can i connect ?

Offline

#2 2012-12-03 15:34:48

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 14,797
Website

Re: Usb lan is not connecting..

What have you attempted?  Arch does not manage networks (nor much of anything else) automatically.  You either have to put the interface up, connect, and run dhcpcd (or an alternative) yourself, or you have to install, configure, and start up one of the many tools that will do all this for you.

There are several wiki pages about each of these options.


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

#3 2012-12-03 15:52:20

x33a
Forum Moderator
Registered: 2009-08-15
Posts: 3,548
Website

Re: Usb lan is not connecting..

you'll also need a driver for the usb lan to work. I don't know if the required module is included in the kernel though.

You'll need to mention the modem model. You can see if the driver required is listed below (trendchip was acquired by ralink):

http://www.ralinktech.com/en/04_support … php?sn=501

Last edited by x33a (2012-12-03 16:10:23)

Online

#4 2012-12-05 02:16:56

prism
Member
Registered: 2012-12-03
Posts: 5

Re: Usb lan is not connecting..

x33a wrote:

you'll also need a driver for the usb lan to work. I don't know if the required module is included in the kernel though.

You'll need to mention the modem model. You can see if the driver required is listed below (trendchip was acquired by ralink):

http://www.ralinktech.com/en/04_support … php?sn=501

Model : SmartAX MT882a

Offline

#5 2012-12-05 02:20:28

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 13,825

Re: Usb lan is not connecting..

Lets try this.  What is the output of ip link  ?? That should tell us right away if the driver is being found and if the kernel sees your device.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
You assume people are rational and influenced by evidence.  You must not work with the public much. -- Trilby
----
How to Ask Questions the Smart Way

Offline

#6 2012-12-05 04:28:52

x33a
Forum Moderator
Registered: 2009-08-15
Posts: 3,548
Website

Re: Usb lan is not connecting..

You should have received a cd with the drivers on them. If not i found a link:

https://www.box.com/s/lf142u08jxcv6gov9b7i

compile and load the linux driver.

Read the instructions here:

http://www.huaweidevice.com/tcpsdownloa … D=NDAxNjM=

Online

#7 2012-12-10 02:50:37

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: Usb lan is not connecting..

prism wrote:

hi , i m new in arch .... i have an ADSL modem . i connect my laptop using usb port ...but after installing arch , network is not working , here is the lsusb output of my modem : Bus 003 Device 008: ID 12a7:3160 Trendchip Technologies Corp.  Now how can i connect ?

Okay, I do ethernet networking over a USB port from my N900 to my Arch computers.

First, have you ever done this with this modem before from any OS?

The port on the modem will need to Not be in "Host Mode"

Or you will need a special USB null modem cable AKA, "usb transfer cable" like this...
http://www.newegg.com/Product/Product.a … 6812200198

It is very likely that the Modem's usb port is Not in "Host Mode" if it is a USB-B port, so you would not need a USB null modem cable.

Then I don't know the iproute2 commands, However if you install the net-tools package for the ifconfig command.

Then you just plug in the Arch Computer to the Modem with the USB cable and run these  commands

ifconfig usb0 up
dhcpcd usb0

Or to set a static IP something like this

ifconfig usb0 192.168.1.100 netmask 255.255.255.0 up
route add default gw 192.168.1.1
echo 'nameserver 8.8.8.8' > /etc/resolv.conf

OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

Board footer

Powered by FluxBB