loadYOURSELF

loadYOURSELF

Browsing Posts in Solution

SIGPIPE signal is sent by kernel to programs whose remote end closes or shuts down the socket and your program still tries to send/write operations on closed connection. The default signal handler terminates your program at this situation because of default behavior.

Solution 1:

Ignore the signal using ‘signal(SIGPIPE, SIG_IGN)’

then catch the EPIPE error which will return from the send/write operation due to a broken pipe.

Solution 2:

Pass MSG_NOSIGNAL flag to send(). This is results as same as solution 1

First of all you need to share some directories on the windows machine then you can use,


example info:

WinMachine = 10.1.1.10
user=test
pass=test
windows share name= sharefolder


mkdir /mnt/winshare

mount -o username=<username>,password=<password> //<windows-machine>/<share name> /mnt/<mount point on the linux machine>

-> with example info

mount -o username=test,password=test //10.1.10.10/sharefolder /mnt/winshare

or

this also works, (accessing full disk)

mount -o username=test,password=test //10.1.10.10/c$ /mnt/winshare

hope this helps to connect your linux pc to windows machine.

      # gpg –keyserver subkeys.pgp.net –recv KEY
# gpg –export –armor KEY | sudo apt-key add -                    # Ubuntu supported packages (packages, GPG key: 437D05B5)
deb http://archive.ubuntu.com/ubuntu dapper main restricted
deb http://archive.ubuntu.com/ubuntu dapper-updates main restricted
deb http://security.ubuntu.com/ubuntu dapper-security main restricted
# Ubuntu supported packages (sources, GPG key: 437D05B5)
deb-src http://archive.ubuntu.com/ubuntu dapper main restricted
deb-src http://archive.ubuntu.com/ubuntu dapper-updates main restricted
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
# Ubuntu community supported packages (packages, GPG key: 437D05B5)
deb http://archive.ubuntu.com/ubuntu dapper universe multiverse
deb http://archive.ubuntu.com/ubuntu dapper-updates universe multiverse
deb http://security.ubuntu.com/ubuntu dapper-security universe multiverse
# Ubuntu community supported packages (sources, GPG key: 437D05B5)
deb-src http://archive.ubuntu.com/ubuntu dapper universe multiverse
deb-src http://archive.ubuntu.com/ubuntu dapper-updates universe multiverse
deb-src http://security.ubuntu.com/ubuntu dapper-security universe multiverse
# Ubuntu backports project (packages, GPG key: 437D05B5)
deb http://archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse
# Ubuntu backports project (sources, GPG key: 437D05B5)
deb-src http://archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse

if apt-get update command results with this error

you can fix this with apt-key update

or

with

gpg –keyserver wwwkeys.eu.pgp.net –recv-keys AB1233123423ada123131

# apt-key add /root/.gnupg/pubring.gpg

# apt-get update …

Buy me a beer

Momentous achievement is the first step towards mass deployment of next-generation cable products and services

Texas Instruments (TI) congratulates its customers and the cable industry as a whole for achieving certification in CableLabs’ Certification Wave 58. TI’s innovative PUMA 5 technology provides OEMs with cost-effective solutions to deliver next-generation services such as high-performance IP features to MSOs and operators.

“TI is very excited to celebrate this CableLabs certification milestone with the cable industry and looks forward to working hand-in-hand with our customers to quickly achieve widespread deployment of DOCSIS 3.0 cable modems in the field,” said Dennis Rauschmayer,

Buy me a beer

select start -> run

write “cmd” and press enter

write “cd \windows\microsoft.net\framework\v2.0.50727″ may be different in your system.

write “aspnet_regiis -ga [user name]” press enter

write “aspnet_regiis -i” press enter

Buy me a beer

ARMONK, NY: IBM announced new first-to-market information infrastructure platform offerings and enhancements across a broad range of its disk and tape storage portfolio. Targeting clients that range from small and medium businesses (SMB) to large enterprises, the new solutions allow customers to implement a more efficient tiered storage infrastructure and achieve improved cost savings, integrated data security, and enhanced archival solutions to meet compliance requirements and have an infrastructure that delivers information on demand.

Solution to this problem is to change rpl_malloc definition in config.h to malloc.

Buy me a beer

ata2.01: qc timeout (cmd 0xa0)
ata2.01: exception Emask 0×0 SAct 0×0 SErr 0×0 action 0×2 frozen
ata2.01: cmd a0/00:00:00:00:20/00:00:00:00:00/b0 tag 0 cdb 0×25 data 8 in
res 51/20:03:00:00:00/00:00:00:00:00/b0 Emask 0×5 (timeout)
ata2: port is slow to respond, please be patient (Status 0xd1)
ata2: device not ready (errno=-16), forcing hardreset
ata2: soft resetting port
ata2.00: configured for UDMA/100
ata2.01: configured for UDMA/33

ata2: EH pending after completion, repeating EH (cnt=4)
ata2: EH complete
sd 1:0:0:0: [sda] 234441648 512-byte hardware sectors (120034 MB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn’t support DPO or FUA
sd 1:0:0:0: [sda] 234441648 512-byte hardware sectors (120034 MB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn’t support DPO or FUA

ata2.01: qc timeout (cmd 0xa0)
ata2.01: exception Emask 0×0 SAct 0×0 SErr 0×0 action 0×2 frozen
ata2.01: cmd a0/00:00:00:00:20/00:00:00:00:00/b0 tag 0 cdb 0×25 data 8 in
res 51/20:03:00:00:00/00:00:00:00:00/b0 Emask 0×5 (timeout)
ata2: port is slow to respond, please be patient (Status 0xd1)
ata2: device not ready (errno=-16), forcing hardreset
ata2: soft resetting port
ata2.00: configured for UDMA/100
ata2.01: configured for UDMA/33
ata2: EH pending after completion, repeating EH (cnt=4)
ata2: EH completesd 1:0:0:0: [sda] 234441648 512-byte hardware sectors (120034 MB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn’t support DPO or FUA
sd 1:0:0:0: [sda] 234441648 512-byte hardware sectors (120034 MB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn’t support DPO or FUA

public key not available for [package]

If this key is not installed, and you are running

Fedora Core, you may install it with:
# rpm –import /usr/share/rhn/RPM-GPG-KEY-fedora

Buy me a beer