12-05-2006
If your not familiar with commands run from a terminal, use sam
FYI:
The old Sun systems running SunOS just had 2 files.
/etc/hosts
/etc/hostname.{interface} ie: /etc/hostname/hme0
10 More Discussions You Might Find Interesting
1. IP Networking
Dear All ,
I have Sun Solaris 8 machine . during installation i gave the machine ip address 192.168.0.50 and gatway 192.168.0.1 .
now i hvae to change the IP address and the gateway ! how ??
i know i have to use ifconfig , but how can i change it and the gateway ???
also where from i... (4 Replies)
Discussion started by: tamemi
4 Replies
2. IP Networking
Can anyone tell me how to change the IP address on a unix server, as I have no idea whatsoever.
Thanks (2 Replies)
Discussion started by: itservices
2 Replies
3. Shell Programming and Scripting
Hi,
i am sending mails regulary for updation of data.
The from addresses dispaly like
POP.RECH@skk182.com
i want display like
oracle@skk182.com
can u help me on this. (1 Reply)
Discussion started by: koti_rama
1 Replies
4. HP-UX
Hi Friends,
I am facing one issue with my hpux server.
I used to send mail from the hpux server directly to the customer id.
By default the from address includes the complete hostname(eg:- user1@hostname.domain.com). My domain name is registered, but this individual hostname is not... (1 Reply)
Discussion started by: arumon
1 Replies
5. AIX
With a recent move to a new data center, the domain for our system emails have changed. We used automated emails with our daily process for informational and report sending.
I edited the /etc/mail/sendmail.cf file where it had an entry pointing to the old mail server so I change this to our new... (3 Replies)
Discussion started by: NycUnxer
3 Replies
6. Programming
Hello, I need to write a program using C language which allow me to change the IP and MAC addresses of a given interface... Now I fork the process and by exec I'm using the "ifconfig interf X.X.X.X" command... but i can't use this solution because i have to avoid the context switch... Can someone... (4 Replies)
Discussion started by: gilby985
4 Replies
7. Debian
I have a new Ethernet device that has a default IP address on a different subnet and need to change it. I have a Debian 6.0 host connected to the device with a crossover cable and have changed the host /etc/hosts and /etc/networks files to the same subnet as the new device and rebooted. Ping... (2 Replies)
Discussion started by: snorkack59
2 Replies
8. Forum Support Area for Unregistered Users & Account Problems
How can I change email address registered with my unix.com account (1 Reply)
Discussion started by: hiten.r.chauhan
1 Replies
9. UNIX for Dummies Questions & Answers
I need to change the ip address in RHEL 6 . Please tell me the files to be edited....complete procedure.......... Don't tell the graphical method ........ Explain everything in CLI ...........
Thanks in Advance:b: (3 Replies)
Discussion started by: vamshigvk475
3 Replies
10. IP Networking
ubuntu / xubuntu 13.10 and 14.04 (this issue should exist in debian as well)
I use wifi to connect to internet. I would like to change the wifi card mac address before connecting. Let's call the original mac address, macA, and the new mac address, macB.
I do the following:
ifconfig wlan0... (2 Replies)
Discussion started by: arpagon
2 Replies
LEARN ABOUT OPENSOLARIS
sppptun
sppptun(1M) System Administration Commands sppptun(1M)
NAME
sppptun - PPP tunneling driver utility
SYNOPSIS
sppptun plumb
sppptun plumb protocol device
sppptun unplumb interface
sppptun query
DESCRIPTION
The sppptun utility is used to configure and query the Solaris PPP tunneling device driver, /dev/sppptun. Currently, only PPP over Ether-
net (PPPoE) is supported, so the plumb and unplumb arguments are used to specify Ethernet interfaces that are to be used for PPPoE, and the
query option lists the plumbed interfaces.
The use of sppptun to add interfaces is similar to the use of ifconfig(1M) to add interfaces to IP. The plumbing is done once for each
interface, preferably at system start-up time, and is not normally manipulated on a running system. If multiple instances of PPP are run
over a single interface, they share the plumbing to that interface. Plumbing for each session is not required (and not possible for PPPoE).
The proper way to plumb interfaces for PPPoE is to list the interfaces, one per line, in the /etc/ppp/pppoe.if file.
USAGE
sppptun plumb
When specified with no additional arguments, the plumb argument lists the protocols that are supported by the utility. These are the
strings that are used as the protocol argument below.
sppptun plumb protocol device
This plumbs a new interface into the driver. The protocol parameter is pppoe for the PPP-carrying "Session Stage" connection or pppoed
for the PPPoE "Discovery Stage" connection. Both connections must be present for each Ethernet interface that is to be used for PPPoE.
The device parameter is the path name of the Ethernet interface to use (use ifconfig(1M) to list available devices). If the path begins
with /dev/, then this portion may be omitted.
sppptun unplumb interface
This removes an existing interface from the driver and terminates any PPP sessions that were using the interface. The interface parame-
ter is the name of the interface as reported when the interface was plumbed.
sppptun query
Displays the canonical names of all interfaces plumbed into the /dev/sppptun device driver.
EXAMPLES
Example 1 Setting up to Use PPPoE on hme0
Plumb the hme0 interface.
# sppptun plumb pppoed hme0
hme0:pppoed
# sppptun plumb pppoe hme0
hme0:pppoe
Remove the hme0 interface.
# sppptun unplumb hme0:pppoed
# sppptun unplumb hme0:pppoe
Example 2 Script to Remove All Plumbed Interfaces
#!/bin/sh
for intf in `sppptun query`
do
sppptun unplumb $intf
done
EXIT STATUS
The following exit values are returned:
0 Successful completion.
1 One or more errors occurred.
FILES
/etc/ppp/pppoe.if list of Ethernet interfaces to be plumbed at boot time
/usr/sbin/sppptun executable command
/dev/sppptun Solaris PPP tunneling device driver
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWpppdt |
+-----------------------------+-----------------------------+
SEE ALSO
pppd(1M), pppoec(1M), pppoed(1M), sppptun(7M)
RFC 2516, Method for Transmitting PPP Over Ethernet (PPPoE), Mamakos et al, February 1999
SunOS 5.11 19 Mar 2001 sppptun(1M)