John Mann's Weblog (on sng)
 

String around my finger
A 'blog to remember things I found.
Tie a string around your finger
My Home Page
I work for NIS ITS Monash University Australia.

Index

Flavours

  • index
  • circa 1993
  • RSS
  • Links
    These are a few of my favourite links.

  • Home Page
  • Live weblog
  • Static weblog
  • raelity bytes ;-)
  • Slashdot
  • Subscribe
    Subscribe to a syndicated feed of my weblog, brought to you by the wonders of RSS.


    blosxom

    GeoURL

    IP Geotargeting
    Visit eBay

    Click to call me FWD# 61159

       
    Mon, 28 Nov 2005

    OpenWrt 2

    I accidentally did an in-place whiterussian rc3 to rc4 upgrade:

    root@OpenWrt:/# ipkg update
    Downloading http://downloads.openwrt.org/whiterussian/packages/Packages
    Updated list of available packages in /usr/lib/ipkg/lists/whiterussian
    Downloading
    http://downloads.openwrt.org/whiterussian/packages/non-free/Packages
    Updated list of available packages in /usr/lib/ipkg/lists/non-free
    Successfully terminated.
    root@OpenWrt:/# ipkg upgrade
    Upgrading base-files on root from 2 to 5...
    Upgrading base-files-brcm on root from 1 to 2...
    Upgrading busybox on root from 1.00-2 to 1.00-3...
    Upgrading dropbear on root from 0.45-3 to 0.45-4...
    Upgrading iptables on root from 1.3.1-1 to 1.3.3-1...
    Upgrading libgcc on root from 3.4.4-2 to 3.4.4-5...
    Upgrading mtd on root from 2 to 3...
    Upgrading ntpclient on root from 2003_194-1 to 2003_194-2...
    Upgrading ppp on root from 2.4.3-6 to 2.4.3-7...
    Upgrading ppp-mod-pppoe on root from 2.4.3-6 to 2.4.3-7...
    Upgrading uclibc on root from 0.9.27-2 to 0.9.27-5...
    Upgrading wificonf on root from 4 to 5...
    ...
    Package base-files wants to install file /sbin/hotplug
            But that file is already provided by package hotplug
    ...
    root@OpenWrt:/# ipkg remove hotplug
    Removing package hotplug from root...
    Successfully terminated.
    root@OpenWrt:/# ipkg upgrade
    Upgrading base-files on root from 2 to 5...
    Downloading
    http://downloads.openwrt.org/whiterussian/packages/base-files_5_mipsel.ipk
    ipkg: /rom/note: Read-only file system
    Configuring base-files
    Successfully terminated.
    root@OpenWrt:/# 

    Upgrading cleared the root password, so telnet was re-enabled. Also setup ntp:

    root@OpenWrt:/# date
    Sat Jan  1 01:39:02 UTC 2000
    root@OpenWrt:/# echo "EST-10EDT-11,M10.5.0/02:00:00,M3.5.0/03:00:00" > /etc/TZ
    root@OpenWrt:/# nvram set ntp_server=130.194.1.99
    root@OpenWrt:/# /usr/sbin/ntpclient -c 1 -s -h  130.194.1.99
    36524 06338.242   23756.0     31.0  186186381427418.5  53848.3         0
    root@OpenWrt:/# date
    Fri Nov 25 11:12:05 EDT 2005

    Now have:

    root@OpenWrt:/# ipkg list_installed
    base-files - 5 - OpenWrt filesystem structure and scripts
    base-files-brcm - 2 - Board/architecture specific files
    bridge - 1.0.6-1 - Ethernet bridging tools
    busybox - 1.00-3 - Core utilities for embedded Linux systems
    dnsmasq - 2.22-2 - A lightweight DNS and DHCP server
    dropbear - 0.45-4 - a small SSH 2 server/client designed for small
     memory environments.
    ip - 2.6.11-050330-1 - iproute2 routing control utility
    ipkg - 0.99.149-2 - lightweight package management system
    iptables - 1.3.3-1 - The netfilter firewalling software for IPv4
    kernel - 2.4.30-brcm-2 - 
    kmod-brcm-et - 2.4.30-brcm-2 - Proprietary driver for Broadcom Ethernet
     chipsets
    kmod-brcm-wl - 2.4.30-brcm-2 - Proprietary driver for Broadcom Wireless
     chipsets
    kmod-diag - 2.4.30-brcm-2 - Driver for Router LEDs and Buttons
    kmod-ppp - 2.4.30-brcm-2 - PPP support
    kmod-pppoe - 2.4.30-brcm-2 - PPP over Ethernet support
    kmod-sched - 2.4.30-brcm-2 - Kernel schedulers for IP traffic
    kmod-wlcompat - 2.4.30-brcm-3 - Compatibility module for using the
     Wireless Extension with broadcom's wl
    libgcc - 3.4.4-5 - GCC support library
    libosip2 - 2.2.0-1 - GNU oSIP library, a SIP (Session Initiation Protocol)
    implementation
    libpcap - 0.8.3-1 - a low-level packet capture library
    libpthread - 0.9.27-1 - POSIX threads library
    mtd - 3 - Tool for modifying the flash chip
    ntpclient - 2003_194-2 - NTP client for setting system time from NTP servers.
    nvram - 1 - NVRAM utility and libraries for Broadcom hardware
    ppp - 2.4.3-7 - a PPP (Point-to-Point Protocol) daemon (with MPPE/MPPC
     support)
    ppp-mod-pppoe - 2.4.3-7 - a PPPoE (PPP over Ethernet) plugin for PPP
    siproxd - 0.5.11-2 - a SIP (Session Initiation Protocol) proxy
    tc - 2.6.11-050330-1 - iproute2 traffic control utility
    tcpdump - 3.8.3-1 - A tool for network monitoring and data acquisition.
    uclibc - 0.9.27-5 - Standard C library for embedded Linux systems
    wificonf - 5 - Replacement utility for wlconf
    wireless-tools - 28.pre7-1 - Tools for setting up WiFi cards using the
     Wireless Extension
    zlib - 1.2.2-2 - an implementation of the deflate compression method (library)

    [ /linux | # ]