HPE GreenLake Administration
Operating System - HP-UX
1833782
Members
2615
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2001 11:19 AM
09-26-2001 11:19 AM
Does any have a good step-by-step document on setting up uucp in HPUX?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2001 12:26 PM
09-26-2001 12:26 PM
Solution
Hi Christa,
On Host1:
1
vi /etc/uucp/Systems and add following line
Host2 Any TCP - - ogin:--ogin: uhost1 ssword: gu3ssss
Do not forget u+host2's name
We are going to host2, any time, using TCP connection, as login uhost2 and with gu3ssss password.
2
vi /etc/uucp/Devices and add following line.
TCP - - Any TCP
We are using connection device as TCP, not modem or phone line.
3.
mkdir /var/spool/uucp/host2
mkdir /var/spool/uucp/host1
4
vi /etc/services and uncomment following two line
uucp-path 117/tcp # UUCP Path Service
uucp 540/tcp uucpd # uucp daemon
540 and 117 is tcp port for uucp services.
5
vi /etc/inetd.conf and uncomment following line
uucp stream tcp nowait root /usr/sbin/uucpd uucpd
Enable the uucp services.
6
run following command to reread inetd.conf
/usr/sbin/inetd -c
7 on host2
vi /etc/passwd and add line
uhost1:PASSWORD:uid:11::/var/spool/uucppublic:/usr/lbin/uucp/uucico
userid=u+host2's name, passwd is last word from host1's /etc/uucp/Systems files. Here it is "gu3ssss" .
8.
mkdir /var/spool/uucp/host2
mkdir /var/spool/uucp/host1
You are ready to do uucp from host1 to host2.
Test your uucp connection using.
/usr/lbin/uucp/uucico -r1 -s host2 -x10
this is debug level10 checking.
If you had killed your previous connection. You must remove lock file from /var/spool/uucp/lock.
if you had failed previous connection using uucico and if you want to use /usr/lbin/uucp/uucico again remove /var/spool/uucp/.Status/* file.
Where is my 10 point???
I hope this help.
Sachin.
On Host1:
1
vi /etc/uucp/Systems and add following line
Host2 Any TCP - - ogin:--ogin: uhost1 ssword: gu3ssss
Do not forget u+host2's name
We are going to host2, any time, using TCP connection, as login uhost2 and with gu3ssss password.
2
vi /etc/uucp/Devices and add following line.
TCP - - Any TCP
We are using connection device as TCP, not modem or phone line.
3.
mkdir /var/spool/uucp/host2
mkdir /var/spool/uucp/host1
4
vi /etc/services and uncomment following two line
uucp-path 117/tcp # UUCP Path Service
uucp 540/tcp uucpd # uucp daemon
540 and 117 is tcp port for uucp services.
5
vi /etc/inetd.conf and uncomment following line
uucp stream tcp nowait root /usr/sbin/uucpd uucpd
Enable the uucp services.
6
run following command to reread inetd.conf
/usr/sbin/inetd -c
7 on host2
vi /etc/passwd and add line
uhost1:PASSWORD:uid:11::/var/spool/uucppublic:/usr/lbin/uucp/uucico
userid=u+host2's name, passwd is last word from host1's /etc/uucp/Systems files. Here it is "gu3ssss" .
8.
mkdir /var/spool/uucp/host2
mkdir /var/spool/uucp/host1
You are ready to do uucp from host1 to host2.
Test your uucp connection using.
/usr/lbin/uucp/uucico -r1 -s host2 -x10
this is debug level10 checking.
If you had killed your previous connection. You must remove lock file from /var/spool/uucp/lock.
if you had failed previous connection using uucico and if you want to use /usr/lbin/uucp/uucico again remove /var/spool/uucp/.Status/* file.
Where is my 10 point???
I hope this help.
Sachin.
Is photography a hobby or another way to spend $
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2001 10:15 AM
09-27-2001 10:15 AM
Re: uucp
Hello Christa,
Sachin is missing the whole fun when not using
serial devices :-)
The config files:
/etc/uucp/Systems
-----------------
systemX Any portX 9600 city-1234 in:--in:--in: usystemX word: s3cr3t
/etc/uucp/Devices
-----------------
portX cul0p0 - Any modemX
/etc/uucp/Dialers
-----------------
modemX =W-, "" +++\r\dATZ\c OK ATDT\T CONNECT \c
/etc/uupc/Dialcodes
-------------------
city 01149=69
Then make certain your devices have proper
permissions like:
-rw-rw--- uucp uucp /dev/cul0p0
-rw-rw--- uucp uucp /dev/cua0p0
-rw-rw--- uucp uucp /dev/ttyd0p0
and add a line for the receiving modem on the
other system into its "/etc/inittab" like:
uucp:234:respawn:/usr/lbin/uucp/uugetty -t90 -r ttyd0p0 9600 vt100 #UUCP-port
and check the paragraph labeled "9600" in that
systems "/etc/gettydefs" to look like:
9600 # B9600 HUPCL ICRNL IXON IXOFF OPOST ONLCR
CS8 CREAD CRTS ISIG ICANON ECHO ECHOK
TAB3 BRKINT
# B9600 HUPCL ICRNL IXON IXOFF OPOST ONLCR
CS8 CREAD CRTS ISIG ICANON ECHO ECHOK
TAB3 BRKINT
#UUCP login: #9600
and then connect the modem, turn it on, and
use the command "cu" to test the connection:
cu -d9 systemX
and the output (-d9 is max debugging output).
The next step is to setup "Permissions" file
for the commands "uucp" and "uux", but to do
this you would be well instructed to read THE
book on uucp: "Managing UUCP and Usenet" by
Tim O'Reilly (yes, the publisher himself).
HTH,
Wodisch
Sachin is missing the whole fun when not using
serial devices :-)
The config files:
/etc/uucp/Systems
-----------------
systemX Any portX 9600 city-1234 in:--in:--in: usystemX word: s3cr3t
/etc/uucp/Devices
-----------------
portX cul0p0 - Any modemX
/etc/uucp/Dialers
-----------------
modemX =W-, "" +++\r\dATZ\c OK ATDT\T CONNECT \c
/etc/uupc/Dialcodes
-------------------
city 01149=69
Then make certain your devices have proper
permissions like:
-rw-rw--- uucp uucp /dev/cul0p0
-rw-rw--- uucp uucp /dev/cua0p0
-rw-rw--- uucp uucp /dev/ttyd0p0
and add a line for the receiving modem on the
other system into its "/etc/inittab" like:
uucp:234:respawn:/usr/lbin/uucp/uugetty -t90 -r ttyd0p0 9600 vt100 #UUCP-port
and check the paragraph labeled "9600" in that
systems "/etc/gettydefs" to look like:
9600 # B9600 HUPCL ICRNL IXON IXOFF OPOST ONLCR
CS8 CREAD CRTS ISIG ICANON ECHO ECHOK
TAB3 BRKINT
# B9600 HUPCL ICRNL IXON IXOFF OPOST ONLCR
CS8 CREAD CRTS ISIG ICANON ECHO ECHOK
TAB3 BRKINT
#UUCP login: #9600
and then connect the modem, turn it on, and
use the command "cu" to test the connection:
cu -d9 systemX
and the output (-d9 is max debugging output).
The next step is to setup "Permissions" file
for the commands "uucp" and "uux", but to do
this you would be well instructed to read THE
book on uucp: "Managing UUCP and Usenet" by
Tim O'Reilly (yes, the publisher himself).
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2001 10:27 AM
09-27-2001 10:27 AM
Re: uucp
Hi Wodisch,
Thanks.
I copy that process for me for feature reference. You can have my 10 point.
Sachin
Thanks.
I copy that process for me for feature reference. You can have my 10 point.
Sachin
Is photography a hobby or another way to spend $
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP