Hi,
I have one eth0 device on my pc, 192.168.1.65 using default gateway 192.168.1.1.
I have added a wireless card using ndiswrappers with the view of setting it up in AdHoc mode, to allow my laptop to connect to the network and access the internet through the gateway 192.168.1.1.
Now my wireless card ra0 is setup and running in adhoc mode:
Code:
ra0 RT2500 Wireless ESSID:"mynetwork"
Mode:Ad-Hoc Frequency=2.412 GHz Cell: 6A:39:88:E7:1E:70
Bit Rate:11 Mb/s Tx-Power:2 dBm
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=66/100 Signal level=-46 dBm Noise level:-208 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
My laptop finds the "mynetwork" fine and i have configured it to connect to it with IP 192.168.1.20 / 255.255.255.0 and gateway 192.168.1.1, so its on the same subnet as the eth0 device.
It seems to connect to the network perfectly, but i cant browse the net or ping any other PCs on the network.
Any idea how i can fix this, do i have to enable some kind of packet forwarding to get packets from the ra0 interface moved onto the eth0 interface and along to the gateway?
Also the ra0 interface doesnt seem to have an IP address, are adhoc interfaces supposed to?
I created the adhoc network simply by: iwconfig ra0 essid mynetwork mode Ad-Hoc
Thanks very much for any help,
Jack