SliTaz SliTaz Forum

You are not logged in.

#1 2011-05-05 12:53:31

Guest
Guest

usb modem

i have an old laptop - NEC versa aptitude PIII (850MHz) with 128 MB ram and 10 GB HDD

i used tazusb(on windows) to make a live usb with the loram flavor which works really well

the laptop doesn't have a working ethernet port but luckily my adsl modem has a usb port

the driver cd for the modem contains two options, rpm or source

i used the rpm -i command and made a conf folder and a binary file in /

i used insmod './VKGEther' but it returned

insmod: cannot insert './VKGEther': Cannot allocate memory

i looked up the hardinfo and said that it was an unknown usb 1.1 device

ive uploaded the boot log

the drivers:

http://hotfile.com/dl/116841459/cd400b4/USB_RPM.rar.html

http://hotfile.com/dl/116841623/67f3324/Linux_USB_Driver_-_Source.rar.html

the worst part is that i can't reboot. the filesystem doesn't get saved to the flashdrive even though i use home=usb when i shut down (selecting save filesystem)it says that it cannot execvp tazusb because it does not exist

#2 2011-05-06 14:22:37

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: usb modem

Open xterm.

1. Verify computer hardware recognize USB ethernet in modem.

Connect the modem to computer USB port

Post output from command:

lsusb

If no lsusb command then:

Install libusb.tazpkg libusb-compat.tazpkg and usbutils.tazpkg

2.Identify linux kernel version:

Post output from command:

uname -a

Offline

#3 2011-05-09 06:36:37

Guest
Guest

Re: usb modem

i have kernel version 2.6.30.6 but the lsusb command doesn't work even after i install the necessary packages insted it says

root@slitaz:~# lsusb

lsusb: /usr/lib/libz.so.1: no version information available (required by lsusb)

lsusb: relocation error: lsusb: symbol gzopen64, version ZLIB_1.2.3.3 not defined in file libz.so.1 with link time reference

#4 2011-05-09 13:20:29

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: usb modem

Which route did you originally take? Did you go and download libusb, libusb-compat and usbutils and install their packages manually with tazpkg install command or did you download them all using tazpkg get-install while online?

I ask because it seems you're missing the zlib package.

Offline

#5 2011-05-09 16:31:54

Guest
Guest

Re: usb modem

i manually installed them

#6 2011-05-09 16:48:37

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: usb modem

It looks like lsusb is missing zlib. The strange thing is that zlib and libusb should have come with SliTaz, meaning that you only really needed the usbutils package to get access to the command. But it can't be helped. Try downloading the zlib package like you did the others and try installing it, maybe even using something like tazpkg install zlib-version-number.tazpkg --forced to do it.

Offline

#7 2011-05-09 17:30:08

Guest
Guest

Re: usb modem

i made a liveusb with a 1GB flashdrive (same loram iso but without home=usb) and didnt need to install zlib

it returned

root@slitaz:~# lsusb

Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 001 Device 002: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive

Bus 001 Device 003: ID 0915:0005 GlobeSpan, Inc. LAN Modem

#8 2011-05-09 17:32:54

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: usb modem

home=usb appears to be broken

Use home=/dev/sdXX instead, determine correct XX with fdisk -l or GParted

My Toshiba PCX2500 cable modem has a usb port.

No downloads were necessary for setup,tested on slitaz-3.0 and cooking core.

Modem connected to computer and powered up.

Open xterm,su,password is root.

#modprobe rndis_host

dmesg output:

usbcore: registered new interface driver cdc_ether

eth0: register 'rndis_host' at usb-0000:00:1a.1-1, RNDIS device, 00:00:39:2e:2b:51

usbcore: registered new interface driver rndis_host

udev: renamed network interface eth0 to eth1

If udev names the network interface eth0 skip to Stop/Start Network.

#leafpad /etc/network.conf

Change

INTERFACE="eth0" to INTERFACE="eth1"

Save/Quit

Stop/Start network

#/etc/init.d/network.sh stop

#/etc/init.d/network.sh start

Network is up and working.

To automate and make persistent:

#leafpad /etc/rcS.conf

Add rndis_host to LOAD_MODULES=

Save/Quit

Xterm:

#tazusb writefs gzip

Offline

#9 2011-05-10 13:00:50

fateminasab
Member
Registered: 2011-05-09
Posts: 1

Re: usb modem

Thanks a lot mojo, i had the same problem and your post solved it.

Offline

#10 2011-05-10 16:57:12

Guest
Guest

Re: usb modem

i tried modprobe but i didnt get any message

i do know that my modem is a cdc_ether device

i did a modprobe cdc_ether but still nothing

thanks for trying anyway

#11 2011-05-10 18:22:54

Guest
Guest

Re: usb modem

i tried again and dmesg says

usbcore: registered new interface driver cdc_ether

usbcore: registered new interface driver rndis_host

system info says that there is an unknown usb 1.10 class 2 devidce attached to the second port

#12 2011-05-10 19:41:10

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: usb modem

@bittuthegr8 : do you have to logon with a username/password given to you by your dsl provider to connect to the internet with this modem (PPPOE)?

Googled the lsusb info found this: http://eciadsl.flashtux.org/

Offline

#13 2011-05-10 19:56:26

Guest
Guest

Re: usb modem

i don't have to login

even with #modprobe rndis_host the modem dosen't get registered

the modem works fine on xp but required me to install the drivers manually

some time ago i downloaded browserlinux (based on puppy linux) which had an option to open the windows driver inf file and try to get the device to work

it still didnt work

later i will login to the modem interface from another computer and check the status of the usb port

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.023 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]