Hi all,

I am new to BBB. This is a long time haunting problem for me.

For my applications some GUI libraries need to be installed in BBB. 
For getting maximum space for installing packages, I am using a 16GB SD 
card - load the image in SD card and boot from SD card.

If I use the latest debian jessie image 
bone-debian-8.7-lxqt-4gb-armhf-2017-03-19-4gb.img from 
https://beagleboard.org/latest-images, 
the maximum rootfs size available is only 4GB. 

Expanding RootFS for 16GB is not possible with this image.

So as per link 
https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-SetupmicroSDcard,
 
Bootloader, Kernel and RootFS images are prepared and loaded into the SD 
card.

But in this procedure the RootFS used is minimal. (obtained from the link -
https:
//rcn-ee.com/rootfs/eewiki/minfs/debian-8.7-minimal-armhf-2017-03-02.tar.xz 
)

This minimal image is finely working. ssh through Ethernet port is working 
fine. But ssh through USB port (Internet through USB) is not working.

openssh-client and openssh-server are already installed. 

Is there some more packages to be installed for ssh through USB?

The command* ip addr *for Ubuntu 16.04 host shows the following messages:

sajeevank@sajeevank-Vostro-3559:~$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group 
default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast 
state UP group default qlen 1000
    link/ether 28:f1:0e:36:1c:63 brd ff:ff:ff:ff:ff:ff
    inet 192.168.2.5/24 brd 192.168.2.255 scope global enp3s0
       valid_lft forever preferred_lft forever
    inet6 fe80::2af1:eff:fe36:1c63/64 scope link 
       valid_lft forever preferred_lft forever
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state 
UP group default qlen 1000
    link/ether 1c:ba:8c:a2:ed:72 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.2/24 brd 192.168.0.255 scope global dynamic eth0
       valid_lft 83757sec preferred_lft 83757sec
    inet6 fe80::9445:1600:d383:baf8/64 scope link 
       valid_lft forever preferred_lft forever
4: wlp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN 
group default qlen 1000
    link/ether e4:02:9b:03:8a:90 brd ff:ff:ff:ff:ff:ff
sajeevank@sajeevank-Vostro-3559:~$ 


The command* ip addr *for BBB target shows the following messages:


debian@arm:~$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group 
default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,DYNAMIC,UP,LOWER_UP> mtu 1500 qdisc mq state 
UP group default qlen 1000
    link/ether 88:c2:55:96:44:cd brd ff:ff:ff:ff:ff:ff
    inet 192.168.2.31/24 brd 192.168.2.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::8ac2:55ff:fe96:44cd/64 scope link 
       valid_lft forever preferred_lft forever
3: usb0: <NO-CARRIER,BROADCAST,MULTICAST,DYNAMIC,UP> mtu 1500 qdisc 
pfifo_fast master tether state DOWN group default qlen 1000
    link/ether 88:c2:55:96:44:cf brd ff:ff:ff:ff:ff:ff
    inet 192.168.7.2/30 brd 192.168.7.3 scope global usb0
       valid_lft forever preferred_lft forever
4: usb1: <BROADCAST,MULTICAST,DYNAMIC,UP,LOWER_UP> mtu 1500 qdisc 
pfifo_fast master tether state UP group default qlen 1000
    link/ether 1c:ba:8c:a2:ed:73 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::1eba:8cff:fea2:ed73/64 scope link 
       valid_lft forever preferred_lft forever
5: tether: <BROADCAST,MULTICAST,DYNAMIC,UP,LOWER_UP> mtu 1500 qdisc noqueue 
state UP group default qlen 1000
    link/ether 1c:ba:8c:a2:ed:73 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.1/24 brd 192.168.0.255 scope global tether
       valid_lft forever preferred_lft forever
    inet6 fe80::34f7:7fff:fe2c:50e2/64 scope link 
       valid_lft forever preferred_lft forever
debian@arm:~$ 


The /etc/networl/interfaces is as follows in Ubuntu Host:

auto lo
iface lo inet loopback

auto enp3s0
iface enp3s0 inet dhcp


The /etc/networl/interfaces is as follows in BBB Target:

auto lo
iface lo inet loopback

iface usb0 inet static
    address 192.168.7.2
    netmask 255.255.255.252
    network 192.168.7.0
    gateway 192.168.7.1


I can ssh, BBB through Ethernet port now. But my application required this 
Ethernet port. So my idea is use Ethernet port for Application and USB port 
for SSH.

So for proceeding with this work,

I need to get either 
                       
                  SSH through USB feature in minimal image
                    
                    or
                  
                  expansion capability for latest normal image (expansion 
to 8GB or 16GB size)

                   or 

                  availability of a rootfs.tar.gz image which also contains 
SSH through USB feature

Please help me finding out any one of these.

Thanks in advance for the help.

Thanks & Regards,
Sajeevan.K 




 

-- 
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/3a85850c-ea8f-44fa-8c53-39353ae9ddf4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to