Wireless Router to Wired Router...

tarcisio

Honorable
Sep 17, 2012
3
0
10,510
I have a DSL connection and the modem creates two networkds, a wired and a wireless. I have a wired computer and another onw accessing the wireless network. if both are wired I can ftp between them but I do not know how to configure the route so I can ftp between "wired" to "wireless". I have tried

sudo route add gw 192.168.254.254 which is the router of the wired network but I get "unknown host" although route -n tells me that the network 192.168.254.0 exists
 

tarcisio

Honorable
Sep 17, 2012
3
0
10,510
How can I verify this (if both are on the same subnet)?

Here you are ifconfig output of the desktop (wired) and later dow at the wireless

eth0 Link encap:Ethernet HWaddr 00:27:0e:34:75:89
inet addr:192.168.254.2 Bcast:192.168.254.255 Mask:255.255.255.0
inet6 addr: fe80::227:eff:fe34:7589/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:26484 errors:0 dropped:0 overruns:0 frame:0
TX packets:27504 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:19675816 (18.7 MiB) TX bytes:5256811 (5.0 MiB)
Interrupt:27 Base address:0xa000

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:677 errors:0 dropped:0 overruns:0 frame:0
TX packets:677 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:104751 (102.2 KiB) TX bytes:104751 (102.2 KiB)

and the output of ifconfig at wireless

tarcisio@computacao:~$ sudo ifconfig
[sudo] password for tarcisio:
eth0 Link encap:Ethernet HWaddr 00:e0:91:46:b1:ec
inet addr:192.168.254.1 Bcast:192.168.254.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:91ff:fe46:b1ec/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:51 errors:0 dropped:0 overruns:0 frame:0
TX packets:69 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:11642 (11.3 KiB) TX bytes:11645 (11.3 KiB)
Interrupt:27 Base address:0x8000

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:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 B) TX bytes:560 (560.0 B)

wlan0 Link encap:Ethernet HWaddr 00:17:c4:da:28:5a
inet addr:192.168.254.4 Bcast:192.168.254.255 Mask:255.255.255.0
inet6 addr: fe80::217:c4ff:feda:285a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1110 errors:0 dropped:0 overruns:0 frame:0
TX packets:149 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:206627 (201.7 KiB) TX bytes:11275 (11.0 KiB)
Interrupt:16

Does is tell you something? My guess is that the answer is "no" to your question.
Tarcisio
 

tarcisio

Honorable
Sep 17, 2012
3
0
10,510
Solved: sudo ifconfig eth0 down - eth0 was not actual at the wireless connected computer. After putting it down I was able to use its wireless IP.

But, I have to do this everytime. Annoying!

Tarcisio