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.
Nusrat NuriyevAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gheistCommented:
Not only patient people in Bangladesh managed to get it to work:
http://unix-master.blogspot.com.es/2013/02/zte-ax326-4g-modem-drivers-for-linux.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Nusrat NuriyevAuthor Commented:
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?
0
gheistCommented:
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.
0
How do you know if your security is working?

Protecting your business doesn’t have to mean sifting through endless alerts and notifications. With WatchGuard Total Security Suite, you can feel confident that your business is secure, meaning you can get back to the things that have been sitting on your to-do list.

Nusrat NuriyevAuthor Commented:
Okay.
0
Nusrat NuriyevAuthor Commented:
apt-get install kernel-headers

Open in new window

unable to locate kernel headers.
0
gheistCommented:
i think it is more like kernel-dev or kernel-devel or kernel-source
0
Nusrat NuriyevAuthor Commented:
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.
0
Nusrat NuriyevAuthor Commented:
I have modified Makefile and now it's compiled and installed. Now playing with certificates.
0
gheistCommented:
In /lib/modules there should be module source. Kernel source is in /usr/src/...-generic.
0
gheistCommented:
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...
0
Nusrat NuriyevAuthor Commented:
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.
0
Nusrat NuriyevAuthor Commented:
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
0
gheistCommented:
I would say you need wpa supplicant devel package wpa(_)supplicant-dev(el)
0
Nusrat NuriyevAuthor Commented:
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.
0
gheistCommented:
Now the moment of truth - does the final product work?
0
Nusrat NuriyevAuthor Commented:
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'
0
Nusrat NuriyevAuthor Commented:
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)
0
Nusrat NuriyevAuthor Commented:
lsusb doesnot give me anything about this device.
0
gheistCommented:
I assume you need some dial-in step before dhclient (if later is needed at all)
0
Nusrat NuriyevAuthor Commented:
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?
0
gheistCommented:
Yes, unless programmed by wimax provider, the wimax modem needs some parameters from provider.
0
Nusrat NuriyevAuthor Commented:
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?
0
gheistCommented:
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)
0
Nusrat NuriyevAuthor Commented:
good old gdb.
0
gheistCommented:
yessir. Good luck!
0
Nusrat NuriyevAuthor Commented:
thank you
0
Nusrat NuriyevAuthor Commented:
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
0
gheistCommented:
You should refer to english sections of those sites, hardly anybody will understand whats behind those links...
0
Nusrat NuriyevAuthor Commented:
Unfortunately, there is no other good links.
0
gheistCommented:
Well as much as there is english text - yes, modprobe, yes gcc.. Whats between  - if you can read it please try their advice. I remember using wimax at home 5 years ago or so with huge motorola receiver that had other life as heating radiator...
0
Nusrat NuriyevAuthor Commented:
:))) yeah, wimax is HOT :)
0
gheistCommented:
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....
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Wireless Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.