[beagleboard] SSH, ping over IPv6 only, not IPv4

2019-03-13 Thread gerry s
Hello All,

I'm running "*Linux beaglebone 3.8.13-bone80 #1 SMP Wed Jun 15 17:03:55 UTC 
2016 armv7l GNU/Linux*" on a Rev C BBB.
Yes, this is an old version, but have to remain on this due to the 
application, and have the latest eMMC(5.1) support(*Thank you Robert!*).

I had a query a while back about disabling wicd breaks networking 
here:https://groups.google.com/forum/#!searchin/beagleboard/wicd|sort:date/beagleboard/jxJzB6MlqeA/I3eHMpBnBAAJ
However, I found out that IPv6 works, so does beaglebone.local via putty or 
ping.

Now, I feel I may have broken some networking file when disabling wicd that 
caused this.
The following services are *disabled*:

   sudo update-rc.d apache2 disable
>sudo update-rc.d wicd disable
>sudo systemctl disable cloud9.service
>sudo update-rc.d saned disable
>sudo update-rc.d lightdm disable
>sudo systemctl stop graphical.target 
>
>sudo update-rc.d  alsa-utils disable
>sudo systemctl disable  bonescript-autorun.service
>sudo update-rc.d  cpufrequtils  disable
>sudo update-rc.d  hdparm  disable
>sudo update-rc.d  loadcpufreq  disable
>sudo systemctl disable  wpa_supplicant.service
>sudo systemctl disable  bonescript.socket
>sudo systemctl disable cloud9.socket
>sudo systemctl disable graphical.target
>

 

This is my */etc/network/interfaces* file:


> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
>
> # The loopback network interface
> auto lo
> iface lo inet loopback
>
> # The primary network interface
> #auto eth0
> #iface eth0 inet dhcp
> # Example to keep MAC address between reboots
> #hwaddress ether DE:AD:BE:EF:CA:FE
>
> # The secondary network interface
> #auto eth1
> #iface eth1 inet dhcp
>
> # WiFi use: -> connmanctl
>
> # Ethernet/RNDIS gadget (g_ether)
> # Used by: /opt/scripts/boot/autoconfigure_usb0.sh
> iface usb0 inet static
> address 192.168.7.2
> netmask 255.255.255.252
> network 192.168.7.0
> gateway 192.168.7.1
>
>

*ifconfig*:

debian@beaglebone:~$ ifconfig
> loLink encap:Local Loopback
>   inet addr:127.0.0.1  Mask:255.0.0.0
>   inet6 addr: ::1/128 Scope:Host
>   UP LOOPBACK RUNNING  MTU:65536  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:0
>   RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>
> usb0  Link encap:Ethernet  HWaddr 04:a3:16:f5:25:10
>   inet addr:192.168.7.2  Bcast:192.168.7.3  Mask:255.255.255.252
>   inet6 addr: fe80::6a3:16ff:fef5:2510/64 Scope:Link
>   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>   RX packets:479 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:75 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:1000
>   RX bytes:61361 (59.9 KiB)  TX bytes:20074 (19.6 KiB)
>

>
Does anyone have any suggestions to get IPv4 back.

Thank you,
-Gerry

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/e2b9d883-15ce-4e4b-a2cf-8f3e209a4696%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Does wicd need to be enabled for USB Networking?

2019-02-27 Thread gerry s
Hello,

I'm running "*Linux beaglebone 3.8.13-bone80 #1 SMP Wed Jun 15 17:03:55 UTC 
2016 armv7l GNU/Linux*" on a Rev C BBB.
Yes, this is an old version, but have to remain on this due to the 
application, and have the latest eMMC(5.1) support(*Thank you Robert!*).

I have everything working as usual, but have an unusual need to disable 
wicd (*sudo update-rc.d wicd disable*). 
The application samples a GPIO and it works reliably only if wicd is 
disabled. In fact I see wicd come up on top(*top -d 1*) while the 
application is running.
Unfortunately, I also have a need for USB networking. USB0 and the RNDIS 
driver get mounted on windows alright, but ssh'ing into the BBB with wicd 
disabled does not work.

I also have the following services disabled. 

   sudo update-rc.d apache2 disable
>sudo update-rc.d wicd disable
>sudo systemctl disable cloud9.service
>sudo update-rc.d saned disable
>sudo update-rc.d lightdm disable
>sudo systemctl stop graphical.target 
>
>sudo update-rc.d  alsa-utils disable
>sudo update-rc.d  avahi-daemon  disable
>sudo systemctl disable  bonescript-autorun.service
>sudo update-rc.d  cpufrequtils  disable
>sudo update-rc.d  hdparm  disable
>sudo update-rc.d  loadcpufreq  disable
>sudo systemctl disable  wpa_supplicant.service
>sudo systemctl disable  bonescript.socket
>sudo systemctl disable cloud9.socket
>sudo systemctl disable graphical.target
>

Question: Can I get USB networking back with wicd disabled?
Thank you.

-Gerry

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/03f59d87-c322-4319-bc71-892149509ede%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.