I'm having a little issue managing my iphone on archlinux+kde. This is the only way I got it to sync.
sudo killall usbmuxd sudo usbmuxd -f -v
And then the only program that recognices the device is Clementine and it works quite fine. What I'd like to do is to make that automaticaly, so I wouldn't have to do it everytime i turn on my computer.
i hav already gone through the archlinux installation.now m stuck at installation of gui. but our college uses a cyberoam client. how to get connected to the internet to install xorg nd kde?
Do a 64 bits version will work better if the cpu is 64 bits capable ? Can I remove all added stuffs on Archbang or CTKArchLive to return to plain Archlinux with openbox that I can configure myself easily, so I can install Archlinux faster ?
I tried and installed Arch properly but I need to install the broadcom bcm 4727 driver (b43,wl,sta,open source), which driver do I need and how can I install it by my usb on Archlinux CLI made with base, sudo and wireless_tools only ?
I installed Archlinux yesterday on my Aspire One netbook. I installed fluxbux window manager with the ROX file manager/desktop manager.Everything was working fine until I was walking through a guide to set up the Fn keysto use the keyboard hotkeys for changing the brightness and audio settings here: [URL]I used xmodmap to set additional short cuts. Every since, I can't use my keyboard when I run 'startx'. My laptop touch mouse is working but I noticed the cursor speed has slowed down drasticly since I input the above changes.
I tried putting in 'setxkbmap no' in my ~/.xinitrc, 'no' was the language which is set up in my /etc/X11/xorg.conf and was working before. I also reverted to a back-up of my xorg.conf which I had saved a few hours before, which also didn't work.What could the problem could be here? How can I ensure my keyboard is being properly initialise when I start up Xorg/fluxbox?
My MBP fails to boot Arch. This is what I did to install ArchLinux. Install rEFIT.
Partition using disk utility such that first one is Mac partition, second is Arch & the third ie the last one is windows.
Then put Windows 7 CD, select it from rEFIT and install it. Similar, install ArchLinux just as I did for windows.
Then finally to install the GRUB, I issued the command $grub-install --root-directory=/mnt/arch - recheck /dev/sda3 (after mounting my /dev/sda3 to /mnt/arch).
This is the exact error and then it drops to recovery:
At work / home / laptops I have about 5 slackware machines. I have always tended to install new packages on each machine from source, generally using slackbuilds when available. I thought I would try 'libreoffice' and reading alien-bobs blog I deduced that a full from source install might be pretty difficult, so I followed his advice and just took the package (.txz file) and used installpkg. To my slight surprise this installed and ran perfectly.
Now I'm wondering if someone would clarify under what circumstances you can just take the slackware package from one machine to another and install. More generally I guess what are the main advantages of building from source. Is it mainly about availability of all the required dependencies?
I'm using VSFTPD on my office LAN for one simple task: to receive-and send - installation images created with Ghost4Linux. Until recently, my main LAN server ran on CentOS, but I decided to migrate it to Slackware (nicer release policy ).
What I usually do is create an 'install' user who can login to FTP, but not on the system. Here's an example of what I used to do on my CentOS setup:
Then I only had to create the /etc/vsftpd/user_list file and put a single line in it to allow the newly created user:
Code:
install Now I've tried to get the same behaviour on Slackware, and I succeeded more or less, except for one thing. There's no way my 'install' user can login to FTP when his default shell is set to '/sbin/nologin' (or '/bin/false'). Only when I change the 'install' users' default shell to a "real" shell like '/bin/bash', he's able to login.
Here's a little practical demonstration of what's happening:
Code:
$ lftp localhost lftp localhost:~> user install Mot de passe :
I'm currently trying to setup Slackware 13.7 on a server, using software RAID 1. I'm using the README_RAID.TXT document at the root of the Slackware disc as a reference. Anyway, here's what I have so far.
[root@raymonde:~] # fdisk -l /dev/sd{a,b} Disk /dev/sda: 41.1 GB, 41110142976 bytes 255 heads, 63 sectors/track, 4998 cylinders, total 80293248 sectors Units = sectors of 1 * 512 = 512 bytes
[code]....
I created an initrd image using mkinitrd -F, added an according stanza to /etc/lilo.conf and ran 'lilo' after that. Now I can boot on the vanilla huge kernel all right. But I can't seem to boot on the generic kernel. Whenever I try to do this, the boot process stops short on the following error message:
Code:
mount: mounting /dev/md3 on /mnt failed: Device or resource busy ERROR: no /sbin/init found on rootdev
I've never compiled/built/installed any Apache module before, and I just can't seem to get it working on ArchLinux. I got the source code from here: [URL] Then I tried doing this...
I would eventually like to modify the mod_auth_mysql.c source code so I can append a salt/padding to the end of the hashes (that mod_auth_mysql reads from the database), but I will be happy if I can just install the damn thing.
I am trying my hand at Bash scripting. I have a file with lots of pinyin, which is the romanized version of Chinese characters and words. A typical entry looks like this,
"7 shuo1 to speak"
Seven is the number of the entry shuo is the pinyin, 1 is the tone mark and is the Chinese character.
What I would like to do is change the format so that it looks more like this:
7 shuo 1
Each field needs to be re-assigned to a variable in an array and then printed to the screen and saved to a file in the same order it was input. This is to prepare the data for another project I am working on in imagemagick.
I have spent all day looking at linux man pages and have very little to show for my efforts. What is the best way to approach this? grep, awk, sed...?
trying to do a multiboot, just for fun Now I installed Foresight Linux, which was not such a good.Foresight is based on rpath and uses Conary as update system Now Conary destroyed all other linux systems installed on the other partitions. Now I found that there is something such as hide and unmount but have read several pages full of it but still have no idea what is the difference between the two and more important, how to use this as most explanations seem to complicated How can I hide partitions for a booted linux operating system so it is unable to see it, use it or even mount it when it tries
I've been using SuSE for a while and something has been bugging me. Not a show stopper, but nevertheless, an interesting one. Most tutorials, forum posts, etc. recommend using a sudo command to accomplish stuff. For example:
Code: sudo make install sudo vi file
However, this does not always work. For instance, I was recently working on a resolution problem with my ViewSonic VX922 - it would only display at 1024x768 rather than the native 1280x1024. Viewing some posts, I found the command "sudo sax2 -r". What I discovered is that there seems to be a big difference between sudo and su
Code: drkhelmt@SPACEBALL1:">sudo sax2 root's password: sudo: sax2: command not found drkhelmt@SPACEBALL1:">su Password: SPACEBALL1:/home/drkhelmt: #sax2 SaX: Checking update status for intel driver SaX: initialization already done SaX: cal [ sax2 -r ] if your system has been changed ! SaX: startup SaX: X server:0.0-> grant SaX: importing current configuration SPACEBALL1:/home/drkhelmt: #
So the question, why does the command sax2 (and others) work when after the su command rather than a sudo?
I'd like to clear up my misconception towards various types of installations. Is one better than the other? Do more senior people prefer compiling from source code? Hows does is compare to yum install or install from rpm?
On my ms windows machine, the OS went out of order, and I wanted to salvage all my pictures, and decided to use a live CD and move some of my media files to my mp3 player... its storage is 8 gigabytes I tried a latest Knoppix first, it did not provide me a nice GUI. Instead, it provide me with a humble looking, less than friendly, menu-based interface which I gave up on in about 3 minutes. I was thinking for a minute, and when I tried to install Ubuntu in the past, one of the options I was provided when I ran the Ubuntu installation CD was "Try Ubuntu without installing it" and I thought it meant the Ubuntu installation CD could also be used a live CD. And I put together an Ubuntu CD and attempted to use it as a live CD! ah man it was beautiful. It even recognized the video card on my machine. I am never going back to knoppix. From now on, when someone ever mentions Knoppix to me, my response will be, "what is Knoppix?"
Trying to understand version nr. of RPM package and release nr.I have the following package e.g.
tree-1.5.3-2.el6.x86_64.rpm. tree ---> package name 1.5.3 ---> version 2 ---> release e16 ---> operating system major version x86_64 ---> cpu architecture
What is the difference between version nr vs release nr ?
just installed slackware 13.37... i did a bit of configuration by myself but im having trouble making my graphics card running correctly under X.I installed the latest drivers correctly from the nvidia website.
We are graphing various system parameters using Cacti. One of our graphs shows hard drive reads and writes. A question came up: why do we need this graph?
Doing some research I was leaning towards buying an inexpensive laptop and either install linux or buy one already installed (maybe Debian or Ubunutu). The uses for this laptop would be for developing linux device drivers and having the option to control the OS for any customized applications which I could develop. Didn't want to go the dual boot with Windows approach.
I realized that my understanding of UUIDs in Linux to specifying hard disk partitions may be erroneous.
The proverbial wisdom is that one should not use hard-coded device specifications in fstab and in the boot menu.lst, such as /dev/sda1 etc. The reason normally given is that if hard disk order changes or the order of partitions change, then the entries will be incorrect since they are hardcoded to partitions following a specific order.
So my understanding was that using hard disk labels, in the form of LABEL=xxxx, or UUIDs in the form of UUID=some-uuid, would prevent these problems when disk order or partition order changed.
I decided to avoid the use of LABEL in case I wanted to change the LABEL on a partition to make the names of partitions more easily identifiable. I then thought that UUID was ideal since it never changed for a partition no matter even if I moved that partition to another drive or added another hard drive and thus changes the order of hard drives on my computer. I essentially thought that once UUID was determined for a partition, it never changed but was somehow part of the partition in the hardware of my computer.
Then I became curious of how a UUID was determined. I did this because I often make backups of partitions on external SATA drives and wanted to make sure that somehow the backup would not duplicate whatever Linux considers the UUID of a partition and present a Linux distribution with two UUIDS which are somehow the same and therefore confuse the Linux distribution to the point that I could not use it. I am aware that UUID means a unique id, but I wanted to make sure I understand how that unique id is determined in Linux. This is especially true since the tool I use to make backups of an entire partition is a Windows application, and not a Linux application, and I wanted to make sure that the backup partition UUID would not duplicate that of an existing partition.
In my very brief research in how a UUID is generated under Linux it appears that it is not something that is part of the hardware of the partition itself but rather a number generated by some parameters of the partition, one of which is the partition order.
If it is, it means to me that if I move a partition from one place to another, even on the same hard drive, or to another hard drive, a Linux distribution will no longer find the partition based on the UUID. In that case it seems as if the UUID is subject to the same weakness as the device specification in fstab and menu.lst in that the order of a partition or the placement of a partition on a particular hard drive will cause the designation to no longer refer to the same partition. In which case it appears to me that only the LABEL parameter is not subject to this weakness and as long as I keep distinct labels for all partitions on my hard drive I could theoretically move them around at will and a Linux distribution will find them correctly. I am aware of course that my computer must always find the boot partition to be able to boot a Linux distribution, so moving Linux parttions where I want them is subject to the ability of my computer to find them from the MBR of my hard drives. But in the main it now appears to me that the best way to insure that moving partitions does not keep a Linux distribution from botting correctly is to use LABEL, and not UUID, in fstab and menu.lst, and of course to make sure that if I decide to change the LABEL of a partition that I must change its entry in fstab and possibly menu.lst before rebooting that distribution.
If I have been wrong in my latest surmises I would appreciate being corrected, as the information I found on UUIDs and how they are generated may not be correct. Also if there is more exact information on exactly how partition UUIDs are generated in Linux I would appreciating anyone pointing it out to me.
I have to work with a NFS user id between two hosts: A running Ksh 93 and B running pdksh 88. Both host run RedHat. My problem has to do with the custom prompt I created on A: it works like a charm and display colors:
But I switch over to B, it all goes to hell (private info removed). The prompt fails to display colors like host A ; instead, the color codes are displayed "in clear".
The prompt on host B is not displaying colors like host A so I want B to display a basic prompt instead. To get around the problem, I edited my .kshrc file to add this code at the end
Code:
export NODE=`uname -n` case $NODE in host_name_for_B)
[code]...
The case statement does not work: PS1 does not switch to `PS1="[`logname`@`uname -n`]>"`.
I have a third party static library (libSTATIC.a) that I cannot recompile into a shared library. I want to create a shared library (libSHARED.so) that uses the C functions in the static library. Is it possible to do this? In other words, when linking a C program with gcc by using the -shared flag, is it necessary that all all libraries invoked in the program (even low level libraries such as libc for example) be available as shared libraries as well?
I am having vitural hosting around three websites using Centos. I need to type in the full domain name include www to enter the 2 of the vitural hosting sites. Pros and Cons of vitural hosting vs separate machine? I got a questions about static IP. Assume I having a linksys router with port forwarding function, I have three seperate machines with different private address connect to the same linksys router. Can I entry all private address forward to port 80? Does it work? If I insist to host website on three machines, does that mean I need 3 static IP and 3 linksys router? I got two conventional web services only showing information but one got mysql db for user to input data, thats why I asking if it is good idea to seperate web page on different machines.
This is my first Linux experience so probably at the prenewbie level. I have installed Xubuntu and played with it for a couple weeks. The question is about software download attempts from Ubuntu Software center. When I attempt to use it I get the error messages: Failed to lock the package manager
Check if you are currently running another software management tool, e.g. Synaptic or aptitude. Only one tool is allowed to make changes at a time. The package indexes are currently changed by apt-get. Does this mean that SPM is active and the Software Center will not function until I change enablement between the two? If so, how do I accomplish the task?