Link to home
Start Free TrialLog in
Avatar of Nusrat Nuriyev
Nusrat NuriyevFlag for Azerbaijan

asked on

Installing zte wimax ax326 on linux.

Hi Experts,

Now, some hard question.

I have zte wimax ax326 usb modem.
My provider says, that it does not support linux (but it work under Mac OS)
But I have seen links in the internet that some guys from bangladesh was able to run this device under linux.

I'm using Ubuntu or Fedora or openSUSE.
Thank you.
ASKER CERTIFIED SOLUTION
Avatar of gheist
gheist
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Nusrat Nuriyev

ASKER

Very promising hack.
I wonder, may I attach device(ax326) to Virtual Box Ubuntu, and work with that and it will behave the same as the real OS in this case?
It is USB 2.0 device, so you must install "Oracle VM VirtualBox Extension Pack" every time you upgrade virtualbox
There is some latency, namely usb webcams seem choppy, but otherwise all should be fine.
Okay.
apt-get install kernel-headers

Open in new window

unable to locate kernel headers.
i think it is more like kernel-dev or kernel-devel or kernel-source
there is a linux-headers-3.13.0-32
and
linux-headers-3.13.0-32-generic

which are installed on /usr/src not on /lib/modules/3.13.0-32-generic/source  as Makefile expects.
I have modified Makefile and now it's compiled and installed. Now playing with certificates.
In /lib/modules there should be module source. Kernel source is in /usr/src/...-generic.
ln -s whete_it_is where_it_should_be

dont worry about signatures. nobody was hurt by tainted kernel, including million of nvidia gamers and another of those of radeon...
it's ok, when I build.sh it told me something about:
"unmatched leap_supplicant.so in /lib/"
building server (wimaxd) failed.
Will tell exact message on the evening.
gheist,

when I start ./build.sh pc_linux command I got:

Beceem CM build Summary
Building EAP supplicant libraries SUCCESS
Building Beceem cryptographic engine SUCCESS
Building Client SUCCESS
Building Server FAILED

inside of build.sh just make clean and make. So when I make it fails this:

***** Building CM Server application *****
gcc -Wall -std=gnu99 -g -fPIC -o /wimaxd /AuxStruct.o /BeceemAPI.o /BeceemAPICallback.o /BeceemAPIEap.o /BeceemAPIMisc.o /BeceemAPIRequest.o /BeceemAPIResponse.o /BeceemCscmLogin.o /BeceemCscmServer.o /BeceemAPIStrings.o /BeceemCscmCommon.o /BeceemCscmTop.o /BeceemCscmOEM.o /LogFile.o /Options.o /PrintContext.o /SocketFunctions.o /SysLogFunctions.o /ThreadFunctions.o /Utility.o /ProcessFunctions.o -L -Wl,-rpath,/lib  -lrt -lxvi020 -leap_supplicant -lpthread
/usr/bin/ld: skipping incompatible /lib/../lib/libeap_supplicant.so when searching for -leap_supplicant
/usr/bin/ld: skipping incompatible //lib/libeap_supplicant.so when searching for -leap_supplicant
/usr/bin/ld: cannot find -leap_supplicant
collect2: error: ld returned 1 exit status
make: *** [wimaxd] Error 1
I would say you need wpa supplicant devel package wpa(_)supplicant-dev(el)
well, I pass this also!

yes, I manually  maked that and I determined that there is no libssl-dev package.
Then I rerun build.sh and voila. Server SUCCESS.
Now the moment of truth - does the final product work?
It seems additional steps required. Have you remembered that I've built kernel object - driver?
Can't load that.
root@nn-VirtualBox:/lib/modules/3.13.0-32-generic/source# modprobe drxvi314
modprobe: ERROR: ../libkmod/libkmod.c:556 kmod_search_moddep() could not open moddep file '/lib/modules/3.13.0-32-generic/modules.dep.bin'
It's need to apt-get install --reinstall linux-image-3.13.3-30-generic
Now, dhclient eth0 does not output anything and is not finished (runs infinitely)
lsusb doesnot give me anything about this device.
I assume you need some dial-in step before dhclient (if later is needed at all)
okay, I have passed lsusb step, it was a VirtualBox issues (which have not been solve yet though).

What do you mean by "dial-in"? Is it about configuration settings? like user identity and so on?
Yes, unless programmed by wimax provider, the wimax modem needs some parameters from provider.
ok
when I start
wimaxd -D -c /etc/wimaxd.conf

=============== Received Message Start (2014/09/06 21:11:56.790) ===========
u32State = Waiting for PHY sync start
Network entry response received  (Type = 2 - Subtype = 2 - Length = 52)
Network Entry Status Received
Link status =        WAIT FOR PHY SYNC CMD
=============== Received Message End (type=2 sub-type=2) ===============

but after , I start client
wimaxc -i


and the server crashes

Got connection 1 from 127.0.0.1
Wcm connection handling thread launched successfully
Socket is 00000006
Client socket 00000006 lock Beceem API: SUCCESS (wait = 0 ms)
SOCKET SEND START:
Segmentation fault (core dumped)



This resource tells us that output should look like this:
Client socket 00000006 lock Beceem API: SUCCESS (wait = 0 ms)
Client socket 00000006 unlock Beceem API: Success

But why segmentation fault? Probably wrong user settings?
maybe something wrong with certificates.

What do you think?
It means that program crashes. Unless you paid vendor you should debug it (run within GDB and try to find some mistakes in stack traces etc)
good old gdb.
yessir. Good luck!
thank you
apt-get install linux-headers-generic
apt-get install linux-image-generic

SRC = /usr/src/linux-headers-3.13.0-37-generic
BUILD = /lib/modules/linux-headers-3.13.0.37-generic/build
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Unfortunately, there is no other good links.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
:))) yeah, wimax is HOT :)
You can close this question with references to foreign language pages. I doubt many here will be able to help. WiMax is what provider gives you, it is not GSM 4G that you can buy a phone on amazon....