PDA

View Full Version : ADSL USB modem problem pleaaaaaaaase help!


rigel
20th November 2005, 12:39 PM
Hi everyone.. I installed Fedora Core 4 on my machine two days ago and I tried and tried to get my adsl modem running on it. But obviously to no effect. I have a ZyXEL Prestige 630 C1 modem. And the machine specified in my signature. I am now communicating through WinXP installed on another partition of my hard drive.

Here is what I did. I researched about my modem and I downloaded Accessrunner and the usbatm package that comes with it. The only thing is I didn't know what to do with them! So I directly opened up the cxacru dir and typed make.

[root@localhost cxacru]# make
cd init && make clean
make[1]: Entering directory `/root/latest/acru/cxacru/init'
rm -f cxload cxioctl cxloaddbg cxloaddbgt
make[1]: Leaving directory `/root/latest/acru/cxacru/init'
cd module && make clean
grep: /lib/modules/2.6.11-1.1369_FC4/build/include/linux/atmdev.h: No such file or directory
make[1]: Entering directory `/root/latest/acru/cxacru/module'
rm -f cxacrunormal.o sarlib.o sartest cxacru.o cxacrudebug.o cxacrudbg.o version.h
make[1]: Leaving directory `/root/latest/acru/cxacru/module'
cd module2 && make clean
make[1]: Entering directory `/root/latest/acru/cxacru/module2'
rm -f *.o .*.flags *.ko *.mod.* .*.o.cmd .*.ko.cmd
make[1]: Leaving directory `/root/latest/acru/cxacru/module2'
cd sarlib && make clean
grep: /lib/modules/2.6.11-1.1369_FC4/build/include/linux/atmdev.h: No such file or directory
grep: /lib/modules/2.6.11-1.1369_FC4/build/include/linux/atmdev.h: No such file or directory
make[1]: Entering directory `/root/latest/acru/cxacru/sarlib'
/bin/rm -f *.o
make[1]: Leaving directory `/root/latest/acru/cxacru/sarlib'
cd panel && make clean
make[1]: Entering directory `/root/latest/acru/cxacru/panel'
rm -f cxpanel *.bak
make[1]: Leaving directory `/root/latest/acru/cxacru/panel'
cd bridged && make clean
make[1]: Entering directory `/root/latest/acru/cxacru/bridged'
rm -f br2684ctl
make[1]: Leaving directory `/root/latest/acru/cxacru/bridged'
cd init && make && make install
make[1]: Entering directory `/root/latest/acru/cxacru/init'
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -march=i686 -Wall -DLINUX -I../include -lusb -lpthread cxload.c -o cxload
cxload.c: In function ‘load_firmware’:
cxload.c:758: warning: pointer targets in passing argument 3 of ‘send_block’ differ in signedness
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -march=i686 -Wall -DLINUX -I../include -lusb -lpthread cxioctl.c -o cxioctl
make[1]: Leaving directory `/root/latest/acru/cxacru/init'
make[1]: Entering directory `/root/latest/acru/cxacru/init'
install -c -m 755 -p cxload cxioctl /usr/sbin
make[1]: Leaving directory `/root/latest/acru/cxacru/init'
cd firmware && make
/bin/sh: line 0: cd: firmware: No such file or directory
make: *** [CX_FIRMWARE] Error 1

That was what I got. I am a newbie so I couldn't really make anything out of that. So I kept on reading in these forums and found things that said that if I installed a kernel upgrade on my FC4 with 2.6.11 kernel, I would at least get synced. I did that and I have my light up. Only now, I only have a little green light nothing more. I upgraded my kernel to 2.6.14.

I am stuck right here. Can anyone help me out? I read things about creating the nas0 interface and something called FIRMWARE which is of course another point where I'm clueless.

Please note that I installed rp-pppoe and when I type adsl-connect.. it says it doesn't know crap about nas0.

Please help mee!!! I know it is too long but it will be appreciated.

C.T.

Oh and one more thing. When I installed the kernel upg, GRUB started giving two options for FC, one with 2.4.11 and one with 2.4.14. The default was normally WinXP, but now it changed to FC4 with 2.4.14. How do I fix that?

rigel
21st November 2005, 02:25 PM
I know it's too long but can someone only point me in the right direction please?

nlkrio
21st November 2005, 02:40 PM

your modem is only a usb modem?

giulix
21st November 2005, 05:54 PM
Perhaps you need to get hold of the firmware code from somewhere else and put it in the firmware directory yourself.... (don't know really, just a possibility). Any README files to shed some light on where to find the fimware code, there ?

r1348
21st November 2005, 06:01 PM
I'm using an Accessrunner USB modem right now, so it works well...
If you're using a kernel >=2.6.13, the cxacru driver is already present and you don't need to compile it. You just need a firmware for your modem. A firmware is a tiny OS that works inside specific devices and communicate with your OS. Since Conexant hasn't released any spec for their chipsets, there's no open-source firmware to use, but there's a quick way to use the one provided with the Windows drivers:

1- download the firmware extraction utility from here (http://www.elektrorevue.cz/clanky/05041/cxacru-fw-ng.tar.gz). This is not the official one but an improved version tested for a wider firmware variety. Extract it in a folder of your chose.

2- grab your Windows driver, there should be a file called CnxEtU.sys. Place it in the same folder as the firmware extractor.

3- from a terminal, cd to your selected folder and then issue these commands:
make
./cxacru-fw CnxEtU.sys cxacru-fw.bin

4- now in the folder there should be a file called cxacru-fw.bin. This is your firmware, copy it to the /lib/firmware folder.

5- that's all for now, the cxacru driver should now detect the firmware and load it to your modem, at least on start-up or modem plug. After this, the modem lights will blink for a while when synchronizing to the adsl line, when they stop blinking your line is up.

6- check /var/log/messages. If you see this message:
cxacru 1-1:1.0: poll status: error -5
popping out several times, it means that your firmware is too old. Don't worry! Just repeat the above operations using this driver (http://www.atlantis-land.com/firmware/1863_DriverWinMultiV099.085WAN.zip).


Now you have a working modem, but you still have to setup a connection script to finally surf the internet. You should check which connection protocol your ISP is using, usually PPPoATM or PPPoEthernet.
I can help you only about the PPPoA case, since it's mine too, make me know ;)