Nusrat Nuriyev
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
There is some latency, namely usb webcams seem choppy, but otherwise all should be fine.
ASKER
Okay.
ASKER
apt-get install kernel-headers
unable to locate kernel headers.
i think it is more like kernel-dev or kernel-devel or kernel-source
ASKER
there is a linux-headers-3.13.0-32
and
linux-headers-3.13.0-32-ge neric
which are installed on /usr/src not on /lib/modules/3.13.0-32-gen eric/sourc e as Makefile expects.
and
linux-headers-3.13.0-32-ge
which are installed on /usr/src not on /lib/modules/3.13.0-32-gen
ASKER
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...
dont worry about signatures. nobody was hurt by tainted kernel, including million of nvidia gamers and another of those of radeon...
ASKER
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.
"unmatched leap_supplicant.so in /lib/"
building server (wimaxd) failed.
Will tell exact message on the evening.
ASKER
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_supplic ant.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
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_supplic
/usr/bin/ld: skipping incompatible //lib/libeap_supplicant.so
/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)
ASKER
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.
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?
ASKER
It seems additional steps required. Have you remembered that I've built kernel object - driver?
Can't load that.
root@nn-VirtualBox:/lib/mo dules/3.13 .0-32-gene ric/source # modprobe drxvi314
modprobe: ERROR: ../libkmod/libkmod.c:556 kmod_search_moddep() could not open moddep file '/lib/modules/3.13.0-32-ge neric/modu les.dep.bi n'
Can't load that.
root@nn-VirtualBox:/lib/mo
modprobe: ERROR: ../libkmod/libkmod.c:556 kmod_search_moddep() could not open moddep file '/lib/modules/3.13.0-32-ge
ASKER
It's need to apt-get install --reinstall linux-image-3.13.3-30-gene ric
Now, dhclient eth0 does not output anything and is not finished (runs infinitely)
Now, dhclient eth0 does not output anything and is not finished (runs infinitely)
ASKER
lsusb doesnot give me anything about this device.
I assume you need some dial-in step before dhclient (if later is needed at all)
ASKER
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?
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.
ASKER
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?
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)
ASKER
good old gdb.
yessir. Good luck!
ASKER
thank you
ASKER
apt-get install linux-headers-generic
apt-get install linux-image-generic
SRC = /usr/src/linux-headers-3.1 3.0-37-gen eric
BUILD = /lib/modules/linux-headers -3.13.0.37 -generic/b uild
apt-get install linux-image-generic
SRC = /usr/src/linux-headers-3.1
BUILD = /lib/modules/linux-headers
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Unfortunately, there is no other good links.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
:))) 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....
ASKER
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?