As mentioned, the bcm_wimax module never worked for me, so you're on your own with that.
If wimaxd isn't opening the device, points to the module not being loaded or not finding the device. wimaxd's CM_Server_Debug.log file was in a 'Trying to open device' loop only until I modprobe'd drxvi314. What is your dmesg output once you modprobe or insmod drxvi314?
Mine is listed below at the point of 'modprobe drxvi314':
In wimaxd.conf,
TLSDevicePrivateKeyFileName should be unset or commented out
TLSDevicePrivateKeyPassword should be your 6-character hwaddr/mac address
FirmwareRSAPrivateKeyEncrypt should be 'yes'
FirmwarePrivateKeyBits should be 2048.
The private key does not leave the U600, which is why FirmwareRSAPrivateKeyEncrypt is set to yes. All that is necessary is to supply the U600 with the PrivateKeyPassword (your MAC address). This was the part that took the longest for me...which took a lot of trial & error of modifying wimaxd.conf literally hundreds of times. So I can only really comment on what worked for me (the information I listed above). You can, however, set TLSDevicePrivateKeyFileName to 'DeviceMemSlot2' in which wimaxd will pull the key off, but on my system, openssl couldn't figure out how to process the private key file (appropriate engine/etc..).
Once I got the above method working, I did not continue with other approaches.
If wimaxd is still telling you device not present, make sure your module is being loaded & initializing the U600 at startup.
If wimaxd isn't opening the device, points to the module not being loaded or not finding the device. wimaxd's CM_Server_Debug.log file was in a 'Trying to open device' loop only until I modprobe'd drxvi314. What is your dmesg output once you modprobe or insmod drxvi314?
Mine is listed below at the point of 'modprobe drxvi314':
Code:
[ 8993.080433] usbbcm_device_probe:subtype[1] = 0x000000ff [ 8993.080447] [ 8993.080453] usbbcm_device_probe:subtype[2] = 0x00000000 [ 8993.080458] [ 8993.080463] usbbcm_device_probe:subtype[4] = 0x00000000 [ 8993.080468] [ 8993.080473] usbbcm_device_probe:subtype[8] = 0x00000000 [ 8993.080477] [ 8993.080483] InitAdapter:Initialising Adapter = 0xffff8800550a0000 [ 8993.080556] InitAdapter:Adapter initialised [ 8993.080569] usbbcm_device_probe:psIntfAdapter 0xffff8800cd348000 [ 8993.080577] InterfaceAdapterInit:MODEM IS CONFIGURED TO FULL_SPEED [ 8993.082298] InterfaceAdapterInit:First RDM Chip ID 0xbece3301 [ 8993.082303] [ 8993.082309] InterfaceAdapterInit:Current number of endpoints :6 [ 8993.082313] [ 8993.083607] InterfaceAdapterInit:usb dev registered [ 8993.083804] create_worker_threads:Init Threads... [ 8993.092682] open_firmware_file:Got file descriptor pointer of /lib/firmware/macxvi.cfg! [ 8993.092702] bcm_parse_target_params:Config file /lib/firmware/macxvi.cfg size = 144 bytes [ 8993.092729] beceem_parse_target_struct:AutoSyncup is Disabled [ 8993.092737] [ 8993.092742] beceem_parse_target_struct:Disabling autolink up [ 8993.092749] beceem_parse_target_struct:DDR Setting: 3 [ 8993.092753] [ 8993.092758] beceem_parse_target_struct:Enabling Auto Firmware Download [ 8993.092762] [ 8993.092768] beceem_parse_target_struct:HarqCat5Enable : 0x101 [ 8993.092771] [ 8993.092776] beceem_parse_target_struct:HarqCat5Enable : 0x0 [ 8993.092780] [ 8993.092785] beceem_parse_target_struct:MIPSConfig : 0x0 [ 8993.092788] [ 8993.092793] beceem_parse_target_struct:PMU MODE: 0 [ 8993.092798] beceem_parse_target_struct:bDisableFastFlashWrite:0 [ 8993.092804] beceem_parse_target_struct:uiEEPROMFlag : 0x2 [ 8993.092808] [ 8993.092813] beceem_parse_target_struct:Power Save Mode: 0 [ 8993.092816] [ 8993.092821] doPowerAutoCorrection:PMU selected .... [ 8993.092827] beceem_parse_target_struct:LinkUp Config : 0x3 [ 8993.092831] [ 8993.097435] updateWriteProtectedRegister:Value read from Reg: 0xf000c00 is 0x1f4022 [ 8993.097435] [ 8993.097454] updateWriteProtectedRegister:Register 0xf000c00 restored successfully, with value 0x1f4022 !! [ 8993.097462] [ 8993.097468] updateWriteProtectedRegister:Tried to restore Reg: 0xf000c00, 0 times [ 8993.097468] [ 8993.097477] Bcm_kill_all_URBs:Cancelling All Submitted TX Urbs [ 8993.097482] [ 8993.097501] Bcm_kill_all_URBs:Cancelling All submitted Rx Urbs [ 8993.097505] [ 8993.097523] [ 8993.097523] <<<<No of tries in the tx side:0>>> [ 8993.097529] [ 8993.097529] <<<<No of tries in the Rx side:0>>> [ 8993.097536] Bcm_kill_all_URBs:TCB: used- 0 cur-0 [ 8993.097541] [ 8993.097545] Bcm_kill_all_URBs:RCB: used- 0 cur-0 [ 8993.097549] [ 8993.097554] reset_card_proc:Reseting UMA-B [ 8993.097558] [ 8993.097566] ====================> [ 8993.174361] usb 1-4.1: reset full-speed USB device number 19 using ohci_hcd [ 8993.276224] Do Post chip reset setting here if it is requiredddr_init:Register Count is =48 [ 8993.599870] [ 8993.723761] InitCardAndDownloadFirmware:CFG file downloaded [ 8993.811692] [ 8993.811692] /usr/src/USB_350/Source/Driver/Network/OSAL/Linux/usb/Common/nvm.c:ReadMacAddressFromNVM:441:Buffer dump of size 0x6 in the HEX: [ 8993.811710] 12 34 56 78 9A BC [ 8993.811727] register_networkdev:Registering netdevice notifier [ 8993.811732] [ 8993.811745] register_networkdev:BCM Notifier got Registered [ 8993.812253] bcm_notify_event:Register RefCount: 7 [ 8993.812259] [ 8993.812412] register_networkdev:Beceem Network device name is eth2! [ 8994.560057] ReadLEDInformationFromEEPROM:GPIO's bit map correspond to LED :0xA000 [ 8994.779868] ReadLEDInformationFromEEPROM:SPIO's bit map correspond to LED :0x0 [ 8994.783907] open_firmware_file:Got file descriptor pointer of /lib/firmware/macxvi350.bin! [ 8994.783917] BcmFileDownload:Opened file is = /lib/firmware/macxvi350.bin and length =0x2039a8 to be downloaded at =0xbfc00000 [ 8994.783925] BcmFileDownload:download start 13f1be7e2e3 [ 8999.139253] InterfaceFileDownload:Got end of file! [ 9003.261792] InterfaceFileReadbackFromChip:Got end of file! [ 9003.261826] BcmFileDownload:file download done at 13f1be80408 [ 9003.261833] InitCardAndDownloadFirmware:BIN file downloaded [ 9003.275867] device_run:Sending first interrupt URB down...... [ 9003.277961] device_run:Got the mailbox interrupt ...Registering control interface... [ 9003.277961] [ 9003.278232] register_control_device_interface:Got Major No: 251 [ 9003.281846] usbbcm_device_probe:Enabling USB Auto-Suspend [ 9003.281859] [ 9003.281990] usbcore: registered new interface driver usbbcm
Originally posted by PJJ
View Post
TLSDevicePrivateKeyFileName should be unset or commented out
TLSDevicePrivateKeyPassword should be your 6-character hwaddr/mac address
FirmwareRSAPrivateKeyEncrypt should be 'yes'
FirmwarePrivateKeyBits should be 2048.
The private key does not leave the U600, which is why FirmwareRSAPrivateKeyEncrypt is set to yes. All that is necessary is to supply the U600 with the PrivateKeyPassword (your MAC address). This was the part that took the longest for me...which took a lot of trial & error of modifying wimaxd.conf literally hundreds of times. So I can only really comment on what worked for me (the information I listed above). You can, however, set TLSDevicePrivateKeyFileName to 'DeviceMemSlot2' in which wimaxd will pull the key off, but on my system, openssl couldn't figure out how to process the private key file (appropriate engine/etc..).
Once I got the above method working, I did not continue with other approaches.
If wimaxd is still telling you device not present, make sure your module is being loaded & initializing the U600 at startup.
Comment