Changes between Initial Version and Version 1 of ubuntu

12/13/2017 01:40:20 AM (5 years ago)
Tim Harvey

initial page (content moved from ventana/ubuntu)


  • ubuntu

    v1 v1  
     4= Ubuntu =
     5Gateworks supports the popular Ubuntu OS on Newport and Ventana products using an Ubuntu built root filesystem with a Gateworks kernel. In some cases you may be able to use an Ubuntu built kernel.
     7See also:
     8 * [wiki:newport/ubuntu Newport Ubuntu Page]
     9 * [wiki:ventana/ubuntu Ventana Ubuntu Page]
     10 * [wiki:ventana#third_party_linux Ventana third party linux]
     13== Ubuntu Packages ==
     14Ubuntu inherits its package management from Debian Linux using the 'apt' packaging system and 'deb' packages. The list of package feeds is in /etc/apt/sources.list:
     17# cat rootfs/etc/apt/sources.list
     18deb vivid main
     19deb vivid universe
     22You can search for Ubuntu packages at The search results will show what Ubuntu versions (by name) the package is available in and clicking on the resulting package will show information as to the package feed its contained in.
     24The standard Ubuntu package feeds are located at and you will find packages in the dist/<ubuntu-version>/<feed> directories. Ubuntu breaks up feeds into the following:
     25 * Main - Officially supported software.
     26 * Restricted - Supported software that is not available under a completely free license.
     27 * Universe - Community maintained software, i.e. not officially supported software.
     28 * Multiverse - Software that is not free. (meaning licensing)
     30If you are trying to find out what package an application belongs to you have a few choices:
     31 1. Use {{{dpkg -S}}} on your Ubuntu development host. For example to find the package that contains ifconfig:
     34$ dpkg -S $(which ifconfig)
     35net-tools: /sbin/ifconfig
     37  * ifconfig is in /sbin/ifconfig and is part of the net-tools package
     38  * {{{dpkg -L net-tools}}} will show you everything else contained in that package
     39 2. Use {{{apt-cache search}}}:
     42$ apt-cache search ifconfig
     43iproute2 - networking and traffic control tools
     44net-tools - The NET-3 networking toolkit
     45gnome-nettool - network information tool for GNOME
     46inetutils-tools - base networking utilities (experimental package)
     47libnet-ifconfig-wrapper-perl - multiplatform Perl wrapper for ifconfig
     48moreutils - additional Unix utilities
     49wmifinfo - Dockapp that shows information for all interfaces
     51 3. Googling the question 'what package contains <xyz>'
     53Personal Package Archives (PPAs) are package feeds that are not part of Ubuntu and can be used by people to distribute their own personally built packages. To use a PPA you need to first add it to your repository list and update your package sources.
     56 * [ Ubuntu Software Repositories]
     57 * [ What are PPAs and how do I use them]
     61== Modem Support ==
     62Aleksander Morgado (​, a key developer behind the !ModemManager, libqmi, and libmbim projects that provide modem support on Ubuntu provides up-to-date Ubuntu PPA's for 14.04 trusty and 16.04 xenial. Instructions on how to add the PPA feeds and update the packages exist there:
     63 * [ modemmanager/libqmi/libmbim PPA xenial]
     64 * [ modemmanager/libqmi/libmbim PPA trusty]
     68apt-get install software-properties-common # contains add-apt-repository
     69add-apt-repository ppa:aleksander-m/modemmanager-xenial
     70apt-get update
     71apt-get install modemmanager libqmi-utils libmbim-utils
     76add-apt-repository ppa:aleksander-m/modemmanager-trusty
     77apt-get update
     78apt-get install modemmanager libqmi-utils libmbim-utils
     81See [wiki:wireless/modem modem] for more info on how to use these packages
     85== SSH Server ==
     86The {{{openssh-server}}} package provides an ssh daemon suitable for secure shell (ssh) and secure copy (scp):
     89apt-get install openssh-server
     92During development it may be useful to enable root ssh capability, which is disabled by default. To do this  edit /etc/ssh/sshd_config, and:
     931. comment out the following line:
     96PermitRootLogin without-password
     982. Just below it, add the following line:
     101PermitRootLogin yes
     1033. Then reload SSH config:
     106service ssh reload
     112== Wireless ==
     116=== Client using wpa_supplicant ===
     117These instructions below are for creating a wireless client that will connect to a nearby access point.
     1191. Install required packages:
     121apt-get update
     122apt-get install iw
     123apt-get install wpasupplicant
     124apt-get install udhcpc
     1261. Edit {{{/etc/network/interfaces}}} and edit/add the following to configure wlan0 on boot wpa_supplicant:
     128auto wlan0
     129iface wlan0 inet dhcp
     130        wireless_mode managed
     131        wireless_essid any
     132        wpa-driver nl80211
     133        wpa-conf /etc/wpa_supplicant.conf
     1351. Create WPA Supplicant Configuration File at {{{/etc/wpa_supplicant.conf}}}, replacing ssid and psk with correct information
     138        scan_ssid=1
     139        ssid="testssid"
     140        proto=WPA
     141        key_mgmt=WPA-PSK
     142        psk="testpass"
     1451. Sync and power cycle the board
     151 * To scan for available access points in range you can use the iw tool:
     153iw dev wlan0 scan # scan for AP's
     155 * To manually connect to wireless if auto connection is not working: While the above will configure wireless Client mode on bootup, if you want to start it manually you can do so by manually starting/re-starting wpa_supplicant (ifup will do this for you on bootup if configured in /etc/network/interfaces):
     157ifconfig wlan0 up
     158killall wpa_supplicant
     159wpa_supplicant -i wlan0 -D nl80211 -c /etc/wpa_supplicant.conf -B # manage wireless client
     160udhcpc -i wlan0 # obtain dhcp lease