You are not logged in.

#1 2006-10-15 10:20:16

sacarde
Member
Registered: 2006-07-14
Posts: 389

detection usb port on modem/router

helo,
   I have an "aethra starmodem" with ethernet and usb ports, now I used only ethernet port (eth0) with arch...

then I try simplymepis, and then reboot......

I found eth0 on ethernet and eth1 on usb....

and all they work OK, alternatively ....!!!!!!!!!!!!


I say... I want they work Ok on Arch too .... 

in simplymepis dmesg I have :

...
usbcore: registered new driver cdc_ether
eth1: register 'rndis_host' at usb-0000:00:10.0-2, RNDIS device, 00:e0:a6:66:41:
e1
usbcore: registered new driver rndis_host
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 pr
oto 2 vid 0x043D pid 0x009F
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
...
...

what can I do to start at boot eth1 too on Arch ?


thank you in advance
(sorry for my english)

Offline

#2 2006-10-15 17:11:54

sacarde
Member
Registered: 2006-07-14
Posts: 389

Re: detection usb port on modem/router

in rc.conf I insert
to load module:  rndis_host

and

eth1="192.168.1.10 netmask 255.255.255.0"

but whe systrem start network service I have error:

eth1 device not found


????

Offline

#3 2006-10-15 19:44:27

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: detection usb port on modem/router

The module is cdc_ether, not rndis_host.

Offline

#4 2006-10-15 19:51:37

sacarde
Member
Registered: 2006-07-14
Posts: 389

Re: detection usb port on modem/router

I load module

cdc_ether

and I restart /etc/rc.d/network restart

error is


SIOCSIFNETMASK: No such device
SIOCSIFBRDADDR: No such device
192.168.1.10: unknown interface: No such device
192.168.1.10: unknown interface: No such device

Offline

#5 2006-10-16 05:33:38

gradgrind
Member
From: Germany
Registered: 2005-10-06
Posts: 921

Re: detection usb port on modem/router

Do you need to load module 'usbnet'. I needed that for a router/modem once.

Offline

#6 2006-10-16 16:18:21

sacarde
Member
Registered: 2006-07-14
Posts: 389

Re: detection usb port on modem/router

I run:

[root@underground ~]# modprobe cdc_ether
[root@underground ~]# modprobe usbnet
[root@underground ~]# /etc/rc.d/network restart
:: Stopping Network                                                      [BUSY] SIOCSIFNETMASK: No such device
SIOCSIFBRDADDR: No such device
192.168.1.10: unknown interface: No such device
192.168.1.10: unknown interface: No such device

Offline

#7 2006-10-17 19:41:57

sacarde
Member
Registered: 2006-07-14
Posts: 389

Re: detection usb port on modem/router

is simplemepis better than arch in hardware detection ?


?????

Offline

#8 2006-10-19 15:32:17

sacarde
Member
Registered: 2006-07-14
Posts: 389

Re: detection usb port on modem/router

who can help me ?

Offline

#9 2006-10-21 10:55:06

sacarde
Member
Registered: 2006-07-14
Posts: 389

Re: detection usb port on modem/router

in lshwd I found

001:004 USB Communications: TI RNDIS Network Adapter (unknown)

and

lsmod | grep rndis

rndis_host              5504  0
cdc_ether               5376  1 rndis_host
usbnet                 12808  2 rndis_host,cdc_ether
usbcore               104196  9 ohci_hcd,usbserial,usblp,ehci_hcd,uhci_hcd,rndis_host,cdc_ether,usbnet

Offline

#10 2006-10-21 11:42:08

sacarde
Member
Registered: 2006-07-14
Posts: 389

Re: detection usb port on modem/router

but I have to modify udev rules ?

# USB devices
KERNEL=="hiddev*", NAME="usb/%k"
KERNEL=="auer*", NAME="usb/%k"
KERNEL=="legousbtower*", NAME="usb/%k", MODE="0666"
KERNEL=="dabusb*", NAME="usb/%k"
SUBSYSTEMS=="usb", KERNEL=="lp[0-9]*", NAME="usb/%k", GROUP="lp"
SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ATTRS{product}=="Palm Handheld*", SYMLINK+
="pilot"
SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ATTRS{product}=="palmOne Handheld*", SYMLI
NK+="pilot"
SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ATTRS{product}=="Handspring Visor*", SYMLI
NK+="pilot"
...
...
# usb devices
SUBSYSTEMS=="usb", IMPORT{program}="usb_id -x"
SUBSYSTEMS=="usb", ATTRS{bInterfaceClass}=="03", ATTRS{bInterfaceProtocol}=="01"
, ENV{ID_CLASS}="kbd"
SUBSYSTEMS=="usb", ATTRS{bInterfaceClass}=="03", ATTRS{bInterfaceProtocol}=="02"
, ENV{ID_CLASS}="mouse"
..

Offline

#11 2006-10-21 19:56:01

sacarde
Member
Registered: 2006-07-14
Posts: 389

Re: detection usb port on modem/router

and pppoa ?

can it create device eth1 ?

Offline

#12 2006-10-22 11:18:31

sacarde
Member
Registered: 2006-07-14
Posts: 389

Re: detection usb port on modem/router

or may be:

ndiswrapper ?

Offline

#13 2006-10-28 08:27:16

sacarde
Member
Registered: 2006-07-14
Posts: 389

Re: detection usb port on modem/router

helo....

I know my modem/router is a chip conexant and not chip globespan

then I know that eciadsl is not for me but are OK conexant driver:

usbnet
+
cxacru

but still never works OK ....

but casually I run:

eciadsl-start

and stop it ....

in dmesg I read

eth1: register 'rndis_host' at usb-0000:00:10.0-2, RNDIS device, 00:e0:a6:66:41:e1

biiiiingoooooooo


how can I retrieve comand in script eciadsl that active device eth1 ?


thankyou

Offline

#14 2006-11-01 20:37:10

sacarde
Member
Registered: 2006-07-14
Posts: 389

Re: detection usb port on modem/router

how can I debug eciadsl-start script to discover witch command enable eth1 device ?

Offline

Board footer

Powered by FluxBB