USB Networking to an Ubuntu BEagelboard

Hello,

          I've successfully booted my beagleboard up into ubuntu
following the instructions at http://elinux.org/BeagleBoardUbuntu.
However I now need to get networking running on the ubuntu through the
USB cable on my ubuntu laptop. I've tried the instructions from the
Angstrom and Open moko websites but I cannot get the desktop and
laptop to work together.

  I tried on the target - ifconfig usb0 192.168.0.202 netmask
255.255.255.0

and on the host

sudo ip address add 192.168.0.200/24 dev usb0
sudo ip link set dev usb0 up

  That kinda worked for a bit on an Angstrom card but it shut off my
other network connection (i.e. my wireless connection to the internet)
and then failed after about 3 mins. I cannot get anythign working at
all with an Ubuntu boot. Does anyone have a handy guide to
configuring USB networking for an Ubuntu loaded Beagleboard?

  Thanks in advacne for your help.

Cheers,

Neil

Hello,

     I have the same running on my Ubuntu release as in my

Angstrom releasenow:

on the target

sudo ifconfig usb0 192.168.0.202 netmask 255.255.255.0

on the host

sudo ip address add 192.168.0.200/24 dev usb0
sudo ip link set dev usb0 up
sudo route add -host 192.168.0.202 dev usb0

  This works for about 2-3 mins and then it disconnects again. My
router is on 192.168.0.1 and I've read problem about the router being
on the same subnet as the beagleboard but I'm not sure if this is the
problem?

Regards,

Neil

Hello,

         Thirdly I tried ripping off a script from the Openmoko
freerunnerproject:

#!/bin/sh
/sbin/route add -host 192.168.0.202/32 dev usb0
iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/28
iptables -P FORWARD ACCEPT
sysctl -w net.ipv4.ip_forward=1
scp /etc/resolv.conf ubuntu@192.168.0.202:/etc/resolv.conf

  However this didn't work either - cannot ssh to 192.168.0.202. At
this point I'm going to bed - any help is gratefully appreciated :).

Cheers,

Neil