At Sun, 24 Mar 2019 16:05:47 -0500 Robert Nelson <[email protected]> wrote:
> > > > > 2) The BeagleBone Black has a proper Ethernet jack and I'd just as soon > > > > *not* > > > > have the BeagleBone Black run its own DHCP server and instead use the > > > > DHCP > > > > server I already have on my LAN. Is there something I can do (eg tweak > > > > a file > > > > on the image once I put it on the SD card from my Linux laptop) to make > > > > it > > > > just do that? I can find its MAC address and update my DHCP server to > > > > give it > > > > an address of my choosing (and update my DNS database to give it a host > > > > name). > > > > > > Just plug it in, your dhcp server will give the BBB it's own ip.. We > > > only run a dhcp server on the "usbX" interface.. > > > > > > > OK, easy as Pi... I presume that sshd is enabled by default. > > Correct, easier then the Pi, ssh is enabled by default.. > > > > > > > > > > > 3) The PocketBeagle does not have a Ethernet jack, so I will be limited > > > > to > > > > using it tethered to connect to it from my computers (either my Laptop > > > > or one > > > > of my 'Pis). Will it be possible to ssh into it and use scp and/or > > > > rsync to > > > > move files and not bother with its silly pointy-clicky web interface? > > > > > > Just enable internet connection sharing on your "host" pc, connected > > > to the PocketBeagle over usb and then set your gateway/dns on the > > > PocketBeagle. > > > > I am not sure what that means under CentOS 6 or Raspbian. > > First on Host PC: > > sudo sysctl net.ipv4.ip_forward=1 > > Assuming: eth0 is your PC port, and the Beagle is eth1 > > sudo iptables --table nat --append POSTROUTING --out-interface eth0 -j > MASQUERADE > sudo iptables --append FORWARD --in-interface eth1 -j ACCEPT > > Second On the Beagle (as root): (login thru serial port to run: /dev/ttyACM0) > > /sbin/route add default gw 192.168.7.1 || true > ping -c1 8.8.8.8 > echo "nameserver 8.8.8.8" >> /etc/resolv.conf More likely ssh in through the local connection, and then using sudo. I don't have the serial <=> USB cable. (Although I'll use my local nameserver, since I don't have a continiously live Internet connection and I might not bother with the nat and just do direct routing.) > > Regards, > -- Robert Heller -- 978-544-6933 Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services [email protected] -- Webhosting Services -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/20190324222011.38E3B26C20DB%40sharky3.deepsoft.com. For more options, visit https://groups.google.com/d/optout.
