Caanoo / WIZ Caanoo And Usbnet


Dave18

Member
Joined
Mar 16, 2003
Messages
352
Age
50
Hi

I hoping someone might be able to help.

I'm trying to make it easier to debug FBA by ssh-ing into the Caanoo from my PC.

I've loaded a fresh install of Ubuntu and followed the guidance here

When I look at the wired connections I can see Wired Connection (Linux 2.6.24/lf1000 udc Caanoo Ethernet) but it is greyed out as shows as disconnected.

If I type cat /etc/network/interfaces the output is:
auto lo
iface lo inet loopback

allow-hotplug usb0
mapping hotplug
script grep
map usb0
iface usb0 inet static
address 10.0.0.1
netmask 255.255.255.0
up iptables -t nat -A POSTROUTING -o eth0 -s 10.0.0.2 -j MASQUERADE
up echo 1 > /proc/sys/net/ipv4/ip_forward
down iptables -t nat -D POSTROUTING -o eth0 -s 10.0.0.2 -j MASQUERADE
down echo 0 > /proc/sys/net/ipv4/ip_forward



sudo ifconfig -a shows
eth0 Link encap:Ethernet HWaddr b8:70:f4:5d:00:af
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 TX bytes:0 (0.0
Interrupt:49 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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 TX bytes:0 (0.0

usb0 Link encap:Ethernet HWaddr 2e:cb:c9:f9:e4:af
inet6 addr: fe80::2ccb:c9ff:fef9:e4af/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:104 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 TX bytes:23510 (23.5 KB)

wlan0 Link encap:Ethernet HWaddr 68:a3:c4:aa:80:c4
inet addr:192.168.1.65 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::6aa3:c4ff:feaa:80c4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5076 errors:0 dropped:0 overruns:0 frame:0
TX packets:3681 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5386805 (5.3 MB) TX bytes:466276 (466.2 KB)


sudo locate usbnet.ko shows
/lib/modules/3.0.0-12-generic/kernel/drivers/net/usb/usbnet.ko


Grateful for any help

Dave
 
It looks like your usb0 doesn't have an IP?
My /interfaces look like this:
Code:
auto usb0
iface usb0 inet static
        address 10.0.1.1
        netmask 255.255.255.0
I don't have iptables there since I don't need internet on caanoo, also is that hotplug stuff really needed? Maybe try minimal config first, when that works, add iptables?

I also usually connect the cable first, get out of the "USB connected" dialog in Caanoo menu, only then run the module loader there, after which it connects. It's worth checking dmesg on your host too.
 
Back
Top