Thanks for the response! I have just been following various tutorials online that use the following command.
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE Maybe even the following iptables -A FORWARD -i eth0 -o wlan0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT iptables -A FORWARD -i wlan0 -o eth0 -j ACCEPT Allowing the packets coming in via the ad-hoc wlan to be forwarded onward via ethernet. I've seen this in several tutorials of sharing internet whether via usb or wlan. However, if I run that command on the beaglebone I get an error saying iptables needs to be updated. can't initialize iptables table `nat': (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. I'll look into gated a little more. I'm looking for any simple solution that works. On Monday, February 10, 2014 4:35:20 PM UTC-5, Rusty Wright wrote: > > Do you need iptables? When I last had to deal with routing stuff I ran > the gated routing daemon, although > this was on a Sun server that had a bunch of ethernet interfaces on it. > Sun Solaris didn't have iptables back then. > > On Monday, February 10, 2014 11:45:31 AM UTC-8, Mark Hatch wrote: >> >> >> Hi friends, >> >> Total newbie here, so forgive me. >> >> I<http://www.meadios.com/2012/01/building-angstrom-using-bitbake-and-openembedded/>'m >> >> trying to add functionality to iptables so I can use the BBB as a ad-hoc >> "router", sharing it's Ethernet connection with others. >> >> From what I've gleamed so far I need to add that functionality by >> recompiling the kernel. >> >> So following the links at http://www.angstrom-distribution.org/ i cloned >> the setup-scripts. >> >> MACHINE=beaglebone ./oebb.sh config beaglebone >> >> MACHINE=beagleboard ./oebb.sh update >> >> . environment-angstrom-v2013.06 >> >> bitbake -c menuconfig virtual/kernel >> >> I then change the options I need, but when I built it made a zImage >> file... Which confuses me. >> >> Now what I don't understand is that the image I want should be based off >> the regular systemd image. >> >> >> - >> >> bitbake systemd-image >> >> >> How do I update the kernel configuration from the systemd image without >> just building the regular image? >> >> A step-by-step explanation would be awesome, cause I've never >> customized/built the linux kernel before. >> I also do not have a serial cable yet. Is this necessary for running a >> custom kernel? Do options in u-boot need to be changed? >> >> I'm sure I'm asking all the wrong questions, but would really appreciate >> some help! >> >> Here are the options that I need: >> >> Networking ----> >> Networking options ----> >> Network packet filtering framework (Netfilter)---> >> Core Netfilter Configuration ----> >> <*> Netfilter connection tracking support >> <*> Netfilter Xtables support (required for ip_tables) >> <*> "NFLOG" target support >> <*> "conntrack" connection tracking match support >> <*> "state" match support >> IP: Netfilter Configuration ---> >> <*> IPv4 connection tracking support (required for NAT) >> <*> IP tables support (required for filtering/masq/NAT) >> <*> Packet Filtering >> <*> REJECT target support >> <*> Full NAT >> <*> MASQUERADE target support >> <*> Packet mangling >> >> -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.