Fedora :: Sed Can't Find Related Answer For?
Aug 30, 2010I'm trying to sed out X and Y coordinates from a identify command. I get back from the identify:
Quote:
1015x638+0+0
I need:
Quote:
1015x638
[Code]...
I'm trying to sed out X and Y coordinates from a identify command. I get back from the identify:
Quote:
1015x638+0+0
I need:
Quote:
1015x638
[Code]...
How can I set the outgoing port for the socket? In wireshark, my outgoing port is 1024, and i want to set it to 6800 (or a similar port) I see the outgoing broadcast-message in wireshark, but no answer. There are three ECU's in the LAN, which should answer. The following code is a mixture of C/C++ and jointed from different articles:
[code]...
In wireshark I can only see the outgoing message. But the "recvBuffer" (in the lower part of the code) contains the same content as the sendBuffer. Is it right, that I need a sender and further more a receiver? Or should I receive the broadcast-answer on the same socket on which I send the bc?
I've been googling around and can't seem to find my answer. I've got an old ATI 9700 pro that I'm removing from my system. I'm replacing it with an Nvidia GeForce 6200. What do I need to do to switch these in Karmic? I tried switching the cards, but I only get a white screen with the pointer on the new card. I can't do anything else. I'm guessing I have to uninstall the open source ATI driver first. How do I do that?
View 1 Replies View RelatedI've done a bit of googling, but can't find a clear answer on this. If I format a USB drive using NTFS, so I can store copies of files from my Win 7 machine and my Lucid machine, will it work.
View 9 Replies View RelatedI have been looking for a while and I am unable to find an answer to yum segfaulting.
I have tried:
yum clean all
rm -f /var/lib/rpm/__*
rpm --rebuilddb
I tried upgrading yum and rpm to the newest versions in 5.5 and I still run into the same problem.
fcntl64(6, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET, start=1073741824, len=1}, 0xbfcaf694) = 0
fcntl64(6, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET, start=1073741826, len=510}, 0xbfcaf694) = 0
fcntl64(6, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=1073741824, len=1}, 0xbfcaf694) = 0
access("/var/cache/yum/base/primary.xml.gz.sqlite-journal", F_OK) = -1 ENOENT (No such file or directory)
fstat64(6, {st_mode=S_IFREG|0644, st_size=20480, ...}) = 0
[Code]...
I am new in Linux and Ubuntu. I am using Acer Aspire 4740 laptop. How can i find related drivers for my laptop?
View 1 Replies View RelatedI've recently switched over to gnome desktop environment with gnome-shell preview as my compositing manager.Everything is good except for this process xfce4-notifyd which autostarts somehow..
The problem with this process is it acts as the default notification daemon over-riding gnome-shell's built-in notification support and tends to display balloon popups on the top right corner....If i kill this process everything is good.... But on restart it autostarts again somehow..I looked through the items in gnome-session-properties and also in these places:
Code:
/usr/share/autostart
/etc/xdg/autostart
But couldn't find any entries related to xfce4-notifyd.
I've a question regarding two camera images. Suppose I've detected 2d window coordinate of 8 markers of an object in a scene in one camera and detected window coordinates of 10 markers of the same object on another camera.
I've detected the marker. It was easy. Now how do i know which window coordinates on two cameras are the coordinates of same marker? I mean there are markers captured on both cameras and some of them are representing the same marker in both cameras. I just like to know which ones are same on both cameras. Is it possible to find that out using opencv?
SuSE SLES10, 32 bit. I have an app which crashes with general protection often.
There is message every time in /var/log/messages:
2010-10-22T08:49:49.350476+02:00 HostName kernel: ProgramName[28023] general protection rip:404575 rsp:7fffc5656270 error:0
How do I establish relation between this message and source code? Error was observed on another host where some tests were running, now license is expired and I can't get more info nor core dump. I have to investigate what I have and try to reproduce it locally. Unfortunately original binary was stripped.Now I prepared non-stripped version. Does it has the same addresses for function as original? Is it possible to use symbol information for finding where RIP points to?
In the processing of reinstalling VirtualBox, I found this:2.6.35.6-48.fc14.i686.PAE/source -> /usr/src/kernels/2.6.35.6-48.fc14.i686.PAE/ ,but this folder don't exist.。 I try to relink the ln as source -> /usr/src/kernels/2.6.35.9-64.fc14.i686.PAE , but VirtualBox still get problem with the kernel. Since VirB works fine with other 2 kernels, the solution for this is not quite needed, but I just wonder why this happens. See below. I don't know why these two folder contain different version of kernels. Anybody get an idea?
2.6.35.6-48.fc14.i686.PAE]$ ll /usr/src/kernels/; ll /lib/modules/; ll /lib/modules/2.6.35.6-48.fc14.i686.PAE/ |grep build
total 16
drwxr-xr-x. 22 root root 4096 Nov 19 14:58 2.6.35.6-45.fc14.i686
drwxr-xr-x. 22 root root 4096 Nov 15 00:04 2.6.35.6-48.fc14.i686
drwxr-xr-x. 22 root root 4096 Dec 8 17:08 2.6.35.9-64.fc14.i686
drwxr-xr-x. 22 root root 4096 Dec 8 15:19 2.6.35.9-64.fc14.i686.PAE
[Code]...
I installed FC14. But when i create a VPN connection using NetworkManager, 10 seconds after VPN connection was established, vpn connection has been disconnected.In FC13, I didn't have this problem. In FC14, i use same settings used in FC13.
View 2 Replies View RelatedWhy does Fedora 11 freeze suddenly when I use it? Driver related?
View 14 Replies View RelatedI noticed this weird behaviour yesterday after the last update (not sure if it's really related, but I didn't notice this before).When I do a fresh start and log in - all the gnome related processes are DOUBLED in the memory Of course it causes weird errors, applet hanging or crashes, very sensible slowness while booting and operating, etc, etc.Basically I have 2 gnome-session loaded at once - one as a child process of gdm-binary and another separate one. Both sessions have all the child process loaded, so I turned out to have 2 Nautilus, 2 Metacity, 2 Gnome-panel, 8 python processes and all the set of applets are also doubled.
View 2 Replies View RelatedRecently came across this system monitor for the desktop (in PartedMagic).I liked it,thought it would be fun to play with. It bills itself as being for Ubuntu, but it appears to be available through the Fedora repo.I'm just wondering if anyone is/has run it on their Fedora install? The Conky site doesn't appear to have any Fedora related documentation. Note, I'm not looking for instructions, just wondering if any Fedora users are actually running it.
View 9 Replies View RelatedMy goal is to import and organize photos from my SD Card I have a built in SD Card Reader on my Toshiba Satellite A205 with Fedora 12 installed
1st: I tried to just use gThumb but some of the images wouldn't render after import. - Also at this point, I selected for Fedora to automatically open gThumb Import when I enter the SD Card. Now I can't figure out how to stop it from doing that. If anyone could answer this too, i would be very grateful
2nd: I tried f-spot but it also wouldn't render some of the images after import and I don't like that it orders the photos by day and doesn't let you manage it yourself. Correct me if I'm wrong with this.
Now: I loved Picasa on Windows so I loaded the Picasa 3.0 RPM. I had an apparently common problem with the Wine preloader being blocked by SELinux. I followed the SELinux recommendation to lift the restriction. I realize its not as safe but I thought if I could get Picasa to work I could live with it. But I can't seem to import from Picasa either! When I start an import from Picasa it gets about 20 pictures though and then stops with the following error:
Code: An error has ocurred during importing. Either the source is unavailable or the destination is full or readonly. (11) And also the gThumb import window opens... actually as I'm writing this, it probably is the auto action i set up earlier that's throwing it off. That would probably make the "source unavailable" like the error implies.
I would like to remove the auto load behavior i set up when entering an sd card. If anyone has any other ideas why I can't view all of the images in the other programs i'd like to give them a fair evaluation also. A few of them render ok, but most of them just show a broken image link.
When I connect to ssh server ( server running Redhat ) from debian it takes a long time to give me the prompt, while I receive the prompt rapidly when I connect from slackware or solaris?
View 9 Replies View RelatedI have a VPS CentOS 5.5 32 bits. It does not answer any DNS request made to the server.
I need to configure Bind to answer these requests.
I have been reading about that for several days and here: [URL]
But it is uncompleted.
I need to configure these too:
chroot DNS with BIND avoid cache poisoning avoid being an open resolver port randomization
I have found several tutorials but all of them have different points of view.
I am looking for a good tutorial that has everything:
Setting up bind on CentOS 5.5 chroot DNS with BIND avoid cache poisoning avoid being an open resolver port randomization configure iptables for bind
system:
Opensuse 11.1 with custom kernel from Kernelorg and KDE3.5
Code:
uname -a
Linux linux-2c5j 3.0.4-41-desktop #1 SMP PREEMPT Sun Sep 4 18:51:01 CEST 2011 i686 i686 i386 GNU/Linux
The device is correctly visible:
Code:
lsusb
Bus 002 Device 003: ID 05c6:9204 Qualcomm, Inc.
Bus 002 Device 002: ID 8087:0020
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 006: ID 046d:c012 Logitech, Inc. Mouseman Dual Optical
[Code].....
The modem responds with O.K if interrogated in kppp but the response on AT are not there. It does not dial. The modem has been installed as dev/tty/USB0I did compile Gobi loader 0.7 and it did run make and make install without error. The gobi rules are correctly installed and I did copy the firmware in the respective directory. The problem is: did I copy the right firmware? Is there some other problem. How can I diagnose if the firmware is the correct one (I unpacked the windows ones on a windows machine and there are 6)? I do not see usb0 offered by networkmanager (the network traffic is regulated through networkmanager).
Is there a way to make apt-get install answer "yes" to the "Do you want to continue [y/N]?"?
View 5 Replies View RelatedIt could run on my computer. But there is no result.
[code]...
When I type 'nslookup some site',the result I always get is a non-authoritative answer. How can I get an authoritative answer?
View 3 Replies View Relatedshell scripting in Fedora14I want a script"Find in curent folder for files, and it copy first file he find with name gived by user, if name already exist then echo error message and finish"command usage " bash scriptname copyASname"
smthing like Code: #!/bin/bash
for files in /home/user/*
do
[code]....
When I try to login as a user, I get the dreaded "500 OOPS: cannot change directory:". Almost every posting I can find related to this problem was due to SELinux being enabled. My SELinux is operating in permissive mode. So why can't it open the home directory when I log in as the tarheelnk user?
Code:
[root@server1 home]# ls /home/ -l
total 36
-rw------- 1 root apache 7168 2009-09-11 16:24 aquota.group
-rw------- 1 root apache 7168 2009-09-11 16:30 aquota.user
drwx------ 2 root root 16384 2009-09-11 10:07 lost+found
drwsrws--- 4 tarheelnk apache 4096 2009-09-11 14:58 tarheelnk
code....
My test box is running 9.10 desktop,bind,dhcp,LAMP. Everything is working good, except for one thing. How do I configure the DNS to answer the IP of eth3 (192.168.0.2), no matter what the client asked for? If you ask my DNS for google.com, I want it to return 192.168.0.2. I know this can't be that hard, I just can''t figure it out.
View 4 Replies View RelatedI wanted to know how can I make fsck automatically fix HDD errors when it needs to check HDD during boot up and do not ask user for it . I found some of fsck related scripts in /etc/init/ and /etc/init.d/ but I don't know what to do with them.
View 7 Replies View Relatedtried a lot to get an answer for howo check when a user was created,but got no answer. know the command or how to check when a user was created?
View 14 Replies View RelatedI am having issues getting the modem it the dial-in server I have set up to answer on the correct ring. I have the /etc/inittab set:
Code: S1:2345:respawn:/sbin/mgetty -n 7 -x 6 -D ttyS2 yet I have to play with 'init q' and minicom to get it to answer on ring 7. Then a reboot destroys the setting and I have to go through the whole hassle again and it goes back to answering on the first ring.
This is not acceptable. This dial-in server is only a very back door into my network. It is only turned on when needed. Most of the time it is not powered up. When it is turned on it is by a non-tech person with out the ability to jump through the hoops to get it to answer on the correct ring.
Ideally I want this modem to just listen to the line after it stops ringing to check for a data signal and if it does not find it just hang up. If it finds a data signal then establish a connection and all that. That way it does not interfere with answering machine on the line. Google has yielded very little info about setting up dial-in servers. Modems are not used very much any more.
i m using atoi() to convert char value to int. and then passing that int as a swtich variable.switch goes in a case and exectuing that particualr function but returning 0 value....for example: i am finding no of process() and system up time().when switch program goes in system up time it gives right values means correct no of days, hrs , min and sec but when it goes in no of process() it gives 0 answer.
View 8 Replies View RelatedWhen I try to connect to my PC with sftp, the connection closes right away. Connect with ssh works flawlessly, and so does fish:// ! I run openSUSE 11.1
[Code]....
I put my skype chat on another workspace so I can focus on my school work and I have two windows on my first workspace so that i can alt tab easily but every time someone talks on skype it comes to my first work space and ruins my alt-tabbing comfort. How do I make it stay in its workspace and leave me alone? I rather something in the taskbar blink or if that's not possible, I just want no blinking at all. This is frustrating me since I need my laptop for my homework.
View 2 Replies View Related