There are a couple sites documenting sharing a pc connection with the BBB.  
You may need to substitute eth0 for usb0, but otherwise, those instructions 
work fine.
I do this on my laptop, but I run linux so my instructions probably won't 
apply.


On Saturday, February 18, 2017 at 8:54:49 AM UTC-5, Sag ich Dir nich wrote:
>
> so i got it working by using a different ip (192.168.2.80) but i can not 
> sudo update over the ethernet cable (network sharing is acti)
>
> Am Sonntag, 12. Februar 2017 20:22:01 UTC+1 schrieb Sag ich Dir nich:
>>
>> i am using Putty,
>>
>> if i go to "/etc/NetworkManager" it says "no such file or directory" (i 
>> guess you mean "/etc/Network"?)
>>
>> in case you mean "/etc/Network" the file looks like this:
>>
>>   GNU nano 2.2.6              File: interfaces                       
>>  Modified  
>>
>> # 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
>>
>> # The primary network interface
>>  auto eth0
>>  iface eth0 inet static
>>  address 192.168.1.80
>>  netmask 255.255.255.0
>>  gateway 192.168.1.1
>>  dns-nameserver 8.8.8.8
>>  dns-nameserver 8.8.4.4
>>
>>
>> i deleted the old cached session and i am going to try it again
>>
>>
>> Am Sonntag, 12. Februar 2017 19:59:56 UTC+1 schrieb Daren Schwenke:
>>>
>>> I believe I disabled the service, but that's not what the docs say.
>>> /etc/NetworkManager and set managed=false to the interface you want to 
>>> ignore.
>>>
>>> On Sunday, February 12, 2017 at 1:56:04 PM UTC-5, Daren Schwenke wrote:
>>>>
>>>> You have a previous ssh key cached.  You'll need to delete your local 
>>>> cached copy.
>>>> Depends on the ssh client you are using to tell you how.
>>>>
>>>> On Sunday, February 12, 2017 at 1:52:38 PM UTC-5, Sag ich Dir nich 
>>>> wrote:
>>>>>
>>>>> yes thats what i did (
>>>>> http://derekmolloy.ie/set-ip-address-to-be-static-on-the-beaglebone-black/
>>>>> )
>>>>>
>>>>> i went into the directory and then opened the file to add:
>>>>>
>>>>> # The primary network interface
>>>>> auto eth0
>>>>> iface eth0 inet static
>>>>> address 192.168.1.80
>>>>> netmask 255.255.255.0
>>>>> gateway 192.168.1.1
>>>>>
>>>>> and that gave me the ip adress. I was able to ping the adress without 
>>>>> a problem then went to start a connection using Putty, i had to accept a 
>>>>> warning screen and while i was going to "login as:" it gave me an error 
>>>>> message "Network error: Software caused connection abort" now i cannot 
>>>>> connect anymore or do ping.
>>>>>
>>>>> so i added a dns server but how do i disable the X based network 
>>>>> configuration thingy?
>>>>>
>>>>> i did it according to: 
>>>>> http://www.ofitselfso.com/Beagle/NetworkingSetupConnectingTheBeagleboneBlack.php
>>>>>
>>>>> Am Sonntag, 12. Februar 2017 19:16:18 UTC+1 schrieb Daren Schwenke:
>>>>>>
>>>>>> I usually just give mine a static ip.
>>>>>> edit /etc/network/interfaces
>>>>>> it contains examples already.
>>>>>> Uncomment the line assigning a mac address as well (and change it a 
>>>>>> little) to prevent ssh from bugging you.
>>>>>>
>>>>>> You will also need to add a dns server to /etc/resolv.conf
>>>>>> To make the resolv.conf changes stick you may need to disable the X 
>>>>>> based network configuration thingy.
>>>>>>
>>>>>> On Sunday, February 12, 2017 at 12:30:05 PM UTC-5, Alexander Rössler 
>>>>>> wrote:
>>>>>>>
>>>>>>>
>>>>>>> Sag ich Dir nich writes: 
>>>>>>>
>>>>>>> > I need to know the ip adress of my beaglebone so i can connect it 
>>>>>>> to my pc 
>>>>>>> > via ssh but when i write ifconfig in the terminal i get no 
>>>>>>> ethernet ip 
>>>>>>> > adress: 
>>>>>>> > 
>>>>>>> > machinekit@beaglebone:~$ ifconfig 
>>>>>>> > eth0      Link encap:Ethernet  HWaddr a0:f6:fd:4b:9c:97   
>>>>>>> >           inet6 addr: fe80::a2f6:fdff:fe4b:9c97/64 Scope:Link 
>>>>>>> >           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 
>>>>>>> >           RX packets:316 errors:0 dropped:0 overruns:0 frame:0 
>>>>>>> >           TX packets:51 errors:0 dropped:0 overruns:0 carrier:0 
>>>>>>> >           collisions:0 txqueuelen:1000 
>>>>>>> >           RX bytes:77089 (75.2 KiB)  TX bytes:13100 (12.7 KiB) 
>>>>>>> >           Interrupt:40 
>>>>>>> > 
>>>>>>> > lo        Link 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 a0:f6:fd:4b:9c:99   
>>>>>>> >           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) 
>>>>>>> > 
>>>>>>> > do i have to install something? 
>>>>>>>
>>>>>>> Try 
>>>>>>>
>>>>>>> ifdown eth0 
>>>>>>> ifup eth0 
>>>>>>>
>>>>>>> or 
>>>>>>> sudo dhclient eth0 
>>>>>>>
>>>>>>> Btw. ifconfig is deprecated and I recommand to use ip instead 
>>>>>>> (
>>>>>>> http://serverfault.com/questions/458628/should-i-quit-using-ifconfig) 
>>>>>>>
>>>>>>>
>>>>>>> ip a 
>>>>>>>
>>>>>>> would be the new command to show the IP addresses, it's even shorter 
>>>>>>> to type 
>>>>>>>
>>>>>>> -- 
>>>>>>> Alexander 
>>>>>>>
>>>>>>

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to