Fedora :: Change The Name Any Device (usb Drive)
Jul 22, 2009how to change the name of any device (usb drive) instead of assign by system ,i am using fedora 10
View 1 Replieshow to change the name of any device (usb drive) instead of assign by system ,i am using fedora 10
View 1 RepliesI installed ZTE MF 626 modem in my F10 with kernel 2.6.27.12-170, i run usb_modeswitch and so far things happened normally. Watching through /var/log/messages it says that F10 detects two port device for this modem: ttyUSB1 and ttyUSB2, and in the sequence it disable port ttyUSB1 BUT Network Manager still set this port.I mean, when i connect via wvdial appointing to ttyUSB2 i get connection, but Network Manager fails to do it appointing to ttyUSB1. How to change device port in Network Manager?
View 1 Replies View RelatedI would like to make group changes on serial ports permanent. I can become root and use chgrp:
chgrp uucp /dev/ttyaa00
but it only lasts until reboot. I think I need to add this line to a startup file but not sure where. I want this to work in run level 3 and 5 (at least). I have a digi portserver and their realport software. The ports are /dev/ttyaa00 through /dev/ttyaa07 and are in group root on startup. I want them in uucp so any user in uucp can use them. This is for F10.
I recently compile Kernel 2.6.34 (to fix the AMD PowerNow issue with 1055T processor, and it worked!) However, the device
/dev/shm
starts up at boot as Read-Only.
Google Chrome requires this device to be user-writable, or it won't start up. Presumably, the stock kernels (and all that are updated) have it set to User-Write. I have not noticed any other ill effects with the permission being read-only. If I do:
sudo chmod a+w /dev/shm
Everything will work from there, but each time I reboot, I have to do that. How do I make that permission-change permanent?
I am having a few security issues with fedora15. they are like i cannot modify any folder in orher partitions of my HDD unless i am a root user. i have tried the GUI approach bt it doesnt help. there are more than a few hundred folders with thousands of files in total. tell me a way so that i can change permissions for one drive at once.
View 4 Replies View RelatedI have a relatively common problem, but I don't seem to identify it's source. I have a SAMBA server on my LAN to which there are mapped a few shares as network drives in windows xp (as Y: ) and mounted as CIFS in linux [as /y]. The problem is that every time I save a file [either windows xp or linux] on the mapped drive / mounted folder, our IDEs alert us that the file changes right after the save. I am running SAMBA 3.3.2.
View 1 Replies View RelatedThis is my 6th install of Fedora, begining with Fedora 4 I have had very good luck with all until 9 and I lost all data on drive by my bad clicks in a frustrated session. Now I have a great install of Fedora 10 with the exception that I fouled up and typed in a user (myself-'andybill') and am finding out that the work I need to do cannot be maximized by operating in user - andybill, I need to be super user. I have just moved and have not done any collaboration with our senior partner in a data development start up that he is the intellectual property in deed and law. For me to get back on track my using this OS I have to be master of all libraries, drivers etc. I am a nu-b (only 2 1/2 years, with no computer science background. This explains why I need step by step commands without abbriviated lingo-So if I can remove myself as andybill, make all root
View 13 Replies View RelatedI exchanged my CDROM drive for DVD drive. The DVD is recognized in the BIOS (will boot to DVD install disc) and in CentOS 5.2 (when I list the hardware), but CentOS must still think it's a CDROM drive. When I run VLC in a terminal it kicks back these errors code...
I think this means that "hdc" is linked to a CDROM configuration somewhere, but I don't know where to find it to change it (or out it). It also appears thee is no DVD module loading. (Of course, I could be making poor guesses.)
I thought there might be something in the fstab, but it doesn't appear there is anything there (for the CDROM or DVD drive)?
Is there somewhere else I should be looking? /dev/*** ?
I am working on an embedded system, which is an USB MSC device that supports some vendor specific scsi commands. I am using FC10 laptop as USB host for testing, and it runs some small apps based on sg3. All has been well for ~ a week. The FC10 laptop is able to communicate with the device and retrieve data. Suddenly, starting from today, the laptop is not able to properly detect the device. When plugged-in, the MSC device is detected as input device (I thought). This is observed from "dmesg" output and changes in "/dev/input/".The device under development is running at full speed. When I connect to winXP, no problem. A windows file explorer pops up, showing the content of the drive.Also, the FC10 has no problem with other USB flash drive (high speed).
View 1 Replies View RelatedI am currently using fedora 11 kernel 2.6.29 version, i wanted to write device driver for usb to detect my own device. My project is radio with computer. My fm radio get connected to usb port so i need to write h/w interfacing program.
View 1 Replies View RelatedI want to be able to change the root device, say from sda to sdb, so that I am able to remove sda. I don't believe this is possible with chroot, as I am changing the root folder to a mount point that exists on sda (sdb is not on fstab), so removing it would lock up the system.
Any thoughts how I can do this?
I have 2 internal SCSI drives in the box. I also have an external USB HDD that's almost always there, so it's in fstab to be mounted somewhere.
When I boot with the external connected, here's what I get:
External = sda
Internal SCSI-1 = sdb
Internal SCSI-2 = sdc
Without it:
Internal SCSI-1 = sda
Internal SCSI-2 = sdb
The SCSI drive's are a RAID setup, so if I boot without the external I have complete RAID failure.
In Linux, Is there a way to remember/change a path to a USB device? In my case, I need linux to remember that my USB serial adapter will stay on /dev/ttyUSB0, but when I unplug it and plug it back in, it switches to /dev/ttyUSB1. I'm using a debian-based distro(mint)
View 1 Replies View RelatedAfter I reboot my Ubuntu 10.04.2 LTS l machine my device paths change (even the boot drive) and this causes havoc on my two RAID5 arrays. The device paths change and causes a mismatch in my fstab and I have to manually mount both RAID arrays every time. It's quite frustrating and annoying and I would love for it to stop. This even happens for the boot path.
Example: my boot path is /dev/sde5 I reboot my machine and my boot path changes to /dev/sdm5
Why does this happen? And more importantly how can I stop it from happening so it stops messing with my RAIDs?
I'm not sure what to make of this. I have setup an Ubuntu 10.10 server with two software raids.md0 is a four disk raid5 - 3TBmd1 is a two disk mirror - 300GBI think I have a drive failing (and am going to replace it regardless, but I have to take an outage), what appears to happen is it comes on-line with one id (/dev/sda) then something happens AFTER the rebuild completes and the drive changes to another id (in this case /dev/sdh) and puts the array in a failed state.Is this some sort of protection mechanism to prevent degradation to the array? When setting this up, presumably before the disk started to fail, Ids seemed to jump from reboot to reboot and caused me all kinds of issues.Also, neither device appears to return info after the change.
Code:
bwoods@MediaServer:~$ cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
[code]....
how do you change the default audio output device if you have multiple sound cards?
View 14 Replies View RelatedI recently bought a logitech headset which is working very nice, the thing is that I cannot make it my default device when I plug it in. I edited /etc/modprobe.d/alsa-base.conf to make snd-usb-audio the default card but it only works when the computer is turned on with the headset plugged in. A workaround is to plug it and then "alsa force-reload" but I find it very ugly plus it kills all apps using audio and leaves the volume indicator unstable.
View 1 Replies View RelatedFor example /dev/loop*, /dev/raw/*, etc., they are automatically reset to root/root after rebooted.Change the owner/permission of device files maybe not a good idea, though. I just want to know if it is possible and how?
View 1 Replies View RelatedI built a Raid5 volume with 3 SATA II hard disk drives. Further I have a system disk conected through IDE. During the first setup the IDE disk becomes sda, the SATA II disk sd[bcd] respectively. Now, sometimes the device names change after reboot - why ever... E.g. one of the raid5 disk become sda and so I got an error message during the boot procedure regarding the raid set. Curious, when the system is up and I stop and restart the Raid5 volume it comes up and runs fine. Because I'm currently at work I can't post any more detailed config files at the moment.
View 2 Replies View RelatedI've been playing with Ubuntu for a few years, and it runs great on said notebook, so I' m starting to ween myself from Windows.Biggest consideration for switch is music. I currently have an iPod touch 16. Been using itunes for a long time.I'm not married to the device or the software, and will rebuild my music library if needed (it's a pig of a mess anyway).I'm curious which mp3 device you are using and what linux software you are using it with for great results. I want a high end player iwth 16+ gig, and a music manager to keep a 10000+ file library organized. I frequently want to change the mix of albums on my device. I'm fine with buying music elsewhere from Apple. Prefer it actually - Amazon is a good choice.Should I keep hte iPod? Trade it for a Zune or something else? Sound quality is very important to me. As is wireless access/browsing, storage space, battery life, etc
View 2 Replies View RelatedI have a syslog server which is logging locally and also receiving syslogs from another device. The other device doesnt allow you to change the facility. The facility it is using is "4 - security/authorization messages". Is there anyway to configure syslog so that it writes the sec/auth logs in different places for both the local machine and the remote machine?
View 1 Replies View RelatedI am setting up a Linux laptop for my parents, and want to also create some backup scripts to allow them to easily back up to an external hard drive. [And for them to be able to use it, it has to be super simple.]
For security purposes (should the external drive ever get lost or stolen), I want to encrypt the entire device using TrueCrypt. That means my scripts will have to use TrueCrypt to mount the backup volume using the device name. [Right?]
Now to the actual question(s): 1) Is there a way to ensure that an external hard drive will ALWAYS be assigned the same device name when plugged in? [That would be the simplest solution for me.]
2) Alternatively, is there a way (using bash scripting) to "find" the device name of a particular external hard drive, even if it might not be known in advance.
I have loaded the Ubuntu 10.04.1 Live CD onto my HP p386i desktop. It loads easily and responds well in the "Try It" mode. I purchased a 16 gb USB Flash drive and did an install from the Live CD. After booting the CD ROM to the window where given a choice to "try" or "install", I inserted my flash drive into the USB port and selected "install". I had my 2 hard drives disconnected. At install point #4 I selected my USB drive and also selected manual partition . The partition displayed as follows:
Partition: /dev/sdf
/dev/sdf1 Type: EXT2 Mount at "/" Size=15,300mg Used=33
/dev/sdf2 Type: Swap Size= 718mg Used= 0
[code]....
I have system (Ubuntu 10.10) on my pendrive. I want to use this system always from this pen - by boot on startup.
If I remove all of my hard disk from laptop and boot from pendrive - everything is ok, but when i try boot from pen when hard disks are plugged - its not working - because linuks want pass to sda2 partition, and this partition is already assign to wrong disk (should be in pendrive).
I have crypt(luks) and lvm on this pen.
I just want to make sure that my pendrive will be always shown as "sda" - how i can do this? I think it will probably fix my problem.
How to disable mount other disk - mount only this pendrive.
/dev/fd0 does not exist. I have floppy disks I wish to use.m using debian unstable.Nautilus doesn't recognize it, nor does dolphin. I have no clue if the floppies are formatted or not.fdisk -l only sees sda, my hard drive.Floppies are so neat! I want to use them in linux.
View 12 Replies View RelatedThe umount command sync and release the USB device (pen drive or external HD) from the filesystem, but does not shutdown it, like Nautilus does with the safe remove. How can i properly shutdown it from the command line?
View 7 Replies View RelatedI am using a 3rd party kernel driver that does not support udev properly. When I was using wheezy I placed the required device files in /lib/udev/devices.
The udev in jessie does not appear to support this. Is there any way to have udev create these device files or will I have to create then using a script at boot-up?
-in Wheezy that exist: /etc/modprobe.d/alsa-base.conf
for edit audio device order (2 audio output).
-in Jessie not exist.
I recently installed a new sound card, and I need to find out how to change the default device. Currently, I'm dual-booting Windows, and I had re-enabled the on-board audio in the PC's bios. After doing that, Debian started detecting that on-board as the default sound device. Is there a way to set my sound card to be used instead? I found out that the 'alsaconf' utility has been phased out. I"m currently running Debian testing, for amd64.
View 4 Replies View RelatedI've been struggeling with this for a few hours now, googleing and so on trying to find an easy way to just switch which device I want as primary for internet connections. After long battles I'm at a loss, this is the current automatic routing
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
85.225.76.0 0.0.0.0 255.255.252.0 U 1 0 0 eth0
85.225.76.0 0.0.0.0 255.255.252.0 U 2 0 0 wlan0
[Code]...