Need A Little Help With Usb Networking


dnlgreenwood

I'LL END YOU!!!
Joined
Jul 17, 2010
Messages
705
Age
29
Location
BC, Canada
Well, I've finally figured out how to connect my Caanoo to the Internet through USB networking! Well, almost. I can ping any internal or external IP address, apart from my Linux PC, from my Caanoo, but I cannot access any web pages, FTP servers (even ones on my local network), IRC servers, or Quake servers.

This is how I've connected it:
1-Connect the Caanoo to Linux PC via USB cable
2-Start the USBnet program
3-PC automatically detects the Caanoo and connects to it
4-Open Firstarter (firewall manager)
5-Set eth0 (PC's ethernet adapter) as internet connected network device
6-Set eth1 (PC's WLAN adapter) as local network connected device
7-Firewall starts and Caanoo is now connected to the rest of my network and the internet through my PC

When I try to ping anything at all, except for my Linux PC, I get a response, usually a 0% packet loss. However, when I try to connect to something, like a webpage though Links2, for example, it fails.
Code:
Error loading http://gp32x.de/:
Host not found

Also, when I run
Code:
wget http://www.google.ca
I get this error:
Code:
Connecting to www.google.ca
wget: bad address 'www.gp32x.ca'
However, if I stop the firewall, I get a different error:
Code:
Connecting to www.google.ca (72.14.213.105:80)
wget: cannot connect to remote host (72.14.213.105): Connection timed out

I've tried setting it as a DMZ host in my router's management console, (not protected by the router's firewall; directly connected to the Internet) but that didn't work.

For some reason, I cannot connect to the SSH server on my Caanoo from my PC after step 7 (above).

Yeah, I can't ping my Linux PC though 192.168.1.64 (WLAN) or 192.168.1.66 (ethernet) or 10.0.0.1 (USBnet) after step 7 (above). However, I can ping any of those addresses before step 7 or if I stop the firewall. However, if I stop the firewall, my connection to everything else stops as well.

In case it matters:
ifconfig -a of my PC:
Code:
eth0      Link encap:Ethernet  HWaddr 00:26:55:c3:0d:59  
          inet addr:192.168.1.64  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::226:55ff:fec3:d59/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:14718 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3831 errors:0 dropped:0 overruns:0 carrier:1
          collisions:0 txqueuelen:1000 
          RX bytes:2518076 (2.5 MB)  TX bytes:395055 (395.0 KB)
          Interrupt:43 

eth1      Link encap:Ethernet  HWaddr 00:26:5e:8b:3c:f9  
          inet addr:192.168.1.66  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::226:5eff:fe8b:3cf9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10580 errors:0 dropped:0 overruns:0 frame:851
          TX packets:19 errors:16 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:667901 (667.9 KB)  TX bytes:4745 (4.7 KB)
          Interrupt:16 Base address:0xc000 

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:24 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1440 (1.4 KB)  TX bytes:1440 (1.4 KB)

usb0      Link encap:Ethernet  HWaddr ea:82:63:08:ab:ec  
          inet addr:10.0.0.1  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::e882:63ff:fe08:abec/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:555 errors:0 dropped:0 overruns:0 frame:0
          TX packets:531 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:42410 (42.4 KB)  TX bytes:48813 (48.8 KB)

ifconfig -a of my Caanoo:
Code:
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:14 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:996 (996.0 B)  TX bytes:996 (996.0 B) 

usb0      Link encap:Ethernet  HWaddr 06:E5:9A:07:B0:C4  
          inet addr:10.0.0.2  Bcast:10.0.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:532 errors:0 dropped:0 overruns:0 frame:0
          TX packets:560 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:41407 (40.4 KiB)  TX bytes:50514 (49.3 KiB)
 
Last edited by a moderator:
Back
Top