Sponsored Content
Full Discussion: Changing IP & hostname
Top Forums UNIX for Dummies Questions & Answers Changing IP & hostname Post 302168204 by pspandher on Sunday 17th of February 2008 02:08:20 PM
Old 02-17-2008
To assign manually IP address in Solaris 10 ( intel)

Hi,
Can any one let me know that how can i manually assign a IP on the Intel platform running solaris 10 coz ,

when I fire the following command

ifconfig hme0 plumb
then i get ifconfig : hme0 : plumb ; no such file or directory

also I have tried to assign a IP in the Host file ( /etc/inet/host)
or /etc/hosts file and rebooted the system system but it didn't work out
I have also created a file name /etc/hostname.hme0 and manually added a hostname entry in it but that too failed

Also I have fire the following command

ifconfig hme0 inet 192.168.0.1 netmask 255.255.255.0 broadcast + up

but that too fail with the same error hme0 no such file or directory
In the /etc I have only hosts file but , according to solaris it says that it creates a /etc/hostname.INTERFACE file say /etc/hostname.hme0 but there is no such file in /etc/dir.


I think Intel platform does not support this and for this we need a SPARC system if we want to assign a manual IP to the system Please do let me know.................. Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

what happen when changing Hostname?

I 'm using RH 7.2 Genome in the Network Configuration I change therer are two places one for static hostname for my machine and in DNS hostname I don't know what happen when restarting my PC when connecting using dialer I can't browse the Internet also I can't use sendmail .......Server timeout... (2 Replies)
Discussion started by: atiato
2 Replies

2. UNIX for Advanced & Expert Users

changing owner & grp of a file

Hi, I have a file in my system as below My user and grp id is sns / sns -rwxrwxrwx 1 sns sns 6012357 Sep 27 06:01 sample Is there a way to change the owner and grp of this file to app / app ... ie. as given below -rwxrwxrwx 1 app app 6012357 Sep 27 06:01 sample I guessed... (1 Reply)
Discussion started by: Sabari Nath S
1 Replies

3. UNIX for Dummies Questions & Answers

Hostname lost when changing user

Hello to all, Does anyone have a clue for the following problem? When I enter into a terminal console window logged as axadmin user, what I find in the prompt is: “axadmin@sunhost$”. But, when I switch to root user, with the command “su -“ and enter the correct password, user root is... (4 Replies)
Discussion started by: Pablo_BR
4 Replies

4. UNIX for Advanced & Expert Users

How to stop DHCP from changing hostname

Hi, greetings. I have installed OS 10 on sunfire 240. FOr now let dhcp to give IP address but it keeps chaning hostname. How do I stop this? thanks Jaya (3 Replies)
Discussion started by: vr76413
3 Replies

5. UNIX for Dummies Questions & Answers

Solaris - unknown hostname - how can I change hostname?

Hello, I am new to Solaris. I am using stand alone Solaris 10.0 for test/study purpose and connecting to internet via an ADSL modem which has DHCP server. My Solaris is working on VMWare within winXP. My WinXP and Solaris connects to internet by the same ADSL modem via its DHCP at the same... (1 Reply)
Discussion started by: XNOR
1 Replies

6. Solaris

changing ip and hostname on solaris

dears does any one know in steps how can i change ip and hostname on solaris (10 Replies)
Discussion started by: murad.jaber
10 Replies

7. Solaris

changing hostname on Solaris 8 ?

hi, does anyone had experience changing hostname on Solaris 8 ? any idea how is it done ? (4 Replies)
Discussion started by: Exposure
4 Replies

8. Emergency UNIX and Linux Support

HP UX - ILO Console hostname different than Machine Hostname...

Hi All, So we added a new HP-UX 11.31 machine. Copied OS via Ignite-UX (DVD)over from this machine called machine_a. It was supposed to be named machine_c. And it is when you log in...however when I'm in the ILO console before logging in, it says: It should say: What gives? And how do... (4 Replies)
Discussion started by: zixzix01
4 Replies

9. Solaris

SVM - Metadevices are offline after changing hostname solaris x86

Hi , We are facing an issue on one of our solaris x86 server, After changing the hostname and a orderly reboot , all metadevices shows offline. please let us know the steps to restore back all metadevices to working state with this new hostname (3 Replies)
Discussion started by: karthick.sh
3 Replies

10. Red Hat

Alias ip & hostname

Hello Forum members, I am new to the Linux administration and i have a question on the below requirement , requirement is as below Create a new alias-IP & alias-Host name to the existing virtual machine ( RHEL 6.6) I have created alias-IP and here is the below eth3 Link... (0 Replies)
Discussion started by: raokl
0 Replies
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)
All times are GMT -4. The time now is 06:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy