wiki:Internal/SummerInternship/Logs/ChunhuiZhang
close Warning: Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.

Version 9 (modified by chyz198, 13 years ago) ( diff )

--

[Jun 7th] Attend the MF weekly meeting and get myself familiar with the people and environment here; talked with Kiran about the project.

[Jun 8th] Get rooted Sprint Evo phone from Ivan and start to play with it.

[Jun 9th] Tested a sample android NDK example to call C socket API (socket(AF_INET, SOCK_STREAM, IPPROTO_TCP) succeed!); tried socket(AF_PACKET, SOCK_RAW, 0) and return errno 1 which means no root permission, so we need a way to run the app with root.

[Jun 14th] Two options for client MF stack implementation: 1) raw socket(??) 2) android libpcap. Click(use libpcap) is maybe a option if we could port it to android.

[Jun 15th] use both 'netcfg' and 'ifconfig' to check the interfaces in android.

[Jun 16th] ALL of the outdoor node have Intel Wimax card

Use following commands to load wifi driver after ubuntu.ndz was loaded

modprobe ath5k // for 5xxx card
modprobe ath9k // for 9xxx card

Use following commands to load wimax driver after ubuntu.ndz was loaded

modprobe i2400m-usb // this will in turn load module 'wimax' and 'i2400m' 

Now,

root@node1-5:/usr# ifconfig wmx0
wmx0      Link encap:Ethernet  HWaddr 00:1d:e1:37:10:c1  
          NOARP  MTU:1400  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:20 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

Then, let's connect the Wimax client to Wimax BS

wimaxd -i wmx0 -b
wimaxcu ron
wimaxcu scan
wimaxcu connect network 51

But failed to connect as of today.

[Jun 20th] Connection succeed with node1-6

root@node1-6:~# wimaxcu connect network 51
Current Preferred Profile is:
	ID  : 51
	Name: GENI 4G
Connecting to GENI 4G Network...
Connection successful

root@node1-6:~# dhclient wmx0    ---------> to get a IP address
root@node1-6:~# ifconfig wmx0
wmx0      Link encap:Ethernet  HWaddr 00:1d:e1:36:ff:4f  
          inet addr:'''10.41.1.6''' Mask:255.255.0.0
          inet6 addr: fe80::21d:e1ff:fe36:ff4f/64 Scope:Link
          UP RUNNING NOARP  MTU:1400  Metric:1
          RX packets:161 errors:0 dropped:0 overruns:0 frame:0
          TX packets:214 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:20 
          RX bytes:21872 (21.8 KB)  TX bytes:18836 (18.8 KB)

Command used to check the connection status

root@node1-6:~# wimaxcu status
Connected.

Attachments (2)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.