VectorLinux
July 23, 2014, 11:54:25 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Troubles with eciadsl drivers  (Read 2890 times)
desmogiallo
Member
*
Posts: 15


« on: May 08, 2007, 08:02:17 am »

Hi.
I installed the new Vector distro and it works fine. The problem is I tried to use the eciadsl driver for usb modems (my modem is fully supported) and it didn't work. I saw that the 2.6.18.x kernel wasn't fully supported and there was a patched version of the driver. I tried it, but the modem can't synchronize...
Here's what I get with the eciadsl-doctor tool and when I try to connect
Quote
root:# eciadsl-doctor

You are using linux kernel version 2.6.18.5




Support for USB is OK

Preliminary USB device filesystem is OK

dabusb module is not loaded: OK

UHCI support is OK
OHCI support is OK
/dev/ppp is OK

HDLC support is missing... trying to load
FATAL: Module n_hdlc not found.

HDLC support: failed to load

You should check your kernel config with: cd /usr/src/linux ; make
menuconfig and look under Character devices for

Non-standard serial
port support and HDLC line discipline support










root:# eciadsl-start



[EciAdsl 1/5] Setting up USB support...



Preliminary USB device filesystem is OK

Loading UHCI support... Warning: uhci-hcd module doesn't exist

Warning: n_hdlc

support not found in kernel config



[EciAdsl 2/5] Uploading firmware...


Process skipped .. no more needed

firmware loaded successfully



[EciAdsl 3/5] Synchronization...



ERROR can't set configuration 1

ERROR eciadsl-synch: failed

Synchronization successful


Mounting devpts filsystem...

mount: devpts already mounted or /dev/pts busy
failed to mount



[EciAdsl 4/5]

Connecting to provider...


using channel 211
Using interface ppp0

Connect: ppp0 <--> /dev/pts/1
Modem hangup

Connection terminated.

Script /usr/local/bin/eciadsl-pppoeci -vpi 8 -vci 35 -vendor 0x0915 -product 0x8102 -mode VCM_RFC2364 finished

(pid 18633), status = 0xfc


So...what should I do? Any suggestion?
(I'm not so happy with changing back the kernel to something older..)

thanks
Logged
bigpaws
Vectorian
****
Posts: 1843


« Reply #1 on: May 08, 2007, 07:41:27 pm »

After reading your post I found that the modem
should work fine.

Here is the problem and the solution in the
errors:

Quote
HDLC support is missing... trying to load
FATAL: Module n_hdlc not found.

HDLC support: failed to load

You should check your kernel config with: cd /usr/src/linux ; make
menuconfig and look under Character devices for

Non-standard serial
port support and HDLC line discipline support

I am guessing you compiled your own kernel, if not then there
are tutorials to compile your kernel and follow the process to
correct the problem using the error.

HTH

Bigpaws
Logged
desmogiallo
Member
*
Posts: 15


« Reply #2 on: May 10, 2007, 09:38:00 am »

(thank-you Bigpaws)

Well... I tried something different with the synch.bin files, and found the synchronization goes rather well with around ten different settings (with a slight difference in terms of speed).
So forgot the 3/5 step.
But just after that the first troubles: It tries to load /dev/pts/2 and it fails (I checked it and found that in dev/pts there are only "0" and "1").
And then it fails the 4/5 step, so the connection to provider.

I tried to recompile the kernel but in /usr/src there wasn't the sym link to the kernel...where can I found it?
And what should I load/change in my kernel configuration with the hdlc support?

Thanks
Logged
desmogiallo
Member
*
Posts: 15


« Reply #3 on: May 25, 2007, 12:00:10 pm »

Sorry I have to bore you again...but I got no reply.
I tried to recompile my kernel but found that /usr/src/linux doesn't exist..
so whay should I do?  I know it can be a sill question and maybe it will take you few time..
Thanks!  Smiley
Logged
rbistolfi
Packager
Vectorian
****
Posts: 2276


« Reply #4 on: May 25, 2007, 02:59:40 pm »

Hi, the sources of the kernel are optional packages, they will not be there if you didnt choose them on the install process. You can install them from here: http://vectorlinux.osuosl.org/veclinux-5.8/kernels/
The packages are named as kernesl-src-2.6.xx... Be sure you install the same version you have, I guess it is

Quote
You are using linux kernel version 2.6.18.5

To be sure just type uname -r in a terminal.
Once you have the sources installed, you can find them on /usr/src/
A kernel howto is here: http://thelinuxlink.net/~fingolfin/kernel-compile/ (I think our hanumizzle wrote it)
Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!