Try it now!
telnet towel.blinkenlights.nl
:)
Tuesday, April 29, 2008
Sunday, April 27, 2008
Saturday, April 26, 2008
Tuesday, April 22, 2008
wget example
wget --http-user=admin --http-password=admin http://$CAM_IP/img/snapshot.cgi?size=640x480 -O $APPS_HOME/photo.jpg -o $APPS_HOME/wget.log
This is an example I capture the snapshot files from my Linksys WVC200.
--http-user and --http-password used to pass the http authentication
-O specify the output file
-o provides output log
This is an example I capture the snapshot files from my Linksys WVC200.
--http-user and --http-password used to pass the http authentication
-O specify the output file
-o provides output log
Labels:
Linux,
Open Source
Pictures conversion with ImageMagick
My Environment: RH FC8 Linux, i386
The package I'm using: ImageMagick-6.3.5.9-1.fc8
There are plenty of choice to convert a picture from one format to another, ImageMagick is an option if you want to do the conversion in command line and run in background.
Example:
- To convert a file from jpg to png
convert photo.jpg photo.png
- Convert and change the size
convert -size 320x240 photo.jpg photo.png
The package I'm using: ImageMagick-6.3.5.9-1.fc8
There are plenty of choice to convert a picture from one format to another, ImageMagick is an option if you want to do the conversion in command line and run in background.
Example:
- To convert a file from jpg to png
convert photo.jpg photo.png
- Convert and change the size
convert -size 320x240 photo.jpg photo.png
Labels:
Linux,
Open Source
Adding 3rd party SIP phone in CUCM
A quick how-to on how to add a 3rd party SIP phone in CUCM, for version 5.0 or above. The environment I'm having here is CUCM 6.1 + X-Lite 3.0 on RH FC8 Linux.
1. From Cisco Unified Communications Manager Administration page, from the menu select User Management > End User and click add new button. Create an user in LDAP if you have done the LDAP integration.
2. Create a user with the following parameters:
- User ID: 1099
- Password: abc123
- PIN: 123456
- Last name: Panda
- First name: SIP
- Telephone number: 1099
3. Click Save.
4. From Cisco Unified Communications Manager Administration page, from the menu select Device > Phones and click add new button.
5. For the phone type select Third Party SIP Device (basic), and click Next.
6. On the Phone configuration page, use the following parameters:
- MAC Address: AABBCCDDEEFF (MAC address of your NIC)
- Phone button template: Third-Party SIP Device (Basic)
- SIP Phone security profile: Non Secure SIP Profile auth by string
- SIP Profile: Standard SIP Profile
- Owner ID: 1099
- Digest User: 1099
7. Click Save and OK
8. Click Line [1]-Add a new DN.
9. Use the following parameter for Directory number configuration:
- Directory number: 1099
10. Click Save.
11. On your laptop, run the X-Lite IP Phone application, and configure the X-Lite to use the following parameters:
- Enabled: Yes
- Display Name: Panda SIP
- Username: 1099
- Authorization user: 1099
- Password: abc123
- Domain/Realm: 192.168.1.1 (Your CUCM address)
- SIP Proxy: 192.168.1.1 (Your CUCM address)
- Out Bound Proxy: 192.168.1.1
The X-Lite Phone will register and login with the Communications Manager.
To Download X-Lite, go here: http://www.counterpath.com/
Try this!
nslookup 69.69.69.69
dig -x 69.69.69.69
:)
Original Post from: http://ardenpackeer.com/asides/geek-humour/
dig -x 69.69.69.69
:)
Original Post from: http://ardenpackeer.com/asides/geek-humour/
Monday, April 21, 2008
Enable routing on your linux box
My environment: RH FC8, i386
If you have a dual NICs (or more) Linux PC would like to do routing / ip forwarding, simply do the following:
echo 1 > /proc/sys/net/ipv4
Or put it into your /etc/sysctl.conf file if you want to keep the config after reboot:
net.ipv4.ip_forward = 1
If you have a dual NICs (or more) Linux PC would like to do routing / ip forwarding, simply do the following:
echo 1 > /proc/sys/net/ipv4
Or put it into your /etc/sysctl.conf file if you want to keep the config after reboot:
net.ipv4.ip_forward = 1
Labels:
Linux,
Open Source,
Routing and Switching
Subscribe to:
Posts (Atom)