Hi,
I have been playing around a bit with routing tables to get my pc to act as a router, but i wound up with the second nic (wireless,eth2) not wanting to send anything. I have flushed just about everything and rebuilt my routing table, but i still can't see what's wrong.
When i unplug eth0(wired) and configure eth2(wlan), i can't send anything, but it seems to recieve something, though i have no idea what it is, and it is able to get itself an ip from a router, but that's all i can do with it.
Ifconfig says:
Code:
eth0 Link encap:Ethernet HWaddr 00:02:3F:BD:99:CF
inet addr:192.168.192.25 Bcast:192.168.192.255 Mask:255.255.255.0
inet6 addr: fe80::202:3fff:febd:99cf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3862490 errors:1191 dropped:2031 overruns:1191 frame:0
TX packets:2999918 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3780325063 (3.5 GiB) TX bytes:875777482 (835.2 MiB)
Interrupt:10 Base address:0xc000
eth2 Link encap:Ethernet HWaddr 00:04:23:76:9E:47
inet addr:192.168.192.23 Bcast:192.168.192.255 Mask:255.255.255.0
inet6 addr: fe80::204:23ff:fe76:9e47/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:7869 errors:19 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:544983 (532.2 KiB) TX bytes:3324 (3.2 KiB)
Interrupt:10 Base address:0x4000 Memory:e0000000-e0000fff
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:941 errors:0 dropped:0 overruns:0 frame:0
TX packets:941 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:97920 (95.6 KiB) TX bytes:97920 (95.6 KiB)
netstat -rn says:
Code:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 sl0
192.168.192.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.192.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
0.0.0.0 192.168.192.1 0.0.0.0 UG 0 0 0 eth0
iwconfig eth2 says:
Code:
eth2 IEEE 802.11b ESSID:"Chromium" Nickname:"fuck"
Mode:Managed Frequency:2.427 GHz Access Point: 00:14:7C:B6:25:3A
Bit Rate=11 Mb/s Tx-Power:16 dBm
Retry min limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=100/100 Signal level=-32 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:19 Missed beacon:0