Dear all
how to connect internet via USB lan to beagle-board..
thanks in advance.
Dear all
how to connect internet via USB lan to beagle-board..
thanks in advance.
1. Take usb ethernet dongle (see shopping list)
2. connect usb dongle to beagle-board
3. connect network side of dongle to router or switch or whatever
network connection you have
4. boot beagleboard with a kernel that supports your dongle (either as
module or builtin).
Now that was not too difficult, was it?
FM
2. I have mine connected to a powered hub on the EHCI port.
Regards
Sid.
Isnt it just possible to connect the BB and the host PC (assuming it runs Linux) using a USB A to USB mini AB connector and then setup the iptables in Linux (which is already connected to the Net) to share the connection?
I haven't tried this yet, so suggested this as a possibility (it may be already working).
-SV
Default route, but yes...
Works in Windows too but Windows trashes the composite USB gadget driver.
You (I) have to switch to the Ethernet-only gadget driver.
- dan
SVedurumudi wrote:
I haven't tried this yet, so suggested this as a possibility (it may
be already working).
It works very well. If you can ping the beagleboard via the usb-otg
ethernet connection all you have to do is to:
iptables --table nat --append POSTROUTING --out-interface wlan0 -j
MASQUERADE
iptables --append FORWARD --in-interface usb0 -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward
Just replace wlan0 with your network interface of the linux machine and
usb0 with the ethernet interface of the beagleboard.