Skip to content

Commit

Permalink
v1.0.88.3, another minor patch to fix small address problem; adding s…
Browse files Browse the repository at this point in the history
…ome scripts for common usage; changed some debug statements
  • Loading branch information
jreed47 authored and Jonathan Reed committed Jul 2, 2013
1 parent ebf6d78 commit 882b477
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
3 changes: 3 additions & 0 deletions obj/drop_tables.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sudo iptables -A INPUT -j DROP
sudo iptables -A OUTPUT -j DROP
sudo iptables -A FORWARD -j DROP
2 changes: 2 additions & 0 deletions obj/reinstall_driver.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sudo modprobe -r b43
sudo modprobe b43
16 changes: 16 additions & 0 deletions obj/setManaged.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
service network-manager stop


#starts the Managed mode network
sudo ifconfig wlan0 down
sleep 1
sudo dhclient -r wlan0
sleep 1
sudo ifconfig wlan0 up
sleep 1
sudo iwconfig wlan0 essid "FINSFramework"
sleep 1
sudo iwconfig wlan0 mode Managed
sleep 1
sudo dhclient wlan0
sleep 1
2 changes: 1 addition & 1 deletion trunk/modules/interface/interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ int interface_init(struct fins_module *module, uint32_t flows_num, uint32_t *flo

args[j + 1] = (uint8_t *) secure_malloc(2*IFHWADDRLEN+1);
args[j + 1][2 * IFHWADDRLEN] = '\0';
sprintf((charF *) args[j + 1], "%012llx", ifr->mac);
sprintf((char *) args[j + 1], "%012llx", ifr->mac);

j += 2;
}
Expand Down

0 comments on commit 882b477

Please sign in to comment.