[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 570
  • Last Modified:

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.
0
Nusrat Nuriyev
Asked:
Nusrat Nuriyev
  • 19
  • 14
3 Solutions
 
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
 
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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 19
  • 14
Tackle projects and never again get stuck behind a technical roadblock.
Join Now