Differences between version 8 and predecessor to the previous major change of AdHoc.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 8 | Last edited on Tuesday, September 21, 2004 5:18:20 pm | by BillRosoman | Revert |
Older page: | version 7 | Last edited on Tuesday, September 21, 2004 5:03:31 pm | by DanielLawson | Revert |
@@ -1,8 +1,8 @@
-Wireless Ad-Hoc connection
+!
Wireless Ad-Hoc connection
----
-These commands were useful
+!
These commands were useful
----
http://iptables-tutorial.frozentux.net/iptables-tutorial.html
<verbatim>
@@ -25,9 +25,9 @@
</verbatim>
<verbatim>
-tcpdump -i eth1
+!
tcpdump -i eth1
cat /etc/rc.d/init.d/iptables
cat /proc/sys/net/ipv4/ip_forward
echo 1 > /proc/sys/net/ipv4/ip_forward
/sbin/iptables -t nat -A PREROUTING -s 192.168.1.0/255.255.255.0 -d 10.0.4./16 -i eth1 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128
@@ -138,9 +138,9 @@
Wlan is 192.168.1.1
Almost humming!
-Wireless Ad-Hoc PC to Notepad
+!
Wireless Ad-Hoc PC to Notepad
-----------------------------
Usng PC Windows ME Zyxel USB Wlan
Dell Notepad;
The wifi card's a Netgear WG511.
@@ -149,9 +149,9 @@
Intel Chip
running Mandrake 10 KDE 3.2
Kernel 2.6.3-7mdk
-Results
+!
Results
-------
Windows machine
netstat shows TCP to Notepad
ping 192.168.1.1 excellent
@@ -273,16 +273,17 @@
64 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=0.322 ms
</verbatim>
NOTE: It's important that you setup the interface in the following steps
-1) Make sure the interface (eth1) is down
-2) Execute the iwconfig commands
-3) Execute the ifconfig command (will Add IP and bring interface up)
-4) Perform tests
+%%%
1) Make sure the interface (eth1) is down
+%%%
2) Execute the iwconfig commands
+%%%
3) Execute the ifconfig command (will Add IP and bring interface up)
+%%%
4) Perform tests
+%%% The main things was doing the card firmware and using a different subset
This order is crucial because the new network settings are not written
to the wireless card until you bring the interface up (via the ifconfig
command).
Now the Internet!
Bill