boot-scripts icon indicating copy to clipboard operation
boot-scripts copied to clipboard

suggestion: do not force udhcpd to be dedicated to USB0 on BBB

Open bvwelch opened this issue 10 years ago • 1 comments

Greetings,

Your debian distro is fantastic -- thank you!

However I'd like to use 99.999% of your setup except I want to use DHCP for wifi instead of the usb ethernet gadget.

But your script forces the default for UDHCPD to be enabled, on every boot. I guess I can 'repair' this from a cron @reboot or other means but you probably have a better idea, like maybe an Env.txt option???

Thanks for your consideration,

William

ps: you may not have noticed but your script adds an extra "#" in front of DHCPD_ENABLED on every boot. For example, mine has #####DHCPD_ENABLED="no" at the moment.

bvwelch avatar May 31 '14 16:05 bvwelch

Thanks William, fixed the extra #, I'm trying to think how to tie this into soc.sh so easily disable/enable the usb gadget (ethernet/serial/mass storage)

https://github.com/RobertCNelson/boot-scripts/commit/d9db843e128b103884dabcdeabf5ddb56ca552a6

RobertCNelson avatar Jun 05 '14 00:06 RobertCNelson