-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor Service and Install Suggestions #23
Comments
I am going to be doing a write up on how to properly setup a static ip on the wireless side of the BBB. vi /etc/network/interfaces WiFi Exampleauto ra0 wpa-psk "#################"wpa-ssid "#################"iface ra0 inet static Ethernet/RNDIS gadget (g_ether)... or on host side, usbnet and random hwaddrNote on some boards, usb0 is automaticly setup with an init scriptiface usb0 inet static |
I've had success either by setting the static IP via wicd-curses, or by letting it use DHCP and setting my router to assign a static address to a given MAC address or hostname. |
Yes, my main point (for static IPs) was that wicd interferes with disconnecting and reconnecting the ethernet cable (it erases the static configuration), which is not something clear or easy to debug. Some of the straightforward solutions are 1) remove wicd, 2) use wicd-curses, or 3) use dhcp and set the IP via the DHCP server. |
It seems that in ledscape.service.in, it may be better to automatically restart the service if it dies, as well as set the niceness a bit lower (so it has higher priority), e.g.:
Restart=always
Nice=-20
Also, I had issues with setting my network configuration through /etc/network/interfaces on the current BBB image. Essentially it worked on boot, but as soon as the network cable was disconnected the interface lost its static IP. Apparently this is due to wicd. Thus you can either uninstall wicd, or set the IP via wicd-curses (or the appropriate config file in /etc/wicd/).
The text was updated successfully, but these errors were encountered: