ok, il give you an example of what i did. I first configured my router to give the wireless's device mac a static adress during dhcp. I then ran:
ifconfig eth0 192.168.0.103 netmask 255.255.255.0 broadcast 192.168.0.255
for ifconfig eth0 I get :
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:192.168.0.103 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::212:f0ff:fe3e:7935/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:893 errors:0 dropped:26 overruns:0 frame:0
TX packets:52 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:314771 (307.3 Kb) TX bytes:38307 (37.4 Kb)
Interrupt:50 Base address:0xe000 Memory:c8006000-c8006fff
I can ping the router but all other hosts are said unaccessible:
ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=127 time=1.54 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=127 time=1.53 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=127 time=1.54 ms
64 bytes from 192.168.0.1: icmp_seq=4 ttl=127 time=1.54 ms
ping google.com
connect: Network is unreachable
Here is my iwconfig output for reference:
eth0 IEEE 802.11g ESSID:"jpapp" Nickname:"jaylap"
Mode:Managed Frequency:2.437 GHz Access Point: xx:xx:xx:xx:xx:xx
Bit Rate=54 Mb/s Tx-Power=20 dBm
Retry limit:7 RTS thr
ff Fragment thr
ff
Encryption key
ff
Power Management
ff
Link Quality=85/100 Signal level=-45 dBm Noise level=-90 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:26 Missed beacon:1
When I log on the router I can see where the wireless connects but I recently noticed that when run dhcpcd, it is actualy interpreted as a spoof attack. Here's the output:
Sep/11/2005 17:50:27 Spoof IP(192.168.0.103), Spoof Port(60489)
Sep/11/2005 17:50:27 Spoof Attack fromd MAC(xx-xx-xx-xx-xx-xx) Detect,
Sep/11/2005 17:50:27 Target IP(192.168.0.1), Target Port(80) Packet Dropped
The outputline about the kernel being tainted is gone since last time I posted.
I hope this helps