1
vote
0answers
39 views

Why does this code work on Linux but not on SunOS? [migrated]

#include <stdio.h> int main() { char *str = "11111111-22222222 r-xp 00000000 00:0e 1843624 /lib/libdl.so.0"; unsigned long long start_addr, stop_addr, offset; char* access = NULL; ...
1
vote
1answer
44 views

How to find speed of wlan interface?

I'm trying to find speed of network interface using file-descriptor. It's easy to do it for ethX, just calling cat /sys/class/net/eth0/speed. Unfortunately this method doesn't work with wireless ...
3
votes
2answers
36 views

How do I detect wheter the audio cable is connected?

I'm using Ubuntu Lucid (10.04). In my shell script running as root I want to detect whether an audio cable (analog jack) is connected to the laptop or not. How do I do that? I don't need a portable ...
0
votes
1answer
44 views

building/compiling kernel headers

I am compiling kernel 3.4 and 3.8 for different target devices. I would like to install compat wireless driver which requires kernel header. Could anyone tell me how I can compile/build the kernel ...
17
votes
4answers
781 views

What doesn't need defragmentation? Linux or the ext2 ext3 FS?

Why don't you have to defrag a Linux system? Because it's using the ext2/ext3 file system or because it's Linux? That's relevant, because a have a double boot system (W7 / Ubuntu) and a common ...
0
votes
0answers
17 views

Unable to connect Intex 3.5g modem in Ubuntu 11.04 [duplicate]

When I try to connect Intex USB modem firstly it is not displayed as a USB modem in networking panel. Then afterwards wen I try to manually add it, I get errors I have tried gnome-ppp and ...
0
votes
1answer
44 views

How to remove a package for the current user?

How can I remove a package for a given user but leave it installed so that other users can still access it? I'm using Ubuntu 12.10.
0
votes
1answer
23 views

nohup and screen not working when running program in background?

I don't why but my screen command running on server is stopping on its own. Therefore I tried to use nohup. e.g: nohup bzcat a.bz But when running nohup it is giving me nohup: ignoring input and ...
1
vote
2answers
54 views

Unable to chown recursively

I'm using this command: chown root:www-data /var/www/example.com -R but I get an error message that the directory is not listed. What is wrong?
1
vote
2answers
95 views

What Linux Distro contains support for Killer E2200 Ethernet chip?

I've been very interested in switching over to a Linux based system lately. I've decided I'm going to dual boot, but my primary machine will be the Linux system. I found that Ubuntu 12.04 didn't have ...
0
votes
1answer
31 views

Can't delete system email

While running Postfix on an Ubuntu, I have acquired a number of test email in an account usr1, and now I want to delete them before starting other testing. However, every time I try to delete using ...
3
votes
0answers
48 views

Exynos 5 DVFS or turning off cores in Ubuntu - Scaling frequency for one of the cores only (dual core) (cpufreq)

I was wondering if there is possible to scale only one of the cpu cores in the A15 in Exynos 5 ? I have tried using e.g cpufreq-set -c 1 -f 500MHz, but both cores are set to the same frequency. When ...
0
votes
0answers
58 views

Not able to configure Squid3 proxy server on Ubuntu Server 12.04

When I install Squid3, I configure my network on squid.conf as acl localnet src 192.168.1.0/24, then I configure proxy settings in my browser. After that it stops the browsing and a message displays ...
1
vote
2answers
106 views

cannot mount .img file - “not a directory” error

I try to execute the following command on an ubuntu 12.04 system: sudo mount minix203.img -o loop -t minix /mnt/myminix/ in order to mount an .img file with minix partition; and get the following ...
1
vote
1answer
59 views

issues booting Ubuntu [Firmware Bug ] : ACPI _BQC method, cannot determine initial brightness

I am running into an issue booting Linux on a new machine. I started with Ubuntu Server edition. I completed the initial setup via an ISO image, however when the machine restarted and went to load ...
0
votes
2answers
44 views

ssh with identical machines

I have two identical beaglebones that I'm working with. They have the same hostname and originally had the same IP, though I changed one to see if that made a difference. They're going to be deployed ...
-4
votes
3answers
113 views

ubuntu: sudo find / -type d -exec chmod -Rf a-wr {} \; the user can't login [closed]

I used ubuntu 12.04 (32bit).Today,I mistakes a command is executed: WARNING DO NOT EXECUTE THIS COMMAND: sudo find / -type d -exec chmod -Rf a-wr {} \; I can't login system;The System is only one ...
2
votes
2answers
124 views

Ubuntu: How do the md devices get assembled at bootup?

How do the md devices get assembled at bootup in Ubuntu? Is /etc/mdadm/mdadm.conf truly the relevant factor here? My mdadm.conf is sound and I checked that while I was in the rescue CD environment. ...
0
votes
1answer
60 views

Connecting from OpenVPN Server to MySQL Server

I have an OpenVPN server installed on a server. What I'm trying to do connect from the OpenVPN server using the mysql client to the MySQL server than is connected to the OpenVPN server using a ...
0
votes
1answer
66 views

emacs fonts from ssh not as good as locally installed

How can I have the same emacs fonts and antialiasing configuration that I have in my local Ubuntu 12.04 also working when I open an emacs session via ssh to a CentOS 5 system? EDIT: I didn't get an ...
1
vote
1answer
87 views

exchange two words using sed

I am trying to exchange two words in a line but it doesn't work. For example: "Today is my first day of university" should be "my is Today first day of university" This is what I tried: sed ...
1
vote
1answer
83 views

How do I manually modify an inode?

I am using Ubuntu Linux and, just for fun, I want to create a hardlink to a directory (as seen here). Because I'm just doing this for fun, I'm not looking for any sort of pre-developed ...
1
vote
0answers
101 views

Opening lid results in black screen (Dell Laptop with ATI Graphics, Ubuntu 12.04, 3.2 kernel, GNOME 3)

For the past few weeks, when opening the lid my laptop often fails to recover from suspension leaving me with a blank screen. Further, when this bug occurs, the laptop fans continue to run while the ...
0
votes
1answer
111 views

External drive not being recognized

I am currently running elementary OS (a Linux OS based on Ubuntu so everything in Ubuntu works in it) - dual booting it with Windows 8. I have a 3TB external hard drive (USB 3.0) that does not seem ...
0
votes
1answer
240 views

Linksys AE3000 install on linux

I bought a Linksys AE3000 wireless adapter hoping I could use it on my Ubuntu 12.04 box. I found a website that walked through using it, but it didn't work. I edited rtusb_dev_id.c to add: and then ...
3
votes
1answer
101 views

What could the “disable touchpad” Fn+F5 button disable? My touchpad does not work anymore even after reboot

Ok, I am getting crazy around this. I pressed Fn+F5 button that in my Samsung 9 laptop disables touchpad. It worked. Then I pressed it again. Clicks (and even click through tapping!) work, but pointer ...
1
vote
1answer
129 views

Dual boot Ubuntu with windows 8

I have Windows 8 and need to dual boot Ubuntu. I made a new partition from Windows Manager, but when I boot Ubuntu and select the new partition I get the error: this partition is not rooted !! ...
0
votes
1answer
266 views

How to get grub Ubuntu 12.04 to boot from secondary boot partition and use new seperate root

On a remote Ubuntu server I performed a series of upgrades/changes to go from a desktop-install Ubuntu 10.10 Maverick to a server-install of 12.04 LTS Precise This all went well except a few hickups ...
2
votes
2answers
285 views

Change Partition Table with GParted

I have an Ubuntu 12.04 LTS server that has 6x600GB SAS drives in a RAID 5 configuration (Perc 6/i). The partition scheme looks like this: Partition File System Mount Point Size /dev/sda1 ...
0
votes
2answers
234 views

How can i free up memory / manage memory on a linux box?

I am running two Ubuntu 12.04 servers (no GUI / desktop) using canonical's cloud images on Amazon EC2. One is a micro with 613MB of RAM and one is a medium with 3.75GB of RAM. I only have opscode's ...
1
vote
0answers
85 views

problem with socks in proxychains

I'm trying to connect to a socks server using proxychains. My ProxyList part of proxychains.conf is: socks5 ip1.sockssrv.org 1080 MYUSER MYPASS When I try to use it; for example using ...
0
votes
3answers
96 views

Can I install ubuntu on a Virtualbox image and use it anywhere?

I am wondering if I install ubuntu once on a virtual machine running inside virtualbox, could I then use it as a portable OS and launch it from virtualbox on any machine? Or would I have to match the ...
1
vote
0answers
110 views

Problem connecting to L2TP VPN

I installed l2tp-ipsec-vpn‍‍ from ppa:werner-jaeger/ppa-werner-vpn. Yesterday I was able to connect to my L2TP vpn account successfully. But after restart i'm getting this on syslog: Mar 07 ...
1
vote
1answer
55 views

Which packages contain IPsec implementations and algorithms that use it for encryption?

Which package contains the implementation of IPsec and which package contains the implementation of encryption algorithms that IPsec uses for encryption? I need to use custom crytographic algorithms ...
0
votes
2answers
44 views

Ubuntu 12 installation - partitions

I want to install Ubuntu 12 and I would like to partition my hard drive so that the OS lives in its own partition and the data in a different one. Thus if the system breaks for some reason, the data ...
0
votes
2answers
65 views

Which process updates /proc/scsi/scsi?

I wrote C that displays info about my hardware on ubuntu. Now I wonder how I can make it more flexible such as querying the hardware directly instead of the file the os updates. So I think I can look ...
0
votes
0answers
428 views

Replacing Ubuntu 12.04 with Backtrack 5 R3 dual boot with Mac OSX Mountain Lion

I installed ubuntu 12.04 to run alongside my osx on my 2011 macbook air and would like to remove ubuntu completely to boot replace it with backtrack. I deleted the partition where ubuntu was located ...
0
votes
2answers
127 views

Changing root password does not change sudo password

I'm trying to change the password that get's asked when doing sudo. I'm in Ubuntu. Doing 'sudo passwd' or 'sudo passwd root' does give me the two new password questions, and it successfully changes ...
1
vote
1answer
29 views

Why grp:lctrl_lshift_toggle still keeps right keys as switch triggers?

I ran the following command in my terminal: setxkbmap -layout us,ru -option "grp:lctrl_lshift_toggle,ctrl:nocaps" but for some reason, the effect is the same if I specified "grp:ctrl_shift_toggle" ...
2
votes
0answers
208 views

ping receives no packets, but tcpdump can see them coming in

I'm migrating an old Ubuntu OpenVZ instance (Jaunty) to a new CentOS 6.3 host (using vzdump/vzrestore). Now networking does not work properly. Facts: It works just fine if a setup a new OpenVZ ...
0
votes
1answer
232 views

How to use one distro's live CD to install another distro?

I'm trying to install Mint Linux to a USB stick, but the Mint live CD doesn't fit on a normal CD and I don't have any DVDs available. The Ubuntu live CD does fit on a CD, so I want to use the Ubuntu ...
2
votes
1answer
194 views

How to execute a shellscript when I plug-in a USB-device

I want to execute a script when I plug in a device in my Linux machine. For example, run xinput on mouse or a backupscript on a certain drive. I have seen a lot of articles on this, most recently ...
0
votes
2answers
250 views

Heartbeat with virtual IP at Ubuntu 12.04

I have installed heartbeat package at both linux devices so that when ever clients request a service they will be arrived to this IP, and client will not know what are the back-end/actual ip addresses ...
1
vote
0answers
174 views

Ubuntu 10.04 kvm Virtual Machine guest network speed slow

i have the following situation, i have a kvm host ubuntu 10.04 LTS 64-bit network host speed is perfectly run , as i am testing network speed using iperf , the speed between any network device and the ...
0
votes
1answer
78 views

Having trouble executing a compiled C program

I am running an Ubuntu v10.04 through VirtualBox. To test the persistence of files I create in the virtual machine, I wrote a very basic C program. When I shutdown the virtual machine and restart it, ...
0
votes
1answer
105 views

Wireless on my Dell Latitude E5320 doesn't work on Ubuntu but works on Linux Mint. What can I do to make it work?

I have dualboot Ubuntu 12.10 & Linux Mint 14, both are clean install & updated with the latest. My wireless works flawlessly on Linux Mint but it's very unreliable on Ubuntu: every 15~20 ...
5
votes
3answers
353 views

“Unable to resolve hostname” - how to cleanly change hostname without rebooting

At work, I work on a small website using Ubuntu servers hosted on Amazon EC2 instances. We have two webservers, and at any given time one of them is 'live' and one is 'testing', but when we've got our ...
0
votes
0answers
179 views

Linux Permissions vsftpd

I have mybb installed and running in /var/www/forums. I have two users part of the www group, logan and www-data. I have the recursive permissions of forums directory set to: chmod -R 755 forums ...
1
vote
2answers
43 views

How to stop apt from uninstalling the packages while updating

I using apt in terminal to install an update. When i used apt-get -f install it showed 0 upgraded, 7 newly installed, 428 to remove and 3 not upgraded. 4 not fully installed or removed. Need to get ...
7
votes
3answers
745 views

How to truely install a tar.gz file on Linux - how to manage manually-installed (or standalone) applications?

I see all these links explaining packages and .debs... I know that... and there are many kludges to get tar.gz files working (eg: update-alternatives for Java or manually dropping the file in ...

1 2 3 4 5 6