Franklin Wireless U600 4G WiMax connectivity

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
ekkorn

Franklin Wireless U600 4G WiMax connectivity

Post by ekkorn »

I'm very new to Linux, so please be patient with me on this one.

I'm using Linux Mint 16 MATE for 64-bit.

#inxi
CPU~Dual core Intel Core i5 CPU M 430 (-HT-MCP-) clocked at 1199.000 Mhz Kernel~3.11.0-12-generic x86_64 Up~1 day Mem~936.7/5767.4MB HDD~1000.2GB(0.4% used) Procs~202 Client~Shell inxi~1.8.4
I have a USB 3G/4G broadband modem that connects to Sprint's 3G and 4G network through Virgin Mobile. The device is made by Franklin Wireless and its model is U600.
I do not know what commands I would type in the terminal to give you more information about the device, but if it is needed, let me know what you'd like me to type.

When I first plugged it in after the Mint installation, the device would not work at all. I scoured Google for anything that had "linux franklin U600" and found a handful of topics on other forums that gave pieces of information.
http://ubuntuforums.org/archive/index.p ... 07782.html
Using that I was actually able to get the 3G to work and that is now fully functional. I also got some insight about WHY the 4G is not working, but the commands that users in those forums were using were not (I believe) for mint or any debian-based Linux and following their progress did not work. My understanding of their synopsis of the problem was that this USB modem has some sort of internal hub that then can switch on/off 4 devices within the modem itself (I believe the 4G component had some weird name like Beceem.

Could anyone help me get this Franklin Wireless U600 device so that its 4G WiMax components are powered on, functioning, and capable of connecting to the WiMax network that it is supposed to?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
ekkorn

Re: Franklin Wireless U600 4G WiMax connectivity

Post by ekkorn »

Still no luck getting the beceem port to work and connect to the 4G network.

I found two other sites with some information on the matter, but a lot of it seems either very complicated, not specific to my device, or risky (possible to permanently damage the device) so if possible, could one of you more Mint-savvy posters look over these and decipher what I likely need to type for my specific device?

http://ubuntuforums.org/showthread.php?t=2078478&page=2
and
http://minhazulhaque.blogspot.com/2012/ ... -mint.html
ekkorn

Re: Franklin Wireless U600 4G WiMax connectivity

Post by ekkorn »

Even though I have the bcm_wimax.ko file in the folder specified in the update at the bottom of http://minhazulhaque.blogspot.com/2012/ ... -mint.html, when I type

Code: Select all

sudo modprobe bcm_wimax
It gives me an error.

I tried building the modules as were done in the guide, but

Code: Select all

make oldconfig && make prepare
"make prepare" did not work, and later on, neither did

Code: Select all

insmod drxvi314.ko
I am not currently at my home with the computer using Mint 16 MATE x64 so I cannot post the responses I am getting in the terminal (my 3G internet is so painfully slow, it struggles to even load this forum). I will try later this evening if that is necessary, but if anyone reading this has had any success installing a beceem device, could you Please help me getting the 4G on the Franklin Wireless U600 to work?
ekkorn

Re: Franklin Wireless U600 4G WiMax connectivity

Post by ekkorn »

This is what I get back:

Code: Select all

taco@minty ~ $ modprobe bcm wimax
FATAL: Module bcm not found.
and

Code: Select all

taco@minty ~ $ sudo modprobe bcm_wimax
taco@minty ~ $ sudo /sbin/modprobe bcm_wimax
taco@minty ~ $ lsusb
Bus 002 Device 005: ID 0408:03b2 Quanta Computer, Inc. HP Webcam
Bus 002 Device 004: ID 138a:0005 Validity Sensors, Inc. VFS301 Fingerprint Reader
Bus 002 Device 006: ID 1fac:0151  
Bus 002 Device 003: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 1058:1110 Western Digital Technologies, Inc. 
Bus 001 Device 003: ID 046d:c404 Logitech, Inc. TrackMan Wheel
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
and

Code: Select all

taco@minty /usr/src/linux-source-3.11.0 $ sudo make oldconfig && make prepare
[sudo] password for taco: 
scripts/kconfig/conf --oldconfig Kconfig
#
# configuration written to .config
#
/usr/src/linux-source-3.11.0/arch/x86/Makefile:113: CONFIG_X86_X32 enabled but no binutils support
scripts/kconfig/conf --silentoldconfig Kconfig

*** Error during update of the configuration.

make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `relocs'.
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'.  Stop.
and

Code: Select all

taco@minty /lib/modules/3.11.0-12-generic $ ln -s /usr/src/linux-sources-$(uname -r) /usr/src/linux
ln: failed to create symbolic link ‘/usr/src/linux’: File exists

Can someone help me get through this?
ekkorn

Re: Franklin Wireless U600 4G WiMax connectivity

Post by ekkorn »

Following this: http://minhazulhaque.blogspot.com/2012/ ... -mint.html

This is where there first major barrier is for me:

Code: Select all

taco@minty /usr/src $ cd linux-source-3.11.0
taco@minty /usr/src/linux-source-3.11.0 $ make oldconfig && make prepare
scripts/kconfig/conf --oldconfig Kconfig

*** Error during writing of the configuration.

make[1]: *** [oldconfig] Error 1
make: *** [oldconfig] Error 2
Can someone please walk me through this?
paperplate9

Re: Franklin Wireless U600 4G WiMax connectivity

Post by paperplate9 »

ekkorn, this is the same guy who got this working on Ubuntu (http://ubuntuforums.org/showthread.php?t=2078478). I saw your PM over there & registered to help you out here. There's also a thread over on the Kubuntu forums of someone trying to get this working; not sure if he ever got it (https://www.kubuntuforums.net/showthrea ... rvxi314-ko).

I am not familiar with Linux Mint but I doubt that will stop me/us from trying to get this working.

Make sure you use sudo for BOTH 'make' commands, e.g.,

Code: Select all

sudo makeconfig && sudo make prepare
Your 'make' failures are most-likely due to permissions (user 'taco' doesn't have write permission to /usr/src/...)
ekkorn

Re: Franklin Wireless U600 4G WiMax connectivity

Post by ekkorn »

paperplate9 wrote:ekkorn, this is the same guy who got this working on Ubuntu (http://ubuntuforums.org/showthread.php?t=2078478). I saw your PM over there & registered to help you out here. There's also a thread over on the Kubuntu forums of someone trying to get this working; not sure if he ever got it (https://www.kubuntuforums.net/showthrea ... rvxi314-ko).

I am not familiar with Linux Mint but I doubt that will stop me/us from trying to get this working.

Make sure you use sudo for BOTH 'make' commands, e.g.,

Code: Select all

sudo makeconfig && sudo make prepare
Your 'make' failures are most-likely due to permissions (user 'taco' doesn't have write permission to /usr/src/...)

Thank you so much for your response! It appears you were correct, it was necessary to write sudo twice; this is the feedback I got now:
taco@minty ~ $ cd /usr/src/linux-source-3.11.0
taco@minty /usr/src/linux-source-3.11.0 $ sudo make oldconfig && sudo make prepare
scripts/kconfig/conf --oldconfig Kconfig
#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig Kconfig
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `relocs'.
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh


Should I continue with MD Minhazul Haque's instructions on his blog from this point?
paperplate9

Re: Franklin Wireless U600 4G WiMax connectivity

Post by paperplate9 »

Yes...'sudo make modules_prepare' would be your next command

The whole key to getting this working (for 4G) is:

0) Building the Beceem drxvi314 driver (provided by the Sprint 4G developer pack)

2) Building the wimaxd daemon (also provided by the Sprint 4G developer pack)

3) Customizing wimaxd.conf for the ISP (Virgin Mobile) as well your device (aka CenterFrequencyMhz, UserIdentity, TLSDevicePrivateKeyPassword, others). Make sure certificates are in place as well as firmware files.

4) usb_modeswitch'ing from the mass storage device to the modem. Then, connecting to the modem's serial port & providing some AT commands to enable the 4G chipset, verifying that the Beceem device pops up in lsusb

5) insmod/modprobe'ing drxvi314 where the driver should find & initialize the Beceem device

6) Running wimaxd in the background, wimaxc in the foreground, searching for a base station, connecting to it, authenticating, and grabbing an IPv4 address via DHCP

I haven't used the U600 in a while but that's what I remember.
ekkorn

Re: Franklin Wireless U600 4G WiMax connectivity

Post by ekkorn »

Sorry that I am so novice with this, but it is still giving problems:

Code: Select all

taco@minty ~ $ cd /usr/src/linux-source-3.11.0
taco@minty /usr/src/linux-source-3.11.0 $ sudo make modules_prepare
make[1]: Nothing to be done for `all'.
  HOSTCC  scripts/basic/fixdep
  HOSTCC  arch/x86/tools/relocs_32.o
  HOSTCC  arch/x86/tools/relocs_64.o
  HOSTCC  arch/x86/tools/relocs_common.o
  HOSTLD  arch/x86/tools/relocs
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
  HOSTCC  scripts/genksyms/lex.lex.o
  HOSTLD  scripts/genksyms/genksyms
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
  HOSTCC  scripts/selinux/genheaders/genheaders
taco@minty /usr/src/linux-source-3.11.0 $ cd /home/taco/Downloads
taco@minty ~/Downloads $ tar xvfz Sprint4GDeveloperPack-1.6.1.2.2.tar.gz
Sprint4GDeveloperPack-1.6.1.2.2/
Sprint4GDeveloperPack-1.6.1.2.2/patches/
Sprint4GDeveloperPack-1.6.1.2.2/patches/Rel_6.1.2.2_USB-Updated.zip/
Sprint4GDeveloperPack-1.6.1.2.2/patches/Rel_6.1.2.2_USB-Updated.zip/Rel_6.1.2.2_USB-Updated-2.6.38.patch
Sprint4GDeveloperPack-1.6.1.2.2/install.sh
Sprint4GDeveloperPack-1.6.1.2.2/ReleaseNotes.txt
Sprint4GDeveloperPack-1.6.1.2.2/passphrase-o-tron
Sprint4GDeveloperPack-1.6.1.2.2/Rel_6.1.2.2_USB-Updated.zip

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
taco@minty ~/Downloads $ cd ./Sprint4GDeveloperPack-1.6.1.2.2
taco@minty ~/Downloads/Sprint4GDeveloperPack-1.6.1.2.2 $ sudo ln -s /usr/src/linux-sources-$(uname -r) /usr/src/linux
taco@minty ~/Downloads/Sprint4GDeveloperPack-1.6.1.2.2 $ sudo ./install.sh
Sprint 4G Developer Pack Installer Version 1.3 

All included software Copyright (C) 2010 Beceem Communications, Inc.

This program is free software: you can redistribute it and/or modify it under 
the terms of the GNU General Public License version 2 as published by the Free 
Software Foundation. This program is distributed in the hope that it will be 
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 
License for more details.

You should have received a copy of the GNU General Public License along with 
this program. If not, write to the Free Software Foundation, Inc., 51 
Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA. 

>>> Press [Y|y] to accept the license terms and install the software [y/n] y

 Please verify environment information.  Do not include trailing '/' on path names: 
 

 (Enter for Default: /usr/local/bin )
 BIN_DIR=>  

 (Enter for Default: /usr/lib )
 LIB_DIR=>  

 (Enter for Default: /usr/share/doc )
 DOC_DIR=>  

 (Enter for Default: /lib/firmware )
 FIRMWARE_DIR=>  

 (Enter for Default: /usr/src/linux )
 KERNEL_SOURCES=>  

 (Enter for Default: /usr/src )
 SRC_DIR=>  

 (Enter for Default: /etc/ssl/certs )
 CA_DIR=>  

 (Enter for Default: /etc/Sprint4G )
 CONF_DIR=>  

 (Enter for Default: /bin/tar )
 TAR=>  

 (Enter for Default: /usr/bin/unzip )
 UNZIP=>  

 (Enter for Default: /etc/udev/rules.d )
 UDEV_RULES=>  

 (Enter for Default: On )
 POWER_SAVE_On_Off=>  

>>> Are these settings correct? [y/n] y

Archive:  /home/taco/Downloads/Sprint4GDeveloperPack-1.6.1.2.2/Rel_6.1.2.2_USB-Updated.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /home/taco/Downloads/Sprint4GDeveloperPack-1.6.1.2.2/Rel_6.1.2.2_USB-Updated.zip or
        /home/taco/Downloads/Sprint4GDeveloperPack-1.6.1.2.2/Rel_6.1.2.2_USB-Updated.zip.zip, and cannot find /home/taco/Downloads/Sprint4GDeveloperPack-1.6.1.2.2/Rel_6.1.2.2_USB-Updated.zip.ZIP, period.
taco@minty ~/Downloads/Sprint4GDeveloperPack-1.6.1.2.2 $ insmod drxvi314.ko
Error: could not load module drxvi314.ko: No such file or directory
paperplate9

Re: Franklin Wireless U600 4G WiMax connectivity

Post by paperplate9 »

Your Sprint 4g pack is corrupt. Re-download it.

Try the one here (can't remember if this is where I got mine originally; a lot of dead links on the net for this file):
http://whebsite.com/wiki/Sprint/Clear_U ... p_on_Linux
ekkorn

Re: Franklin Wireless U600 4G WiMax connectivity

Post by ekkorn »

paperplate9 wrote:Your Sprint 4g pack is corrupt. Re-download it.

Try the one here (can't remember if this is where I got mine originally; a lot of dead links on the net for this file):
http://whebsite.com/wiki/Sprint/Clear_U ... p_on_Linux
This forum is being a little lame now and saying my previous attempts to make a response "contain too few characters," even though I'm pretty sure it had more than anything I've posted so far.

That sprint4G developer pack worker significantly better, but it still had some problems at the end, I'm not sure if those specific errors are inconsequential or not, and I'm not sure how I can show you with the forum preventing me from effectively posting it. I will try to just copy the very ends of the terminal output where the errors were displayed.

Code: Select all

eap_tls_common.c:30:25: fatal error: openssl/ssl.h: No such file or directory
 #include <openssl/ssl.h>
                         ^
compilation terminated.
make: *** [eap_tls_common.o] Error 1
mv: cannot stat ‘libeap_supplicant.so’: No such file or directory

Code: Select all

In file included from e_beceem.c:78:0:
e_beceem_rsa.h:13:28: fatal error: openssl/engine.h: No such file or directory
 #include <openssl/engine.h>
                            ^
compilation terminated.
make: *** [e_beceem.o] Error 1
mv: cannot stat ‘libengine_beceem.so’: No such file or directory

Code: Select all

/usr/bin/ld: cannot find -leap_supplicant
collect2: error: ld returned 1 exit status
make: *** [wimaxd] Error 1
========================================
Beceem CM build completed
========================================
Build results are in /usr/src/USB_350/Source/CSCM/bin_pc_linux/bin

Beceem CM build Summary
Building EAP supplicant libraries FAILED
Building Beceem cryptographic engine FAILED
Building Client SUCCESS
Building Server FAILED
========================================
 Copying eap_supplicant library to /usr/lib 

cp: cannot stat ‘/usr/src/USB_350/Source/CSCM/bin_pc_linux/bin/libeap_supplicant.so’: No such file or directory
Should I continue with the reboot then lsusb?
ekkorn

Re: Franklin Wireless U600 4G WiMax connectivity

Post by ekkorn »

Still not there:

Code: Select all

taco@minty ~ $ lsusb
Bus 002 Device 005: ID 0408:03b2 Quanta Computer, Inc. HP Webcam
Bus 002 Device 004: ID 138a:0005 Validity Sensors, Inc. VFS301 Fingerprint Reader
Bus 002 Device 010: ID 1fac:0151  
Bus 002 Device 008: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 1058:1110 Western Digital Technologies, Inc. 
Bus 001 Device 003: ID 046d:c404 Logitech, Inc. TrackMan Wheel
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
paperplate9

Re: Franklin Wireless U600 4G WiMax connectivity

Post by paperplate9 »

Install openssl
ekkorn

Re: Franklin Wireless U600 4G WiMax connectivity

Post by ekkorn »

Code: Select all

taco@minty ~ $ sudo apt-get install openssl
[sudo] password for taco: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  openssl
1 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
Need to get 525 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ saucy-updates/main openssl amd64 1.0.1e-3ubuntu1.2 [525 kB]
Fetched 525 kB in 51s (10.2 kB/s)                                              
(Reading database ... 188886 files and directories currently installed.)
Preparing to replace openssl 1.0.1e-3ubuntu1.1 (using .../openssl_1.0.1e-3ubuntu1.2_amd64.deb) ...
Unpacking replacement openssl ...
Processing triggers for man-db ...
Setting up openssl (1.0.1e-3ubuntu1.2) ...
opensssl has been upgraded.
Where should I go back to?
paperplate9

Re: Franklin Wireless U600 4G WiMax connectivity

Post by paperplate9 »

If one step fails with an error, concentrate on resolving that error before going to the next step...

Please make sure you are following the directions as an apt-get install openssl was one of the initial steps documented in the Minhazel blog.

I understand you are new to linux, and just to be honest, getting this working is not the easiest thing to do for someone new to linux. As long as you take things step by step, don't try to skip things, and take the time to understand errors that come up, we'll eventually get there...

Edit: can you ensure /usr/include/openssl exists? If not, I think you need openssl-devel or something.
ekkorn

Re: Franklin Wireless U600 4G WiMax connectivity

Post by ekkorn »

I did do that as the first step, I followed everything in the order it was in the blog, went back and tried a few different steps again where there were errors and one thing was changed, and chronicled it here. I only said it was "updated" because after typing "sudo apt-get install openssl" after that initial step from the blog had been performed, an update was what had happened, not an initial install.

There is no openssl in /usr/include/
paperplate9

Re: Franklin Wireless U600 4G WiMax connectivity

Post by paperplate9 »

Did you check if openssl-devel was installed?
ekkorn

Re: Franklin Wireless U600 4G WiMax connectivity

Post by ekkorn »

No, openssl-devel is not installed, but how would I go about installing that?

Code: Select all

taco@minty ~ $ sudo apt-get install openssl-devel
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package openssl-devel
Could it go by another name?
paperplate9

Re: Franklin Wireless U600 4G WiMax connectivity

Post by paperplate9 »

Maybe try libopenssl-devel, libssl-devel, etc..

This command might help: apt-cache search openssl|grep devel
ekkorn

Re: Franklin Wireless U600 4G WiMax connectivity

Post by ekkorn »

I found libssl-dev in the GUI PackageManager and installed it and its dependencies.

I went back to the step where the Sprint Developer Pack is extracted,

Code: Select all

taco@minty ~/Downloads $ tar xvfz Sprint4GDeveloperPack-1.6.1.2.2.tar.gz
Sprint4GDeveloperPack-1.6.1.2.2/
Sprint4GDeveloperPack-1.6.1.2.2/patches/
Sprint4GDeveloperPack-1.6.1.2.2/patches/Rel_6.1.2.2_USB-Updated.zip/
Sprint4GDeveloperPack-1.6.1.2.2/patches/Rel_6.1.2.2_USB-Updated.zip/Rel_6.1.2.2_USB-Updated-2.6.38.patch
Sprint4GDeveloperPack-1.6.1.2.2/install.sh
Sprint4GDeveloperPack-1.6.1.2.2/ReleaseNotes.txt
Sprint4GDeveloperPack-1.6.1.2.2/passphrase-o-tron
Sprint4GDeveloperPack-1.6.1.2.2/Rel_6.1.2.2_USB-Updated.zip
Sprint4GDeveloperPack-1.6.1.2.2/SprintMobileBroadband3GSetupGuide-Linux-1.4.2.pdf
Sprint4GDeveloperPack-1.6.1.2.2/SprintMobileBroadband4GSetupGuide-Linux-1.3.1.pdf
Sprint4GDeveloperPack-1.6.1.2.2/README.txt
Sprint4GDeveloperPack-1.6.1.2.2/Wimax_Network_CAs.tar.gz
Sprint4GDeveloperPack-1.6.1.2.2/Sprint4GMBBUtilities.tar.gz

taco@minty ~/Downloads $ cd Sprint4GDeveloperPack-1.6.1.2.2
taco@minty ~/Downloads/Sprint4GDeveloperPack-1.6.1.2.2 $ ln -s /usr/src/linux-sources-$(uname -r) /usr/src/linux
ln: failed to create symbolic link ‘/usr/src/linux/linux-sources-3.11.0-12-generic’: File exists
Then I ran ./install.sh This replaced all of the files from the earlier corrupt Sprint4GDeveloperPack you had identified earlier.

End result there:
========================================
Beceem CM build completed
========================================
Build results are in /usr/src/USB_350/Source/CSCM/bin_pc_linux/bin

Beceem CM build Summary
Building EAP supplicant libraries SUCCESS
Building Beceem cryptographic engine SUCCESS
Building Client SUCCESS
Building Server SUCCESS
========================================
But there is still an error in the next step, trying to insert the module:

Code: Select all

taco@minty ~/Downloads/Sprint4GDeveloperPack-1.6.1.2.2 $ cd /lib
taco@minty /lib $ cd ./modules/3.11.0-12-generic
taco@minty /lib/modules/3.11.0-12-generic $ sudo insmod drxvi314.ko
Error: could not insert module drxvi314.ko: Device or resource busy

Locked

Return to “Networking”