Debian Configuration :: Disabling Usb Mounts ?

Apr 7, 2010

Let me quickly state that I am returning to Debian after quite a long break. I am trying to relearn some things. I suppose I'm somewhat old school. As in I originally installed from rawright, back in the days when you had to do practically everything by hand. I was quite happy with config and make. I actually learned a ton back then, as I started out knowing nothing. I guess I can learn to catch up with the modern linux world.

Anyway here is my question? In the old days if I wanted something not to be mounted I would simply comment out the entry in /etc/fstab. I notice that my USB drive is mounted but does not appear in the fstab. It is in mtab, and lsusb does show it.

If I wanted to secure a system, but not totally remove usb support from the kernel, how would I prevent the automounting of USB drives? What are the configuration files that govern their operation?

View 1 Replies


ADVERTISEMENT

Debian Configuration :: Static IP And Network Mounts

Jul 19, 2010

I moved to static Ip method for my laptop. I edited the interfaces file and it seems to work since I am writing this message from that laptop, but I have a new problem with my Debian. The mounts are not mounted during the startup anymore. Before I was using the network manager method and the nerwork mounts were all fine. Now with this method, they are not mounted and I need to mount them by firing "sudo mount -a" manually.

View 2 Replies View Related

Debian Configuration :: Make A Cron Job That Mounts A 2nd Local Hard Drive?

Jul 1, 2011

I am making backups and I need to make a cron job that mounts a 2nd local hard drive.

It is not listed in my fstab file and I mount it manually in nautilus (having to type a password). It is designated as /dev/sdb1 and /media/repo when it is mounted. Can I get cron to mount it and then add the password or do I have to add it to fstab?

View 3 Replies View Related

Debian Configuration :: Disabling Boot-time Messages?

Jul 17, 2011

I'm trying to stop all boot time messages from appearing -- basically I'd like to have a simple blank screen from grub to xdm.

I tried everything -- used the "quiet" option in grub's config, added dmesg -n 1 to rc.local, changed console=ttySx, set kernel.printk in sysctl.conf to 4 1 1 7, and even eradicated rsyslogd altogether... to no avail. I still see all sorts of messages on my screen.

View 1 Replies View Related

Debian Configuration :: Disabling/Removing Alternate/virtual Terminals (ttyN)

Jul 6, 2011

I'm building a Debian Live system, [URL], and I've pared it down to a very light distro. It is using the IceWM, has the basic linux commands, and very very little else.

When I run "top" and "ps aux", I see that I have multiple terminals and logins waiting to be used. It's a small amount, but I'd like to make that RAM usable elsewhere. The indicated commands are: "/bin/login -f" and "-bash", and I have one of each associated with each tty[1-7]. I may want to keep tty1 and tty2, just in case, but I can't imagine wanting 3-7.

So, what I'm looking for is a way to stop tty[3-7] from even starting in the first place.

I saw on one forum the suggestion of modifying the /etc/init/tty[1-7].conf files, but these files aren't present, I presume because it's a "Live" system.

View 5 Replies View Related

Ubuntu Networking :: NFS Mounts Cause A Hang On Reboot Of The Mounts Are Lost

Nov 24, 2010

I have multiple ubuntu machines and I connect to one through an NFS share. I have done this for a few years without issue. However, since re-installing ubuntu and upgrading to 10.4 I have a problem with my system hanging when the remote shares are lost.

Basically, I can power down the machine downstairs, and my main machine then has a fit. I can not open any folders in ubuntu, nor can I shut down. If I try and shut down the system hangs, last time it hung for 8 hours before I had to kill the power.

These are the lines in my fstab

I don't know what I've done wrong, or how I can prevent this from hanging. I have googled the heck out of this as well and can't seem to find an answer either.

View 2 Replies View Related

Debian :: All USB Media Mounts As Read-Only?

Jun 16, 2010

All of my USB -- media, flash drives, media players, SD cards -- mount as read-only on my system. Following is a bunch of output from questions I expect to be asked / debug info.

Groups I'm in
gmweezel@computer:~$ groups
gmweezel dialout cdrom floppy audio video plugdev netdev powerdev
DMESG output
gmweezel@computer:~$ dmesg | tail
[17532.047289] sd 13:0:0:0: [sdg] Write Protect is off
[17532.047292] sd 13:0:0:0: [sdg] Mode Sense: 45 00 00 00

[Code]....

View 4 Replies View Related

Debian :: Disabling IRQ #19 - Debian Testing On Dell Latitude D531?

Nov 16, 2010

I'm a Debian testing user (not an experienced one) on laptop Dell Latitude D531 and has encountered a problem: I've often got my laptop slowed down very much and the message appears in a console: Disabling IRQ #19 I've searched for the solution, but failed finding the answer.

dmesg showed:

Code:
[ 21.064461] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 21.067790] cfg80211: Calling CRDA for country: GB
[ 21.160654] padlock: VIA PadLock not detected.
[ 23.545837] fuse init (API version 7.13)
[ 24.354533] tun: Universal TUN/TAP device driver, 1.6

[Code]...

View 6 Replies View Related

Debian :: USB Hard Drive Mounts As Read Only

Jan 4, 2016

Trying to go through some old hard drives I'd saved from a Mac we tossed years ago. Using a Sabrent USB adapter (USB-DSC9) I connected it to the Debian box and it mounts as /media. Here's the weird thing: although I can read all the random stuff, the directory with all my actual documents shows up as "you do not have the permissions necessary to view the contents". When I try to fix this with chmod, it tells me that the drive is read-only. Grr.

How do I mount the drive so that it's not read-only?

View 7 Replies View Related

Debian Multimedia :: Music CD Mounts But Won't Play In Squeeze

Apr 20, 2011

My wife and I each have 32 bit machines with two media drives and we're running Debian Squeeze with KDE4. If either of us put a commercial music CD in our primary drive (it's a CDROM drive on mine and an LG Super Multi drive on hers) Squeeze sees the music CD but can't play it. If either of us put a music CD in the secondary drive (Panasonic DVD/CD R/RW on mine and another LG Super Multi on hers) Squeeze sees the CD and KsCD plays it just fine however she can't see the files on the CD (in Dolphin) on her machine (though she can see the folders) while I can see the files just fine. My machine is a 1.8 GHz Athlon with 750 MB of RAM. Her's is a 2.4 GHz, triple core, Athlon II machine with 4 GB of RAM. Both are running pure Debian with no customizations.

View 10 Replies View Related

Debian :: Disabling The Nautilus File Scan?

May 18, 2010

Whenever I open a folder with the default browser (Nautilus), it does a quick scan of the contents. This is not a problem for normal folders, but it becomes one when a music folder contains several thousand files (I haven't yet tried with folders containing large amounts of non-music files). In such instances Nautilus sits there scanning and I can hear the hard drive seeking for a good while before it presents me with the contents of said folder. My music folder, for instance, contains some five thousand ogg files, and I have to wait *counts* a full minute before it displays its contents. I tried telling it to never count the number of files in the options, but it didn't help. So far, the only solution I've found is to use pcmanfm instead, which apparently does no scan and displays my music folder practically as soon as I click on it. Still, I like Nautilus more for everything else, so I'd much rather use that instead.

View 6 Replies View Related

Debian Multimedia :: ATI Catalyst Keeps Disabling Second Display?

May 20, 2011

I have an ATI Radeon 5850 card with 2 17" monitors, plus a 46" TV via HDMI (disabled, except for BD plaback under windows) under Debian 6.0/Squeeze. When I first installed this system, it worked fine with all 3 screens (only 2 enabled at a time). Sometime in the past few weeks though, it's decided to revert to a single-display setup. I can't find any errors in the logfiles, and it works perfectly fine when I re-enabled the secondary display via the ATI Catalyst Control center.

The auto-generated xorg.conf isn't configured to use the second display (even after re-generating one using "aticonfig -initial=dual-head"), and it is not being modified when I change settings in the Catalyst Control Center.Updating display settings after every boot is just a bit annoying.

View 2 Replies View Related

Debian :: Networking Disabling Interface When Router Is Down?

Jan 27, 2011

I have a Debian computer with 2 network interfaces. Ath0 for wifi and eth0 for cable.
They're configured as dhcp and are getting their ip from different routers. When I shut down one of the router, it takes 5 minutes for the ip address to "Go away". I would like this to take a shorter time. I figured it must be a setting, but my attempts so far have been unsuccessfull. Is there a way to do this?

I'm using dhcp3-client (dhclient) as my client.

View 4 Replies View Related

Debian Hardware :: Disabling Intel Turbo Boost On All 4 CPU

Jul 21, 2015

Due to some reason every-time I boot the laptop the power governors reset themselves to "ondemand". Which causes my laptop to overheat until it shut-downs. I tried adding this line to grub Code: Select allGRUB_CMDLINE_LINUX_DEFAULT="intel_pstate=disable" which kinda worked, but only on cpu 0.

Code: Select allcpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: acpi-cpufreq
 
[code]....

View 3 Replies View Related

Debian Hardware :: Disabling Laptop Lid-close Action

Dec 17, 2011

Dell Latitude C610 laptop with Debian Squeeze.I am using the computer as a print and file server, accessing it with ssh, so I don't need the display (which is busted anyway). I want to close the lid without having the computer suspend. Could not find a way to make it happen with gnome-power-preferences or the BIOS settings. There is a script, /etc/acpi/lid.sh, that runs when the laptop lid switch changes. Part of the script is shown here:

Code: Select allgrep -q closed /proc/acpi/button/lid/*/state # this is a file of 1 line like "state:   open" or presumably "state:   closed"
 if [ $? = 0 ]                               # The brackets evaluate to True when the lid is closed.
then
    if [ x$LID_SLEEP = xtrue ]; then
        [ -x /etc/acpi/sleep.sh ] && /etc/acpi/sleep.sh # i.e., if this file exists, then run it.
        exit
    fi
... there's more ...
 
The stuff that gets executed after the if [ #$ = 0 ] is the stuff that suspends the computer. So I just replaced the brackets with something that is certain to be false, so it will never happen:

Code: Select allif [ 1 = 2 ]
I admit this is FAR from an elegant solution, but it seems to work and it doesn't fubar the system.

View 3 Replies View Related

General :: Debian - Manually (command Line) Disabling USB Automounts?

Jan 30, 2011

I know that I can use the GUI (gnome-volume-properties) enable/disable the USB sticks/disks automount features, by checking/unchecking the pertinent options.My question is: how can I obtain the same results from the command line (that is, without using any GUI frontend)?

View 5 Replies View Related

Debian Multimedia :: Disabling Automatic Resizing Window (Aero Snap)

Jul 24, 2015

In Debian 8.1 with KDE, I don't find how to disable the automatic resizing of windows when the mouse drags a window to screen edges; seems that this function is called "aero snap".

I would like to disable this aero snap function.

View 2 Replies View Related

Debian Hardware :: Disabling Scroll Wheel On Mousepad On HP Pavilion Laptop

Aug 28, 2014

I have a HP Pavilion Dv71245dx Laptop running Debian Wheezy, which has been alright so far except for the mouse wheel built into the right side of the touch mousepad. It's positioned in such a way that makes my thumb hit it all the time by accident while typing, and it's been a total nightmare. I would just like to disable the scroll wheel feature on this mousepad entirely, but I would like to do so in such a way that I can still use the scroll wheel on my USB mouse whenever I have that plugged in.

View 2 Replies View Related

Debian Configuration :: ProFTPd Configuration - Use To Host MySQL Databases And A Few Websites

Nov 18, 2010

I am having no luck configuring ProFTPd on a Debian Lenny production server we use to host our MySQL databases and a few websites. I had originally set it up so I could login and manage our internal sites, but I have the need to allow a few clients in to access their sites that we host. I am trying to root the users in their site directory, which would be "/sites/www.whatever.com/".

It just hit me while typing this. Is it possible to create a user without a shell to prevent login via SSH and set the home folder to /sites/whatever instead of /home/username? That would allow me to continue operating with my current configuration and root them in their site while preventing SSH logins.

View 6 Replies View Related

Debian Configuration :: Multipath Configuration On 5.0 64 Bit - Doesn't Create The Relative Devices

Jul 20, 2011

i have a HP MSA 2312fc SAN with 2 LUNs configured. The first LUN (LUN ID 1) is correctly connected to the system, but when i connect the second LUN (LUN ID 30), i find in the syslog this message: multipathd: 8:64: size 6835937472, expected 5267578112. Discard

Here is the multipath.conf

[Code]....

So I correctly see the two luns, but multipath doesn't create the relative devices. Under /dev/mapper I see: control mpath0 mpath0-part1 mpath0-part1 is the first lun, the one I mounted in a directory under filesystem. I can't find the device for the second lun

View 1 Replies View Related

Debian Configuration :: Reboot Both The Server And The Client Machines Every Time Change The SAMBA Configuration?

Apr 5, 2010

I am *finally* getting around to rebuilding my file-sharing computer. I'll be sharing files with both Linux and Windoze machines. It's a home network, so there's nothing fancy needed. I know I have to tweak my smb.conf file until I'm satisfied with the features and security. I'm using SWAT and I'm starting with a bare-bones conf file. It's not secure but I can see the server and selected files/directories from my other Linux box.

My really dumb question is, do I have to reboot both the server and the client machines every time I change the SAMBA configuration? I thought I just had to stop and restart the SAMBA service in the SWAT software - but then the server disappears from my client. It looks like I need to reboot both machines for the client to see the server.

View 1 Replies View Related

Debian Configuration :: Fstab Configuration - Failed To Open /proc/filesystems: No Such File Or Directory

Aug 23, 2011

I have some errors when run the mount -all command: mount: wrong fs type, bad option, bad superblock on /dev/sdc5, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail  or so Failed to open /proc/filesystems: No such file or directory

[Code]..

View 14 Replies View Related

Debian Configuration :: Fstab Configuration And Timeout - Automatically Continues Booting Even If The Hard Drives Are Not Attached?

Aug 3, 2011

I have a PC104 running debian. I have 3 hard drives (in addition to the one booting) mounted in fstab by UUID. I use the options defaults,error=remount-ro. However, this means that when I boot with the hard drives not attached, I have to press Ctrl-D to bypass when the boot discovers the drives are missing. Is there a timeout commandoption I can add to fstab so that it automatically continues booting even if the hard drives are not attached? I could not find anything on a timeout command. (I tried adding timeout=1000 but no-random guess)

View 5 Replies View Related

Debian Configuration :: Boot Via PXE, "no Default Or Ui Configuration Directive?

Mar 19, 2011

A week ago I opened this thread viewtopic.php?f=17&t=61580 in "Board index ‹ Help ‹ Installation" and asked for a moderator to move this to here. Because it hasnt happened up to know, I am reopening the thread here. It would be reeeeally great if somebody could help me with my problem!

I own two computers, one netbook and one laptop. I want to boot my netbook as a diskless client via PXE.I set up a dhcp-, tftp and nfs-server on my laptop but when i boot my netbook, the follwoing messages are displayed:(to make it more clear, i uploaded the whole output and shortened the output below)

[Code]...

View 1 Replies View Related

Debian Configuration :: No Longer Allowed To Access The System Configuration

Jul 31, 2011

I am using Squessze and Gnome. When I try to use the gui System>Administration>Network or Users and Groups I get the error The configuration could not be loaded. You are not allowed to access the system configuration.Everything was working before. I read around a bit. In some cases,it was caused by mismatching group and password files after using the gui. I do not know how to check if they are matching. Of course I do not know for sure that is the problem in my case.

View 14 Replies View Related

Debian Configuration :: Coding The Apache2 Charset Configuration?

Mar 5, 2010

I use apache2 with virtual host and I 've a solution of Webftp who run on it. This solution send automatically email when a new client register himself. In the header of the mail I look this "Content-type: text/html". But when I look this mail with Outlook 2007 the accents are bad coding.It's a script who generate this Html content email.

View 1 Replies View Related

Debian Configuration :: Exim4 Configuration For Local Addresses

Jun 17, 2010

I am working on a Debian 2.6.26-19 Distribution with exim4 as MTA. After a system restart a problem occurred with delivering emails to local addresses. These local addresses use a 1and1 mailserver for email. The MX records for the local domain are set correctly but exim does not use a DNS lookup for these addresses because it identifies them as local addresses. I figured this out by executing the exim4 -d -bt command. The dns lookup part of the result looks like this (I replaced the actual address with placeholders):

[Code]....

The eventual result of the exim4 -d -bt command is: [user]@[domain.ext] is undeliverable: Unrouteable address How can I make sure, that exim4 makes a DNS lookup for the local addresses instead of skipping it? I know that I have to edit a exim4 configuration file, but I could not figure out which and how.

View 1 Replies View Related

Debian Configuration :: Squeeze D-u - Kernel Configuration Skipped

Jul 6, 2010

I have a set of vm's with stable, testing, and sid to keep track of how things are going. When I did an apt-get dist-upgrade with squeeze last week, things seemed to OK (350 package updates) until the end. It didn't seem to like and / or was confused by a kernel dependency.

I am not too concerned yet. Because these are in vm's, I do a snapshot before any significant change. I can futz around with impunity because I have that backup.

I re-booted, and tried the apt-get dist-upgrade again with same results. I think I also tried apt-get -f install.

So I reverted to the snapshot, and will simply try again in the future. I recall that with lenny as testing, the font-desktop was really screwed up for about a period of 6 weeks.

However, just in case someone else runs into this:

1) a re-boot worked, but the failure of apt-get made me nervous enough to revert.

2) waiting for corrections has seemed to work in the past (with a single exception with a 4-disk SCSI software RAID10 update that failed to re-boot lenny successfully after what seemed to be a minor update -- that was on a real system, not a vm. I haven't gotten back to look at that.)

View 14 Replies View Related

Debian Configuration :: Get The Windows One Working Again - Grub Configuration

Oct 3, 2010

I was trying to get the Windows one working again. Here's what fdisk -l reads:

[Code]...

I'll change these or do some grub configurations, if anyone knows what ones can work.

View 1 Replies View Related

Debian Configuration :: Saving Configuration And Packagelist For Reuse?

Nov 14, 2010

I have problems with the system harddrive. I would like to install my Debian on to a new HDD with the same configuration and packages. How do I get the configuration to the new Debian. What files/directory do I need to copy? How do install the same packages?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved