2W1ETN

Damien Jorgensen – Radio Ham, Software Developer and Car Enthusiast

Multi Screen Remote Desktop in Windows (multi/dual screen rdp)

I have a client that needed access to both his screens from his home office PC. He was aware of options like LogMeIn but was reluctant to pay for an app which seems to want to charge you a subscription.

 

After hunting around on the net for a couple fo minutes the solution became apparent. You can use Windows Remote Desktop/RDP to connect multi monitors.

Save the RDP connection and then create a shortcut to:

mstsc.exe /span c:\1.rdp

1.rdp being the RDP file saved from the Remote Desktop Connection app

Adding user for Linux Samba/SMD shares

Samba uses tdbsam by default to manage SMB password, that’s the password used to logon over Windows Networking.

 

Adding and managing users

In this example, I will add a user called damien. You can add as many users as you need in the same way, just replace the username tom with the desired username in the commands.

useradd damien -m -G users

Set a password for Damien in the Linux system user database. If the user Damien shall not be able to login to the Linux system, skip this step.

passwd damien

-> Enter the password for the new user

Now add the user to the Samba user database.

smbpasswd -a damien

-> Enter the password for the new user

Getting Music on Hold working in Trixbox/Asterisk

OK So I’m running FreePBX 2.5.1 as comes with Trixbox. I go to get Music on Hold working and as with Open Source projects you need to get the little things like MOH working yourself.

If you have the same problem then you probably need to install mpg123.

From the Console logon as root and run the following:

rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
or if using a non 64bit system then:
rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
yum install mpg123 sox

mkdir /var/lib/asterisk/mohmp3
chown asterisk:asterisk /var/lib/asterisk/mohmp3
chmod 755 /var/lib/asterisk/mohmp3
cp /var/lib/asterisk/moh/* /var/lib/asterisk/mohmp3/

Show ADSL Speed on Cisco Router

Obtaining the ADSL Sync speed from your Cisco Router is quite easy, just pass the following command

show dsl interface atm0

You’ll get something like the following back:

 

router#show dsl interface atm0

ATM0

Alcatel 20150 chipset information

                ATU-R (DS)                      ATU-C (US)

Modem Status:    Showtime (DMTDSL_SHOWTIME)

DSL Mode:        ITU G.992.1 (G.DMT) Annex A

ITU STD NUM:     0x01                            0x1

Vendor ID:       'ALCB'                          'TSTC'

Vendor Specific: 0x0000                          0x0000

Vendor Country:  0x00                            0xB5

Capacity Used:   100%                            62%

Noise Margin:     5.5 dB                         19.0 dB

Output Power:    20.0 dBm                        12.0 dBm

Attenuation:     49.0 dB                         22.5 dB

Defect Status:   None                            None

Last Fail Code:  None

Selftest Result: 0x00

Subfunction:     0x15

Interrupts:      1333 (0 spurious)

PHY Access Err:  0

Activations:     1

LED Status:      ON

LED On Time:     100

LED Off Time:    100

Init FW:         embedded

Operation FW:    embedded

SW Version:      3.8131

FW Version:      0x1A04

 

                 Interleave             Fast    Interleave              Fast

Speed (kbps):          5856                0           448                 0

Cells:                15473                0        192329                 0

Reed-Solomon EC:       7248                0             0                 0

CRC Errors:               3                0             0                 0

Header Errors:            2                0             0                 0

Bit Errors:               0                0

BER Valid sec:            0                0

BER Invalid sec:          0                0

 

LOM Monitoring : Disabled

 

DMT Bits Per Bin

00: 0 0 0 0 0 0 0 4 4 5 7 8 8 9 9 8

10: 8 8 8 8 8 7 7 7 6 6 5 5 4 3 0 0

20: 0 0 0 0 0 0 4 5 5 6 7 8 9 9 A A

30: A B B B C C C D D D D D D D D D

40: 0 D D D D D D D 2 D D D D D D D

50: D D C D D C C C C D D D D C D D

60: D C C C C C C C C C C C C B 8 B

70: C C B C C C C C C C C C C B B B

80: B B B A B B A A A A A A A A 8 A

90: A 9 9 9 9 9 9 9 8 7 8 8 8 8 8 7

A0: 7 5 7 7 7 5 7 8 8 8 8 8 8 8 7 7

B0: 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 5

C0: 5 5 5 5 5 4 4 4 4 4 2 2 0 0 0 0

D0: 0 0 0 0 0 0 2 2 2 2 3 3 2 4 4 4

E0: 4 4 4 4 4 4 4 4 4 4 3 4 3 3 3 3

F0: 3 3 3 2 2 0 0 0 0 0 0 0 0 0 0 0

 

DSL: Training log buffer capability is not enabled

Checking your Interface/s Status on Cisco IOS Routers

If you want to get a brief overview of your Interface/s status on Cisco IOS then use

sh ip int brief

For more detailed information then run

sh ip int

Enabling HTTP Server on Cisco IOS Routers

Enabling the HTTP server on Cisco Routers is easily done using the console port or via an SSH connection.

You might wonder why you’d want the HTTP server running; well you need it if you want to install SDM (Cisco Router and Security Device Manager)

 

To enable the web server logon or connect via terminal

Then type the command

enable

Then type

config

Press enter to config from the terminal when prompted

You should see a prompt like (Which is the config prompt):

Router(config)#

Enter the following commands

ip http server
ip http secure-server
ip http authentication local

 

If you intend to install SDM or want to be able to access the router from SSH then you need to add a user account as below:

Username sdm privilege 15 password 0 sdm

That will create a user with the username and password of SDM

 

If you haven’t enabled SSH and or telnet do so using the following commands:
line vty 0 4
login local
transport input telnet ssh