LinuxQuestions.org latest posts

Syndicate content LinuxQuestions.org
LinuxQuestions.org offers a free Linux forum where Linux newbies can ask questions and Linux experts can offer advice. Topics include security, installation, networking and much more.
Updated: 16 min 27 sec ago

LXer: This Little App Went to Market, Part 1

13 hours 19 min ago
Published at LXer:

Launching a mobile application could be considered the latest get-rich-quick scheme. And I suppose for some it might be their best chance at riches and fame. Reality indicates that most developers don’t make back their investment by publishing an application to the App Store or Android Market. In fact, when you view some of the comments posted for a particular application it can be a bit depressing.

Read More...


IKEV2 test---pls help me

13 hours 47 min ago
i have a problem when i tested IKEv2 test;
my enrionment are rhel6.0 and freebsd8.0
when i tested ;
it say:
Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

kCommon.pm: 2020: kCommon::kMakeRecvAck(): result: 33025(0x8101) --
fails. kCommon.pm: 1270: kCommon:KTSendCMD(): kMakeData: failure

Can't observe IKE_SA_INIT request.
_*TEST CLEANUP*_
do anyone can help me!
thank you in advance.
when i execute the command "ipsec verify"

Checking your system to see if IPsec got installed and started correctly:
Version check and ipsec on-path [OK]
Linux Openswan U2.6.24/K2.6.32-66.el6.i686 (netkey)
Checking for IPsec support in kernel [OK]
NETKEY detected, testing for disabled ICMP send_redirects [OK]
NETKEY detected, testing for disabled ICMP accept_redirects [OK]
Checking for RSA private key (/etc/ipsec.secrets) [OK]
Checking that pluto is running [OK]
Pluto listening for IKE on udp 500 [FAILED]
Pluto listening for NAT-T on udp 4500 [FAILED]
Two or more interfaces found, checking IP forwarding [FAILED]
Checking NAT and MASQUERADEing [N/A]
Checking for 'ip' command [OK]
Checking for 'iptables' command [OK]
Checking for 'curl' command for CRL fetching [OK]
Opportunistic Encryption Support [DISABLED]


i don't kown why there are three fails; does this affect my IKEv2 test;

i am a newcomer to IKEV2 test;


ipsec configration problem

13 hours 49 min ago
i install openswan in my rhel6 as a testee and freebsd as a tester
my ipsec.conf is
# /etc/ipsec.conf - Openswan IPsec configuration file
#
# Manual: ipsec.conf.5
#
# Please place your own config files in /etc/ipsec.d/ ending in .conf

version 2.0 # conforms to second version of ipsec.conf specification

# basic configuration
config setup
# Debug-logging controls: "none" for (almost) none, "all" for lots.
# klipsdebug=none
# plutodebug="control parsing"
# For Red Hat Enterprise Linux and Fedora, leave protostack=netkey
crlcheckinterval="180"
strictcrlpolicy=no
interfaces=%defaultroute
protostack=netkey
plutostderrlog=/var/log/pluto.log
plutodebug=all
pluto=no
nat_traversal=yes
# virtual_private=
"/etc/ipsec.conf" 55L, 1487C
conn %default
ikelifetime="60m"
keylife="20m"
rekeymargin="3m"
keyingtries=1
phase2=esp
ike=aes128-sha-modp1024
esp=aes128-sha1
phase2alg=3des-sha1-96
authby=secret
ikev2=yes
rekey=yes
keyexchange=ike
conn host-host
connaddrfamily=ipv6
right=2001:0db8:0001:0001::1234
rightnexthop=%defaultroute
rightid=2001:0db8:0001:0001::1234
left=2001:0db8:000f:0001::1
leftnexthop=%defaultroute
leftid=2001:0db8:000f:0001::1
type=transport
compress=no

but when i execute the command "ipsec verify "
it say:
Checking your system to see if IPsec got installed and started correctly:
Version check and ipsec on-path [OK]
Linux Openswan U2.6.24/K2.6.32-66.el6.i686 (netkey)
Checking for IPsec support in kernel [OK]
NETKEY detected, testing for disabled ICMP send_redirects [OK]
NETKEY detected, testing for disabled ICMP accept_redirects [OK]
Checking for RSA private key (/etc/ipsec.secrets) [OK]
Checking that pluto is running [OK]
Pluto listening for IKE on udp 500 [FAILED]
Pluto listening for NAT-T on udp 4500 [FAILED]
Two or more interfaces found, checking IP forwarding [FAILED]
Checking NAT and MASQUERADEing [N/A]
Checking for 'ip' command [OK]
Checking for 'iptables' command [OK]
Checking for 'curl' command for CRL fetching [OK]
Opportunistic Encryption Support [DISABLED]

when i execute the command " ipsec auto --add host-host"
it say:
/usr/libexec/ipsec/addconn Non-fips mode set in /proc/sys/crypto/fips_enabled
/usr/libexec/ipsec/addconn Non-fips mode set in /proc/sys/crypto/fips_enabled
023 address family inconsistency in this connection=10 host=10/nexthop=2
037 attempt to load incomplete connection



does anyone can help me , i am a newcomer to ipsec;

thank you in advance;


USB Install of Ububtu 10.04 Doesn't Boot If Using Battery

14 hours 4 min ago
As the title really, I have a USB install of Ubuntu 10.04 (made with Universal USB Installer). It works fine as long as I am using the laptop with its power supply. If I use the battery it will not boot.

I seemed to get stuck starting CUPS so I removed that (and a few other bits & pieces I didn't want) and when I tried it on battery power again it reached the desktop but then hung.

Any pointers as to what might be wrong?


LXer: Wind River board partners spin Intel-based embedded kits

14 hours 9 min ago
Published at LXer:

Wind River announced a series of Wind River Linux-ready development kits developed in partnership with eight different embedded board vendors. Embedded Development Kits are now available from Emerson Network Power, Eurotech, and Kontron, with more kits due in the fourth quarter from Advantech, Adlink, Curtiss-Wright, GE Intelligent Platforms, and RadiSys, says Wind River.

Read More...


ATA softreset failed (device not ready), now slow RAID

14 hours 24 min ago
Hi,

Recently did an apt update and upgrade to my CLI only Lenny server. Upon reboot I get an "ATA softreset failed (device not ready)" for all of my SATA drives. I noticed the upgrade changed the kernel to "Linux debian 2.6.26-2-amd64" (do have 64bit CPU).

Once loaded to a command prompt I can assemble my raid 6 array with the command "mdadm --assemble /dev/sda to sdd" then mount it with mount -a. But transfers to the array are horribly slow ~1mbs.

Upon reboot i get the same errors and have to assemble my array every time.

Does anyone know how I can amend this situation?


Thanks for your time


Enable wireless network on a toshiba nb205 using crunchbanglite

14 hours 53 min ago
i dont know if i have to install drivers or a software, when using iwconfig it says "no wireless extensions"
the device is atheros AR9285


libuuid.so.1 cant open shared object file

15 hours 36 sec ago
I tried to upgrade my slackware xfce 13.0 >> 13.1
I read "man slackpkg" first, and then I did exactly what I read at the man pages, my system was in init 1 mode.
The mirror I used it was the Greek mirror for 13.1
The command slackpkg upgrade-all was running ok until the "r" letter after that all packages did not upgraded because it was ERROR CHECKSUMS.md5 to all of them.
Slackpkg did not upgrade all this packages but just check them and them skip them.
When everything stopped I reboot but at loading time it stops and I have this message:
"libuuid.so.1:cannot open shared object file: No such file or directory."

After that I have 2 options to press control-d to reboot or to give root pass and login as root@(none):
After I login I cant connect to internet, I cant shutdown the system only reboot it from cl, I even cant go to init 1 or anything else.
I dont know if I can fix the problem but I have to try...


USB Boot CD

15 hours 3 min ago
Hi there,
this is my very first posting on the forum, so pls bare with me if I didn't follow some rule...
I'd like to boot my Lubuntu live-USB stick from a CD (this machine doesn't support booting from USB directly). There's a tutorial on the Pendrivelinux site about how to do this, but those commands are looking for a file called "stage2_eltorito" in the /boot folder, and the file doesn't exist. Any suggestions? Maybe a different way to accomplish this? Another tutorial? Thank you in advance!


PC as gateway using one NIC

15 hours 27 min ago
Hi All,

I have one scenerio ,I want to use my Linux PC as residential gateway .I have only one NIC connected to my PC(I cannot connect more) to handle this problem I am using switch . All the devices including my PC are connected using switch (Please refer attached file).

I am not sure how can I achieve this ? I am familiar with NAT and DHCP but do not know is this possible in this case?

Thanks in advance.
Attached Images Gateway_PC.JPG (45.2 KB)


How to authenticate against SSO when using wget

15 hours 29 min ago
Hi All,

I am writing a bash script where I would need to down load few file from server but the glitch is authentication is being performed by SSO/Siteminder server.
Does anyone aware of a option or trick with wget or curl to authenticate against SSO and then download the file from the server.

Standard http-user and http-password definitely does not suffice the need.


read three files and print output in a new file

15 hours 32 min ago
hi i have three files with me.

file1: have DNA sequences and each sequence will begin with > symbol

file2: have protein sequence and each sequence will start with > symbol

file3: BLAST result of file2 and each result will start with query= .


my problem is i have to make a report file by combining these three in such way that
first sequence from file1,first sequence from 2nd file and first result from file3 should be printed in a report file.

like this for all the sequences. could any one help me in this regard.

thanks,
pavan


xfce died (!)

15 hours 46 min ago
I was just mucking about in xfce, trying out new window buttons in conjunction with the black theme - dusk?? - when POW! - X shut down. Rebooting didn't restore things. Error is along these lines:

xfce4-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
xfwm4: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
(xfce4-settings-helper: 2134): libxfcegui4-WARNING **: ICE I/O Error
(xfce4-settings-helper:2134): libxfcegui4-WARNING ** Disconnected from session manager
Thunar: Fatal error 11 (Resource temporarily unavailable) on X server :0.0.
xfce4-panel: Fatal IO error 104 (Connection reset by peer) on X server :0.0.
Agent pid 2036 killed
xinit: connection to X sertver lost
waiting for X server to shut down xfce4-settings-helper: Fatal IO error 104 (Connection reset by peer) on X server :0.0.

Is there a config file I can edit to get away from the window button setting it dislikes, or is reinstalling xfce the only option?
P.S: I'm back on 13.1.


LXer: Linux Foundation's Jim Zemlin Offers Sneak Peek at 2010 End User Summit

15 hours 48 min ago
Published at LXer:

The Linux Foundation rolled out it's speaker lineup for its invitation-only 2010 End User Summit slated to be held October 12-12, 2010 in New Jersey. The event is designed to bring CTOs and other business executives together with high-level maintainers and developers in the Linux community to discuss critical issues surrounding using Linux in the enterprise. Presenters at this year's summit include IBM's Gerrit Huizenga talking about public and private clouds, a panel of key Linux kernel developers discussing storage and filesytems, and a keynote from British Telecom’s Chief Scientist JP Rangaswami on "Why the Cloud Rocks." Of course, Jim Zemlin, executive director at The Linux Foundation will be giving a keynote at the event as well. We caught up with him this week to hear what he has to say about the upcoming Summit, what message attendees will take away, and what he'll be talking about onstage this year.

Read More...


[SOLVED] hide hidden files (.kde .bash etc) to end user in vsftpd

15 hours 51 min ago
Hi,

I have created a user named user1(home dir = /home/user1)
enabled vsftdp service
now when i access ftp://user1@myip using gftp i get to see hidden files like
.bash_logout
.bash_profile
.bashrc
.emacs

etc


i want to hide those files..

can any one suggest how to do it ..

i have tried force_dot_files option in vsftpd.conf file but it doesnt work

regards,
prayag


Sudo command occasionally asks for root password

15 hours 55 min ago
Hi,

In Ubuntu 10.04, I logged in as user1 and when I open a new terminal and issue any command it is asking password.

user@ubun-laptop:~$ sudo ifconfig
[sudo] password for user:

It is asking for password only for first time. From the next command onwards it is not asking.

Can some one please tell me if it is possible to issue ONLY ONE COMMAND, in which even if the password request comes, it will automatically fill the password.

Just like "ps -elf | grep NetworkManager". I am expecting any combination of commands in a single line, so that password is filled automatically IF PASSWORD IS ASKED. If password is not asked, the command must be executed.

Thanks
uv.


Link between the profile and the USE flag

16 hours 1 min ago
Hey all,

I installed Gentoo from "scratch" a few days ago.

I had to choose my profile during the installation.
And I had to set up the USE flag.

Is there a link between these two informations?

What does it imply to take, for example, the server profile?

Thanks


How to get Xconsole of Redhat 5 version?

16 hours 8 min ago
Hi How would i get xconsole of redhat5 linux machine.

Following is the distribution detail.
Code: # lsb_release -a
LSB Version:    :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: RedHatEnterpriseServer
Description:    Red Hat Enterprise Linux Server release 5.5 (Tikanga)
Release:        5.5
Codename:      Tikanga I want xconsole on windows machine .Do i need to install any additional software on my window machine?
Do i need to install any software on linux machine?


Info: Debian Wheezy on the way

16 hours 11 min ago
I was curious about the next testing codename after Squeeze becomes stable. I finally tracked it down. For those interested in such things here it is:
Quote: On 3 September 2010, the name of the release after squeeze was announced[58]: it will be called wheezy, after the the rubber toy penguin with a red bow tie in Toy Story 2. I like the idea of a penguin with a red bow tie but the name is somewhat... sickly? Oh well. I'll get used to it. ;)
jdk


LXer: Linux Mint Based On Debian Released - And It's A Rolling Distribution!

16 hours 39 min ago
Published at LXer:

Linux Mint based on Debian Testing has been released yesterday. Besides being based on Debian and not Ubuntu, there's something else very special about the new Linux Mint Debian: it's a rolling release distribution!

Read More...