08-27-2004
I knew about the link part....finding the device was the tough part. I did eventually find it thru good ole' trial & error (it's /dev/ttyS1).
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
suppose you have the following line at your crontab :
5 * * * * /usr/mine/script > /dev/null 2>&1
now i understood that the " > /dev/null 2>&1 outputs both Standard outpout and Standard Error messages to the /dev/null device or file...
the first part , " > /dev/null " transfers... (1 Reply)
Discussion started by: BAM
1 Replies
2. Solaris
Hi, Anyone can help
My solaris 8 system has the following
/dev/null , /dev/tty and /dev/console
All permission are lrwxrwxrwx
Can this be change to a non-world write ??
any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am having some problems understanding the info from the following output:
Disk /dev/sda: 17849 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sda1 *... (5 Replies)
Discussion started by: mojoman
5 Replies
4. UNIX for Dummies Questions & Answers
what exactly is going on in this piece of code? what is the role of /dev/fd? i know that /dev/fd/0 is somehow linked to standard input, but that's the extent of my knowledge
cat header.txt /dev/fd/0 footer.txt (2 Replies)
Discussion started by: momo.reina
2 Replies
5. Solaris
So, we removed a LUN from the SAN and the system is refusing to remove the references to it in the /dev folder. I've done the following:
devfsadm -Cv
powermt -q
luxadm -e offline <drive path>
luxadm probe
All those commands failed to remove the path. The drive stills shows up as <drive... (13 Replies)
Discussion started by: DustinT
13 Replies
6. AIX
Hi,
How can i check that i am using RAW devices for storage in my AIX machine...
Also after adding a LUN from storage to a aix host, when i check /dev in the host, i can see both rhdisk and hdisk with same number
eg:
dcback1(root):/dev>ls -lrt | grep disk12
crw------- 1 root ... (4 Replies)
Discussion started by: jibujacob
4 Replies
7. Shell Programming and Scripting
Suppose another person wrote the following one-line shell script:
echo $RANDOM > /dev/tty
QUESTION #1: How can the random number, which is output to the terminal by this script, be captured in a variable?
QUESTION #2: How can this be done in a cron job?
Specific code, whether in ksh or... (1 Reply)
Discussion started by: Paul R
1 Replies
8. AIX
Hello AIXians,
I can't boot my AIX, it hangs and stops at the code error: 0518
After searching google, I knew the problem is due to problems in File Systems.
So the solution is booting from any bootable media, then run these commands in maintenance mode:
#fsck -y /dev/hd4
#fsck -y... (3 Replies)
Discussion started by: Mohannad
3 Replies
9. Shell Programming and Scripting
Objective: To recreate the partitioning setup of /dev/sda on /dev/sdc
How would I parse the below information and initialize variables
(an array?) that can be used to build sgdisk commands in a script, regardless of the number of partitions?
Something along the lines of:
sgdisk -n... (12 Replies)
Discussion started by: RogerBaran
12 Replies
10. Red Hat
Hi,
Please suggest steps to change grub from /dev/sda to /dev/sdb, (1 Reply)
Discussion started by: manoj.solaris
1 Replies
LEARN ABOUT DEBIAN
gammu-detect
GAMMU-DETECT(1) Gammu GAMMU-DETECT(1)
NAME
gammu-detect - Gammu device detection
New in version 1.28.95.
SYNOPSIS
gammu-detect [OPTIONS]
DESCRIPTION
Script to detect available devices, which might be suitable for gammu.
Note This program lists all devices, which might be suitable, it does not do any probing on devices them self.
Currently it supports following devices:
o USB devices using udev
o Serial ports using udev
o Serial ports on Windows
o Bluetooth devices using Bluez
Note Supported devices depend on platform you are using and compiled in features. You can find out what is actually compiled in by run-
ning gammu-detect -v.
This program follows the usual GNU command line syntax, with long options starting with two dashes (--). A summary of options is included
below.
-h, --help
Show summary of options.
-d, --debug
Show debugging output for detecting devices.
-v, --version
Show version information and compiled in features.
-u, --no-udev
Disables scanning of udev.
-b, --no-bluez
Disables scanning using Bluez.
-w, --no-win32-serial
Disables scanning of Windows serial ports.
OUTPUT
The output of gammu-detect is configuration file for Gammu (see gammurc) with configuration section for every device which might be used
with gammu.
Note You can choose which section to use in gammu by gammu -s.
When invoked as gammu-detect -d, also all examined devices are listed as comments in the output.
EXAMPLE
; Configuration file generated by gammu-detect.
; Please check The Gammu Manual for more information.
[gammu]
device = /dev/ttyACM0
name = Nokia E52
connection = at
[gammu1]
device = /dev/ttyACM1
name = Nokia E52
connection = at
[gammu2]
device = /dev/ttyS0
name = Phone on serial port 0
connection = at
[gammu3]
device = /dev/ttyS1
name = Phone on serial port 1
connection = at
[gammu4]
device = /dev/ttyS2
name = Phone on serial port 2
connection = at
[gammu5]
device = /dev/ttyS3
name = Phone on serial port 3
connection = at
[gammu6]
device = 5C:57:C8:BB:BB:BB
name = Nokia E52
connection = bluephonet
AUTHOR
Michal iha <michal@cihar.com>
COPYRIGHT
2009-2012, Michal iha <michal@cihar.com>
1.31.90 February 24, 2012 GAMMU-DETECT(1)