Internet sharing suggestions? (Sharing PC's internet connection with Beagleboard xM)

Hello,

I need internet connection for my beagleboard xm. However the problem is that I have not bought an usb wifi dongle yet. (insufficient funds unfortunately) Currently, I have 1 ethernet connection which is connected to my laptop. But I cannot unconnect it from my laptop even for 10 minutes. Therefore I need to find a way to share my laptop’s internet with beagleboard xm. What are your suggestions?

I am using usb to serial for beagleboard-PC connection. Is there a way that I can establish internet connection over that?

Regards,
Amadeus

Take a look at bridging the network adapters [1].

[1]:http://tldp.org/HOWTO/Ethernet-Bridge-netfilter-HOWTO-3.html

-Andrew

hi
i want to use my PC Internet with BB-XM rev c. my PC is running XP and BB-XM is running ubuntu 12.04.1. i want to set up ddclient on BB-XM that’s why i want internet connection with beagleBoard. here is my boot sequence. please guide me what should i do.
I2C: ready
DRAM: 512 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0
*** Warning - readenv() failed, using default environment

In: serial
Out: serial
Err: serial
Beagle xM Rev C
No EEPROM on expansion board
No EEPROM on expansion board
Die ID #1fca00029ff80000016071641701f00e
Net: Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot: 0
gpio: pin 173 (gpio 173) value is 0
gpio: pin 4 (gpio 4) value is 0
SD/MMC found on device 0
reading uEnv.txt

1035 bytes read
Loaded environment from uEnv.txt
Importing environment from mmc …
reading zImage

3017576 bytes read
reading initrd.img

3037988 bytes read
Booting from mmc …

Starting kernel …

Uncompressing Linux… done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.2.30-x14 (root@panda-1gb-a1) (gcc version 4.6.3 2
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructie
[ 0.000000] Machine: OMAP3 Beagle Board
[ 0.000000] Beagle expansionboard: none
[ 0.000000] Beagle second expansionboard: none
[ 0.000000] Reserving 12582912 bytes SDRAM for VRAM
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] OMAP3630 ES1.2 (l2cache iva sgx neon isp 192mhz_clk )
[ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/400/600 MHz
[ 0.000000] PERCPU: Embedded 8 pages/cpu @c0d0c000 s10816 r8192 d13760 u32768
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pa0
[ 0.000000] Kernel command line: console=ttyO2,115200n8 console=tty0 vram=12e
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] allocated 2097152 bytes of page_cgroup
[ 0.000000] please try ‘cgroup_disable=memory’ option if you don’t want memos
[ 0.000000] Memory: 494MB = 494MB total
[ 0.000000] Memory: 487052k/487052k available, 37236k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xf8000000 ( 376 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0783414 (7662 kB)
[ 0.000000] .init : 0xc0784000 - 0xc07d9a40 ( 343 kB)
[ 0.000000] .data : 0xc07da000 - 0xc0843e10 ( 424 kB)
[ 0.000000] .bss : 0xc0843e34 - 0xc0907e50 ( 785 kB)
[ 0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, 1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:410 nr_irqs:410 410
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrups
[ 0.000000] Total of 96 interrupts on 1 active controller
[ 0.000000] OMAP clockevent source: GPTIMER12 at 32768 Hz
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 1s
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [tty0] enabled
[ 0.000671] Calibrating delay loop… 490.52 BogoMIPS (lpj=1916928)
[ 0.032165] pid_max: default: 32768 minimum: 301
[ 0.032409] Security Framework initialized
[ 0.032501] AppArmor: AppArmor initialized
[ 0.032806] Mount-cache hash table entries: 512
[ 0.033782] Initializing cgroup subsys cpuacct
[ 0.033874] Initializing cgroup subsys memory
[ 0.033935] Initializing cgroup subsys devices
[ 0.033966] Initializing cgroup subsys freezer
[ 0.033996] Initializing cgroup subsys blkio
[ 0.034027] Initializing cgroup subsys perf_event
[ 0.034149] CPU: Testing write buffer coherency: ok
[ 0.034423] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.035125] Brought up 1 CPUs
[ 0.035156] SMP: Total of 1 processors activated (490.52 BogoMIPS).
[ 0.036224] devtmpfs: initialized
[ 0.042297] print_constraints: dummy:
[ 0.042663] NET: Registered protocol family 16
[ 0.042877] GPMC revision 5.0
[ 0.044494] OMAP GPIO hardware version 2.5
[ 0.046417] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.047698] OMAP3 Beagle Rev: xM C
[ 0.051269] Reprogramming SDRC clock to 400000000 Hz
[ 0.051300] dpll3_m2_clk rate change failed: -22
[ 0.053070] Found NAND on CS0
[ 0.053100] Registering NAND on CS0
[ 0.053436] Unable to get DVI reset GPIO
[ 0.053619] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.054290] Could not look up mcpdm hw_mod
[ 0.057647] omap-mcbsp.2: alias fck already exists
[ 0.057922] omap-mcbsp.3: alias fck already exists
[ 0.059295] OMAP DMA hardware revision 5.0
[ 0.067596] bio: create slab at 0
[ 0.069122] SCSI subsystem initialized
[ 0.070495] usbcore: registered new interface driver usbfs
[ 0.070739] usbcore: registered new interface driver hub
[ 0.070983] usbcore: registered new device driver usb
[ 0.071899] omap_i2c omap_i2c.1: bus 1 rev1.4.0 at 2600 kHz
[ 0.074676] twl4030: PIH (irq 7) chaining IRQs 368…375
[ 0.074829] twl4030: power (irq 373) chaining IRQs 376…383
[ 0.075469] twl4030: gpio (irq 368) chaining IRQs 384…401
[ 0.075866] _omap_mux_init_gpio: Could not set gpio192
[ 0.078186] print_constraints: VUSB1V5: 1500 mV normal standby
[ 0.078674] print_constraints: VUSB1V8: 1800 mV normal standby
[ 0.079132] print_constraints: VUSB3V1: 3100 mV normal standby
[ 0.083038] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[ 0.084014] print_constraints: VMMC1: 1850 <–> 3150 mV at 3150 mV normal sty
[ 0.084533] print_constraints: VDAC: 1800 mV normal standby
[ 0.084991] print_constraints: VAUX2_4030: 1800 mV normal
[ 0.085479] print_constraints: VDVI: 1800 mV normal standby
[ 0.086029] print_constraints: VSIM: 1800 <–> 3000 mV at 1800 mV normal stay
[ 0.086456] omap_i2c omap_i2c.2: bus 2 rev1.4.0 at 400 kHz
[ 0.096313] omap_i2c omap_i2c.3: bus 3 rev1.4.0 at 100 kHz
[ 0.097717] NetLabel: Initializing
[ 0.097747] NetLabel: domain hash size = 128
[ 0.097778] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.097869] NetLabel: unlabeled traffic allowed by default
[ 0.097930] Switching to clocksource 32k_counter
[ 0.118347] AppArmor: AppArmor Filesystem Enabled
[ 0.133270] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.133941] musb-hdrc musb-hdrc: USB OTG mode controller at fa0ab000 using D2
[ 0.134399] NET: Registered protocol family 2
[ 0.134826] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.136016] TCP established hash table entries: 16384 (order: 5, 131072 byte)
[ 0.136383] TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.136749] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.136779] TCP reno registered
[ 0.136810] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.136871] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.137451] NET: Registered protocol family 1
[ 0.138000] RPC: Registered named UNIX socket transport module.
[ 0.138031] RPC: Registered udp transport module.
[ 0.138061] RPC: Registered tcp transport module.
[ 0.138061] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.138366] Trying to unpack rootfs image as initramfs…
[ 0.454559] Freeing initrd memory: 2964K
[ 0.454742] omap_dsp_init: 600000 bytes @ 9ee00000
[ 0.456817] audit: initializing netlink socket (disabled)
[ 0.456909] type=2000 audit(0.468:1): initialized
[ 0.665618] VFS: Disk quotas dquot_6.5.2
[ 0.666198] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.671142] nfs4filelayout_init: NFSv4 File Layout Driver Registering…
[ 0.671264] fuse init (API version 7.17)
[ 0.673370] Btrfs loaded
[ 0.673431] msgmni has been set to 957
[ 0.675231] Block layer SCSI generic (bsg) driver version 0.4 loaded (major )
[ 0.675292] io scheduler noop registered
[ 0.675323] io scheduler deadline registered
[ 0.675384] io scheduler cfq registered (default)
[ 0.676635] OMAP DSS rev 2.0
[ 0.679779] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.681274] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
[ 0.681640] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
[ 0.681976] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
[ 1.448608] console [ttyO2] enabled
[ 1.452697] omap_uart.3: ttyO3 at MMIO 0x49042000 (irq = 80) is a OMAP UART3
[ 1.471557] brd: module loaded
[ 1.479980] loop: module loaded
[ 1.486602] twl4030_madc twl4030_madc: clk disabled, enabling
[ 1.495025] omap2-nand driver initializing
[ 1.499786] No NAND device found
[ 1.503356] No NAND device found
[ 1.507049] OneNAND driver initializing
[ 1.511901] usbcore: registered new interface driver cdc_ether
[ 1.518188] usbcore: registered new interface driver rndis_host
[ 1.524475] cdc_ncm: 04-Aug-2011
[ 1.527984] usbcore: registered new interface driver cdc_ncm
[ 1.534515] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 3.551330] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[ 3.557800] ehci-omap ehci-omap.0: new USB bus registered, assigned bus numb1
[ 3.565765] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[ 3.582672] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[ 3.588806] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.596008] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber1
[ 3.603668] usb usb1: Product: OMAP-EHCI Host Controller
[ 3.609313] usb usb1: Manufacturer: Linux 3.2.30-x14 ehci_hcd
[ 3.615447] usb usb1: SerialNumber: ehci-omap.0
[ 3.620971] hub 1-0:1.0: USB hub found
[ 3.625030] hub 1-0:1.0: 3 ports detected
[ 3.660766] Initializing USB Mass Storage driver…
[ 3.665985] usbcore: registered new interface driver usb-storage
[ 3.672393] USB Mass Storage support registered.
[ 3.677429] usbcore: registered new interface driver libusual
[ 3.683685] udc: OMAP UDC driver, version: 4 October 2004 (iso) (dma)
[ 3.690734] gadget: using random self ethernet address
[ 3.696319] gadget: using random host ethernet address
[ 3.703124] usb0: MAC be:16:10:da:69:fc
[ 3.707244] usb0: HOST MAC ce:3c:89:a9:05:cf
[ 3.711883] gadget: Ethernet Gadget, version: Memorial Day 2008
[ 3.718292] gadget: g_ether ready
[ 3.721862] musb-hdrc musb-hdrc: MUSB HDRC host driver
[ 3.727661] musb-hdrc musb-hdrc: new USB bus registered, assigned bus number2
[ 3.735443] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.742645] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber1
[ 3.750305] usb usb2: Product: MUSB HDRC host driver
[ 3.755615] usb usb2: Manufacturer: Linux 3.2.30-x14 musb-hcd
[ 3.761718] usb usb2: SerialNumber: musb-hdrc
[ 3.767089] hub 2-0:1.0: USB hub found
[ 3.771118] hub 2-0:1.0: 1 port detected
[ 3.776153] mousedev: PS/2 mouse device common for all mice
[ 3.783325] input: twl4030_pwrbutton as /devices/platform/omap/omap_i2c.1/i20
[ 3.795379] i2c /dev entries driver
[ 3.799713] Linux media interface: v0.10
[ 3.804077] lirc_dev: IR Remote Control driver registered, major 249
[ 3.810913] Driver for 1-wire Dallas network protocol.
[ 3.817230] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[ 3.824310] twl4030_wdt twl4030_wdt: Failed to register misc device
[ 3.830993] twl4030_wdt: probe of twl4030_wdt failed with error -16
[ 3.838836] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-m
[ 3.848388] cpuidle: using governor ladder
[ 3.852661] cpuidle: using governor menu
[ 3.856872] sdhci: Secure Digital Host Controller Interface driver
[ 3.863464] sdhci: Copyright© Pierre Ossman
[ 4.004486] usb 1-2: new high-speed USB device number 2 using ehci-omap
[ 4.088623] usbcore: registered new interface driver usbhid
[ 4.094573] usbhid: USB HID core driver
[ 4.098663] oprofile: hardware counters not available
[ 4.103942] oprofile: using timer interrupt.
[ 4.109588] TCP cubic registered
[ 4.114044] NET: Registered protocol family 10
[ 4.121795] NET: Registered protocol family 17
[ 4.126647] Registering the dns_resolver key type
[ 4.131774] VFP support v0.3: implementor 41 architecture 3 part 30 variant 3
[ 4.139923] ThumbEE CPU extension supported.
[ 4.144470] Registering SWP/SWPB emulation handler
[ 4.154235] sr_init: No PMIC hook to init smartreflex
[ 4.159759] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver inid
[ 4.168090] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver inid
[ 4.176361] SmartReflex Class3 initialized
[ 4.186584] clock: disabling unused clocks to save power
[ 4.193328] registered taskstats version 1
[ 4.197845] fbcvt: 1280x720@60: CVT Name - .921M9-R
[ 4.223541] Console: switching to colour frame buffer device 160x45
[ 4.241821] usb 1-2: New USB device found, idVendor=0424, idProduct=9514
[ 4.249053] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 4.257232] regulator_init_complete: VDAC: incomplete constraints, leaving on
[ 4.265014] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 4.272735] Freeing init memory: 340K
[ 4.289733] hub 1-2:1.0: USB hub found
[ 4.297912] hub 1-2:1.0: 5 ports detected
[ 4.322235] gadget: high-speed config #1: CDC Ethernet (EEM)
[ 4.424682] udevd[61]: starting version 175
[ 4.472015] mmc0: host does not support reading read-only switch. assuming w.
[ 4.513092] mmc0: new high speed SDHC card at address e624
[ 4.551971] mmcblk0: mmc0:e624 SU04G 3.69 GiB
[ 4.592132] mmcblk0: p1 p2
[ 4.606384] usb 1-2.1: new high-speed USB device number 3 using ehci-omap
[ 4.778717] usb 1-2.1: New USB device found, idVendor=0424, idProduct=ec00
[ 4.789215] usb 1-2.1: New USB device strings: Mfr=0, Product=0, SerialNumbe0
[ 5.482940] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesysm
[ 5.494201] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[ 6.638824] EXT4-fs (mmcblk0p2): recovery complete
[ 6.655426] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. )
[ 7.141204] init: ureadahead main process (186) terminated with status 5

Ubuntu 12.04.1 LTS arm ttyO2

arm login: ubuntu
Password: