Category: linux



From https://forum.openwrt.org/viewtopic.php?id=19640

[quote]
Restart router in failsafe mode (differs by router, but for the WRT54GL and other linksys):
1. restart router, when DMZ light comes on, hold reset for 3 seconds until DMZ light starts flashing.
2. at this point connect computer directly to port 1 on router.
3. give computer static ip of 192.168.1.155.
4. restart networking on computer.
5. run: telnet 192.168.1.1 -l root
Run ‘firstboot’
Run ‘sync’
Run ‘passwd’ to reset root password.
Fix computer networking and restart the router.
Now log in as normal.
[/quote]

to get static ip with ip tools:
[quote]
Manual assignment
Enable the network interface:
# ip link set interface up

Assign a static IP address in the console:
# ip addr add IP_address/subnet_mask broadcast broadcast_address dev interface

For example:
# ip addr add 192.168.1.2/24 broadcast 192.168.1.255 dev interface

For more options, see man ip.
Add your gateway IP address like so:
# ip route add default via default_gateway

For example:
# ip route add default via 192.168.1.1
[/quote]

Advertisements


Talk given by Allan McRae about arch linux @ sinfo XX (2013.02)

how linux is built



after spending nearly a full day trying to install
archlinux from a usb disk, to a eee pc 901, i’ve finally found a
solution for my problem.

https://bbs.archlinux.org/viewtopic.php?id=77815


Do you want to check want were the last pacman upgrades?

just check it’s log at:

/var/log/pacman.log

mpg123 keyboard control


mpg123 keyboard shortcuts (requires -C switch):

-= terminal control keys =-
[s] or [ ] interrupt/restart playback (i.e. ‘pause’)
[f] next track
[d] previous track
[b] back to beginning of track
[p] pause while looping current sound chunk
[.] forward
[,] rewind
[:] fast forward
[;] fast rewind
[>] fine forward
[<] fine rewind
[+] volume up
[-] volume down
[r] RVA switch
[v] verbose switch
[l] list current playlist, indicating current track there
[t] display tag info (again)
[m] print MPEG header info (again)
[h] this help
[q] quit
[c] or [C] pitch up (small step, big step)
[x] or [X] pitch down (small step, big step)
[w] reset pitch to zero

source:http://justlinux.com/forum/showthread.php?t=137715

git resources for begginers


GIT resources:

a) git tutorial manpage http://schacon.github.com/git/gittutorial.html
b) git for the lazy http://spheredev.org/wiki/Git_for_the_lazy
c) tutorials for begginers http://sixrevisions.com/resources/git-tutorials-beginners/

Dennis Ritchie – 1941-2011


shameless wikipedia ripoff:

Ritchie was best known as the creator of the C programming language and a key developer
of the UNIX operating system, and as co-author of the definitive book on C, The C Programming Language,
commonly referred to as K&R (in reference to the authors Kernighan and Ritchie).

Ritchie’s invention of C and his role in the development of UNIX alongside Ken Thompson has
placed him as an important pioneer of modern computing. The C language is widely used today in
application, operating system, and embedded system development, and its influence is seen in
most modern programming languages. UNIX has also been influential, establishing concepts and
principles that are now precepts of computing.

Ritchie was elected to the National Academy of Engineering in 1988 for “development of the “C”
programming language and for co-development of the UNIX operating system.”

Shameless etler.com ripoff

An amusing photo

Here’s a publicity photo from about 1972, showing Ken and me in front of a PDP-11.

From the right, the major items of equipment are

At the far right, on the table, are what someone discerned was a VT01A storage-tube display
(based on Tek 611) and a small keyboard for it. Slightly hard to make out.
A main CPU cabinet, partly behind the table. The processor is a PDP-11/20; it must have been
our second one, with the Digital Special Systems KS-11 memory management unit. Our very first
just said “PDP11,” not “11/20.” The arrays of distorted rectangles above it and in other
cabinets are the labels on DECtape canisters.
Another cabinet. Careful examination of the image by Steve Westin detects the top of the
bezel of an 11/45 CPU barely peeking above the TTY to the right of the one Ken is typing at. A
paper tape reader is above it.
The third cabinet sports a dual DECtape drive at the top.
A cabinet with another DECtape drive, probably also containing BA-11 extension boxes within.
A cabinet with RK03 disk drives. These were made by Diablo (subsumed by Xerox) and OEMed to
Digital. Digital later began manufacturing their own version (RK05).
A cabinet containing RF11/RS11 controller and fixed-head disks. By this time / and swap
space lived there, while /usr was on the RK03s.
On top of the machine are what look like magtapes. A probable TU10 transport is barely
visible just below Ken’s chin, at least if you have the monitor brightness and contrast adjusted
favorably.

In front, we have

Ken (sitting) and me (standing), both with more luxuriant and darker hair than we have now.
Scientific American March 1999 p. 48 should have checked the IDs; we’re interchanged in its
caption of this same picture.
Two Teletype 33 terminals

Ken and Dennis by PDP-11

from http://etler.com/docs/dmr/Photos/ken-and-den.html

 

 

the creeper bot


a video review of a DIY remote controled car using an arduino.

more info here