Advertisement
pjj90292

Franklin U 600, drxvi314.ko, bcm_wimax on Linux, Part IV

Aug 24th, 2013
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.40 KB | None | 0 0
  1. After my encouraging results described in Part III of these notes, I suffered a disappointing setback.
  2. Attempting to search for a Wimax base station this time with an external antenna attached, I was once again confronted with the error "Device NOT present".
  3. Yet I am looking at the device, lit up green for 3G and red for power to the 4G modem part.
  4. Using drxvi312.ko the correct driver, usbbcm, is reported by 'usb-devices'.
  5.  
  6. Back to work. Using information found in this thread
  7. http://ubuntuforums.org/showthread.php?t=2100982
  8. I did:
  9. lshw -C network:
  10. *-network
  11. description: Ethernet interface
  12. physical id: 2
  13. logical name: eth1
  14. serial: f4:63:49:xx:xx:xx
  15. capabilities: ethernet physical
  16. configuration: broadcast=yes multicast=yes
  17.  
  18. The network is there, the driver working.
  19.  
  20. sudo dhcpd
  21. Internet Systems Consortium DHCP Server 4.2.4
  22. Copyright 2004-2012 Internet Systems Consortium.
  23. All rights reserved.
  24. For info, please visit https://www.isc.org/software/dhcp/
  25. Wrote 0 leases to leases file.
  26.  
  27. No subnet declaration for wlan0 (10.0.0.171).
  28. ** Ignoring requests on wlan0. If this is not what
  29. you want, please write a subnet declaration
  30. in your dhcpd.conf file for the network segment
  31. to which interface wlan0 is attached. **
  32. Not configured to listen on any interfaces!
  33.  
  34. My 'interfaces' file has the standard entry for linux/Kubuntu. Adding any additional information to it results in a slow start of the system and an error. system no longer usable. changed back to original.
  35. That is not the solution!
  36.  
  37. Using command 'ifconfig -a' a number of interfaces are displayed, including eth1.
  38. eth1 however has only the inet6 address. Conversion to inet4 failed so far.
  39.  
  40. Code:
  41. ifconfig -a | egrep 'inet|inet6'
  42. results in:
  43.  
  44. inet6 addr: fe80::f663:49ff:xxxx:xxxx/64 Scope:Link
  45. inet addr:127.0.0.1 Mask:255.0.0.0
  46. inet6 addr: ::1/128 Scope:Host
  47. inet addr:10.0.0.171 Bcast:10.0.0.255 Mask:255.255.255.0
  48. inet6 addr: fe80::290:96ff:xxxx:xxxx/64 Scope:Link
  49.  
  50. But which is which? I do not know.
  51. 10.0.0.1 is wlan0, I guess.
  52. 127.0.01 local loop.
  53.  
  54. The first inet6 is my eth1.
  55.  
  56. Entering the info into Network Manager for the eth1 setup does not do anything.
  57.  
  58. Code:
  59. route -n
  60. Result:
  61.  
  62. Kernel IP routing table
  63. Destination Gateway Genmask Flags Metric Ref Use Iface
  64. 0.0.0.0 10.0.0.1 0.0.0.0 UG 0 0 0 wlan0
  65. 0.0.0.0 10.0.0.1 0.0.0.0 UG 303 0 0 wlan0
  66. According to
  67. 10.0.0.0 0.0.0.0 255.255.255.0 U 303 0 0 wlan0
  68. 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
  69.  
  70. That still does not mean a lot to me but I know the Flags code. what is 169.254.0.0 with Gateway o.o.o.o and Genmask 255.255.0.0? It is up and shown as wlan0????
  71.  
  72. Looking for an easier way and hopefully a shortcut I found the following interesting suggestion in one of the many threads I read:
  73. Code;
  74. $ sudo ifconfig eth1 down
  75. followed by:
  76. Code:
  77. $ sudo ifconfig eth1 192.168.0.1 up.
  78.  
  79. Thereafter my ifconfig -a looks like this (excerpt):
  80.  
  81. eth1 Link encap:Ethernet HWaddr f4:63:49:xx:xx:xx
  82. inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
  83. UP BROADCAST MULTICAST MTU:1400 Metric:1
  84. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  85. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  86. collisions:0 txqueuelen:1000
  87. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  88.  
  89. Note that ipv6 is replaced by a inet4 address. At least I got some IPv4 address, a submask and a BCast number.
  90. Note that the broadcast address is similar to
  91. '192.168.1.100'
  92. which is shown in wimaxd as RADIUSIPAddress.
  93.  
  94. Entering the data into the screen for my second 'wired connection' in Network Manager still does not result in any connection, but the information stays and does not disappear when NM is closed.
  95.  
  96. Instead I went back to attempting a connection the standard way. Get the modem powered on, open wimaxd and wimaxc in terminals.
  97.  
  98. For my first attempt I used the driver bcm_wimax.ko instead of drxvi314.ko.
  99. The result?
  100.  
  101. wimaxd -D -c /etc/wimaxd.conf
  102. ********** CSCM Server Started ********** 08/22/13 17:10:42
  103.  
  104. Processing configuration file
  105. =============================
  106. Reading CM Server options file '/etc/wimaxd.conf'
  107.  
  108.  
  109. Option Values In Effect
  110. =======================
  111.  
  112. (details not shown here)
  113. end of wimaxd evaluation says:
  114.  
  115. "Message queue initialized.
  116. Process messages thread started successfully.
  117. Changed state to: Library initialized
  118. FATAL ERROR: Listen socket bind failed <----------
  119. Timer Periodic Action thread has started.
  120. Timer Check Timeouts thread has started."
  121.  
  122. Now I need to find out what that error means.
  123. End of my test.
  124.  
  125. Next test. Again with bcm_wimax driver.
  126. Turning on 4Gmodem with picocom. lsusb shows Beceem modem (4G), usb-devices has driver usbbcm in effect.
  127. Code:
  128. ifconfig -a
  129. result:
  130. eth1 Link encap:Ethernet HWaddr f4:63:49:07:27:9d
  131. UP BROADCAST NOARP MULTICAST MTU:1400 Metric:1
  132. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  133. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  134. collisions:0 txqueuelen:5
  135. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  136.  
  137. No inet address shown. Also NOARP.
  138. fix:
  139. ifconfig eth1 arp
  140.  
  141. Result:
  142. eth1 Link encap:Ethernet HWaddr f4:63:49:07:27:9d
  143. UP BROADCAST MULTICAST MTU:1400 Metric:1
  144. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  145. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  146. collisions:0 txqueuelen:5
  147. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  148.  
  149.  
  150. Never paid attention to this interface:
  151.  
  152. lo Link encap:Local Loopback
  153. inet addr:127.0.0.1 Mask:255.0.0.0
  154. inet6 addr: ::1/128 Scope:Host
  155. UP LOOPBACK RUNNING MTU:65536 Metric:1
  156. RX packets:4703 errors:0 dropped:0 overruns:0 frame:0
  157. TX packets:4703 errors:0 dropped:0 overruns:0 carrier:0
  158. collisions:0 txqueuelen:0
  159. RX bytes:893111 (893.1 KB) TX bytes:893111 (893.1 KB)
  160.  
  161.  
  162. End of tests today.
  163.  
  164. 08/24/13
  165.  
  166. Same setup as before but drxvi314.ko used.
  167.  
  168.  
  169. Result:
  170.  
  171. Message queue initialized.
  172. Process messages thread started successfully.
  173. Changed state to: Library initialized
  174. FATAL ERROR: Listen socket bind failed <-----------------
  175. Timer Periodic Action thread has started.
  176. Timer Check Timeouts thread has started.
  177.  
  178.  
  179. $ wimaxc -i
  180. Beceem CM Server Version 1.1.7.0
  181.  
  182. > search
  183. Beceem WiMAX device is NOT present
  184.  
  185.  
  186.  
  187. And picocom has: (excerpt)
  188.  
  189. ATZ E0 V1 X4 &C
  190. ERROR
  191.  
  192. 22, 99
  193.  
  194. OK
  195.  
  196. 22, 99
  197.  
  198. OK
  199.  
  200. 22, 99
  201.  
  202. OK
  203.  
  204. 22, 99
  205.  
  206. OK
  207.  
  208. 18, 99
  209.  
  210. OK
  211.  
  212. Conclusion: I am getting nowhere and wasting time.
  213. What to do next but to give up, which is out of the question.
  214.  
  215. Following identical procedures before I managed to get the wimax driver to search for a base station.
  216. What changed to make a repeat impossible?
  217. Frustrating. No wonder Virgin Mobile claims that the modem does not work on Linux installations. Sprint says it does and gives detailed instructions. Many of them outdated or hard to understand.
  218.  
  219. A question to everyone: What does the characters/numbers shown by picocom mean? 18,99, 22,99 and so?
  220. Important to know?
  221. To be continued.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement