CentOS 5 Hardware :: Multiple Identical Devices With Symlinks

Jan 17, 2011

At work, I have a laptop configured with CentOS 5.5 that we will be using to run latency tests on two different mobile networks. To do so, we have two Novatel USB HSPA+ wireless modems connected, and configured using wvdial. The problem we are having right now is, wvdial is configured using the path to the modem to connect (/dev/ttyUSB0 for Network#1 and ttyUSB5 for Network#2), which only works if we insert the modems in the right order. I've tried alot of udev rules and what not to try and hard code the device names to something like /dev/modem_network1 and /dev/modem_network2, but that doesn't seem to work.

So at this point I'm trying to take a step back and a fresh look at the problem. Can anyone give me any information regarding where I should begin to get this done?

View 9 Replies


ADVERTISEMENT

Ubuntu Servers :: Using Identical Devices With Udev?

Jan 12, 2010

I have two identical hard drives; same make, same manufacturer, same model, and same capacity, which I'm trying to run in a RAID1 mirroring scheme. The problem: configuration files for md arrays only lets me use device names, such as /dev/sdb and /dev/sdc. To keep these the same (and in the same order) when I boot I wanted to write a udev rule for them. Unfortunately, I have no way to differentiate between these two drives, as they seem to be identical. Normal methods of differentiating by size or model name wont work. I think I can use UUIDs; but I neither know how to get the UUID of a device/partition, nor do I know how to use it (if it is possible) in a udev rule.

Solution:

run
udevadm info --query=all --path=/sys/block/sdb # or whatever block dev

Look for and use "ID_SERIAL_SHORT" which is unique even for identically manufactured disks. Write a udev rule based on this property.

View 2 Replies View Related

Networking :: Netstat Shows Multiple Identical Instances Of Connection

Jan 4, 2010

We are running a combination of Apache-2 with mod_jk connecting to tomcat workers running on separate hardware.Strange: "netstat -tn" on the Apache server outputs identical combinations of source address, source port, destination address and destination port.

Has anybody else experienced this phenomenon? (I googled and searched LQ but couldn't find anybody else reporting this)Is netstat broken, or is there another explanation?

View 5 Replies View Related

Debian Installation :: Installing Clones Of Squeeze On Multiple Identical Laptops

Oct 24, 2010

I am setting up 4 laptops that are all the same make and model with 64bit squeeze.What is the best way to setup the master laptop? LVM?

Once the master is all configured how we need, what is the best way to clone it to the other laptops? Once all the laptops are cloned what is the best way to refresh or update the other laptops from the master laptop?

View 1 Replies View Related

Networking :: Ping Multiple Devices Via Multiple NICs?

May 20, 2010

I have an old pentium 3 computer that has ~7 NICs installed. These NICs are attached to modems and other networking equipment. According to the linux ping page on computerhope.com, it seems that one could send a ping from a certain specified NIC. How would one go about this?

View 6 Replies View Related

CentOS 5 :: Automated Install Of 20 Identical Boxes

Feb 12, 2010

What's the consensus on the least hassle-prone method to do a bare metal install on multiple machines? I've just been handed a network with 20 identical servers (they're ~4 year old HP quad-Opteron machines with identical hardware configs). They're currently running a mishmash of stuff and I've been told I can re-purpose them. I'd like to create a generic kickstart and pave over them all with CentOS 5.4 with the only difference being the IP address for each machine. I have physical access to the machines and already know the MAC address for each one. Sadly, they are racked up and have no floppy or optical drive, but they DO have an exposed USB port on the front panel.

View 5 Replies View Related

General :: Multiple USB Wireless Devices?

Aug 25, 2010

I have a broadcom wireless card in my laptop and as far as I know, it acts as an USB device. I also have one USB stick wireless device (TL-WN422G - uses ath9k_htc driver) which I want to use at the same time as the first (Broadcom) device.

The problem is, after I load ath9k_htc - iwconfig does not show the new USB device (the TL-WN422G - wlan1 / ath0 / whatever), but only the old one (wlan0 - Broadcom, checked by MAC).

I tried this USB device (TL-WN422G) on my other computer that has PCI wireless card in it, and they both worked just fine together after I pluged it in... I get wlan0 (Ralink) and wlan1 (TL-WN422G). Is it some kind of a problem for the laptop that both devices are recognized as USB? How do I make wlan1 appear on my laptop?

also, my system is fully up to date 2.6.35 kernel (Arch)

edit: I've already downloaded the needed ar9271.fw from linuxwireless.org and I put it into /lib/firmware - something wrong in that?

dmesg gives me this on laptop:

usb 1-5: new high speed USB device using ehci_hcd and address 9
usb 1-5: ath9k_htc: Firmware - ar9271.fw not found
ath9k_hif_usb: probe of 1-5:1.0 failed with error -22

[Code].....

View 1 Replies View Related

CentOS 5 Hardware :: SW RAID - Raid Devices Larger Than Total Devices

Dec 7, 2010

I'm working on a server and noticed that the to RAID5 setup is showing 4 Raid devices but only 3 Total devices. It's on a fully updated CentOS 5 system that only has three SATA drives, as it can not hold anymore. I've done some researching but am unable to remove the fourth device, which is listed as removed. The full output of `mdadm -D /dev/md2` can be see below. I've never run into this situation before.Anyone have any pointers on how I can reduced the Raid Devices from 4 to 3? I have tried

mdadm /dev/md2 -r failed
mdadm /dev/md2 -r detached

but neither work and since there is no block device listed I'm not quite sure how to get things back in sync so it's only seeing the three drives.

/dev/md2:
Version : 0.90
Creation Time : Tue May 25 11:07:04 2010
Raid Level : raid5

[code]....

View 8 Replies View Related

Programming :: Mounting Multiple Devices To Root?

May 16, 2010

I'm trying to build a custom setup that requires a flash drive and a CD to both be mounted to root. Applications, boot data, and other static directories are on the CD, while /home, /opt, and /tmp are on the flash drive. Is there a special option I can enter into fstab to allow this? If not, I intend to modify my kernel to allow this, but I'll need to find the sources that control this function.

View 4 Replies View Related

Ubuntu Networking :: Multiple Devices On Single Network

Jan 14, 2010

I've got a co-worker who is trying to connect multiple devices to his wireless router - Xbox, Wii, TV, Dishnetwork box, etc. Not all of the devices are wireless however. He's had several thoughts on how to get this done and I know very little about this kind of thing so I thought I'd ask some of you.

His first thought was to buy a multi port bridge, but he doesn't like any of the ones he's seen so far.The other thought was to connect all of the devices to a switch and then use a single bridge, but he isn't sure if this would work.

View 8 Replies View Related

Ubuntu Multimedia :: Sync Multiple Devices With Gpodder?

Jul 12, 2010

I have 2 devices I'd like to be able to sync to without going into preferences and changing options each time. That is I'd like to just click "device>sync episodes" and have it sync to both devices automatically.

View 1 Replies View Related

Ubuntu Multimedia :: Multiple But Different Audio Output For Different Devices

Jul 23, 2011

I am using Ubuntu 10.04 LTS - the Lucid Lynx. I am using the laptop to play video files and view it on TV using HDMI output. No problems. Requirement: to play simultaneously a different media file and be able to listen through say headphone / laptop speakers. While a movie audio is only heard on TV, other audio is heard only on laptop speaker.

View 7 Replies View Related

Slackware :: Proper Way To Manage Multiple Sound Devices?

May 4, 2011

On my desktop computer (now running the very impressive Slackware64 13.37 and generic kernel), I've got what Alsa considers 4 different sound devices:

Logitech USB headset
Logitech QuickCam Pro 9000 with built-in microphone
ATI HD48x0 audio (which uses the HDA-Intel driver) on my graphics card
Intel 82801JI audio (also using HDA-Intel driver) on my motherboard

When I run alsaconf, it picks up the ATI audio only (which is fine). Later running alsamixer (or any other mixer) all 4 are visible. The issue is that I really would like the ATI audo to be in position 0. Previous to Slackware 13.37, setting up the device positions in /etc/modprobe.d/sound usually did the trick. However, that is now being ignored and one the USB devices are being put in position 0 regardless of what is in sound.conf. This is driving me nuts as a lot of software simply use the default audio device, which I would like to be my speakers, but is now my USB headset.

All of the googling I've done points towards messing with the /etc/modprobe.d/sound.conf file, but as I said, that is being ignored. Is there a more 13.37 way to have ALSA order the audio devices the way I want?

View 9 Replies View Related

Ubuntu :: Use Multiple Audio Output Devices On Single Machine

Jun 14, 2010

I always keep my headphones as well as my 2.1 speakers connected simultaneously on my PC (Gigabyte motherboard). Both these audio devices work fine simultaneously on my Windows 7, but in Ubuntu, only my headphones work, speakers don't work at all. I tried changing some settings in SOUND PREFERENCES as well as ALSA SOUND MIXER, but not luck so far.

View 1 Replies View Related

Server :: Shell Script To Create Multiple LVM's Or Raw Devices For Syabse

Mar 22, 2011

I have Disk /dev/cciss/c0d1: 599.9 GB, unallocated on CentOS release 5.4 .

I need to create about 30-40 LVM's worth 500GB as raw devices for sybase . is there a way to script it or anyone already has it ?

The problem is that each time we need to do fdisk /dev/cciss/c0d1 and enter the partition no to create a new one .. how to overcome that problem and automate it in a script ?

View 3 Replies View Related

Software :: ALSA And PulseAudio - Recording Multiple Input Devices?

Apr 28, 2011

I have an Intel HDA audio card, and would like to record both my soundcard output and my microphone input at the same time. Getting to record my soundcard output (aka "Stereo Mix" or "What-U-Hear") is impossible for my soundcard without using the PulseAudio monitor, so I've set that up. Now I can record either the PulseAudio monitor for my soundcard, or the microphone input, but I don't know how to record both at the same time.

Currently, my .asoundrc looks like this:

Code:

pcm.pulse {
type pulse
}
ctl.pulse {

[code]....

So now I can choose either "pulse" as an input channel in, for example, Audacity or RecordMyDesktop applications (and then set in the PA volume control the actual channel which I want recorded), or choose "pulse_monitor" or "pulse_mic", in order to record either the PA monitor or the microphone, respectively.

I've read through the ALSA plugins reference, as well as the Asym and Dmix pages on ALSA wiki, but I'm still not sure how to put this together. I figured there should be a way either to route the microphone input into the ALSA output, and thus make the PA monitor "hear" what I speak into the microphone, or to make a completely new channel with both ALSA output and microphone input as "slaves", and then use that for recording.

View 4 Replies View Related

Debian Hardware :: Multiple Sound Devices - How To Change The Default Device

Mar 19, 2011

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 Related

OpenSUSE Multimedia :: Worfklow - Photos In Sync Across Multiple Devices Without 3rd-party Services?

Sep 2, 2011

I *take* photos with both my Android smartphone and a fullblown DLSR. I *manage* photos organize, rename, rotate, etc. -- on my Opensuse box with KDE's Gwenview, and on my phone with Pixie Reef's "Fishbowl" Photo Gallery [URL]... I'm interested in your ideas about ways to keep everything in sync -- without using 3rd-party online services (No Picases, Flickr, Smugmug, etc). What needs to be kept in sync, somehow, includes:

The photos themsleves. Their organization among, and order in, various 'albums' Photo & filesystem metadata -- timestamps, filenames, EXIF data. PhotoApplication-specific data recognizing that at any time a change may be made on either device. rsync is a possibility, but once photos move into different dirs, it'd get messy. What workflow can I use to do this? Do I need a central server in the mix? If not using the 3rd-party services, is OwnCloud my best/only choice assuming that after each (group of)change(s) on each device I manage to sync with it?

View 6 Replies View Related

CentOS 5 :: Does The Centos Kernel Support Growing Raid Devices

Oct 16, 2010

I'm setting up a raid 5 on several hard disks with a layer of lvm on top for good measure.I know the recent kernels support growing software raid, but since centos runs 2.6.18, I wanted to make sure it'll work. Does the centos kernel support growing raid devices?

View 1 Replies View Related

CentOS 5 Networking :: Multiple Nics With Multiple Gateway ?

Jun 16, 2009

I have a CentOS 5.3 box with three network interfaces in it. Each interface is attached to a separate VLAN and I want traffic to stay on each network segment.What I can�t figure out is why I cannot get each interface to have its own gateway and everything gets sent through the default gateway.The basically takes my possible 3Gb total bandwidth and throws it down a single 1Gb pipe.Then on top of that, if I take down the interface (ifdown) that has the current default gateway,I loose contact to the other two interfaces.When I look at the routes, each one of the interfaces shows the gw as 0.0.0.0 and defers to the default route. So I delete the route and try to add a new route with:

[root@testsan ~]# ip route add 10.1.15.0/24 via 10.1.15.1 dev eth2

but end up with the error:

RTNETLINK answers: Network is unreachable

[root@testsan sysconfig]# cat network
NETWORKING=yes
NETWORKING_IPV6=no[code].....

View 5 Replies View Related

OpenSUSE Multimedia :: Output One Playback Stream To Multiple Devices Simultaneously With The Current PulseAudio / Phonon Setup?

Jun 9, 2011

Is it possible to output one playback stream to multiple devices simultaneously with the current PulseAudio / Phonon setup? The PulseAudio mixer only has radio buttons to choose one device per playback stream. I believe the hardware is capable of this, since I remember doing that before we had PulseAudio. How can I duplicate an audio stream?

Here's one application scenario: I am travelling with my family, all crammed in small hotel room. My wife and me want to watch a movie on my laptop without waking up our kids. I just happen to have one analogue headphone available and one wireless USB headset with me. (Of course, the low tech solution is to bring an 3,5mm Y-cable to attach two analogue headsets, but I would really love to use the USB headset together with the analogue one.)

Another similar thing that bugs me is that my laptop's built-in speakers now always seem dead when an analogue headphone is plugged in. This is mostly what one wants, and before PulseAudio, one had to manually switch them off which was generally annoying. However, the downside is for example with notifications.

For example, before PulseAudio, I could configure Skype to always ring over the laptop's built-in speakers, regardless of whether the analogue headphones were plugged in. This is no longer possible, since PulseAudio does not distinguish between built-in speakers and built-in analogue port any more, while old Alsa did. So in my office, where some analogue headphones are plugged into the docking station, I never hear Skype ringing if I don't wear the headphones.

View 9 Replies View Related

CentOS 5 :: Cannot Get 1M IO With Block Devices?

Nov 19, 2009

I am trying to do 1Meg IO to one of the block devices but I can only get a maximum of 512K IO size. I can use the corresponding sg device to get 1Meg of IO. I was wondering if anyone knows why 1Meg IO to a block device is being broken down into 2 512K chunks? I have increased the /sys/block/sdg/queue/max_sectors_kb to 16384, but it has made no difference.

My uname is : Linux virgo 2.6.18-128.el5 #1 SMP Wed Jan 21 10:41:14 EST 2009 x86_64 x86_64 x86_64 GNU/Linux

View 12 Replies View Related

CentOS 5 :: How To Delete NBD Devices

Aug 15, 2011

I have created a number of network block devices that I would like to delete, but I have been unable to find any information to do this.

I am using Centos 5.6 and my kernel is 2.6.18-238.el5.

I have been searching the internet for two days now and have noticed some other UNIX systems do have utilities for deleting unwanted devices but nothing for linux.

I created these devices with the vmware supplied PERL script vmware-mount.pl which in turn calls mknod.

The commands would look like:

mknod /dev/nbd0 b 43 0
mknod /dev/nbd1 b 43 1
......

I have tried deleting them from /dev which works temporarily but they come back when I reload the nbd module i.e.

modprobe -r nbd
modprobe nbd

and also if I reboot.

There is a directory tree for each device under /sys/block and I'm guessing this is how /dev is getting repopulated. I cannot remove the directory trees from /sys/block. I get this when I try:

rm: cannot remove `nbd15/queue/iosched/slice_idle': Operation not permitted
rm: cannot remove `nbd15/queue/iosched/slice_async_rq': Operation not permitted
...... there are 25 lines like this ....

When I do a vgsan I see this:Reading all physical volumes. This may take a while...

/dev/nbd0: read failed after 0 of 4096 at 0: Input/output error
/dev/nbd0: read failed after 0 of 4096 at 2199022141440: Input/output error

and in the messages log I see this:

Aug 15 21:04:06 udon-desktop kernel: nbd15: Attempted send on closed socket
Aug 15 21:04:06 udon-desktop kernel: end_request: I/O error, dev nbd15, sector 0

View 3 Replies View Related

CentOS 5 :: Discover Unrecognized Devices ?

Oct 13, 2010

How can I discover unrecognized devices on centOS? what is the command ?

View 2 Replies View Related

CentOS 5 Networking :: Error - No Network Devices Available - 5.3

May 6, 2009

Right now I have this error

On my top right hand corner. No network devices available.

My distro is Centos 5.3

View 2 Replies View Related

CentOS 5 Hardware :: /dev/sda (SATA) Devices Detected As /dev/hda?

May 15, 2009

I have an issue with Hard Drives in GNU/Linux CentOS 5.3I installed linux 5.3 frash copy to new SATA MAXTOR 1000GB Hdd.And see the partitions is SATA MAXTOR 1000GB (NEW INSTALLATION CentOS 5.3)

/dev/sda1 Boot
/dev/sda3 /
(/dev/sda2 is the SWAP)

[code].....

View 5 Replies View Related

CentOS 5 Networking :: Devices Can't Be Found When Boot

Nov 6, 2010

I`ve boot my laptop by centos. then my devices cant be found.

View 1 Replies View Related

CentOS 5 :: Best Way Of Specifying Names Of Ethernet Devices In CentOS5.5 Or Later?

Apr 13, 2011

What is the best way of specifying the names of ethernet devices in CentOS5.5 or later? There seems to be at least two ways of doing this: Would the 60_net.rule file override a 010_netinterfaces.rules file because it gets executed later, or would the 010_ net interfaces. rule file set up the info in /sys which would then be used by 60_net.rule?

View 2 Replies View Related

CentOS 5 :: Granting R / W Permissions Of Devices To End User At Login?

May 27, 2009

I have a minor issue with permissions. There are a couple of devices that I need r/w access to in /dev. Whenever I first boot up and log in as end user (not root) and I need to access the devices permission is denied. Logging in as root there's no problem accessing these devices. However as an end user every time I need the devices I have to first su to root to change R/W permissions (chmod 666).

Now, the good thing is that the permissions stick even as I logout and then log back in, but as soon as I reboot my computer (every night) I have to go and chmod manually. I'm trying to find a way to avoid having to su and chmod manually but I'm not having much luck. The devices I am trying to access are /dev/ttyS1 and /dev/windrvr6, when I first boot up and login as end user the permissions look as follows:

crw-rw---- 1 root uucp 4, 65 May 27 04:11 /dev/ttyS1
crw-r--r-- 1 root root 253, 0 May 27 09:12 /dev/windrvr6

View 3 Replies View Related

CentOS 5 :: Unable To Mount Devices In Rescue Mode?

Aug 1, 2010

Booting to CentOS 5.5 works and I am able to login with all my devices mounted. When I boot from the install DVD and type "linux rescue" I eventually get the message, after attempting to have one of the screens mount my partitions in read/write mode:

"An error occurred trying to mount some or all of your system. Some of it may be mounted under /mnt/sysimage." But nothing appears mounted under /mnt/sysimage. Should I try mounting my CentOS 5.5 partitions manually at this point ?

View 7 Replies View Related







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