Debian Configuration :: Setting Permissions For USB Device On Boot?

Mar 23, 2011

I am trying to figure out what needs to be done to automatically set read/write permissions for everyone for my proprietary USB device on system boot. I have created a udev rules file which changes the permissions for the device when it is connected, but it does not change the permissions when the system is booted with the device already connected. The file looks like this:

SUBSYSTEM=="usb_device", SYSFS{idVendor}=="our vendor id", MODE="0666"

Does something else need to be added to the rules file to make it work when the system boots with the device connected? Is there some other script which needs to be created somewhere?

View 1 Replies


ADVERTISEMENT

Debian Configuration :: Setting Wireless Device As A Hotspot

Sep 18, 2015

I have a problem activating the hotspot on my debian 8. The issue is that I can't activate the hotspot to give other devices wifi connection.

I have the correct driver packages from the non-free repositories (firmware-realtek) and this service (hotspot) worked fine on distros like Ubuntu, Mint and Fedora .

I tried hostapd but it didn't work. I'm using cinnamon desktop.

View 0 Replies View Related

Debian Configuration :: Modify Boot Scripts To Boot Usb Device?

Mar 3, 2010

Without going into a lot of the reasons, I have a bootable program on a USB stick that i would like to 'boot' when debian is starting up (or after it completes, or whenever it makes sense to do it). My MB does not support a USB boot, I've removed the floppy and CD so I can add additional HDs (its a small box but well ventilated).

Another option I have is to use my bios 'network boot' option, but I have no clue how to use it and the only description in the mb manual says "Allows system to be booted over a network" In network boots, *usually* one is given an option of specifying a device address, and the network boot executes a boot protocol (e.g. bootp), and the boot image file is downloaded to the target, stored and run out of RAM. No evidence of this behavior is exhibited when the network boot option is selected in the bios...

View 2 Replies View Related

Ubuntu Networking :: Samba Configuration And Setting Permissions

Nov 16, 2010

First let me say that Lubuntu is a lightweight version of Ubuntu, so there is not much point in loading it up with unnecessary packages. If you just want to share printers on a Linux network, you don't need Samba. And if you just want a way that users can "push" files to others on a network, use Giver (+ Avahi) as this is a better option. Especially as it sorts out file permissions for you.

To enable file sharing on a Lubuntu 10.10 machine, go to Preferences > Synaptic Package Manager and add the following:-
* samba
* system-config-samba
* gvfs-bin
* gvfs-backends
...accepting any dependancies, 11 packages in total.

I suggest you re-boot now. As an initial test, go to file manager (pcmanfm) and enter:-
smb://localhost
You should see the local print$ folder listed.

To access folder shares remotely
* open file manager (pcmanfm)
* enter the IP address or computer name of the machine you wish to access
e.g. smb://192.168.0.99 or smb://print-server

To share a folder:-
Go to: Preferences > Samba (enter password when requested)
In the Samba Configuration screen:-
* File > Add Share
* use Browse... to select folder to be shared
* Tick "Visible" and (if required} "Writable"
* In the "Access" select "Allow access to everyone"
Set the Linux permissions:-
* locate the folder to share in file manager
* right click on the folder and select Properties > Permissions
* set the required permissions, e.g. Other: Read & Write (to allow anyone full access)

View 7 Replies View Related

Debian :: Terminal Command - Setting Permissions For Directory

Jul 15, 2011

I have a directory '/usr/local/games/quake4'. I want permissions for the directory, along with everything in it set to:
Owner: Create and delete files
Group: Access files
Others: Access files
What would I type in terminal to make this happen?

View 14 Replies View Related

Debian Configuration :: USB Mass Storage Permissions ?

May 20, 2011

When I connect a USB stick to my laptop, it is mounted as root:root. I want ot be able to use it as the logged in user

It has worked in the past (1+ month ago), but recently it just mount it as root:root.

My userid is 1000, so somewhere in the system it knows that the current user is relevant.

The directory created

The date is off System time is correct - so this could be an indication of what is wrong.

I have tried with my own custom compiled kernel and now I am using the latest 2.6.38 official image.

View 10 Replies View Related

Debian Configuration :: Can't Start X - Repairing Permissions

May 29, 2011

my ENTIRE hard drive now has user AND group permissions root. I can't start X and are having various permissions issues. although ive been using linux for a long time.

long story long, I did a debian netinst to my netbooks SSD. got everything EXACTLY as I wanted it, was very happy with my first go at debian but of course being a linux dork im always willing to tweak. I installed onto btrfs which I recently learned supports compression which not only saved precious SSD space (only 8GBs) but according to some benchmarks also improved performance. this was a boot option and would only start compressing new files. this, of course, could not be good enough. so I formatted my SD card btrfs, mounted it with compress option + my SSD defaults and copied over all files that weren't a mount (i.e. proc, dev, sys,...) however I forgot to copy permissions. so every file was copied with root:root ownership and I didn't realize this when booting to the SD card to verify things were working as I assumed ( never do this ) that getting to a login terminal was enough. So now I need to fix all permissions and I would really prefer it be without a clean install.

A netinst can take a dec amount of time and I had a lot of tweaking to do since I only used Xorg + i3 tiling wm. there has to be a way to fix this...I started trying to reinstall all the packages but kept running into issued where aptitude wasn't able to reinstall things like bash or perl-base, presumably bc they were in use or had incorrect permissions set

View 10 Replies View Related

Debian Configuration :: LAMP Server And Permissions To Www/

Jul 30, 2011

I just installed LAMP server and it works. Anyway, I have problems with permissions to www/. I can't access it! Its located in /srv/www.

What do you suggest? I need to be able to freely add/modify/remove files under www/ as 'dagrevis' (not 'root').

View 1 Replies View Related

Debian Configuration :: Udev Rules To Change R/W Permissions?

Mar 28, 2011

I'm trying to allow non-root account to use avrdude to program mucrocontrollers. There are many articles online about how to do that, but it seems not to work for me. Every time i try to execute avrdude it says "permission denied". Here's "$ udevadm info --name=/dev/bus/usb/002/011 --attribute-walk" says looking at device '/devices/pci0000:00/0000:00:1d.1/usb2/2-1':

KERNEL=="2-1"
SUBSYSTEM=="usb"
DRIVER=="usb"
ATTR{configuration}==""

[code]....

However, after restarting udev, replugging the device, even rebooting the computer I still get "permission denied". The Vendor and Product match, so what's the problem?

View 7 Replies View Related

Debian Configuration :: Permissions & Fuse - Mount A Remove Filesystem Onto Own Server

Feb 10, 2011

I'm trying to mount a remove filesystem onto my own server. I am able to do this, however I can only access it as root, or if I chmod 777 the lot. Obviously I want to be as secure as possible, so I'd like to avoid either one of those options. Another option is to mount it directly into my home directory, but previously when I was trying out Ubuntu this caused Samba problems - and I was advised mounting in my home dir was a workaround rather than a proper fix.

I have root access with sudo on my own server. I've not set a root pasword, and until I need to I'll avoid it. I have a user account with full control over my own home directory on the remote server. I am mounting using fstab - sshfs#username@remoteserver:/media/sdk/home/username/ /media//remote/ fuse user,idmap=user 0 0

What I would like to do is without changing the permissions on the remote server change the permissions when they are mounted on my own server. I would like them to be in the group sambausers for example. Instead they are owned by root and in the group of 1024 (which I have not set). Additionally for this to work they would have to have 770 on my home server and 700 on the remote server....

View 1 Replies View Related

Debian Configuration :: Setting Up A Mail Server?

Jan 5, 2011

I would like to run a mailing daemon on my system that would receive incoming mail and forwards it to my Gmail account. I have no experience in mail services and forwarding mail at all. where to start reading and/or look for clues?

View 3 Replies View Related

Debian Configuration :: Setting Up A Network Bridge?

Apr 9, 2011

I have two ethernet NIC's on my debian server. One built-in Realtek [eth0] (attached to internet), and a PCI Nvidia ethernet card [eth1] (attached to my Win7 netbook). I used this guide to setup the bridge: url. It worked when I was behind a router. But when I moved the computer in front of the router, to direct connect to the internet, the internet stopped functioning on any device that I plug into my Nvidia NIC. The name of my bridge is 'br0'. Does anyone know how to fix it, so I can route the internet to my second NIC?

My Win7 netbook displays this at an 'ipconfig' command:
Windows IP Configuration

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix:
Link-local IPv6 Address.....: fe80::143e:4cab:f802:8611%12
Autoconfiguration IPv4 Address..: 169.254.134.17
Subnet Mask.......:255.255.0.0
Default Gateway......:

My Debian interfaces file:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo br0
iface lo inet loopback
# Set up interfaces manually, avoiding conflicts with, e.g., network manager
iface eth0 inet manual
iface eth1 inet manual
# Bridge setup
iface br0 inet dhcp
bridge_ports eth0 eth1

View 10 Replies View Related

Debian Configuration :: Setting Up / Adding To Network

Jun 22, 2011

I just installed Debian 6 squeeze on a P3, 632 MB RAM, 20 GB HD, and am trying to get it on-line. Ran lspci and lsusb on it (advice from another forum). Got the following results:

[Code]....

Exactly what I am trying to do: Existing network is as follows: Comcast internet to cable modem to Belkin N Wireless Router Model F5D 8236-4 v3. That router is wired to one desktop (running Windows XP)and has 4 wifi notebooks (two running Windows 7 and two running Mint 9 Isadora) and two Wii consoles running off of it. I am seeking to add another desktop to the network in another room without having to drill some holes and run about 40 feet of cable. Seems like it shouldn't take much to get the two routers to "talk" to each other so I can do this. The router I am trying to hook to it is either a Belkin F5D 9230-4 wireless router or a NetGear N150 WNR1000 v2 Wireless router.

View 6 Replies View Related

Debian Configuration :: Getting Error Message With System On KDE LENNY 'don't Have Permissions To Start Pppd'

May 4, 2010

my iwlist scan is normal. ethernet connection ok, wirless not working but does seem to receive. wifi radar lists my router ssid. Does this say I have the correct router for my wireless is my question? I am also getting this error message with this system on KDE, LENNY. From KWLAN a wpasupplicant front end.

"you do not have permissions to start pppd or pppd was not found. Dial up networking will not work."

[code]...

View 2 Replies View Related

Ubuntu :: Reboot And Select Proper Boot Device Or Insert Boot Media In Selected Boot Device And Press A Key

Apr 16, 2011

Reboot and select proper boot device or insert boot media in selected boot device and press a key. I got this error after: Reducing my Windows 7 partition by about 100gb. Creating a new partition (100gb) and copying my Ubuntu partition (10gb) to the new partition. After it was copied, and pasted, the original partition was deleted. I now had two partitions a new 100gb Ubuntu partition and a 600gb (or so) Windows 7 partition.

All of this was done using a bootable USB with Ubuntu 10.10 and GParted partition editor. Now when I boot I get the "Reboot and select proper boot device or insert boot media in selected boot device and press a key." error.

View 9 Replies View Related

Debian Configuration :: Setting Up NAT And Firewalling For Both IPv4 And IPv6

Mar 21, 2010

setting up NAT and firewalling for both IPv4 and IPv6. The machine is headless, so everything must be configured via CLI. I've done all IPv4 firewall configuration writing iptables rules in a bash script so far

View 1 Replies View Related

Debian Configuration :: Setting Up Small Web Server With PHP And SQLite3

Apr 5, 2010

I'm trying to set up a small web server with php and sqlite support. I installed lighttpd, php5, php-sqlite3 and php5-sqlite3. Then, I enabled sqlite and pdo extensions in php.ini:
extension=pdo.so
extension=sqlite.so
extension=pdo_sqlite.so

However, when I try to open a SQLite3 database from php:
$database = new SQLiteDatabase($myDB, 666, $error);
I get the following exception:
SQLiteDatabase::__construct() [sqlitedatabase.--construct]: file is encrypted or is not a database

Some readings in the net make me think that my php settings are not compatible with SQLite3 databases. Is anyone successfully working with SQLite3 databases from PHP5 under Debian? Have you any recommendations? Should I rebuild php maybe?

View 3 Replies View Related

Debian Configuration :: Setting Up A Server Network For A School?

Nov 26, 2010

I am putting together a server and computer lab at my school for Standardized testing, and am planning on using debian for it. But first, i must prove to the school board that this is a possible and viable option, so right now it is one pc with 1 gig ram (Going to be the server for this experiment), and two others with around 512 mb ram.the problem with all this is, the computers in the lab cannot have hard drives, as there is some sort of licencing issue. So I need to be able to have these two testing computers boot from the server's hard drive.

View 14 Replies View Related

Debian Configuration :: Setting Up Home File Server?

Jan 3, 2011

I have 2 windows pc's in my home and an office computer that have my files strewn about. I wanted to have them all in one central location that keeps a backup copy, so i used an old machine to start building a file server. I installed debian 5.0 on the machine, command line interface only. I have gotten ssh working so that i can do all my work on the box from one of my windows pc's by logging in with putty.my current problem is how to easily use the box hard drive for storing my files in an easily accessible way. i'm still working on getting samba to work so that i could map the /home directory to a drive letter on my two home pc's, but i'd also like to access files from my work pc. Before i do that, though, i wanted to know if this is safe and secure to map a drive on a remote machine through the internet? Are there any other security concerns I need to be addressing by having this file server set up?

View 7 Replies View Related

Debian Configuration :: What Can Prevent Setting Up RAID1 On Server

Jan 7, 2011

We have the following server at collocation: [URL]

Provider's technicians were working for 3 hrs but finally were unable to set up hardware RAID1 on it.

What could prevent them from doing it? Is it difficult to set up RAID1? It is mentionned as basic function in specifications.

They said debian not booting after raid configured...

View 2 Replies View Related

Debian Configuration :: Is There Preferred / Better Method For Setting Up Alsa?

Apr 30, 2011

Would like to know the best way (or the pros and cons of different ways) to set up Alsa. I did a search for information on how to setup alsa on my system. I found a lot of out-of-date information even on the alsa wiki. What I did finally locate was two different methods for setup, both seemed somewhat up-to-date. One method at the alsa wiki said to put part of the information in the modprobe directory in a conf file and set up certain aliases. Earlier suggestions for putting information in modprobe.conf or conf.modprobe appear to be outdated and a directory with separate files for each device and a conf extension to the files is currently used. The second method from a thread on the Debian forum said to use alsactl init, set sound levels the way you want and then use alsactl save and restore functionality. Older methods using alsaconf instead of alsactl init appear to be outdated as well. Not sure where to put the call to alsactl restore though. Didn't notice that in the documentation.In case it matters, I'm running Debian Stable and have a built-in sound card on the motherboard with AC97 compatibility. It's a Realtek ALC882.

Is there a preferred or better method for setting up alsa? Is there a good pointer to instructions that are not out-of-date somewhere? Would be very interested to hear how others set sound up on their machines. What do others recommend as best steps to do this?

View 5 Replies View Related

Debian Configuration :: Setting Up A RAID 1 FAt32 Array?

Jul 2, 2011

New to linux in general and am having issues on setting up a Raid 1 array for two disks on an HP Proliant Microserver which I am looking to be accessible from my windows PC. I have installed the latest version of debian succesfully on a 250GB disk that came with the server. I have added 2 2TB disks which I would like to have in a RAID 1 array and to have visible from windows to store music/videos etc on. I have managed to partition the two disks to FAT32 (which I think is best) and have managed to configure the array so that it shows as active when I use cat /proc/mdstat. I have been following the steps in this article [URl]... squeeze-p2 and trying to adapt it to my situation.

I am stuck on the step to create the file systems using the mkfs command. I try mkfs.vfat /dev/md0 and it comes up with the error mkfs.vfat: command not found. I have tried mkfs -t vfat /dev/md0 and it give the error "mkfs.vfat: No such file or directory" So my question is how can I continue with the process of setting up the array? Or maybe I should be asking is it possible to set up an array with FAT32 formatted disks?

View 2 Replies View Related

Debian Configuration :: Apache - Setting Up Squeeze Test Box

Jul 16, 2011

Setting up my Squeeze test box, I can't seem to get APache2 to find index.html. It keeps coming up with the initial "It works!" page.

On my Squeeze server, the /etc/apache2/httpd.conf file contains this line:
DocumentRoot /home/www_local
and that box serves the website perfectly.

On the test box, I created the /home/www_local directory and put an index.html file in it, then populated /etc/apache2/httpd.conf with exactly the same DocumentRoot line and restarted Apache. Still the same result -- Apache isn't finding my index.html file. I have grep'ed all the files in /etc/apache2 and /etc/apache2/conf.d looking for 'DocumentRoot' and it's not in any of them.

View 2 Replies View Related

Debian Configuration :: No Space Left On Device

Mar 15, 2016

Debian Version: 8.3 (Jessie) KDE (although this is NOT a desktop issue)
Basic Hardware:
Gigabyte Motherboard GA-970A-D3P
AMD 8350 CPU (8 cores)
32 GB DDR3 RAM
120GB SSD SATA-6GB/s
750 WD Black SATA-6GB/s

I am getting "Error: No space left on device" regularly during updates or installs, but why. Here is data on the disks, filesystems, etc...

Code: Select all df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1        81G   27G   50G  35% /
devtmpfs         16G     0   16G   0% /dev
tmpfs            16G   76K   16G   1% /dev/shm
tmpfs            16G   18M   16G   1% /run

[code]...

Seems very doubtful that inodes are the killer.I have googled and followed all the threads, and search these forums and found nothing that fits - every answer there was focused on avaiolable space and inodes..And to make the cheese even more binding, the issue has cropped up on another 8.3 system with far more disk space (larger hard drives) and lots more unused inodes

Code: Select alldf -h
Filesystem                        Size  Used Avail Use% Mounted on
/dev/dm-0                         907G  6.6G  855G   1% /
udev                               10M     0   10M   0% /dev
tmpfs                             995M  9.2M  986M   1% /run
tmpfs                             2.5G   76K  2.5G   1% /dev/shm
tmpfs                             5.0M  4.0K  5.0M   1% /run/lock
tmpfs                             2.5G     0  2.5G   0% /sys/fs/cgroup

[code]...

View 11 Replies View Related

Debian Configuration :: Missing CD / DVD Device In Squeeze

Apr 3, 2010

I've been testing Squeeze to determine whether KDE4 is finally suitable for my primary machine. Everything seems to be working fine except for detection of IDE devices. My CD/DVD drive no longer automounts and the reason seems to be that no device is being created. My Lenny system detects the drive as /dev/hda, but no such device exists in Squeeze. During boot, Squeeze appears to detect the drive as /dev/sr0 (according to dmesg), but in fact that device does not exist either.I'm actually running the Lenny kernel, as I am unable to compile my Ralink wireless driver (rt2860sta) using the Squeeze kernel. Also, for inquiring minds, I use removable HDD drive bays on my systems to simplify testing.

View 9 Replies View Related

Debian Configuration :: USB Device Not Found With Libusb?

Sep 24, 2010

I run a program (findknxusb) to scan for devices on USB, but the device is not found.

The debugging level for libusb is on:
$ ./findknxusb
Possible addresses for KNX USB devices:
libusb_set_debug...
libusb: setting debugging level to 1 (on)
libusb_init...

[Code]....

View 1 Replies View Related

Debian Configuration :: BAR 6: No Parent Found Of For Device?

Oct 5, 2010

I installed Debian Lenny on my HP Laptop - dv6-2120ed. Because i have atheros wireless card i needed to install ath9k which is not supported in 2.6.26 kernel so i compiled it to 2.6.32. Everything is good, but when i boot the new kernel i get "Bar 6: No parent found of for device" for 2 devices - the ethernet LAN card and the sound card. After 1 minute waiting the kernel starts booting and everything works fine (the LAN and the SOUND card too). How can i fix this and what means it exactly?

View 2 Replies View Related

Debian Configuration :: Wireless Not Working With Sid And New Device?

Dec 8, 2010

The computer networking works fine with a normal static setup, but adding a USB wireless device is not successful. It is my own network so the wpa-ssid and wpa-psk are known to work with Lenny and a previous wireless device.The device is recognized (lsusb) and the driver is confirmed to be in the kernel (lsmod). Here is the iwconfig output:

wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off

After typing: ifconfig wlan0 192.168.1.144 up I can ping that address, but it is not working. I have just done a fresh install of Sid so that I could get the 2.6.35 kernel which contains the ath9k_htc driver for the USB wireless device that I am using. The firmware is ar9271.fw but my source of that is questionable because it does not seem readily available. I am temporarily using a PCMCIA wired connection which is what I am using to connect to the computer via telnet. (This is just for convenience so as to avoid getting up all the time.) Here is the ifconfig output:

eth0 Link encap:Ethernet HWaddr 00:40:05:07:d9:11
inet addr:192.168.1.122 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::240:5ff:fe07:d911/64 Scope:Link

[code]...

That file works with the previous USB wireless device under Lenny. Am I doing something wrong or is the driver and firmware just not up to snuff yet?

View 5 Replies View Related

Debian Configuration :: 2.6.32-5 686-bigmem Powernow-k8 No Such Device

Mar 16, 2011

I newly installed Debian 6.0 I choose for the 2.6.32-5 686-bigmem kernel because I have 6Gb of RAM Now I want to use Cool n Quiet When I try to do modprobe powernow-k8 I get a 'no such device' message I have an Athlon64 X2 6000+ cpu. Am I using the correct kernel for this?

View 1 Replies View Related

Debian Configuration :: Wlan0 Device Not Configured?

Aug 3, 2011

I've recently installed Debian. But the wireless network is not working. In Gnome it says "Device not configured" And if i try a ifup it says: root@accroft-msi:/home/accroft# ifup wlan0Internet Systems Consortium DHCP Client 4.1.1-P1Copyright 2004-2010 Internet Systems Consortium.All rights reserved.

Listening on LPF/wlan0/My mac address here
Sending onLPF/wlan0/My mac address here
Sending onSocket/fallback

[code]....

View 13 Replies View Related







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