06-08-2011
depends on the OS type & version, but with 'ifconfig -a' and 'netstat -rn' you should be able to script something that works almost everywhere....
10 More Discussions You Might Find Interesting
1. Solaris
hi,
is there a command or way to see which firmware my network card(s) has?
i could imaging that i would see it in the OBP (show-nets; cd /...@../...; .properties) but is there a way to see it in solaris?
Solaris9 (09/05) on a V440 with GigaSwift Ethernet MMF (X4151A) adapters (using ce... (2 Replies)
Discussion started by: pressy
2 Replies
2. Solaris
Can someone please point me in the correct direction of where I configure the network information on SunOS 5.8 server? (Searching SunSolve and Google have resulted in thousands of fixes for potential errors, but I can't find the general instructions, etc. for starting the process).
Thanks! (2 Replies)
Discussion started by: FredSmith
2 Replies
3. Linux
Hello everybody,
How can link network interface to the output of lspci -vv. Basicly i need to know who is the manufacturer of a specific interface, for example eth0 {Is it an Intel, or Broadcome, or something else}. Is there a way to find that out?
Thanx (5 Replies)
Discussion started by: aleksey
5 Replies
4. AIX
hi all,
how do i change the routing info and make sure i will be able to connect remotely?
any ideas please?
thanks in advance. (1 Reply)
Discussion started by: itik
1 Replies
5. OS X (Apple)
I have found an excellent OS X pref pane that allows you to output log files or terminal commands/scripts onto the desktop in the background.
What I want to do is create a script that outputs the following...
- Mac OS X Version and Build (As shown in the about this mac)
- Current username
-... (6 Replies)
Discussion started by: digitaljunkie
6 Replies
6. Shell Programming and Scripting
Hey guys,
I just started college a few days ago. To my dismay, my school has a very frustrating wireless network access system. Every time you want to use the network, you need to open up a browser and get re-directed to a login page. Every access, you need to reenter the same username and... (1 Reply)
Discussion started by: Chain Breaker
1 Replies
7. UNIX and Linux Applications
In gnome there was an indicator applet that displayed your ip address, subnet mask, gateway, and dns. Is there a similar applet in kde? (0 Replies)
Discussion started by: cokedude
0 Replies
8. Emergency UNIX and Linux Support
Hi all,
I have run into this problem while trying to setup a CentOS based NAS for a friend of mine. We are using CentOS 6. The share on server can be accessed by it's IP. I have setup netbios name for the server. But that does not help. We need it to show up on Windows Network Places... (3 Replies)
Discussion started by: admin_xor
3 Replies
9. UNIX for Dummies Questions & Answers
Hi,
Need to Collect IP Details in the following format
ServerName ; IPADDR1 ; NETMASK1 ; IPADDR2 ; NETMASK2 ; IPADDR3 ; NETMASK3 ;
Could you please give me the suggesstions.
Thanks (1 Reply)
Discussion started by: rajasekg
1 Replies
10. Shell Programming and Scripting
good evening,
i'm still new in scripting but i'm learning every day and i'm enjoying it.
so i have api website (htt p://api.nobelprize.org/v1/prize.json), i want to make a script that allows me to give it two arguments like ./test.sh 2005 physics, 2000 is for the year and physics is category... (1 Reply)
Discussion started by: kalbsghir
1 Replies
LEARN ABOUT OSF1
slattach
slattach(8) System Manager's Manual slattach(8)
NAME
slattach - Attaches a serial line to a network interface
SYNOPSIS
/usr/sbin/slattach [{+|-} {c|e|i}] ttyname [baudrate]
DESCRIPTION
The slattach command assigns a tty line to a network interface, allowing terminal devices to communicate across a network. The ttyname
argument is the name of any valid tty device in /dev. This can be either the full path name (for example, /dev/tty01) or the name in /dev
(for example, tty01). The optional baudrate argument is used to set the speed of the connection. The default speed is 9600 baud.
The tty line is attached to the first available network interface (sl0, sl1, already be configured with the local and remote addresses of
each end of the SLIP connection (see ifconfig(8)).
Only a person with superuser authority can attach a network interface.
To detach the interface, use the ifconfig interface_id down command after terminating the slattach process. interface_id is the name that
is shown by the netstat command.
FLAGS
Enables (+) or disables (- TCP header compression. Enables (+) or disables (- automatic TCP header compression. If enabled and the remote
system is using TCP header compression, TCP header compression is automatically enabled on the local system. If both local and remote sys-
tems have enabled this flag, TCP header compression is not used. One system must force the use of TCP header compression. Enables (+) or
disables (- ICMP traffic suppression. If enabled, ICMP traffic (like that generated by ping(8)) is not allowed to pass over the SLIP con-
nection.
When the system is booted, all flags are initially disabled. Once a flag is enabled, it remains enabled until the system is rebooted or
until another slattach command is issued with the flag disabled.
NOTES
The slattach command requires the Serial Line Internet Protocol (SLIP), which the kernel must support. If making a SLIP connection to
another Tru64 UNIX system, both systems must run slattach. If making a SLIP connection to a system not running the Tru64 UNIX operating
system, the other system must support the SLIP protocol.
EXAMPLES
To attach a tty device to a network interface, enter: /usr/sbin/slattach /dev/tty01 4800 This command attaches tty01 to a network interface
to be used by the Serial Line Internet Protocol (SLIP). The connection speed is 4800 baud.
To attach a tty device to a network interface at 19200 bits per second (bps), with TCP header compression enabled and ICMP traffic suppres-
sion disabled, enter: /usr/sbin/slattach +c -i /dev/tty01 19200
FILES
Specifies the command path Contains the slattach process ID
RELATED INFORMATION
Commands: netstat(1), ifconfig(8)
Specifications: SLIP is described in RFC1055. TCP header compression is described in RFC1144. delim off
slattach(8)