Hi Jason, I tried with the modprobe
./am335x_evm.sh
but I got
SIOCSIFADDR: Invalid argument
Job for dnsmasq.service failed. See 'systemctl status dnsmasq.service' and
'journalctl
-xn' for details
This is systemctl status dnsmasq.service output:
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled)
Drop-In: /run/systemd/generator/dnsmasq.service.d
└─50-dnsmasq-$named.conf, 50-insserv.conf-$named.conf
Active: failed (Result: exit-code) since Thu 2015-11-12 22:22:21 UTC;
7min ago
Process: 404 ExecStop=/etc/init.d/dnsmasq systemd-stop-resolvconf (code=
exited, status=0/SUCCESS)
Process: 289 ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf (
code=exited, status=0/SUCCESS)
Process: 710 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited,
status=1/FAILURE)
Process: 707 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/
SUCCESS)
Main PID: 279 (code=exited, status=0/SUCCESS)
Nov 12 22:22:21 beaglebone dnsmasq[707]: dnsmasq: syntax check OK.
Nov 12 22:22:21 beaglebone dnsmasq[710]: dnsmasq: bad dhcp-range at line 9
of /etc/dnsmasq.d/usb0-dhcp
Nov 12 22:22:21 beaglebone dnsmasq[710]: bad dhcp-range at line 9 of /etc/
dnsmasq.d/usb0-dhcp
Nov 12 22:22:21 beaglebone systemd[1]: dnsmasq.service: control process
exited, code=exited status=1
Nov 12 22:22:21 beaglebone systemd[1]: Failed to start dnsmasq - A
lightweight DHCP and caching DNS server.
Nov 12 22:22:21 beaglebone systemd[1]: Unit dnsmasq.service entered failed
state.
typing journalctl -xe
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit dnsmasq.service has failed.
--
-- The result is failed.
Nov 12 22:04:18 beaglebone systemd[1]: Dependency failed for Host and
Network Name Lookups.
-- Subject: Unit nss-lookup.target has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nss-lookup.target has failed.
--
-- The result is dependency.
Nov 12 22:04:18 beaglebone systemd[1]: Unit dnsmasq.service entered failed
state.
Nov 12 22:17:01 beaglebone CRON[641]: pam_unix(cron:session): session
opened for user root by (uid=0)
Nov 12 22:17:01 beaglebone CRON[642]: (root) CMD ( cd / && run-parts --report
/etc/cron.hourly)
Nov 12 22:17:01 beaglebone CRON[641]: pam_unix(cron:session): session
closed for user root
Nov 12 22:22:21 beaglebone dnsmasq[707]: dnsmasq: syntax check OK.
Nov 12 22:22:21 beaglebone dnsmasq[710]: dnsmasq: bad dhcp-range at line 9
of /etc/dnsmasq.d/usb0-dhcp
Nov 12 22:22:21 beaglebone dnsmasq[710]: bad dhcp-range at line 9 of /etc/
dnsmasq.d/usb0-dhcp
Nov 12 22:22:21 beaglebone dnsmasq[710]: FAILED to start up
Nov 12 22:22:21 beaglebone systemd[1]: dnsmasq.service: control process
exited, code=exited status=1
Nov 12 22:22:21 beaglebone systemd[1]: Failed to start dnsmasq - A
lightweight DHCP and caching DNS server.
-- Subject: Unit dnsmasq.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit dnsmasq.service has failed.
--
-- The result is failed.
Nov 12 22:22:21 beaglebone systemd[1]: Dependency failed for Host and
Network Name Lookups.
-- Subject: Unit nss-lookup.target has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nss-lookup.target has failed.
--
-- The result is dependency.
Nov 12 22:22:21 beaglebone systemd[1]: Unit dnsmasq.service entered failed
state.
Il giorno lunedì 7 dicembre 2015 13:36:55 UTC+1, Jason Kridner ha scritto:
>
> Find the modprobe here:
>
> https://github.com/RobertCNelson/boot-scripts/blob/master/boot/am335x_evm.sh
>
> You've got to have it serve up an IP address if you don't want to
> manually configure:
>
> https://github.com/RobertCNelson/boot-scripts/blob/master/boot/autoconfigure_usb0.sh
>
>
> On Mon, Dec 7, 2015 at 2:42 AM, Mehmet Kurnaz <[email protected]
> <javascript:>> wrote:
> > You need g_ether.ko module. You can check it is loaded.
> >
> > On Sun, Dec 6, 2015 at 7:44 PM, hllpc <[email protected]
> <javascript:>> wrote:
> >>
> >> Same Issue here.
> >>
> >> Il giorno venerdì 30 ottobre 2015 18:13:55 UTC+1, Alex ha scritto:
> >>>
> >>> Hi,
> >>>
> >>> I am using ubuntu 14.04 (from Robert Nelson) with a custom
> 3.15.10-bone8
> >>> kernel on Beaglebone Black. HDMI is disabled.
> >>> When I plug the board to a PC, Beaglebone powers up but the PC does
> not
> >>> recognize that a USB device is connected to it. I have installed the
> drivers
> >>> for network-over-USB which is recommended on
> Beagleboard.org/getting-started
> >>> too. Moreover, I cannot ssh into it using 192.168.7.2 eventhough I
> have set
> >>> up my /etc/network/interfaces.
> >>> ubuntu@arm $ ifconfig usb0
> >>> usb0 Link encap:Ethernet HWaddr d2:56:2f:23:1d:e2
> >>> inet addr:192.168.7.2 Bcast:192.168.7.3
> Mask:255.255.255.252
> >>> UP BROADCAST MULTICAST MTU:1500 Metric:1
> >>> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> >>> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> >>> collisions:0 txqueuelen:1000
> >>> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
> >>>
> >>>
> >>> Is there some modules that I need to run or compile to Kernel to bring
> >>> the client USB up? How should I configure the linux to be seen by PC
> when
> >>> connected from mini USB?
> >>> Thanks for any help.
> >>
> >> --
> >> 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] <javascript:>.
> >> For more options, visit https://groups.google.com/d/optout.
> >
> >
> > --
> > 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] <javascript:>.
> > For more options, visit https://groups.google.com/d/optout.
>
--
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].
For more options, visit https://groups.google.com/d/optout.