Category Archives: Uncategorized

LTSP Xubuntu thin and fat clients

Used this: http://www.havetheknowhow.com/Configure-the-server/Install-LTSP.html

for fat client build:

–fat-client-desktop

ti implement that into each rebuild edit:

/etc/ltsp/ltsp-build-client.conf

as per here:

https://help.ubuntu.com/community/UbuntuLTSP/FatClients

 

http://wiki.tolabaki.gr/w/LTSP_Fat_Client_Setup#Build_a_fat_client.27s_root_filesystem

 

Controlling and maintenance of the server image:

https://ubuntuforums.org/showthread.php?t=2177959

 

TFTP boot problems:

check the name/location of the image in dhcp.conf

Is the tftp port open?

netstat -an | grep 69

is there a tftp service running?

netstat -tupln | grep ftp

 

Helpful info on fat client setup: https://wiki.cdot.senecacollege.ca/wiki/Set_up_FatClient_Configuration

Don’t forget to rebuild the image at the end of making changes!

 

Tweaking?

switch to “direct X” mode for better scalability and performance, at the expense of reduced security on the LAN

https://ubuntuforums.org/showthread.php?t=2173749

Editing OpenLP database using CSV

An attempt to more quickly create and edit OpenLP database (SQLite) files, using sqlitebrowser in Ubuntu. As I’m not an SQL guru I concluded it’d be better to do some of the things I wanted to do to the songs db in LibreOffice using a CSV file.

Simply exporting the ‘songs’ table to CSV then importing it back into sqlitebrowser as a new table, subsequently renamed to songs, results in a table that is not identicle. it make openLP crash wne trying to edit the songs (wrong structure).

So… create a new table using ‘Execute SQL’ , using the CREATE statement of an untouched good ‘songs’ table, then import from the edited CSV, name it ‘songs2’. It will be empty. Import from the amended CSV file into this one. switch the names of this one with ‘songs’ table. should work.

Editing tanks in the CSV:
to concatenate ‘SoF1149’ with a space in fornt of the title: =F4&” “&G4

extending USB extension over cat5 cable

Three things on running USB over Cat-5 wiring:
1. On the RJ-45 8-pin jack, you want to avoid pins 1,2,3,6 because if it accidentally gets plugged into a switch or PC Ethernet jack, the 5-volts could fry something.

2. You want the power (+5v,ground) on the same color (blue,blue-stripe) so it doesn’t make an electronic field that can ruin the valuable data lines. the phone company runs 24V to our homes on one twisted pair of wires and it works fine.

3. Twisting the two data lines on one color (brown,brown-stripe) will keep data integrity over a longer run of lines. Ethernet lines do that and it works just fine.

I suggest the following from the USB to the Cat-5 jack:
1. usb pin 1 (+5v,red) goes to RJ-45 pin 5 (blue-stripe)
2. usb pin 2 (d-,white) goes to RJ-45 pin 8 (brown)
3. usb pin 3 (d+,green) goes to RJ-45 pin 7 (brown-stripe)
4. usb pin 4 (ground,black) goes to RJ-45 pin 4 (blue)

Using this configuration, you could simultaneously run Ethernet to a hub AND your USB extension with splitters and all.

trx audio over IP utility

Can I get this working?!

http://www.pogo.org.uk/~mark/trx/

Download and unzip the source.

Add these packages to meet dependencies:

sudo apt-get install libasound2-dev libopus-dev libopus0 libortp-dev

There is no configure file so straight to ‘make’

then ‘make install’.

markp@lenovo:~/mark@pengelly.info/liskeard_fm/software for PCs/TRX/trx-0.2$ sudo make
cc -MMD -Wall -c -o rx.o rx.c
cc -MMD -Wall -c -o device.o device.c
cc -MMD -Wall -c -o sched.o sched.c
cc rx.o device.o sched.o -lasound -lopus -lortp -o rx
cc -MMD -Wall -c -o tx.o tx.c
cc tx.o device.o sched.o -lasound -lopus -lortp -o tx
markp@lenovo:~/mark@pengelly.info/liskeard_fm/software for PCs/TRX/trx-0.2$ sudo make install
install -d /usr/local/bin
install rx tx /usr/local/bin
Seems OK!

pcmcia 3com network card pinout for nec mt1065 projector

I’ve had a few pcmcia network cards floating around but lost track of which ones work to give the web control access for the NEC MT1065 projector.

Despite buying the correct wireless card I never got that to work in the projector.

The 3com 3CCE589ET works OK, (maybe the 3CCE589EC as well, but untested). Both these are 10Mbps cards. The 3CCFE575BT card doesn’t work (10/100Mbps).

The cards are cheap on ebay but often without the needed network cable. Original cable (I think) is PN: 07-0362-000 Can’t see any on ebay. However I have been able to source a similar 07-0383-000. These cables have no dongle, just straight wired through to an RJ45 plug.

The pinout for these is (I think) the same:

The card connector is a 15 pin connector.  Looking at the connector from behind, counting from right to left:

pin 1 = RJ45 6 (orange)

pin 2 = RJ45 3 (white/orange)

pin 3 = RJ45 2 (blue)

pin 4 = RJ45 1 (white/blue)

pin 7 = connector’s LED (polarity unknown)

pin 13 = connector’s LED (polarity unknown)

 

The connector on cable 07-0362-000 can be dis-assembled if needed and soldered

The connector on cable 07-0383-000 is more of a moulded unit, harder to break open I suspect.

Some of the 10/100 cables could be utilised, for the above. Many have the dongle bit (with safety transformer in it?) but no worries, just snip it off and connect an RJ45 connector instead of the dongle and resolder as above within the connector. Eg cable 07-0337-002 has the connector type that could be opened up and soldered if you had to doctor one from the newer 10/100 cards. I don’t think these pinout the same as the previous un-dongled ones though as i did try and use one of these with the 10Mbps cards, no joy. As of 2016 these 10/100 cables are on ebay a bit.

Don’t blame me if this is wrong!

thompson router with freedns.afriad.org

I need to create a dynamic dns rule in a thompson technicolor router. Problem is the ‘custom’ dns settings don’t let you actually change their default dns server. people have found they can telnet into the router and change the settings at the command line: see here

1. Telnet to the router IP address (normally 192.168.1.254):
telnet
o 192.168.1.254

2. Log into the router using appropriate login details (if unknown, try Username: Administrator, and no password)

3. List the current Dynamic DNS options
dyndns service list

4. Modify the custom option using this command:
dyndns service modify name=custom server=freedns.afraid.org port=www-http request=/nic/update updateinterval=7200

Replace values appropriately
server – the domain name of your Dynamic DNS provider
port – www-http
request – /nic/update [the path at your Dynamic DNS provider for DNS update calls]
updateinterval – number of seconds between updates from your router – default is 86000 (1 day)

5. Save changes to the router
saveall