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: 1 hour 13 min ago

Denied & it is my file & I have permission ?

Sat, 07/17/2010 - 16:44
If I try the sudo mv command on the file listed below I get the error listed. I am confused. It is my file & I have permissions

Somehow a slew of files on my system are now showing this way.

This seems to correspond when I ran rsync from my netbook to sync it up with my desktop where I am having a problem.

Any ideas ? :doh:

Potential Source ->

Quote: sudo rsync -av --delete --rsh=ssh joe@192.168.1.4:/media/Abyss/Memories/ /home/joe/Pictures/
Type of issue ->

Quote: mv: cannot remove `100_2259.jpg': Permission denied
Quote: joe@Tux-Box:/media/Abyss/Memories/2009/3-09$ stat 100_2259.jpg
File: `100_2259.jpg'
Size: 243012 Blocks: 480 IO Block: 4096 regular file
Device: 811h/2065d Inode: 1312030 Links: 1
Access: (0777/-rwxrwxrwx) Uid: ( 1000/ joe) Gid: ( 1000/ joe)
Access: 2010-07-17 11:41:26.708020712 -0400
Modify: 2009-12-13 21:49:59.501938000 -0500
Change: 2009-12-24 05:54:02.854309200 -0500


pass 2 of binutils

Sat, 07/17/2010 - 16:39
lfs 6.6
what should I had to do before the installation of the second binutils ? should I unpack it again? delete the old binutils_build directory? something else ?
Thanks.


configure postfix with dsl connexion

Sat, 07/17/2010 - 16:35
i everybody

im trying to setup a mail server

i am with fedora core, postfix and i have a dsl internet connexion

my ip is dynamic

so i readed some tutorial on how to configure postfix

but i need your help to know what to write for

Quote: myhostname = mta1.domain.com
mydomain = domain.com Thanks!


qemu does not find any root filesystem

Sat, 07/17/2010 - 16:16
Hello everyone,
I'm David from Toulouse, France and this is my first question on this forum, it's already two years that I'm playing with linux, and almost twenty more others that I use unix at work.
My question may seem easy or stupid to some of you, but I found discussions relative to the problem I encounter or close to it.
I want to run a linux qemu-virtual machine within a text console. (to be able to see it working across an ssh text link)

So, first I create a virtual disk :
$ /usr/bin/qemu-img create qemu-dsk.img 2G
Then I mount the iso CD image that I want to run : (one that I know is working correctly)
# mount -o loop /home/david/SUSBlive/debian-live-505-i386-lxde-desktop.iso /media/cdrom1
And last I issue the qemu command about which is my question :
$ qemu -kernel /media/cdrom1/live/vmlinuz -initrd /media/cdrom1/live/initrd.img ./qemu-dsk.img -append "root=/ console=ttyS0" -nographic -m 324

(here is how it splits :)
qemu -kernel /media/cdrom1/live/vmlinuz # this is the kernel located within the iso image mounted on /media/cdrom1
-initrd /media/cdrom1/live/initrd.img # this is the initrd located within the iso image mounted on /media/cdrom1
-hda ./qemu-dsk.img # this is the virtual HD created by "qemu-img create" as shown above
-append "root=/ console=ttyS0" #-----THIS IS WHAT IS PROBABLY WRONG-----
-nographic -m 324 # this is to run in a console on my poor machine

And here it goes :
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.26-2-686 (Debian 2.6.26-24) (dannf@debian.org)

[.../...] (something like two hudred lines)

[ 43.208166] hda: unknown partition table
[ 43.453892] hdc: ATAPI 4X CD-ROM drive, 512kB Cache
[ 43.455613] Uniform CD-ROM driver Revision: 3.20
done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Waiting for root file system ...
(and I would be still waiting if I did not kill qemu)



-If ever the '-append "root=/ console=ttyS0"' part of my command was :
-append "root=/root console=ttyS0"
Then it finishes like :

Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
mount: mounting / on /root failed: No such device
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory
done.
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have /sbin/init.
No init found. Try passing init= bootarg.
(and then it drops to a shell within initramfs, and "exit" gives :)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)



-I found other examples that I do not completely understand either :

-append "root=/dev/hda console=ttyS0"
-append root="/dev/nfs nfsroot=<host-ip>:/mnt/ARM_FS rw ip=dhcp"
-append root="0800"
-append "root=/dev/ram init=/linuxrc console=ttyS0"



-Well, my questions and my tries may show that I do not yet understand everything in that domain, but please help me making work my qemu by it finding its root file system.
At least, please give me some links where I could learn how to understand that, which is still messy for me.
Thank'you,
David
(Long post, sorry, but I'm completely lost)


Ubantu Sever 10.04 from USB flash Drive

Sat, 07/17/2010 - 16:12
Plz help!!
i want to install ubantu server 10.04 from a usb flash drive. i used "unetbootin" software for this but during installation an error came specifying that cd-rom not mounted etc..

i want this installation for a fresh machine..but I can use windows or ubantu9 desktop for any implementation for this..

plzzzzzzzzzzzzz help its urgent..
thanks in advance...

crackconfig


Install Ubuntu 10.04 on Toshiba Tecra S11

Sat, 07/17/2010 - 16:09
I have been given Toshiba Tecra S11 with windows 7 running on it to install Ubuntu 10.04. Toshiba has a bunch of utilities running on the machine set up as dev/sda1, dev/sda, dev/sda3 and dev/sda4. I do not know where to start because of these existing partitions.


Thanks,
Eric.


Ubuntu 10.04 Nvidia 7950 gt 'oc' ppa driver / current stable not working

Sat, 07/17/2010 - 15:49
Hi,

I just installed a BFG Nvidia based geforce 7950 gt OC edition card. the system is a updated / upgraded Lucid LTS. I have tried to get the drivers working by using nvidia-current and by adding the x-swat ppa and installing the 256.x series driver. I can in some cases get the card to function in 2d. I am unable to get compiz / effects working.

The card is listed as supported in both driver specs. The nvidia site also shows the card being supported. The driver shows as enabled under "hardware drivers" and also shows up when doing lsmod.

Has anyone else had any issues getting effects ( need it for xbmc ) to work? I would rather stay away from the ppa driver due to some problems i had with it working with the alsa / pulse ppa / unstable daemons.

This is an older card, i have set up nvidia cards b4 with not to much trouble. Am i missing something. Thanks for taking the time to respond.

John


Free Internet security Software For Ubuntu OS

Sat, 07/17/2010 - 15:42
Hello!
I have ubuntu os, I want to know are there any Good "Internet security suit" for Ubuntu os? I'm doing online transactions using my pc so i don't like get any kind of risk.


usb wifi adapter doesn't recognized my Backtrack 3

Sat, 07/17/2010 - 15:29
Hi everyone. I'm just new here and if i'm not wrong then i think for pb this is the right section and if not then please move to right section.
Well from last few days i'm reading documents and downloading this file that files but couldn't solved my pb.

Well my pb is i'm running Backtrack3 on VMWare Workstation and its running perfectly without any pb except one and that is my USB wifi
device. When i run my Backtrack it shows the device but when i try
open Wireless Assistant from backtrack on that time it says No device found. I install the driver from the cd came with my TP-Link TL-WN821N v2.I can use it with my windows7 without any pb but with Backtrack i can't.

So if someone can tell me how i can make the device recognize by backtrack.

In bellow i attach screen shot.

This is when i open backtrack3
Code: http://i31.tinypic.com/10oms9i.jpg This is after i click Wireless Assitant

Code: http://i30.tinypic.com/jf9n50.jpg Thank u again

i hope i'll get help this time.

JJ


calling bash script in php

Sat, 07/17/2010 - 14:42
Hello Everyone,

I have a bash script that changes the iptables.Now i call this bash script in my php code.When this bash script is running the part of code that contains iptables instruction is not running because we need to be in superuser mode(root).
how can I run bash script in superuser mode?

Any help would be highly appreciated.


illegal fseek/ftell

Sat, 07/17/2010 - 14:37
Hello,

I have managed interchange data correclty using fopen(), fread() and fwrite() to a rfcomm0 device file between my Ubuntu pc and a bluetooth module.
but whenever i run
Code: ft = ftell(fd);
printf("ftell %d\n", ft); //-1
ft = fseek(fd, 0,SEEK_END);
printf("SEEK_END %d\n", ft); //-1
if (ft = -1)
{
 printf("ERROR: %s\n", strerror(errno)); //illegal seek.
} the error output is illegal seek.
any hints plz?
Thanks


dhcpd3: no subnet declarations for eth0

Sat, 07/17/2010 - 14:31
Running on Debian Lenny, installed dhcpd with apt-get install dhcp3-server.
Machine has two NICs: 192.168.1.1/24 and 10.100.1.17/24.

My /etc/dhcpd.conf:
DHCPDARGS=eth0

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.200;
option routers 192.168.1.1;
default-lease-time 86400;
max-lease-time 86400;
}

subnet 10.100.1.0 netmask 255.255.255.0 {
}


Trying to start dhcpd reports "no subnet declaration for eth0 (192.168.1.1)" and "no subnet declaration for eth1 (10.100.1.17)".

Is dhcpd using /etc/dhcpd.conf, or do I have the wrong config file? If it's right, why is this failing?


Changing a GTK caret width

Sat, 07/17/2010 - 13:42
Hi.

How can I change GTK caret width?

Thanks.

Debian GNU/Linux 5.0.4;
Gnome 2.22.3.


Access to Sambe from SystemRescueCD

Sat, 07/17/2010 - 13:34
Hi!
2 computers. Samba-shared dir on one. On the other one there is SystemRescueCD in memory. How do I get access to shared dir from SystemRescueCD? There's no Gnome. If there was, I would use Nautilus.


Setting up VPN to allow Mac, Linux, and Windows clients

Sat, 07/17/2010 - 13:24
First, let me state that I know very little about networking. I am a software developer. I have a client in Pittsburgh that has a Mac server and a Linux (RHEL) server on a LAN. They have a Netgear FVS 318v3 router on which they had a VPN running. They could do this because they had the router configured for IP-SEC and they only had Mac laptops as clients. I'm told Mac laptops can be configured to connect to IP-SEC VPNs, but Linux (I have Ubuntu) clients cannot.

I'm told that we need an PPTP VPN, and that the Netgear can not act as an endpoint, but can pass PPTP traffic to one of the servers if we set them up as a PPTP server.

We hired two different network consultants to set up the VPN, but neither one is able to set up a VPN to allow both the Mac and Linux laptops to connect.

Why is this so difficult? Lots of companies have VPNs that allow any client to connect.

Would it be better for us to purchase a different router that can act as a PPTP endpoint?

Do I want the router to act as a PPTP endpoint, or would it be better for me to use the Netgear and set up a PPTP service on one of the servers? Or, is there some better solution?