Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #4
Difficulty: Medium
The UNIX and Linux Forums was one of the first forums on the Internet to have a strong moderation policy to encourage users of all skill levels to participate without fear of being bullied.
True or False?
Linux & Unix Commands - Search Man Pages

slattach(8) [bsd man page]

SLATTACH(8)						      System Manager's Manual						       SLATTACH(8)

NAME
slattach - attach serial lines as network interfaces SYOPNSIS
slattach ttyname [ baudrate ] DESCRIPTION
Slattach is used to assign a tty line to a network interface, and to define the network source and destination addresses. The ttyname parameter is a string of the form ``ttyXX'', or ``/dev/ttyXX''. The optional baudrate parameter is used to set the speed of the connec- tion. If not specified, the default of 9600 is used. Only the super-user may attach a network interface. To detach the interface, use `ifconfig interface-name down' after killing off the slattach process. interface-name is the name that is shown by netstat(1) EXAMPLES
slattach ttyh8 slattach /dev/tty01 4800 DIAGNOSTICS
Messages indicating the specified interface does not exit, the requested address is unknown, the user is not privileged and tried to alter an interface's configuration. SEE ALSO
rc(8), intro(4), netstat(1), ifconfig(8) 4.3 Berkeley Distribution November 17, 1996 SLATTACH(8)

Check Out this Related Man Page

SL(4)							   BSD Kernel Interfaces Manual 						     SL(4)

NAME
sl -- Serial Line IP (SLIP) network interface SYNOPSIS
pseudo-device sl DESCRIPTION
The sl interface allows asynchronous serial lines to be used as IPv4 network interfaces using the SLIP protocol. To use the sl interface, the administrator must first create the interface and assign a tty line to it. The sl interface is created using the ifconfig(8) create subcommand, and slattach(8) is used to assign a tty line to the interface. Once the interface is attached, network source and destination addresses and other parameters are configured via ifconfig(8). The sl interface can use Van Jacobson TCP header compression and ICMP filtering. The following flags to ifconfig(8) control these properties of a SLIP link: link0 Turn on Van Jacobson header compression. -link0 Turn off header compression. (default) link1 Don't pass through ICMP packets. -link1 Do pass through ICMP packets. (default) link2 If a packet with a compressed header is received, automatically enable compression of outgoing packets. (default) -link2 Don't auto-enable compression. DIAGNOSTICS
sl%d: af%d not supported . The interface was handed a message with addresses formatted in an unsuitable address family; the packet was dropped. SEE ALSO
inet(4), intro(4), ppp(4), strip(4), ifconfig(8), slattach(8), sliplogin(8), slstats(8) J. Romkey, A Nonstandard for Transmission of IP Datagrams over Serial Lines: SLIP, RFC, 1055, June 1988. Van Jacobson, Compressing TCP/IP Headers for Low-Speed Serial Links, RFC, 1144, February 1990. HISTORY
The sl device appeared in NetBSD 1.0. BUGS
SLIP can only transmit IPv4 packets between preconfigured hosts on an asynchronous serial link. It has no provision for address negotiation, carriage of additional protocols (e.g. XNS, AppleTalk, DECNET), and is not designed for synchronous serial links. This is why SLIP has been superseded by the Point-to-Point Protocol (PPP), which does all of those things, and much more. BSD
July 9, 2006 BSD

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

HPUX 10.20 and 11.00 commands

Hello, i have to activate a network interface. for HPUX1100 i can command ifconfig lanx plumb. Why doesent it works under HPUX10.20? How can i realise it? thanks for your help!:) (2 Replies)
Discussion started by: ortsvorsteher
2 Replies

2. Shell Programming and Scripting

Easy way to get local IP address

I needed to get a machine's local IP address when not root (so no ifconfig). Eventually, I arrived at this convoluted solution that grabs the unique local IP info from netstat... netstat -n -t | awk '{print $4}' | grep -o "*\.*\.*\.*" |\ grep -v "127.0.0.1" | sort -u ...however I... (5 Replies)
Discussion started by: simonb
5 Replies

3. Solaris

Before plumb the network interface.....

I know that I could use the #ifconfig hme0 plumb to activate the network interface. However, how can I know the name of the interface e.g. hme0 before I could use the ifconfig to plumb it up? I know there is a command (but I forgot it) to use in the Sparc version when you are in the... (7 Replies)
Discussion started by: heero
7 Replies

4. Programming

Using non standard baudrate 28800 with rs232

Hi, can somebody help me with this one? I have to configure rs232 write/read inside a C program. I'm using the termios.h (POSIX) The problem is that the only baudrate that works for me is 28800 and it is not supported any more from this driver. :( So I can't write : cfsetispeed(&options,... (4 Replies)
Discussion started by: palexo
4 Replies

5. Solaris

Change speed on network card

I recently learned that Sun Solaris network cards (ce devices) have problems with ndd -get commands. I did some searching and found out about the netstat -k command to show me the link speed. What is the best way to change the link speed (both one time and permanently)? I am running Solaris 9... (7 Replies)
Discussion started by: hshapiro
7 Replies

6. Solaris

interface may off

Dear ALL, my server give me messages like below: Apr 20 21:33:09 TAISERVER in.routed: interface bge3 to 192.168.11.22 turned off I check with ifconfig,but nothing error that,how can make it solve...thanks for your help. (7 Replies)
Discussion started by: fredginting
7 Replies

7. Solaris

setup network interface

hi, i have sunfire 280r sparc. i would like to know how to setup interface with command ndd line and put it in the file permanently. my card is eri0 and speed can be 100mb or 1000mb full duplex. thanks in advance. (3 Replies)
Discussion started by: lamoul
3 Replies

8. Solaris

Network interface statistic reset

Hi, all! Can anybody tell me how can I reset network statistic, which could be seen by command 'netstat -i' or 'dladm show-dev -s'? Thank you for advance Christian (2 Replies)
Discussion started by: Inventor
2 Replies

9. Solaris

Fail to up network interface after system boot

Hi! I have Sun SPARC Enterprise T5140 with Solaris 10 and it unable to up network interface after boot, but after issuing ifconfig interface begins to work... svcs -xv says that service svc:/network/physical:default is failed to start and service log stores something like "service method... (5 Replies)
Discussion started by: Sapfeer
5 Replies

10. AIX

How restart the network interface in AIX?

Hi All, Please let me know the command to restart the network interface and enable it on boot in AIX, similar to /etc/init.d/network restart in Redhat. Thanks, Sunil.K please watch out to post in the right subforum! (9 Replies)
Discussion started by: sunilrk07
9 Replies

11. Solaris

How to assign a dedicated network interface to a non-global zone?

We got a network card(e1000g0) with 1gb of speed and working with global zone. We got a new network interface card, we have to place that in slot and we have to use that card as dedicated network interface to the non-global zone(hyd_app) in V890. As i never done this before, please explain me... (2 Replies)
Discussion started by: Sesha
2 Replies

12. Linux

Netstat -i notification

I'm a bit new to scripting, but have been working on some scripts. I create a script to monitor the network interface for netstat -i, but not sure if I am getting what I need...I'd like to grab the entire column for RX-DRP and inform me of which interface is giving the RX-DRP errors...here is a... (5 Replies)
Discussion started by: sohk220
5 Replies

13. Shell Programming and Scripting

Help with netstat traffic server command

Help required for creating a unix shell script using netstat command for retrieving total traffic in Kbytes with the source and destination address. (4 Replies)
Discussion started by: Samee
4 Replies

14. Shell Programming and Scripting

Network usage

Hello, I need to collect the network usage in linux 6.5 version ,report like max/min/average speed ,I know some of the command like netstats -s /ifconfig but I am not sure which part of the output will be used to extract this info.I can't install any new tool like nload,iftop,vnstat. (5 Replies)
Discussion started by: netdbaind
5 Replies

15. UNIX for Beginners Questions & Answers

Check network Linux management

hi, how can I make a acquaintance with the command ifconfig -a which address ip mangement. Thank you regards Francesco Itollo (2 Replies)
Discussion started by: Francesco_IT
2 Replies

Featured Tech Videos